]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Give ImageMagick lowest priority in image-type-file-name-regexps.
[gnu-emacs] / lisp / ChangeLog
1 2012-06-11 Chong Yidong <cyd@gnu.org>
2
3 * image.el (imagemagick-register-types): Put the ImageMagick entry
4 at the end of image-type-file-name-regexps.
5
6 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7
8 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9 (pcase, pcase-let*, pcase-dolist): Use them.
10
11 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * emacs-lisp/pcase.el (pcase--let*): New function.
14 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
15 (pcase--expand): Use macroexp-let².
16
17 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
20 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
21 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
22 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
23 * emacs-lisp/derived.el: Use pcase instead of `cl'.
24 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
25
26 2012-06-10 Glenn Morris <rgm@gnu.org>
27
28 * mail/rmail.el (rmail-yank-current-message): Leave point at
29 correct position. (Bug#11660)
30
31 2012-06-10 Chong Yidong <cyd@gnu.org>
32
33 * allout-widgets.el: Fix code header.
34
35 2012-06-10 Chong Yidong <cyd@gnu.org>
36
37 * cus-edit.el (customize-changed-options-previous-release):
38 Bump to 24.1.
39
40 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
41
42 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
43
44 2012-06-09 Chong Yidong <cyd@gnu.org>
45
46 * ebuff-menu.el (electric-buffer-list): Preserve header line.
47
48 2012-06-09 Martin Rudalics <rudalics@gmx.at>
49
50 * window.el (special-display-popup-frame): Don't use
51 window--display-buffer (Bug#11651).
52
53 2012-06-09 Eli Zaretskii <eliz@gnu.org>
54
55 Fix parallel builds: make sure loaddefs.el is not being written
56 while Lisp files are compiled.
57 (compile): Don't depend on 'mh-autoloads'.
58 (compile-CMD, compile-SH): Depend on 'autoloads'.
59 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
60
61 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
62
63 2012-06-09 Chong Yidong <cyd@gnu.org>
64
65 * face-remap.el (face-remap-add-relative, face-remap-set-base)
66 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
67 Doc fixes (Bug#11225).
68
69 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
72 a function if there's a clear indication that it has a compiler-macro.
73 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
74 (macro-declarations-alist): Add arglist to declaration functions.
75 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
76 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
77 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
78 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
79 Also add autoload to find the compiler macro.
80 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
81 (cl--compiler-macro-member, cl--compiler-macro-assoc)
82 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
83 (cl--compiler-macro-get): New functions, replacing calls to
84 cl-define-compiler-macro.
85 (cl-typep) [compiler-macro]: Use macroexp-let².
86
87 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
88
89 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
90 string properly, fixes Bug#11473.
91
92 2012-06-08 Chong Yidong <cyd@gnu.org>
93
94 * faces.el (set-face-attribute): Doc fix.
95 (modify-face): Don't use :bold and :italic.
96 (error, warning, success): Tweak definitions.
97
98 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
99 (custom-modified, custom-set, custom-changed, custom-themed)
100 (custom-saved, custom-button, custom-button-mouse)
101 (custom-button-pressed, custom-state, custom-comment-tag)
102 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
103 (custom-group-subtitle): Use new-style face specs.
104 (custom-invalid-face, custom-rogue-face, custom-modified-face)
105 (custom-set-face, custom-changed-face, custom-saved-face)
106 (custom-button-face, custom-button-pressed-face)
107 (custom-documentation-face, custom-state-face)
108 (custom-comment-face, custom-comment-tag-face)
109 (custom-variable-tag-face, custom-variable-button-face)
110 (custom-face-tag-face, custom-group-tag-face-1)
111 (custom-group-tag-face): Remove obsolete face alias.
112
113 * epa.el (epa-validity-high, epa-validity-medium)
114 (epa-validity-low, epa-mark, epa-field-name, epa-string)
115 (epa-field-name, epa-field-body):
116 * font-lock.el (font-lock-comment-face, font-lock-string-face)
117 (font-lock-keyword-face, font-lock-builtin-face)
118 (font-lock-function-name-face, font-lock-variable-name-face)
119 (font-lock-type-face, font-lock-constant-face):
120 * ido.el (ido-first-match, ido-only-match, ido-subdir)
121 (ido-virtual, ido-indicator, ido-incomplete-regexp):
122 * speedbar.el (speedbar-button-face, speedbar-file-face)
123 (speedbar-directory-face, speedbar-tag-face)
124 (speedbar-selected-face, speedbar-highlight-face)
125 (speedbar-separator-face):
126 * whitespace.el (whitespace-newline, whitespace-space)
127 (whitespace-hspace, whitespace-tab, whitespace-trailing)
128 (whitespace-line, whitespace-space-before-tab)
129 (whitespace-space-after-tab, whitespace-indentation)
130 (whitespace-empty):
131 * emulation/cua-base.el (cua-global-mark):
132 * eshell/em-prompt.el (eshell-prompt):
133 * net/newst-plainview.el (newsticker-new-item-face)
134 (newsticker-old-item-face, newsticker-immortal-item-face)
135 (newsticker-obsolete-item-face, newsticker-date-face)
136 (newsticker-statistics-face, newsticker-default-face):
137 * net/newst-reader.el (newsticker-feed-face)
138 (newsticker-extra-face, newsticker-enclosure-face):
139 * net/newst-treeview.el (newsticker-treeview-face)
140 (newsticker-treeview-new-face, newsticker-treeview-old-face)
141 (newsticker-treeview-immortal-face)
142 (newsticker-treeview-obsolete-face)
143 (newsticker-treeview-selection-face):
144 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
145 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
146 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
147 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
148 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
149 (nxml-outline-active-indicator, nxml-outline-ellipsis):
150 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
151 (mpuz-text):
152 * progmodes/vera-mode.el (vera-font-lock-number)
153 (vera-font-lock-function, vera-font-lock-interface):
154 * textmodes/table.el (table-cell): Use new-style face specs, and
155 don't use the old :bold and :italic attributes.
156
157 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
158 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
159 (ebrowse-member-class, ebrowse-progress): Likewise.
160 (ebrowse-tree-mark-face, ebrowse-root-class-face)
161 (ebrowse-file-name-face, ebrowse-default-face)
162 (ebrowse-member-attribute-face, ebrowse-member-class-face)
163 (ebrowse-progress-face): Remove obsolete faces.
164
165 * progmodes/flymake.el (flymake-errline, flymake-warnline):
166 Inherit from error and warning faces respectively.
167
168 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
169 Likewise.
170 (flyspell-incorrect-face, flyspell-duplicate-face):
171 Remove obsolete aliases.
172
173 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
174
175 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
176 Avoid infloop.
177
178 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * startup.el (argv, argi): Make lexically scoped.
181 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
182 * emacs-lisp/cl-macs.el: Use lexical-binding.
183 Rename cl-bind-* to cl--bind-*.
184 * files.el: Don't require `cl' since it doesn't use it.
185 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
186
187 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
188
189 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
190 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
191 instead of calling external sort utility.
192 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
193
194 2012-06-08 Eli Zaretskii <eliz@gnu.org>
195
196 * descr-text.el (describe-char): Mention how to insert the
197 character, if the current input method doesn't support it.
198 See the discussion in this thread for the details:
199 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
200
201 2012-06-08 Sam Steingold <sds@gnu.org>
202
203 * bindings.el (global-map): Bind XF86Forward to next-buffer and
204 XF86Back to previous-buffer.
205 (minibuffer-local-map): Bind them to next-history-element and
206 previous-history-element respectively.
207 * help-mode.el (help-mode-map): Bind them to help-go-forward and
208 help-go-back respectively.
209 * info.el (Info-mode-map): Bind them to Info-history-forward and
210 Info-history-back respectively.
211 These are the keys next to Up on the ThinkPad keyboard.
212
213 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
214
215 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
216 * emacs-lisp/cl-macs.el: Provide itself.
217 (cl--labels-convert-cache): New var.
218 (cl--labels-convert): New function.
219 (cl-flet, cl-labels): New implementation with new semantics, relying on
220 lexical-binding.
221 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
222 (cl-closure-vars, cl--function-convert-cache)
223 (cl--function-convert): Move from cl-macs.el.
224 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
225 rename by removing the "cl-" prefix.
226 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
227
228 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
231 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
232 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
233 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
234 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
235 (cl-hash-table-count): Add old compatibility aliases.
236
237 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
238 Use macroexpand-all-environment instead.
239 (cl--old-macroexpand): New var.
240 (cl--sm-macroexpand): New function.
241 (cl-symbol-macrolet): Use it during macro expansion.
242 (cl--function-convert-cache): New var.
243 (cl--function-convert): New function, extracted from
244 cl-macroexpand-all.
245 (cl-lexical-let): Use it.
246
247 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
248 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
249 (cl-member): Remove old alias.
250
251 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
252 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
253 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
254 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
255 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
256 (cl-macroexpand-cmacs): Remove var.
257 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
258 Use macroexpand-all instead.
259
260 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
263 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
264 (macroexp-copyable-p): New functions and macros.
265 * emacs-lisp/edebug.el (edebug-unwrap):
266 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
267 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
268 (pcase--let*): Remove.
269 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
270 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
271 macroexp-const-p instead.
272 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
273
274 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
275 instead of "cl-" for internal definitions. Use macroexp-const-p.
276 (cl-old-bc-file-form): Remove var.
277 (cl-const-exprs-p): Remove fun.
278 (cl-labels, cl-macrolet): Use backquote.
279 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
280 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
281 (cl-define-setf-expander): Rename from cl-define-setf-method.
282 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
283
284 * international/mule-cmds.el: Don't require CL.
285 (view-hello-file): Don't use `letf'.
286
287 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
288
289 * tmm.el (tmm-prompt): Use string-prefix-p.
290 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
291 (tmm-add-prompt): Use minibuffer-completion-help.
292 (tmm-delete-map): Remove.
293
294 * subr.el (kbd): Make it its own function.
295
296 2012-06-07 Stefan Merten <smerten@oekonux.de>
297
298 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
299 Silence compiler warnings. Fix versions.
300 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
301 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
302 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
303 (rst-package-emacs-version-alist): Correct Emacs version to
304 represent major merge with upstream.
305 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
306
307 2012-06-06 Glenn Morris <rgm@gnu.org>
308
309 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
310 Only print environment variables if set.
311
312 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
315 (macroexp--cons): Rename from maybe-cons.
316 (macroexp--accumulate): Rename from macroexp-accumulate.
317 (macroexp--all-forms): Rename from macroexpand-all-forms.
318 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
319 (macroexp--expand-all): Rename from macroexpand-all-1.
320
321 2012-06-06 Sam Steingold <sds@gnu.org>
322
323 * calendar/calendar.el (calendar-in-read-only-buffer):
324 Call `special-mode' to enable the standard read-only keybindings.
325
326 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
329 with "loading" messages (bug#11635).
330
331 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
332
333 * files.el (enable-remote-dir-locals): New option.
334 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
335
336 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
337 Ensure, that the temp directory is local.
338
339 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
340 `temporary-file-directory'.
341
342 * progmodes/python.el (python-send-region): Ensure, that the
343 temporary file is created also in the remote case.
344
345 2012-06-06 Glenn Morris <rgm@gnu.org>
346
347 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
348 (vc-rcs-update-changelog): Use it.
349
350 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
351
352 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
353 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
354 (vc-sccs-diff): Replace use of the external vcdiff script.
355
356 2012-06-05 Glenn Morris <rgm@gnu.org>
357
358 * ledit.el: Move to obsolete/.
359
360 2012-06-05 Sam Steingold <sds@gnu.org>
361
362 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
363 patch (Bug#11140).
364
365 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * emacs-list/cust-print.el: Move to obsolete.
368
369 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
370 compiler-macro expansion.
371
372 Add native compiler-macro support.
373 * emacs-lisp/macroexp.el (macroexpand-all-1):
374 Support compiler-macros directly. Properly follow aliases and apply
375 the compiler macros more thoroughly.
376 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
377 macroexpand now properly follows aliases.
378 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
379 (cl-compiler-macroexpand): Use new prop.
380 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
381
382 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
383
384 2012-06-05 Martin Rudalics <rudalics@gmx.at>
385
386 * window.el (get-lru-window, get-mru-window, get-largest-window):
387 New argument NOT-SELECTED to avoid picking the selected window.
388 (window--display-buffer-1, window--display-buffer-2): Replace by
389 new function window--display-buffer
390 (display-buffer-same-window, display-buffer-reuse-window)
391 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
392 Use window--display-buffer.
393 (display-buffer-use-some-window): Remove temporary dedication
394 hack by calling get-lru-window and get-largest-window with
395 NOT-SELECTED argument non-nil. Call window--display-buffer.
396
397 2012-06-05 Glenn Morris <rgm@gnu.org>
398
399 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
400 Replace external vcdiff script.
401
402 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
405
406 2012-06-04 Chong Yidong <cyd@gnu.org>
407
408 * image.el (imagemagick-types-inhibit): Revert last change.
409 Add INFO and M.
410 (imagemagick-enabled-types): Remove CIN and EPS*.
411
412 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * emacs-lisp/cl-lib.el: Rename from cl.el.
415 * emacs-lisp/cl.el: New compatibility file.
416 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
417 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
418 to obey the "cl-" prefix.
419 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
420
421 2012-06-03 Glenn Morris <rgm@gnu.org>
422
423 * emacs-lisp/authors.el (authors-aliases): Addition.
424
425 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
426 Fix :version.
427
428 2012-06-03 Stefan Merten <smerten@oekonux.de>
429
430 * textmodes/rst.el: Add comments.
431 (rst-transition, rst-adornment): New faces.
432 (rst-adornment-faces-alist): Make default safe to reevaluate.
433 Fixes
434 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
435 Improve customization tags.
436 (rst-define-level-faces): Clarify meaning.
437
438 2012-06-03 Chong Yidong <cyd@gnu.org>
439
440 * progmodes/compile.el (compilation-mode-line-fail)
441 (compilation-mode-line-run, compilation-mode-line-exit):
442 New faces.
443 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
444
445 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
446
447 * progmodes/which-func.el (which-func-update-ediff-windows):
448 New function. Use it in ediff-select-hook (Bug#11478).
449
450 2012-06-03 Chong Yidong <cyd@gnu.org>
451
452 * bindings.el: Remove explicit help text from format-mode-line.
453 It is now supplied by mode-line-default-help-echo.
454 (mode-line-front-space, mode-line-end-spaces)
455 (mode-line-misc-info): New variables.
456 (mode-line-modes, mode-line-position): Move the default value to
457 the variable definition.
458 (mode-line-default-help-echo): New defcustom.
459 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
460 (mode-line-modified-help-echo): New functions.
461 (mode-line-mule-info, mode-line-modified): Use them.
462 (mode-line-eol-desc, propertized-buffer-identification):
463 Consistency fixes for help text.
464 (mode-line-coding-system-map): Allow using mouse-3 to invoke
465 set-buffer-file-coding-system (Bug#289).
466 (mode-line-mule-info-help-echo): Update help text.
467
468 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * simple.el (execute-extended-command): Set real-this-command
471 (bug#11506).
472
473 2012-06-02 Chong Yidong <cyd@gnu.org>
474
475 Remove incorrect uses of "modeline" in comments, docstrings, and
476 function/variable names (Bug#10329).
477
478 * cus-edit.el (mode-line):
479 * dframe.el (dframe-mouse-hscroll):
480 * emacs-lisp/re-builder.el:
481 * emacs-lisp/easy-mmode.el (define-minor-mode):
482 * frame.el (set-frame-name):
483 * help.el (lookup-minor-mode-from-indicator):
484 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
485 * progmodes/cc-cmds.el (c-toggle-auto-newline)
486 (c-toggle-hungry-state):
487 * progmodes/antlr-mode.el (antlr-language-alist):
488 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
489 * progmodes/vhdl-mode.el (vhdl-mode):
490 * progmodes/which-func.el (which-func, which-func-cleanup-function):
491 * term/ns-win.el (ns-face-at-pos):
492 * term/sup-mouse.el (sup-mouse-report):
493 * textmodes/flyspell.el (flyspell-mode-line-string):
494 * textmodes/ispell.el (ispell-highlight-face):
495 * textmodes/reftex-global.el:
496 * vc/vc-arch.el (vc-arch-mode-line-string):
497 * vc/vc-cvs.el (vc-cvs-mode-line-string):
498 * vc/vc-git.el (vc-git-mode-line-string):
499 * vc/vc-hooks.el (vc-display-status)
500 (vc-default-mode-line-string):
501 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
502
503 * ansi-color.el (ansi-color-faces-vector): Change default faces.
504
505 * dired.el (dired-sort-set-mode-line): Rename from
506 dired-sort-set-modeline. All callers changed.
507
508 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
509 eshell-status-in-modeline.
510
511 * foldout.el (foldout-mode-line-string): Rename from
512 foldout-modeline-string. All callers changed.
513 (foldout-update-mode-line): Rename from foldout-update-modeline.
514
515 * subr.el (redraw-modeline): Make into obsolete alias.
516
517 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
518 timeclock-modeline-display. Make old name an alias.
519 (timeclock-update-mode-line): Likewise. All callers changed.
520 (timeclock-mode-line-display): No need to check before using
521 add-hook.
522 (timeclock-relative, timeclock-day-over-hook)
523 (timeclock-use-elapsed, timeclock-mode-string)
524 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
525
526 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
527 crisp-mode-modeline-string.
528
529 * play/solitaire.el (solitaire-build-mode-line): Rename from
530 solitaire-build-modeline. All callers changed.
531
532 * play/zone.el (zone-hiding-mode-line): Rename from
533 zone-hiding-modeline. All callers changed.
534 (zone): Remove unusued `modeline-hidden-level' property.
535
536 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
537 xscheme-modeline-initialize. All callers changed.
538
539 * strokes.el (strokes-lighter): Rename from
540 strokes-modeline-string.
541
542 * textmodes/sgml-mode.el (html-face-tag-alist)
543 (html-tag-face-alist): Use mode-line face instead of obsolete
544 alias modeline.
545
546 2012-06-02 Stefan Merten <smerten@oekonux.de>
547
548 * textmodes/rst.el: Always require `cl'.
549 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
550
551 2012-06-02 Chong Yidong <cyd@gnu.org>
552
553 * image.el (imagemagick-enabled-types): Rename from
554 imagemagick-types-enable. Add many more types.
555 (imagemagick-types-inhibit): Change default to nil.
556 (imagemagick-filter-types): Caller changed.
557
558 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * emacs-lisp/cl-macs.el: Use backquotes.
561 (cl-transform-function-property): Use eval-and-compile rather than
562 abusing `require'.
563 (defstruct): Use declare-function instead of with-no-warnings.
564
565 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
566 (byte-compile-output-docform): Re-add the print-circle bindings.
567 (byte-compile-fix-header): Use #$ just because it's shorter.
568 (byte-compile-output-file-form): Remove defun/defmacro.
569
570 2012-06-01 Martin Rudalics <rudalics@gmx.at>
571
572 * simple.el (choose-completion): Remove now obsolete binding for
573 owindow.
574
575 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
576
577 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
578 in order to avoid "Stack overflow in regexp matcher".
579
580 2012-05-31 Glenn Morris <rgm@gnu.org>
581
582 * image.el: For clarity, call imagemagick-register-types at
583 top-level, rather than relying on a custom :initialize.
584 (imagemagick-types-enable): New option. (Bug#11557)
585 (imagemagick-filter-types): New function. (Bug#7406)
586 (imagemagick-register-types): Use imagemagick-filter-types.
587 If disabling support, remove elements altogether rather
588 than using an impossible regexp.
589 (imagemagick-types-inhibit): Give it the default init function.
590
591 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
594 Handle arbitrary file name lengths (Bug#11585).
595
596 2012-05-31 Martin Rudalics <rudalics@gmx.at>
597
598 * desktop.el (desktop-read): Clear previous and next buffers for
599 all windows and bury *Messages* buffer (bug#11556).
600
601 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 Add `declare' for `defun'. Align `defmacro's with it.
604 * emacs-lisp/easy-mmode.el (define-minor-mode)
605 (define-globalized-minor-mode): Don't autoload the var definitions.
606 * emacs-lisp/byte-run.el: Use lexical-binding.
607 (defun-declarations-alist, macro-declarations-alist): New vars.
608 (defmacro, defun): Use them.
609 (make-obsolete, define-obsolete-function-alias)
610 (make-obsolete-variable, define-obsolete-variable-alias):
611 Use `declare'.
612 (macro-declaration-function): Mark obsolete.
613 * emacs-lisp/autoload.el: Use lexical-binding.
614 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
615
616 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
617
618 * textmodes/ispell.el (ispell-with-no-warnings):
619 Define as a macro.
620 (ispell-kill-ispell, ispell-change-dictionary):
621 Use `called-interactively-p' for Emacs instead of obsolete
622 `interactive-p'.
623
624 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
627 (macro-declaration-function): Move var from C code.
628 (macro-declaration-function): Define function with defalias.
629 * emacs-lisp/macroexp.el (macroexpand-all-1):
630 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
631 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
632 defun/defmacro any more.
633 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
634 Provide fallback for unknown arglist.
635 (byte-compile-arglist-warn): Change calling convention.
636 (byte-compile-output-file-form): Move print-vars binding.
637 (byte-compile-output-docform): Simplify accordingly.
638 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
639 (byte-compile-defmacro-declaration): Remove.
640 (byte-compile-file-form-defmumble): Generalize to defalias.
641 (byte-compile-output-as-comment): Return byte-positions.
642 Simplify callers accordingly.
643 (byte-compile-lambda): Use `assert'.
644 (byte-compile-defun, byte-compile-defmacro): Remove.
645 (byte-compile-file-form-defalias):
646 Use byte-compile-file-form-defmumble.
647 (byte-compile-defalias-warn): Remove.
648
649 2012-05-29 Stefan Merten <smerten@oekonux.de>
650
651 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
652 possible. Fix authors. Improve comments. Improve loading of `cl'.
653
654 (rst-mode-abbrev-table): Merge definition.
655 (rst-mode): Make sure `font-lock-defaults' is buffer local.
656 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
657
658 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
659
660 * calendar/icalendar.el
661 (icalendar-export-region): Export UID properly.
662
663 2012-05-29 Leo <sdl.web@gmail.com>
664 * calendar/icalendar.el (icalendar-import-format):
665 Add `icalendar-import-format-uid' (Bug#11525).
666 (icalendar-import-format-uid): New.
667 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
668 Export UID.
669
670 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
673 different alternative patterns.
674 (pcase-codegen): Be more careful to preserve identity.
675 (pcase--u1): Don't forget to mark vars as used.
676
677 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
678 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
679 (byte-compile-from-buffer): ...rather than here.
680
681 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
682 functions from byte-compile-function-environment.
683
684 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
685
686 * window.el (window-deletable-p): Avoid deleting the root window
687 of a frame with an active minibuffer.
688
689 2012-05-29 Martin Rudalics <rudalics@gmx.at>
690
691 * simple.el (choose-completion): Use quit-window (Bug#11567).
692
693 2012-05-29 Chong Yidong <cyd@gnu.org>
694
695 * whitespace.el (whitespace-cleanup): Fix usage of
696 whitespace-empty-at-bob-regexp (Bug#11492).
697
698 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
699
700 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
701 revert (Bug#11488).
702
703 2012-05-29 Juri Linkov <juri@jurta.org>
704
705 * isearch.el (isearch-mode-map): Bind `M-s _' to
706 `isearch-toggle-symbol'. Bind `M-s c' to
707 `isearch-toggle-case-fold'.
708 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
709 (isearch-forward): Add `M-s _' to the docstring.
710 (isearch-forward-symbol, isearch-toggle-case-fold)
711 (isearch-symbol-regexp): New functions. (Bug#11381)
712
713 2012-05-29 Juri Linkov <juri@jurta.org>
714
715 * isearch.el (isearch-word): Add docstring. (Bug#11381)
716 (isearch-occur, isearch-search-and-update): If `isearch-word' is
717 a function, call it to get the regexp.
718 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
719 property `isearch-message-prefix' instead of the string "word ".
720 (isearch-search-fun-default): For the case of `isearch-word',
721 return a lambda that calls re-search-forward/re-search-backward
722 with a regexp returned by `word-search-regexp' or by the function
723 in `isearch-word'.
724
725 2012-05-29 Juri Linkov <juri@jurta.org>
726
727 * isearch.el (isearch-search-fun-default): New function.
728 (isearch-search-fun): Move default part to the new function
729 `isearch-search-fun-default'.
730 (isearch-search-fun-function): Set the default value to
731 `isearch-search-fun-default'. (Bug#11381)
732
733 * comint.el (comint-history-isearch-end):
734 Use `isearch-search-fun-default'.
735 (comint-history-isearch-search): Use `isearch-search-fun-default'
736 and remove spacial case for `isearch-word'.
737 (comint-history-isearch-wrap): Remove spacial case for
738 `isearch-word'.
739
740 * hexl.el (hexl-isearch-search-function):
741 Use `isearch-search-fun-default'.
742
743 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
744 Use `word-search-regexp' for `isearch-word'.
745
746 * misearch.el (multi-isearch-search-fun):
747 Use `isearch-search-fun-default'.
748
749 * simple.el (minibuffer-history-isearch-search):
750 Use `isearch-search-fun-default' and remove spacial case for
751 `isearch-word'.
752 (minibuffer-history-isearch-wrap): Remove spacial case for
753 `isearch-word'.
754
755 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
756 Remove spacial case for `isearch-word'.
757 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
758
759 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
760
761 Decrease XEmacs incompatibilities.
762 * textmodes/flyspell.el (flyspell-check-pre-word-p):
763 Use `string-match'.
764 (flyspell-delete-region-overlays): Use alternative definition for
765 XEmacs.
766 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
767 (flyspell-word): Use `process-kill-without-query' if XEmacs.
768 (flyspell-mode-on): Use `interactive-p' if XEmacs.
769 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
770 `define-obsolete-face-alias' under XEmacs, but old method.
771
772 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
773 `with-no-warnings' definition or Emacs alias.
774 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
775 (ispell-word): Do not use `region-p' if XEmacs.
776
777 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
778
779 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
780 Check for `ispell-dictionary-base-alist' instead of full
781 `ispell-dictionary-alist'.
782 (ispell-init-process): Show spellchecker when starting new Ispell
783 process.
784
785 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
788 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
789
790 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
791
792 * version.el (motif-version-string, gtk-version-string)
793 (ns-version-string): Declare.
794
795 2012-05-27 Juri Linkov <juri@jurta.org>
796
797 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
798 after the `eval-defun-1' specialcaseing
799 like in `edebug-eval-defun' (bug#10181).
800
801 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
802 like in `eval-defun-1'.
803
804 2012-05-27 Eli Zaretskii <eliz@gnu.org>
805
806 * mail/sendmail.el (mail-yank-region):
807 Recognize rmail-yank-current-message in addition to insert-buffer.
808 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
809 a *mail* buffer created through rmail-start-mail with sendmail as
810 mail-user-agent.
811
812 2012-05-27 Chong Yidong <cyd@gnu.org>
813
814 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
815 Default to 256 (Bug#11267).
816
817 * help.el (describe-mode): Doc fix.
818
819 2012-05-26 Glenn Morris <rgm@gnu.org>
820
821 * w32-fns.el (w32-init-info): Remove.
822 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
823
824 * info.el (info-initialize): For self-contained NS builds, put the
825 included info/ directory at the front. (Bug#2791)
826
827 * paths.el (Info-default-directory-list): Make it a defcustom,
828 mainly so that we can use custom-initialize-delay.
829
830 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * subr.el (buffer-has-markers-at): Mark obsolete.
833
834 * subr.el (lambda): Use declare.
835
836 * emacs-lisp/lisp-mode.el (lambda):
837 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
838
839 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
840
841 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
842
843 2012-05-26 Glenn Morris <rgm@gnu.org>
844
845 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
846
847 2012-05-25 Glenn Morris <rgm@gnu.org>
848
849 * paths.el: Remove no-byte-compile.
850 * loadup.el: No need to load paths.el uncompiled.
851
852 * image.el (imagemagick-types-inhibit): Doc fix.
853
854 * version.el: Remove no-byte-compile and associated formatting.
855 * loadup.el: No need to load version.el uncompiled. AFAICS, this
856 is ancient code from when there was an "inc-vers.el".
857
858 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * progmodes/gdb-mi.el: Minor style changes.
861 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
862 Turn into minor modes.
863 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
864 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
865 (gdb-shell): Remove unneeded let-binding.
866 (gdb-get-many-fields): Eliminate O(n²) behavior.
867
868 2012-05-25 Eli Zaretskii <eliz@gnu.org>
869
870 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
871 platforms that don't link in fontset.c.
872
873 2012-05-25 Juri Linkov <juri@jurta.org>
874
875 Use the same diff color scheme as in modern VCSes (bug#10181).
876
877 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
878 to avoid confusion with `diff-added' that now uses green colors.
879 (diff-removed): Use shades of red.
880 (diff-added): Use shades of green.
881 (diff-changed): Leave just the yellow color.
882 (diff-use-changed-face): New variable.
883 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
884 how to highlight context diff changes.
885 (diff-refine-change): Use shades of yellow.
886 (diff-refine-removed): New face that uses shades of red.
887 (diff-refine-added): New face that uses shades of green.
888 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
889 `diff-refine-removed' in the call to `smerge-refine-subst'
890 depending on the value of `diff-use-changed-face'.
891
892 * vc/smerge-mode.el (smerge-mine): Use shades of red.
893 (smerge-other): Use shades of green.
894 (smerge-base): Use shades of yellow.
895 (smerge-refined-change): Empty face.
896 (smerge-refined-removed): New face that uses shades of red.
897 (smerge-refined-added): New face that uses shades of green.
898 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
899 args `props-r' and `props-a', and use them. Doc fix.
900 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
901 on its value use different faces `smerge-refined-change',
902 `smerge-refined-removed', `smerge-refined-added' in the call to
903 `smerge-refine-subst'.
904
905 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
906 Add face condition `min-colors 88' with shades of red.
907 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
908 `min-colors 88' with shades of green.
909 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
910 `min-colors 88' with shades of yellow.
911
912 2012-05-24 Glenn Morris <rgm@gnu.org>
913
914 * paths.el (prune-directory-list, remote-shell-program): Move to...
915 * files.el (prune-directory-list, remote-shell-program): ...here.
916 For the latter, delay initialization, prefer ssh, just search PATH.
917
918 * paths.el (term-file-prefix): Move to faces.el (the only user).
919 * faces.el (term-file-prefix): Move here, make it a defcustom.
920
921 * paths.el (news-directory, news-path, news-inews-program):
922 Move to gnus/nnspool.el.
923
924 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
925
926 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
927 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
928 Make the latter a defcustom, with a delayed initialization.
929
930 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
931 These were deleted from Gnus itself late 2010.
932
933 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
934
935 * progmodes/which-func.el (which-func-ff-hook):
936 Check against user-error, not error.
937
938 * emacs-lisp/edebug.el (top): Do not load or set up loading of
939 cl-specs.el, which no longer exists.
940
941 2012-05-22 Glenn Morris <rgm@gnu.org>
942
943 * info.el (info-emacs-bug): New command.
944 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
945 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
946
947 2012-05-21 Glenn Morris <rgm@gnu.org>
948
949 * makefile.w32-in (update-subdirs-SH):
950 * Makefile.in (update-subdirs): Update for moved update-subdirs.
951
952 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
955
956 * progmodes/compile.el (compilation-error-regexp-alist-alist):
957 Simplify Maven regexp, and make sure the file can't start with a space
958 (bug#11517).
959
960 2012-05-21 Glenn Morris <rgm@gnu.org>
961
962 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
963 Scrap superfluous subshells.
964
965 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
966
967 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
968 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
969
970 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
971
972 * calc/calc.el (calc-ensure-consistent-units): New variable.
973
974 * calc/calc-units.el (math-consistent-units-p)
975 (math-check-unit-consistency): New functions.
976 (calc-quick-units, calc-convert-units):
977 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
978 is non-nil.
979 (calc-extract-units): Fix typo.
980
981 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
984
985 * textmodes/flyspell.el: Commenting style, plus code simplifications.
986 (flyspell-default-deplacement-commands): Don't spell check after
987 repeated window/frame switches (e.g. triggered by mouse-movement).
988 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
989 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
990 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
991 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
992 Remove unused vars.
993 (flyspell-get-casechars, flyspell-get-not-casechars):
994 Simplify; Don't bother removing a ] just to add it back.
995 * textmodes/ispell.el (ispell-program-name): Use executable-find.
996
997 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
998
999 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1000 New functions.
1001 (math-function-table): Add support for more C functions.
1002
1003 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1004
1005 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1006 (flyspell-debug-signal-word-checked): Protect delay handling for
1007 otherchars against empty otherchars.
1008
1009 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1012 their respective macro declarations.
1013 * skeleton.el (define-skeleton):
1014 * progmodes/compile.el (define-compilation-mode):
1015 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1016 (define-ibuffer-filter):
1017 * emacs-lisp/generic.el (define-generic-mode):
1018 * emacs-lisp/easy-mmode.el (define-minor-mode)
1019 (define-globalized-minor-mode):
1020 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1021 * emacs-lisp/byte-run.el (defsubst):
1022 * custom.el (deftheme): Add doc-string metadata.
1023
1024 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1027
1028 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1031
1032 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1033 * emacs-lisp/cl-macs.el: Idem.
1034 * emacs-lisp/cl-specs.el: Remove.
1035
1036 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1037
1038 Minor renaming of internal CL functions and variables.
1039 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1040 (cl--position): Rename from cl-position.
1041 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1042 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1043 (cl--random-state): Rename from *random-state*.
1044
1045 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1048 parens around the arg list (bug#11499).
1049
1050 2012-05-17 Juri Linkov <juri@jurta.org>
1051
1052 * isearch.el (word-search-regexp, word-search-backward)
1053 (word-search-forward, word-search-backward-lax)
1054 (word-search-forward-lax): Move functions from search.c
1055 (bug#10145, bug#11381).
1056
1057 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1058
1059 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1060 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1061 normal word components.
1062
1063 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * minibuffer.el (completion--sifn-requote): Fix last change.
1066 (minibuffer-local-must-match-filename-map):
1067 Move define-obsolete-variable-alias before its var.
1068
1069 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1072
1073 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1074 behavior.
1075 (completion--string-equal-p): New function.
1076 (completion--twq-all): Use it to get better assertion failure data.
1077
1078 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1079 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1080 (shell--requote-argument): New functions.
1081 (shell-completion-vars): Use them.
1082 (shell--parse-pcomplete-arguments): Rename from
1083 shell-parse-pcomplete-arguments.
1084 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1085 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1086 Obey comint-file-name-quote-list.
1087
1088 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1089 (smie-indent-keyword): Use it.
1090
1091 2012-05-14 Stefan Merten <smerten@oekonux.de>
1092
1093 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1094
1095 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * net/rlogin.el (rlogin-mode-map): Fix last change.
1098
1099 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1100
1101 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1102 the following \r\n using a single `process-send-string', since the
1103 Lotus SMTP server refuses to accept any commands if they are sent
1104 with two `process-send-string's (Bug#11444).
1105
1106 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1107
1108 * shell.el (shell-parse-pcomplete-arguments):
1109 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1110
1111 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1112
1113 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1114 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1115 (image-transform-width, image-transform-fit-width): New functions.
1116 (image-transform-properties): Use them.
1117 (image-transform-check-size): New function.
1118 (image-toggle-display-image): Use it (for testing).
1119 (image-transform-set-rotation): Reduce angle mod 360.
1120 Delete obsolete comment.
1121
1122 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1123
1124 * image-mode.el: Fix scaling (bug#11399).
1125 (image-transform-resize): Doc fix.
1126 (image-transform-properties): Default scale is 1 and height should
1127 be an integer.
1128
1129 2012-05-13 Johan Bockgård <bojohan@gnu.org>
1130
1131 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1132 than hard-coding `car', to fix misbehavior when moving forward.
1133
1134 2012-05-13 Chong Yidong <cyd@gnu.org>
1135
1136 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1137 (tabulated-list-entries, tabulated-list-padding)
1138 (tabulated-list-sort-key): Make permanent-local.
1139
1140 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1141 (electric-buffer-list): Put electric buffer menu
1142 command descriptions in this docstring, instead of the docstring
1143 of electric-buffer-menu-mode. Code cleanups.
1144 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1145 Electric-buffer-menu-mode.
1146 (electric-buffer-update-highlight): Minor code cleanup.
1147
1148 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1149
1150 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1151 (Bug#11447)
1152
1153 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 Move define-obsolete-variable-alias before the var's definition.
1156 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1157 * tooltip.el (tooltip-hook):
1158 * textmodes/reftex-toc.el (reftex-toc-map):
1159 * textmodes/reftex-sel.el (reftex-select-label-map)
1160 (reftex-select-bib-map):
1161 * textmodes/reftex-index.el (reftex-index-map)
1162 (reftex-index-phrases-map):
1163 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1164 * progmodes/meta-mode.el (meta-mode-map):
1165 * novice.el (disabled-command-hook):
1166 * loadhist.el (unload-hook-features-list):
1167 * frame.el (blink-cursor):
1168 * files.el (find-file-not-found-hooks, write-file-hooks)
1169 (write-contents-hooks):
1170 * emulation/tpu-edt.el (GOLD-map):
1171 * emacs-lock.el (emacs-lock-from-exiting):
1172 * emacs-lisp/generic.el (generic-font-lock-defaults):
1173 * emacs-lisp/chart.el (chart-map):
1174 * dos-fns.el (register-name-alist):
1175 * dired-x.el (dired-omit-files-p):
1176 * desktop.el (desktop-enable):
1177 * cus-edit.el (custom-mode-hook):
1178 * buff-menu.el (buffer-menu-mode-hook):
1179 * bookmark.el (bookmark-read-annotation-text-func)
1180 (bookmark-exit-hooks):
1181 * allout.el (allout-mode-deactivate-hook)
1182 (allout-exposure-change-hook, allout-structure-added-hook)
1183 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1184 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1185 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1186 comes before the corresponding variable's definition.
1187
1188 2012-05-12 Chong Yidong <cyd@gnu.org>
1189
1190 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1191 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1192 (Buffer-menu-mode-map): Bind it.
1193 (Buffer-menu--pretty-name): Add a mouse-face property.
1194
1195 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1198 (prolog-upper-case-string, prolog-lower-case-string)
1199 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1200 (prolog-use-smie, prolog-smie-grammar): New vars.
1201 (prolog-smie-forward-token, prolog-smie-backward-token)
1202 (prolog-smie-rules): New funs.
1203 (prolog-comment-indent): Remove.
1204 (prolog-mode-variables): Use default comment indentation instead.
1205 Setup SMIE.
1206 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1207 (prolog-mode): Don't call them any more.
1208 (prolog-electric-colon, prolog-electric-dash)
1209 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1210
1211 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1212
1213 * minibuffer.el (completion--twq-all): Again, allow case differences.
1214
1215 * term.el: Move keymap initialization code to be more idiomatic.
1216 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1217 (term-terminal-menu): Move initialization into declaration.
1218 (term-escape-char): Let the user set it in her .emacs.
1219
1220 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1221 Provide SMIE-based indentation (not enabled by default yet).
1222 (sh-mode-map): Don't bind electric keys.
1223 Use electric-pair-mode instead of skeleton-pair.
1224 (sh-assignment-regexp): Fit within 80 columns.
1225 (sh-indent-supported): Specify actual shell name instead of boolean.
1226 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1227 (sh-maybe-here-document): Use it. Make obsolete.
1228 (sh-electric-here-document-mode) New minor mode.
1229 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1230 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1231 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1232 (sh-smie-rc-grammar, sh-use-smie): New vars.
1233 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1234 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1235 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1236 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1237 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1238 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1239 (sh-set-shell): Use smie-setup if requested.
1240
1241 * term.el (term-set-escape-char): Properly set term-escape-char.
1242 See http://stackoverflow.com/questions/10524656.
1243
1244 2012-05-10 Chong Yidong <cyd@gnu.org>
1245
1246 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1247 Use url-generic-parse-url, and handle host names and Windows
1248 filenames properly.
1249 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1250 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1251 URL schemes to work on.
1252 (ffap--toggle-read-only): New function.
1253 (ffap-read-only, ffap-read-only-other-window)
1254 (ffap-read-only-other-frame): Use it.
1255 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1256 necessary for ffap-url-unwrap-remote.
1257
1258 2012-05-10 Dave Abrahams <dave@boostpro.com>
1259
1260 * cus-start.el (create-lockfiles): Add it.
1261
1262 2012-05-09 Chong Yidong <cyd@gnu.org>
1263
1264 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1265 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1266
1267 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1270
1271 2012-05-09 Chong Yidong <cyd@gnu.org>
1272
1273 * ansi-color.el (ansi-color-process-output): Check for validity of
1274 comint-last-output-start before using it. This avoids a bad
1275 interaction with gdb-mi's input/output buffer.
1276
1277 2012-05-09 Glenn Morris <rgm@gnu.org>
1278
1279 * files.el (dir-locals-read-from-file):
1280 Mention dir-locals in any error message.
1281
1282 2012-05-09 Chong Yidong <cyd@gnu.org>
1283
1284 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1285 package (Bug#11410).
1286
1287 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1288 variables into description.
1289
1290 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1293 shell-delimiter-argument-list (bug#11348).
1294 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1295
1296 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1297
1298 * textmodes/rst.el: Silence byte-compiler warnings.
1299 (rst-re-alist, rst-reset-section-caches): Move around.
1300 (rst-re): Use `characterp', not `char-valid-p'.
1301 (font-lock-beg, font-lock-end): Declare.
1302
1303 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1304 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1305
1306 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1307
1308 2012-05-08 Glenn Morris <rgm@gnu.org>
1309
1310 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1311
1312 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1313
1314 * vc/log-edit.el: Add GNU coding standards highlighting.
1315 (log-edit-font-lock-gnu-style)
1316 (log-edit-font-lock-gnu-keywords): New vars.
1317 (log-edit-font-lock-keywords): New fun.
1318 (log-edit-mode): Don't fold case in font-lock.
1319 (log-edit-font-lock-keywords): Do not assume case-folding.
1320
1321 * imenu.el: Misc cleanup. Make docstrings out of comments.
1322 Use lexical-binding.
1323 (imenu--index-alist, imenu--last-menubar-index-alist)
1324 (imenu-menubar-modified-tick): Use defvar-local.
1325 (imenu--split-menu): Remove unused var.
1326 (imenu--cleanup-seen): Declare as global.
1327 (imenu--cleanup): Use dolist.
1328
1329 * subr.el (defvar-local): Add debug spec and doc-string position.
1330
1331 2012-05-08 Glenn Morris <rgm@gnu.org>
1332
1333 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1334 * language/english.el, language/georgian.el, language/greek.el:
1335 * language/japanese.el, language/khmer.el, language/korean.el:
1336 * language/lao.el, language/misc-lang.el, language/romanian.el:
1337 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1338 * language/thai.el, language/utf-8-lang.el:
1339 Remove no-byte-compile setting.
1340
1341 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1342
1343 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1344
1345 * progmodes/make-mode.el (makefile-browse):
1346 Remove unnecessary interactive. (Bug#11324)
1347
1348 2012-05-07 Glenn Morris <rgm@gnu.org>
1349
1350 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1351
1352 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1353
1354 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1355
1356 * loadup.el: Preload newcomment.el.
1357 * newcomment.el: Move autoload-only code to toplevel.
1358
1359 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1360 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1361 Handle new :right-align column property.
1362 (tabulated-list-print-col): Idem, plus use `display' text-property to
1363 try and preserve alignment for variable pitch fonts.
1364
1365 2012-05-07 Chong Yidong <cyd@gnu.org>
1366
1367 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1368 (tabulated-list-use-header-line): New var.
1369 (tabulated-list-init-header): Use it.
1370 (tabulated-list-print-fake-header): New function.
1371 (tabulated-list-print): Use it.
1372 (tabulated-list-sort-button-map): Add non-header-line commands.
1373 (tabulated-list-init-header): Add column name property to basic
1374 labels as well.
1375 (tabulated-list-col-sort): Handle non-header-line button case.
1376 (tabulated-list--sort-by-column-name): Fix a corner case.
1377
1378 * buff-menu.el (list-buffers--refresh):
1379 Handle Buffer-menu-use-header-line.
1380
1381 2012-05-06 Chong Yidong <cyd@gnu.org>
1382
1383 * buff-menu.el: Convert to Tabulated List mode.
1384 (Buffer-menu-buffer+size-width): Make obsolete.
1385 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1386 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1387 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1388 documentation into docstring of buffer-menu.
1389 (Buffer-menu-toggle-files-only): Add an informative message.
1390 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1391 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1392 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1393 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1394 (Buffer-menu-execute, Buffer-menu-select)
1395 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1396 (Buffer-menu-bury): Use Tabulated List machinery.
1397 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1398 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1399 Delete.
1400 (list-buffers--refresh): New function.
1401 (list-buffers-noselect): Use it.
1402 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1403 (Buffer-menu--pretty-file-name): New helper functions.
1404
1405 * loadup.el: Preload tabulated-list.
1406
1407 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1408 tabulated-list-sort-column.
1409 (tabulated-list-init-header): Add the initial aligning space even
1410 if tabulated-list-padding is zero.
1411
1412 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1413
1414 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1415 whose cdr is not a cons cell correctly (bug#11038).
1416
1417 2012-05-06 Chong Yidong <cyd@gnu.org>
1418
1419 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1420 Accept additional plist in column descriptors.
1421 (tabulated-list-init-header): Obey it.
1422 (tabulated-list-get-entry): New function.
1423 (tabulated-list-put-tag): Use it. Use string-width instead of
1424 length.
1425 (tabulated-list--column-number): New function.
1426 (tabulated-list-print): Use it.
1427 (tabulated-list-print-col): New function.
1428 Set `tabulated-list-column-name' property on each column's text.
1429 (tabulated-list-print-entry): Use it.
1430 (tabulated-list-delete-entry, tabulated-list-set-col):
1431 New functions.
1432 (tabulated-list-sort-column): New command (Bug#11337).
1433
1434 * buff-menu.el (list-buffers): Move C-x C-b binding from
1435 buff-menu.el to bindings.el.
1436
1437 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1438 :advertised-binding feature.
1439
1440 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1441
1442 * progmodes/compile.el (compilation-internal-error-properties):
1443 Calculate start position correctly when end-col is set but
1444 end-line is not (Bug#11382).
1445
1446 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1447
1448 * man.el (Man-unindent): Use text-property-default-nonsticky to
1449 prevent untabify from inheriting face properties (Bug#11408).
1450
1451 2012-05-05 Stefan Merten <smerten@oekonux.de>
1452
1453 * textmodes/rst.el: Major merge with upstream development up to
1454 Docutils SVN r7399 / rst.el V1.2.1.
1455
1456 Clarify maintainership and authors.
1457
1458 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1459 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1460 (rst-official-version, rst-official-cvs-rev, rst-version)
1461 (rst-package-emacs-version-alist): New functions and variables
1462 for version information.
1463
1464 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1465 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1466 (rst-mode-syntax-table, rst-mode): New and corrected functions
1467 and variables representing reStructuredText features.
1468
1469 (rst-re): New function for reStructuredText regexes. Use in
1470 many places.
1471
1472 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1473 (rst-mode-map): Rebind keys.
1474
1475 (rst-mode-lazy, rst-font-lock-keywords)
1476 (rst-font-lock-extend-region)
1477 (rst-font-lock-extend-region-internal)
1478 (rst-font-lock-extend-region-extend)
1479 (rst-font-lock-find-unindented-line-limit)
1480 (rst-font-lock-find-unindented-line-match)
1481 (rst-adornment-level, rst-font-lock-adornment-level)
1482 (rst-font-lock-adornment-match)
1483 (rst-font-lock-handle-adornment-pre-match-form)
1484 (rst-font-lock-handle-adornment-matcher): Major revision of
1485 font-locking. Integrate with other code. Use `jit-lock-mode'.
1486
1487 (rst-preferred-adornments, rst-adjust-hook)
1488 (rst-new-adornment-down, rst-preferred-bullets)
1489 (rst-preferred-bullets, rst-indent, rst-indent-width)
1490 (rst-indent-field, rst-indent-literal-normal)
1491 (rst-indent-literal-minimized, rst-indent-comment): Change,
1492 extend and improve customization.
1493
1494 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1495 (rst-normalize-cursor-position, rst-get-decoration)
1496 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1497 (rst-rstrip, rst-toc-insert-find-delete-contents)
1498 (rst-shift-fill-region, rst-compute-bullet-tabs)
1499 (rst-debug-print-tabs, rst-debug-mark-found)
1500 (rst-shift-region-guts, rst-shift-region-right)
1501 (rst-shift-region-left, rst-use-char-classes)
1502 (rst-font-lock-keywords-function)
1503 (rst-font-lock-indentation-point)
1504 (rst-font-lock-find-unindented-line-begin)
1505 (rst-font-lock-find-unindented-line-end)
1506 (rst-font-lock-find-unindented-line)
1507 (rst-font-lock-adornment-point, rst-font-lock-level)
1508 (rst-adornment-level-alist): Remove functions and variables.
1509
1510 (rst-compare-adornments, rst-get-adornment-match)
1511 (rst-suggest-new-adornment, rst-get-adornments-around)
1512 (rst-adornment-complete-p, rst-get-next-adornment)
1513 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1514 (rst-straighten-adornments): Standardize function names to
1515 use "adornment" instead of "decoration". Correct callers.
1516 Similar standardizing in many places.
1517
1518 (rst-update-section, rst-adjust, rst-promote-region)
1519 (rst-enumerate-region, rst-bullet-list-region)
1520 (rst-repeat-last-character): Correct use of `interactive'.
1521
1522 (rst-classify-adornment, rst-find-all-adornments)
1523 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1524 (rst-find-leftmost-column, rst-repeat-last-character):
1525 Refactor functions.
1526
1527 (rst-find-title-line, rst-reset-section-caches)
1528 (rst-get-adornments-around, rst-adjust-adornment-work)
1529 (rst-arabic-to-roman, rst-roman-to-arabic)
1530 (rst-insert-list-pos, rst-insert-list-new-item)
1531 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1532 New functions.
1533
1534 (rst-all-sections, rst-section-hierarchy)
1535 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1536 New variables.
1537
1538 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1539 configuration instead of only buffer. Change where necessary.
1540
1541 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1542 (rst-shift-region, rst-adaptive-fill): New functions for
1543 indentation and filling.
1544
1545 (rst-comment-line-break, rst-comment-indent)
1546 (rst-comment-insert-comment, rst-comment-region)
1547 (rst-uncomment-region): New functions for handling comments.
1548
1549 (rst-compile): Quote shell arguments.
1550
1551 (rst-compile-pdf-preview, rst-compile-slides-preview):
1552 Delete temporary files after use.
1553
1554 2012-05-05 Glenn Morris <rgm@gnu.org>
1555
1556 * calendar/cal-html.el: Optionally include holidays in the output.
1557 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1558 (cal-html-holidays): New option.
1559 (cal-html-css-default): Add holiday entry.
1560 (holiday-in-range): Autoload it.
1561 (cal-html-htmlify-entry): Add optional class argument.
1562 (cal-html-htmlify-list): Add optional holidays argument.
1563 (cal-html-insert-agenda-days): Include holidays in the output.
1564 (cal-html-one-month): Maybe include holidays.
1565
1566 * calendar/holidays.el (holiday-in-range):
1567 Move here from cal-tex-list-holidays.
1568 * calendar/cal-tex.el (cal-tex-list-holidays):
1569 Make it an obsolete alias for holiday-in-range. Update all callers.
1570
1571 2012-05-05 Chong Yidong <cyd@gnu.org>
1572
1573 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1574 Nextstep.
1575
1576 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1577
1578 * files.el (file-auto-mode-skip): New var.
1579 (set-auto-mode-1): Use it.
1580
1581 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1582
1583 * repeat.el: Use lexical-binding.
1584 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1585 (repeat-undo-count): Remove.
1586 (repeat):
1587 * progmodes/octave-mod.el (octave-abbrev-start):
1588 * progmodes/f90.el (f90-abbrev-start):
1589 * face-remap.el (text-scale-adjust):
1590 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1591
1592 * emacs-lisp/pcase.el (pcase--let*): New function.
1593 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1594 a bit more.
1595 (pcase--split-pred): Be more clever about ruling out overlap between
1596 a predicate and some constant pattern.
1597 (pcase--q1): Use `null' instead of (eq foo nil).
1598
1599 * subr.el (setq-local, defvar-local): New macros.
1600 (kbd): Redefine as an alias.
1601 (with-selected-window): Leave unrelated frames alone.
1602 (set-temporary-overlay-map): New function.
1603
1604 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1605
1606 * subr.el (user-error): New function.
1607 * window.el (switch-to-buffer):
1608 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1609 (smerge-match-conflict):
1610 * simple.el (previous-matching-history-element)
1611 (next-matching-history-element, goto-history-element, undo-more)
1612 (undo-start):
1613 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1614 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1615 (next-file, tags-loop-scan, list-tags, complete-tag):
1616 * progmodes/compile.el (compilation-loop):
1617 * mouse.el (mouse-minibuffer-check):
1618 * man.el (Man-bgproc-sentinel, Man-goto-page):
1619 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1620 (Info-history-forward, Info-follow-reference, Info-menu)
1621 (Info-extract-menu-item, Info-extract-menu-counting)
1622 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1623 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1624 (Info-next-reference, Info-prev-reference, Info-index)
1625 (Info-index-next, Info-follow-nearest-node)
1626 (Info-copy-current-node-name):
1627 * imenu.el (imenu--make-index-alist)
1628 (imenu-default-create-index-function, imenu-add-to-menubar):
1629 * files.el (basic-save-buffer, recover-file):
1630 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1631 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1632 (checkdoc-message-text, checkdoc-defun):
1633 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1634 * cus-edit.el (customize-changed-options, customize-rogue)
1635 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1636 (custom-variable-mark-to-reset-standard)
1637 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1638 (custom-file):
1639 * completion.el (check-completion-length):
1640 * comint.el (comint-search-arg)
1641 (comint-previous-matching-input-string-position)
1642 (comint-previous-matching-input)
1643 (comint-replace-by-expanded-history-before-point, comint-send-input)
1644 (comint-copy-old-input, comint-backward-matching-input)
1645 (comint-goto-process-mark, comint-set-process-mark):
1646 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1647 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1648
1649 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1650
1651 * dabbrev.el (dabbrev--ignore-case-p): New function.
1652 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1653 Use it.
1654
1655 * files.el (automount-dir-prefix): Mark as obsolete.
1656
1657 2012-05-04 Glenn Morris <rgm@gnu.org>
1658
1659 * patcomp.el, play/bruce.el: Move to obsolete/.
1660
1661 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1662
1663 Fix minor Y10k bugs.
1664 * arc-mode.el (archive-unixdate):
1665 * autoinsert.el (auto-insert-alist):
1666 * calc/calc-forms.el (math-this-year):
1667 * emacs-lisp/copyright.el (copyright-current-year)
1668 (copyright-update-year, copyright):
1669 * tar-mode.el (tar-clip-time-string):
1670 * time.el (display-time-update):
1671 Don't assume years have 4 digits.
1672
1673 2012-05-04 Chong Yidong <cyd@gnu.org>
1674
1675 * dos-w32.el (file-name-buffer-file-type-alist)
1676 (direct-print-region-use-command-dot-com):
1677 * ffap.el (ffap-menu-regexp):
1678 * find-file.el (ff-special-constructs):
1679 * follow.el (follow-debug):
1680 * forms.el (forms--debug):
1681 * iswitchb.el (iswitchb-all-frames):
1682 * ido.el (ido-all-frames):
1683 * emacs-lisp/timer.el (timer-max-repeats):
1684 * mail/feedmail.el (feedmail-mail-send-hook)
1685 (feedmail-mail-send-hook-queued):
1686 * mail/footnote.el (footnote-signature-separator):
1687 * mail/mailabbrev.el (mail-alias-separator-string)
1688 (mail-abbrev-mode-regexp):
1689 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1690 * progmodes/idlwave.el (idlwave-libinfo-file)
1691 (idlwave-default-completion-case-is-down)
1692 (idlwave-library-routines): Convert defvars to defcustoms.
1693
1694 * mail/rmail.el (rmail-decode-mime-charset):
1695 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1696 (idlwave-shell-fix-inserted-breaks)
1697 (idlwave-shell-activate-alt-keybindings)
1698 (idlwave-shell-use-breakpoint-glyph):
1699 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1700
1701 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1702
1703 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1704
1705 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1706
1707 * progmodes/verilog-mode.el (font-lock-keywords):
1708 Fix mis-highligting auto. Reported by Craig Barner.
1709 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1710 defines from global name space. Reported by Dan Dever.
1711 (verilog-auto-reset, verilog-auto-reset-widths)
1712 (verilog-auto-tieoff): Support using unbased numbers for
1713 AUTORESET and AUTOTIEOFF.
1714 (verilog-submit-bug-report): Update variable list.
1715 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1716 parenthesis from not matching. Reported by Michael Rytting.
1717 (verilog-auto-template-lint): Fix hash error when linting modules
1718 with no used templates.
1719 (verilog-warn, verilog-warn-error)
1720 (verilog-warn-fatal): When non-interactive report multiple
1721 warnings before exiting. Suggested by Brad Dobbie.
1722 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1723 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1724 to report unused template errors. Reported by Brad Dobbie.
1725 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1726 nets, bug438. Reported by Vns Blore.
1727 (verilog-auto-inout-module, verilog-auto-reg)
1728 (verilog-read-decls, verilog-read-sub-decls-sig)
1729 (verilog-signals-edit-wire-reg, verilog-signals-with):
1730 Fix passing of Verilog data types in ANSI input/output ports
1731 such as "output logic" into the AUTOs. Special case "wire" and
1732 "reg" for backwards compatibility presuming Verilog 2001.
1733 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1734 (verilog-preprocess): Fix replication of preprocess output.
1735 Reported by Brad Dobbie.
1736 (verilog-auto-inst-interfaced-ports):
1737 Create verilog-auto-inst-interfaced-ports, bug429.
1738 Reported by Julian Gorfajn.
1739 (verilog-after-save-font-hook)
1740 (verilog-before-save-font-hook): New variable.
1741 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1742 (verilog-save-font-mods): Wrap disabling fontification, reported
1743 by David Rogoff.
1744 (verilog-do-indent, verilog-pretty-declarations-auto)
1745 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1746 Reported by Pierre-David Pfister.
1747 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1748 of class declarations, bug292. Reported by Kevin Heilman.
1749 (verilog-read-decls): Fix 'parameter type' not appearing in
1750 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1751 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1752 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1753 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1754 Reported by David Kravitz.
1755
1756 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1757
1758 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1759 assignment with tests in ifs and for loops.
1760 (verilog-extended-complete-re, verilog-complete-reg): Change so
1761 that DPI inport functions don't look like fuction declarations.
1762 (verilog-pretty-expr): Don't line up assignment
1763 operations to the test and increment in if and for loops
1764 (verilog-extended-complete-re, verilog-complete-reg): Change so
1765 that DPI inport functions don't look like fuction declarations
1766
1767 2012-05-03 Kenichi Handa <handa@m17n.org>
1768
1769 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1770 decoding, and show a warning message without signaling an error
1771 (Bug#11282).
1772
1773 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * emacs-lisp/bytecomp.el
1776 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1777 since cconv.el might have introduced :fun-body, internal-make-closure,
1778 and friends for bytecomp to handle (bug#11391).
1779 * custom.el (defcustom): Avoid ((λ ..) ..).
1780
1781 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1784
1785 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1786
1787 * notifications.el (dbus-debug):
1788 * term/linux.el (gpm-mouse-enable):
1789 * term/screen.el (xterm-register-default-colors): Declare.
1790
1791 2012-05-02 Chong Yidong <cyd@gnu.org>
1792
1793 * cus-start.el (gc-cons-percentage, exec-suffixes)
1794 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1795 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1796 (make-cursor-line-fully-visible, void-text-area-pointer)
1797 (font-list-limit): Add customization data.
1798
1799 * allout.el (allout-exposure-change-functions)
1800 (allout-structure-added-functions)
1801 (allout-structure-deleted-functions)
1802 (allout-structure-shifted-functions): Rename abnormal hooks from
1803 *-hook, and convert to defcustoms.
1804 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1805 Convert to defcustoms.
1806 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1807
1808 * allout-widgets.el: Hook callers changed.
1809
1810 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1811
1812 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1813 the yanked message in preference to the default value of
1814 buffer-file-coding-system.
1815
1816 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1817
1818 * window.el (display-buffer--action-function-custom-type):
1819 Fix entry.
1820
1821 2012-05-02 Alan Mackenzie <acm@muc.de>
1822
1823 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1824
1825 2012-05-01 Glenn Morris <rgm@gnu.org>
1826
1827 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1828
1829 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1830
1831 * cus-edit.el (custom-variable-documentation): Simplify with format.
1832
1833 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1834 Stefan Monnier <monnier@iro.umontreal.ca>
1835
1836 * simple.el (suggest-key-bindings, execute-extended-command):
1837 Move from keyboard.c.
1838
1839 2012-05-01 Chong Yidong <cyd@gnu.org>
1840
1841 * follow.el: Eliminate advice.
1842 (set-process-filter, process-filter, sit-for): Advice deleted.
1843 (follow-mode-off-hook): Obsolete hook removed.
1844 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1845 Vars deleted.
1846 (follow-auto): Use a :set function.
1847 (follow-mode): Rewritten. Don't advise process filters.
1848 (follow-switch-to-current-buffer-all, follow-scroll-up)
1849 (follow-scroll-down): Assume follow-mode is bound.
1850 (follow-comint-scroll-to-bottom)
1851 (follow-align-compilation-windows): New functions.
1852 (follow--window-sorter): New function.
1853 (follow-all-followers): Use it to explicitly sort windows by their
1854 positions; don't make assumptions about next-window order.
1855 (follow-windows-start-end, follow-delete-other-windows-and-split)
1856 (follow-calc-win-start): Doc fix.
1857 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1858 vertical-motion unnecessarily.
1859 (follow-adjust-window): New function.
1860 (follow-post-command-hook): Use it.
1861 (follow-call-set-process-filter, follow-call-process-filter)
1862 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1863 (follow-stop-intercept-process-output, follow-generic-filter):
1864 Functions deleted.
1865 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1866 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1867 New functions, replacing advice on scroll-bar-* commands.
1868 (follow-mwheel-scroll): New function (Bug#4112).
1869
1870 * comint.el (comint-adjust-point): New function.
1871 (comint-postoutput-scroll-to-bottom): Use it.
1872 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1873
1874 2012-05-01 Glenn Morris <rgm@gnu.org>
1875
1876 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1877 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1878 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1879 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1880 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1881 Remove no-byte-compile setting.
1882
1883 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1884
1885 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1886 all-completions code to not return a number in the last cdr.
1887
1888 2012-04-30 Leo Liu <sdl.web@gmail.com>
1889
1890 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1891 read-only error.
1892
1893 2012-04-29 Chong Yidong <cyd@gnu.org>
1894
1895 * follow.el (follow-calc-win-end): Rewrite to handle partial
1896 screen lines correctly (Bug#8390).
1897 (follow-avoid-tail-recenter): Minor cleanup.
1898
1899 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 Avoid the obsolete `assoc' package.
1902 * speedbar.el (speedbar-refresh): Avoid adelete.
1903 (speedbar-file-lists): Simplify and avoid aput.
1904 * man.el (Man--sections, Man--refpages): New vars, replacing
1905 Man-sections-alist and Man-refpages-alist.
1906 (Man-build-section-alist, Man-build-references-alist):
1907 Use them; avoid aput.
1908 (Man--last-section, Man--last-refpage): New vars.
1909 (Man-follow-manual-reference): Use them.
1910 Use the `default' arg of completing-read.
1911 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1912
1913 2012-04-27 Chong Yidong <cyd@gnu.org>
1914
1915 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1916
1917 * startup.el (x-apply-session-resources): New function.
1918
1919 * term/ns-win.el (ns-initialize-window-system):
1920 * term/w32-win.el (w32-initialize-window-system):
1921 * term/x-win.el (x-initialize-window-system): Use it to properly
1922 set menu-bar-mode and other vars from X resources, even if the
1923 initial frame is not a window-system frame (Bug#2299).
1924
1925 * subr.el (read-key): Avoid running filter function when setting
1926 up temporary tool bar entries (Bug#9922).
1927
1928 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1929
1930 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1931 (Bug#11344)
1932
1933 2012-04-27 Chong Yidong <cyd@gnu.org>
1934
1935 * select.el (xselect--encode-string): New function, split from
1936 xselect-convert-to-string.
1937 (xselect-convert-to-string): Use it.
1938 (xselect-convert-to-filename, xselect-convert-to-os)
1939 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1940 returned strings are properly encoded (Bug#11315).
1941
1942 2012-04-27 Chong Yidong <cyd@gnu.org>
1943
1944 * simple.el (delete-active-region): Move to killing custom group.
1945
1946 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1947
1948 * progmodes/which-func.el (which-func-current): Quote %
1949 characters for mode-line processing.
1950
1951 2012-04-27 Chong Yidong <cyd@gnu.org>
1952
1953 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1954 reaching eob (Bug#11286).
1955
1956 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1957
1958 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1959 (gdb): Make it buffer-local and init to zero.
1960 (gdb-control-commands-regexp): New variable.
1961 (gdb-send): Don't wrap in "-interpreter-exec console" if
1962 gdb-control-level is positive. Increment gdb-control-level
1963 whenever the command matches gdb-control-commands-regexp, and
1964 decrement it each time the command is "end". (Bug#11279)
1965
1966 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1967
1968 * window.el (adjust-window-trailing-edge, enlarge-window)
1969 (shrink-window, window-resize):
1970 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1971 windows (Bug#11276).
1972
1973 2012-04-27 Chong Yidong <cyd@gnu.org>
1974
1975 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1976 fix "missing prefix" warning. All callers changed.
1977
1978 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1979
1980 * emacs-lisp/assoc.el: Move to obsolete/.
1981
1982 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1983
1984 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1985
1986 * term/ns-win.el (ns-define-service):
1987 * progmodes/pascal.el (pascal-goto-defun):
1988 * progmodes/js.el (js--read-tab):
1989 * progmodes/etags.el (tags-lazy-completion-table):
1990 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1991 * emacs-lisp/ewoc.el (ewoc--wrap):
1992 * emacs-lisp/assoc.el (aput, adelete, amake):
1993 * doc-view.el (doc-view-convert-current-doc):
1994 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1995
1996 2012-04-26 Chong Yidong <cyd@gnu.org>
1997
1998 * image.el (image-type-from-buffer): Only return supported image
1999 type (Bug#9045).
2000
2001 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2002 value, for symmetry with diff-end-of-hunk.
2003 (diff-split-hunk, diff-find-source-location)
2004 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2005 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2006 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2007 compute the relevant hunk or file properly (Bug#6005).
2008 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2009
2010 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * vc/vc-mtn.el:
2013 * vc/vc-hg.el:
2014 * vc/vc-git.el:
2015 * vc/vc-dir.el:
2016 * vc/vc-cvs.el:
2017 * vc/vc-bzr.el:
2018 * vc/vc-arch.el:
2019 * vc/vc.el: Replace lexical-let by lexical-binding.
2020 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2021 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2022 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2023
2024 2012-04-26 Chong Yidong <cyd@gnu.org>
2025
2026 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2027 (diff-mode-shared-map): Bind it to / and [remap undo].
2028
2029 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2030 (ediff-window-setup-function): Use it as the default, to set up
2031 windows based on whether the current frame is graphical (Bug#2138).
2032 (ediff-choose-window-setup-function-automatically): Make obsolete.
2033
2034 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2035
2036 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2037
2038 * ffap.el: Remove old code for obsolete package.
2039 (ffap-complete-as-file-p): Remove.
2040
2041 Use completion-table-with-quoting for comint and pcomplete.
2042 * comint.el (comint--unquote&requote-argument)
2043 (comint--unquote-argument, comint--requote-argument): New functions.
2044 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2045 (comint-quote-filename): Use regexp-opt-charset.
2046 (comint--common-suffix, comint--common-quoted-suffix)
2047 (comint--table-subvert): Remove.
2048 (comint-unquote-function, comint-requote-function): New vars.
2049 (comint--complete-file-name-data): Use them with
2050 completion-table-with-quoting.
2051 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2052 * pcomplete.el (pcomplete-arg-quote-list)
2053 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2054 (pcomplete-unquote-argument-function): Default to non-nil.
2055 (pcomplete-unquote-argument): Simplify.
2056 (pcomplete--common-quoted-suffix): Remove.
2057 (pcomplete-requote-argument-function): New var.
2058 (pcomplete--common-suffix): New function.
2059 (pcomplete-completions-at-point): Use completion-table-with-quoting
2060 and completion-table-subvert.
2061
2062 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2063 (minibuffer--double-dollars): Preserve properties.
2064 (completion--sifn-requote): New function.
2065 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2066
2067 * minibuffer.el: Add support for completion of quoted/escaped data.
2068 (completion-table-with-quoting, completion-table-subvert): New funs.
2069 (completion--twq-try, completion--twq-all): New functions.
2070 (completion--nth-completion): New function.
2071 (completion-try-completion, completion-all-completions): Use it.
2072
2073 2012-04-25 Leo Liu <sdl.web@gmail.com>
2074
2075 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2076 Use compilation-message if available to find real filename.
2077
2078 2012-04-25 Chong Yidong <cyd@gnu.org>
2079
2080 * vc/diff-mode.el (diff-setup-whitespace): New function.
2081 (diff-mode): Use it.
2082
2083 * vc/diff.el (diff-sentinel):
2084 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2085 Whitespace mode variables based on diff style (Bug#8612).
2086
2087 2012-04-25 Leo Liu <sdl.web@gmail.com>
2088
2089 * progmodes/python.el (python-send-region): Add suffix .py to the
2090 temp file.
2091
2092 * files.el (auto-mode-alist): Use javascript-mode instead.
2093
2094 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2095
2096 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2097
2098 * soap-client.el (soap-resolve-references-for-sequence-type)
2099 (soap-resolve-references-for-array-type): Hack to prevent self
2100 references, see Bug#9.
2101 (soap-parse-envelope): Report the contents of the 'detail' node
2102 when receiving a fault reply.
2103 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2104
2105 * soap-inspect.el (soap-sample-value-for-simple-type)
2106 (soap-inspect-simple-type): New function.
2107
2108 * soap-client.el (soap-simple-type): New struct.
2109 (soap-default-xsd-types, soap-default-soapenc-types)
2110 (soap-decode-basic-type, soap-encode-basic-type):
2111 support unsignedInt and double basic types.
2112 (soap-resolve-references-for-simple-type)
2113 (soap-parse-simple-type, soap-encode-simple-type): New function.
2114 (soap-parse-schema): Parse xsd:simpleType declarations.
2115
2116 * soap-client.el (soap-default-xsd-types)
2117 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2118 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2119 the local name of "soapenc:Array".
2120 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2121 decoding integer, byte and anyURI xsd types.
2122
2123 2012-04-25 Chong Yidong <cyd@gnu.org>
2124
2125 * cus-edit.el (custom-buffer-create-internal): Update header text.
2126
2127 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2128
2129 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2130 settings on 'system-type', not on 'window-system'. On MS-Windows,
2131 set interactive-mode on in GDB.
2132
2133 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2134
2135 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2136 (ruby-syntax-propertize-regexp): Remove.
2137 (ruby-syntax-propertize-function): Split regexp into chunks.
2138 Match following code directly.
2139
2140 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2141
2142 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2143 (ruby-syntax-propertize-regexp): New function.
2144 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2145 by a special keyword.
2146
2147 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2148 (ruby-syntax-general-delimiters-goto-beg)
2149 (ruby-syntax-propertize-general-delimiters): New functions.
2150 (ruby-syntax-propertize-function): Use them to handle GDL.
2151 (ruby-font-lock-keywords): Move old handling of GDL...
2152 (ruby-font-lock-syntactic-keywords): .. to here.
2153 (ruby-calculate-indent): Adjust indentation for GDL.
2154
2155 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2156
2157 * notifications.el (top): Remove unneeded declarations.
2158 (notifications-specification-version): Change to "1.2".
2159 (notifications-interface, notifications-notify-method)
2160 (notifications-close-notification-method): Fix docstring.
2161 (notifications-get-capabilities-method): New defconst.
2162 (notifications-notify): Add :action-items, :resident and
2163 :transient hints. Change "image_data" to "image-data" and
2164 "image_path" to "image-path".
2165 (notifications-get-capabilities): New defun.
2166
2167 2012-04-24 Leo Liu <sdl.web@gmail.com>
2168
2169 * progmodes/python.el: Move hideshow setup to the end.
2170
2171 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2172
2173 * window.el (handle-select-window): Clear echo area since this is
2174 no more done by read_char (Bug#11304).
2175
2176 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2179 and `/ M' to filter-derived-mode.
2180 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2181 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2182 (ibuffer-mark-by-mode): Use default rather than initial-input.
2183 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2184
2185 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2186
2187 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2188 (ibuffer-filter-by-derived-mode): New filter.
2189 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2190
2191 2012-04-23 Andreas Politz <politza@fh-trier.de>
2192
2193 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2194
2195 2012-04-23 Chong Yidong <cyd@gnu.org>
2196
2197 * cus-edit.el (customize-apropos, customize-apropos-options):
2198 Disable matching of non-option variables (Bug#11176).
2199 (customize-option, customize-option-other-window)
2200 (customize-changed-options): Doc fix.
2201 (customize-apropos-options, customize-apropos-faces)
2202 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2203
2204 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2205 Fix word list splitting (Bug#11132).
2206 (apropos-symbol, apropos-keybinding, apropos-label)
2207 (apropos-property, apropos-function-button)
2208 (apropos-variable-button, apropos-misc-button): New faces.
2209 (apropos-symbol-face, apropos-keybinding-face)
2210 (apropos-label-face, apropos-property-face, apropos-match-face):
2211 Variables removed (Bug#8396).
2212 (apropos-library-button, apropos-format-plist, apropos-print)
2213 (apropos-print-doc, apropos-describe-plist): Callers changed.
2214
2215 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2216
2217 * net/xesam.el (xesam-mode-map): Use let-bound map in
2218 initialization. (Bug#11292)
2219
2220 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2221
2222 Preserve ispell session localwords when switching back to
2223 original buffer.
2224
2225 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2226 variable to hold buffer session localwords.
2227 (ispell-kill-ispell): add option 'clear to delete session
2228 localwords.
2229 (ispell-command-loop, ispell-change-dictionary)
2230 (ispell-buffer-local-words): Preserve session localwords when
2231 needed.
2232
2233 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2234 Preserve session localwords when needed.
2235
2236 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2237
2238 * ispell.el (ispell-insert-word) Remove unneeded function using
2239 obsolete `translation-table-for-input'.
2240 (ispell-word, ispell-process-line, ispell-complete-word):
2241 Use plain `insert' instead of removed `ispell-insert-word'.
2242
2243 2012-04-22 Chong Yidong <cyd@gnu.org>
2244
2245 * cus-edit.el (custom-variable-menu)
2246 (custom-variable-reset-saved, custom-face-menu)
2247 (custom-face-reset-saved): If there is no saved value, make the
2248 "reset-saved" operation bring back the default (Bug#9509).
2249 (custom-face-state): Properly detect themed faces.
2250
2251 * faces.el (face-spec-set): Stop supporting deprecated form of
2252 third arg.
2253
2254 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
2255
2256 Move functions from C to Lisp. Make non-blocking method calls
2257 the default. Implement further D-Bus standard interfaces.
2258
2259 * net/dbus.el (dbus-message-internal): Declare function.
2260 Remove unneeded function declarations.
2261 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2262 (dbus-message-type-method-return, dbus-message-type-error)
2263 (dbus-message-type-signal): Declare variables. Remove local
2264 definitions.
2265 (dbus-interface-dbus, dbus-interface-peer)
2266 (dbus-interface-introspectable, dbus-interface-properties)
2267 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2268 Adapt docstring.
2269 (dbus-interface-objectmanager): New defconst.
2270 (dbus-call-method, dbus-call-method-asynchronously)
2271 (dbus-send-signal, dbus-method-return-internal)
2272 (dbus-method-error-internal, dbus-register-service)
2273 (dbus-register-signal, dbus-register-method): New defuns, moved
2274 from dbusbind.c
2275 (dbus-call-method-handler, dbus-setenv)
2276 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2277 New defuns.
2278 (dbus-call-method-non-blocking): Make it an obsolete function.
2279 (dbus-unregister-object, dbus-unregister-service)
2280 (dbus-handle-event, dbus-register-property)
2281 (dbus-property-handler): Obey the new structure of
2282 `bus-registered-objects'.
2283 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2284 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2285 Use `dbus-call-method'.
2286
2287 2012-04-22 Chong Yidong <cyd@gnu.org>
2288
2289 * cus-edit.el (custom-commands, custom-reset-menu)
2290 (Custom-reset-standard): Tweak labels.
2291 (custom-reset-button-menu): Change default to t.
2292 (custom-buffer-create-internal): For the custom-reset-button-menu
2293 case, put the revert button first.
2294 (custom-group-subtitle): New face.
2295 (custom-group-value-create): Align docstring to a specific column.
2296
2297 * wid-edit.el (widget-documentation-link-add): Don't handle
2298 indentation in this function.
2299 (widget-documentation-string-indent-to): New function.
2300 (widget-documentation-string-value-create): Use it.
2301
2302 * autorevert.el (auto-revert):
2303 * epg-config.el (epg):
2304 * ibuffer.el (ibuffer):
2305 * mpc.el (mpc):
2306 * ses.el (ses):
2307 * eshell/eshell.el (eshell):
2308 * net/ange-ftp.el (ange-ftp):
2309 * progmodes/ebnf2ps.el (postscript):
2310 * progmodes/flymake.el (flymake):
2311 * progmodes/prolog.el (prolog):
2312 * progmodes/verilog-mode.el (verilog-mode):
2313 * progmodes/which-func.el (which-func):
2314 * term/xterm.el (xterm):
2315 * textmodes/picture.el (picture):
2316 * textmodes/tildify.el (tildify):
2317 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2318 customization buffers.
2319
2320 2012-04-22 Alan Mackenzie <acm@muc.de>
2321
2322 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2323 Adding a ) can hide the resulting (..) from searches. Fix it.
2324 Bound the backward search to the position of the existing (.
2325
2326 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2327
2328 * progmodes/verilog-mode.el (verilog-mode): Check whether
2329 which-func-modes is t before adding verilog-mode.
2330 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2331
2332 2012-04-21 Leo Liu <sdl.web@gmail.com>
2333
2334 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2335
2336 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2337
2338 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2339 filling of the last column of a table (Bug#5635).
2340 (woman-find-next-control-line): New arg, specifying an additional
2341 regexp component for the control line.
2342 (woman2-roff-buffer): Use it.
2343 (woman-break-table): New function.
2344 (woman2-TS): Use it.
2345
2346 2012-04-21 Chong Yidong <cyd@gnu.org>
2347
2348 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2349 (woman-horizontal-escapes, woman-negative-vertical-space)
2350 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2351 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2352
2353 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2354
2355 * minibuffer.el (completion-file-name-table): Complete user names.
2356
2357 2012-04-20 Leo Liu <sdl.web@gmail.com>
2358
2359 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2360 and pcase-let*.
2361
2362 2012-04-20 Chong Yidong <cyd@gnu.org>
2363
2364 * server.el (server-execute): Respect initial-buffer-choice if it
2365 is a string and there are no files to open (Bug#2825).
2366 (server-create-window-system-frame, server-create-tty-frame):
2367 Don't switch buffers here.
2368 (server-process-filter): Only try to open a window system frame if
2369 compiled with graphical support (Bug#8314).
2370
2371 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2372
2373 * battery.el (battery-echo-area-format): Display remaining time
2374 for sysfs backend too (Bug#11269).
2375 (battery-linux-sysfs): Fix conditional for the charge.
2376
2377 2012-04-20 Chong Yidong <cyd@gnu.org>
2378
2379 * progmodes/gdb-mi.el (gdb): Revert previous change.
2380 (gdb-inferior-io--init-proc): New function.
2381 (gdb-init-1): Use it.
2382 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2383 responsible for allocating a new pty and hooking it to gdb when
2384 the old pty gets an EIO due to process exit.
2385 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2386 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2387 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2388
2389 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2390
2391 * window.el (window-min-size, window-sizable, window-min-delta)
2392 (window-max-delta, window--resizable, window-resizable)
2393 (window-total-size, window-full-height-p, window-full-width-p)
2394 (window-in-direction, window--resize-mini-window, window-resize)
2395 (window--resize-child-windows-normal)
2396 (window--resize-child-windows, window--resize-siblings)
2397 (window--resize-this-window, adjust-window-trailing-edge)
2398 (enlarge-window, shrink-window): Doc fixes.
2399
2400 2012-04-20 Chong Yidong <cyd@gnu.org>
2401
2402 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2403 New function to call delete-process on the gdb-inferior buffer's pty.
2404 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2405 pty process (Bug#11273).
2406 (gdb-update): New arg to suppress talking to the gdb process.
2407 (gdb-done-or-error): Use it.
2408 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2409 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2410 sentinel not being called.
2411
2412 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2413
2414 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2415
2416 2012-04-20 Glenn Morris <rgm@gnu.org>
2417
2418 * net/network-stream.el (open-network-stream): Doc fix.
2419
2420 2012-04-20 Chong Yidong <cyd@gnu.org>
2421
2422 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2423
2424 2012-04-20 Alan Mackenzie <acm@muc.de>
2425
2426 Ensure searching for keywords is case sensitive.
2427
2428 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2429 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2430 (c-defun-name, c-mark-function, c-cpp-define-name)
2431 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2432 (c-context-line-break): Bind case-fold-search to nil.
2433
2434 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2435 Bind case-fold-search to nil.
2436
2437 2012-04-20 Chong Yidong <cyd@gnu.org>
2438
2439 * mail/sendmail.el (mail-bury): Call return action with the right
2440 Rmail buffer (Bug#11242).
2441
2442 * server.el (server-process-filter): Handle corner case where both
2443 tty and nowait options are present (Bug#11102).
2444
2445 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2446
2447 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2448 (top level): Put into the executable the ident-style '$Id:' tag on
2449 windows-nt as well.
2450
2451 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2452
2453 * electric.el (electric-indent-post-self-insert-function): Check that
2454 electric-indent-mode is enabled in current buffer.
2455
2456 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2457
2458 * imenu.el (imenu-progress-message): Restore; it is "used" in
2459 erc/erc-imenu.el and net/snmp-mode.el.
2460
2461 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2462
2463 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2464 (mouse-avoidance-nudge-mouse): Remove unused binding.
2465
2466 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2467
2468 * descr-text.el (describe-char):
2469 * progmodes/python.el (python-describe-symbol):
2470 Don't call `toggle-read-only', set `buffer-read-only'.
2471
2472 * imenu.el (imenu-default-goto-function): Mark unused args.
2473 (imenu-progress-message): Remove obsolete macro; all callers changed.
2474
2475 * subr.el (keymap-canonicalize): Remove unused binding.
2476 (read-passwd): Mark unused arg.
2477
2478 * tutorial.el (tutorial--display-changes): Remove unused binding.
2479 (tutorial--save-tutorial-to): Remove unused variable.
2480
2481 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2482 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2483 (package-generate-autoloads, package-menu--generate)
2484 (package-menu--find-upgrades): Remove unused bindings.
2485
2486 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2487 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2488 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2489 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2490 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2491 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2492 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2493 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2494 (cua-delete-char-rectangle): Mark unused args.
2495 (cua-align-rectangle): Remove unused binding.
2496
2497 * mail/rmail.el (compilation--message->loc)
2498 (epa--find-coding-system-for-mime-charset): Declare.
2499
2500 * net/dbus.el (dbus-register-service): Declare.
2501 (dbus-name-owner-changed-handler): Remove unused binding.
2502
2503 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2504 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2505 (nxml-scan-backward-within): Mark unused arg.
2506 (nxml-dynamic-markup-word): Remove unused binding.
2507
2508 * mouse.el (mouse-menu-major-mode-map):
2509 * emacs-lisp/authors.el (authors-scan-change-log)
2510 (authors-add-to-author-list):
2511 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2512 * emacs-lisp/smie.el (smie-auto-fill):
2513 * mail/sendmail.el (mail-bury):
2514 * mail/unrmail.el (unrmail):
2515 * net/tls.el (open-tls-stream):
2516 * textmodes/picture.el (picture-mouse-set-point):
2517 Remove unused bindings.
2518
2519 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2520
2521 * net/tramp.el (tramp-action-password): Let-bind
2522 `enable-recursive-minibuffers' to t.
2523
2524 2012-04-18 Sam Steingold <sds@gnu.org>
2525
2526 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2527 instead of 'string to accommodate values like [f11].
2528 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2529 * progmodes/gdb-mi.el: Likewise.
2530
2531 2012-04-18 Leo Liu <sdl.web@gmail.com>
2532
2533 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2534 current buffer.
2535 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2536 LOCAL is nil.
2537
2538 2012-04-18 Chong Yidong <cyd@gnu.org>
2539
2540 * simple.el (line-move): Use forward-line if in batch mode
2541 (Bug#11053).
2542
2543 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2544
2545 * files.el (after-find-file): Do not try to add a final newline if
2546 the buffer is read-only (Bug#11156).
2547
2548 2012-04-17 Richard Stallman <rms@gnu.org>
2549
2550 * mail/rmail.el (rmail-start-mail):
2551 Pass (rmail-mail-return...) for the return-action.
2552 Pass (rmail-yank-current-message...) for the yank-action.
2553 (rmail-yank-current-message): New function.
2554 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2555 (rmail-reply): Likewise.
2556 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2557
2558 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2559 buffer, not the last. Reject temp buffers. Use the rmail-mode
2560 buffer, not newbuf.
2561
2562 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2563
2564 * server.el (server-ensure-safe-dir): Simplify.
2565
2566 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2567
2568 * emacs-lisp/smie.el: Provide smarter auto-filling.
2569 (smie-auto-fill): New function.
2570 (smie-setup): Use it.
2571
2572 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2573
2574 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2575
2576 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2577 (comment-indent): Use it.
2578
2579 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
2580
2581 * ses.el: The overall change is to add cell renaming, that is
2582 setting fancy names for cell symbols other than name matching
2583 "\\`[A-Z]+[0-9]+\\'" regexp .
2584 (ses-localvars): Add ses--renamed-cell-symb-list.
2585 (ses-create-cell-variable): New defun.
2586 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2587 (ses-relocate-formula): Relocate formulas only for cells the
2588 symbols of which are not renamed, i.e. symbols whose names do not
2589 match regexp "\\`[A-Z]+[0-9]+\\'".
2590 (ses-relocate-all): Relocate values only for cells the symbols of
2591 which are not renamed.
2592 (ses-load): Create cells variables as the (ses-cell ...) are read,
2593 in order to check row col consistency with cell symbol name only
2594 for cells that are not renamed.
2595 (ses-replace-name-in-formula): New defun.
2596 (ses-rename-cell): New defun.
2597
2598 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2599
2600 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2601 New option (bug#11118).
2602 (perl-calculate-indent): Respect it.
2603
2604 2012-04-17 Glenn Morris <rgm@gnu.org>
2605
2606 * dired-aux.el (dired-mark-read-string): Doc fix.
2607
2608 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2609
2610 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2611 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2612
2613 2012-04-17 Glenn Morris <rgm@gnu.org>
2614
2615 * mouse.el (mouse-drag-track):
2616 * speedbar.el (speedbar-frame-mode):
2617 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2618
2619 2012-04-16 Leo Liu <sdl.web@gmail.com>
2620
2621 * progmodes/python.el: Trivial cleanup.
2622
2623 2012-04-16 Glenn Morris <rgm@gnu.org>
2624
2625 * vc/vc.el (vc-string-prefix-p):
2626 * vc/pcvs-util.el (cvs-string-prefix-p):
2627 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2628 * mpc.el (mpc-string-prefix-p):
2629 Make all of these into obsolete aliases for string-prefix-p.
2630 Update callers.
2631 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2632
2633 * textmodes/two-column.el: Move custom options to the start.
2634 (frame-width): Remove compat definition.
2635 (2C-associate-buffer, 2C-dissociate):
2636 Use with-current-buffer rather than save-excursion.
2637 (2C-dissociate): Force a mode-line update.
2638 (2C-autoscroll): Use ignore-errors.
2639
2640 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2641 Autoload trivia.
2642
2643 * emacs-lisp/cl-extra.el (*random-state*):
2644 Remove unnecessary declaration.
2645
2646 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2647
2648 * play/cookie1.el (cookie-snarf):
2649 Give an explicit error if input file cannot be read.
2650
2651 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2652
2653 * progmodes/perl-mode.el (c-macro-expand):
2654 Remove unnecessary autoload (it is in loaddefs.el).
2655
2656 * textmodes/picture.el (picture-desired-column)
2657 (picture-update-desired-column): Convert comments to doc-strings.
2658 (picture-substitute): Remove function.
2659 (picture-mode-map): Initialize in the defvar.
2660
2661 * woman.el: Remove eval-after-load for tar-mode.
2662 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2663 (woman-tar-extract-file): Autoload it.
2664
2665 * frame.el (automatic-hscrolling): Make this alias obsolete.
2666
2667 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2668
2669 * ispell.el (ispell-set-spellchecker-params): Post-process
2670 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2671 (ispell-dictionary-base-alist): Revert to original XEmacs
2672 friendly version for default. [:alpha:] will be added in
2673 `ispell-set-spellchecker-params' if needed
2674
2675 2012-04-16 Chong Yidong <cyd@gnu.org>
2676
2677 * image.el (imagemagick--extension-regexp): New variable.
2678 (imagemagick-register-types): Use it.
2679 (imagemagick-types-inhibit): Add :set function. Allow new value
2680 of t to inhibit all types.
2681
2682 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2683 so we can preload it.
2684
2685 * loadup.el (fboundp): Preload regexp-opt, needed by
2686 imagemagick-register-types.
2687
2688 2012-04-15 Chong Yidong <cyd@gnu.org>
2689
2690 * frame.el (scrolling): Remove nearly unused customization group.
2691
2692 * scroll-all.el (scroll-all-mode): Move to windows group.
2693
2694 2012-04-15 Chong Yidong <cyd@gnu.org>
2695
2696 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2697
2698 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2699
2700 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2701 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2702
2703 2012-04-15 Glenn Morris <rgm@gnu.org>
2704
2705 * simple.el (process-file-side-effects): Doc fix.
2706
2707 2012-04-15 Glenn Morris <rgm@gnu.org>
2708
2709 * international/mule-cmds.el (set-language-environment): Doc fix.
2710
2711 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2712
2713 * server.el (server-auth-key, server-generate-key): Doc fixes.
2714 (server-get-auth-key): Doc fix. Use `string-match-p'.
2715 (server-start): Reflow docstring.
2716
2717 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2718
2719 * server.el (server-generate-key): `called-interactively-p'
2720 requires a parameter.
2721
2722 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2723
2724 * server.el (server-auth-key): New variable.
2725 (server-generate-key, server-get-auth-key): New function.
2726 (server-start): Use the new variable and functions to allow
2727 setting a permanent server key (bug#9423).
2728
2729 2012-04-14 Leo Liu <sdl.web@gmail.com>
2730
2731 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2732
2733 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2734
2735 Spelling fixes.
2736 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2737 Emacs uses American spelling.
2738
2739 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2740
2741 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2742 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2743 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2744 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2745
2746 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * progmodes/which-func.el (which-func-modes): Change default.
2749
2750 2012-04-14 Kim F. Storm <storm@cua.dk>
2751
2752 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2753 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2754
2755 2012-04-14 Chong Yidong <cyd@gnu.org>
2756
2757 * custom.el (custom-theme-set-variables): Doc fix.
2758
2759 2012-04-14 Glenn Morris <rgm@gnu.org>
2760
2761 * international/mule.el (set-auto-coding-for-load): Doc fix.
2762
2763 2012-04-14 Alan Mackenzie <acm@muc.de>
2764
2765 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2766 imenu work again for Objective C Mode. Correct the *-index values,
2767 these having been disturbed by a previous change in 2011-08.
2768
2769 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2770 Correct two search limits.
2771
2772 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2773
2774 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2775
2776 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2777
2778 * international/characters.el: Fix sorting.
2779
2780 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2781
2782 * international/characters.el: Add more missing Latin case pairs.
2783
2784 2012-04-14 Glenn Morris <rgm@gnu.org>
2785
2786 * files.el (dir-locals-set-class-variables): Doc fix.
2787
2788 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2789
2790 * international/characters.el: Add set-case-syntax-pair call for
2791 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2792 counterpart. (Bug#11209)
2793
2794 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2795
2796 2012-04-14 Glenn Morris <rgm@gnu.org>
2797
2798 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2799
2800 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2801
2802 * textmodes/ispell.el (ispell-dictionary-base-alist):
2803 Add data for Hebrew.
2804
2805 2012-04-14 Chong Yidong <cyd@gnu.org>
2806
2807 * net/rcirc.el (rcirc-cmd-quit):
2808 Revert 2012-03-18 change (Bug#11192).
2809
2810 2012-04-14 Glenn Morris <rgm@gnu.org>
2811
2812 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2813
2814 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2815
2816 * minibuffer.el (completion-in-region-mode-map):
2817 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2818
2819 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2820
2821 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2822
2823 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2824
2825 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2826 to allow `C-M-f' and `C-M-b' to move to the nearest path
2827 separator (bug#9511).
2828
2829 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2830
2831 * avoid.el: Require cl when compiling. And also move the
2832 `provide' to the end.
2833
2834 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2835
2836 * avoid.el (mouse-avoidance-banish-position): New variable.
2837 (mouse-avoidance-banish-destination): Use it (bug#10165).
2838
2839 2012-04-13 Leo Liu <sdl.web@gmail.com>
2840
2841 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2842
2843 2012-04-13 Ken Brown <kbrown@cornell.edu>
2844
2845 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2846 this is no longer needed now that cygstart understands file:// URLs.
2847 (browse-url-filename-alist): For the same reason, don't modify
2848 file:// URLs on Cygwin.
2849
2850 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2853 the region on shift if the binding is already shifted (bug#11221).
2854
2855 2012-04-12 Glenn Morris <rgm@gnu.org>
2856
2857 * mail/mailpost.el: Move to obsolete/.
2858
2859 2012-04-12 Drew Adams <drew.adams@oracle.com>
2860
2861 * imenu.el (imenu--generic-function): Ignore invisible definitions
2862 (bug#10123).
2863
2864 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2865
2866 * hexl.el (hexl-bits): New variable.
2867 (hexl-options): Mention the variable in the doc string.
2868 (hexl-rulerise, hexl-line-displen): New functions.
2869 (hexl-mode): Mention the new variable.
2870 (hexl-mode, hexl-current-address, hexl-current-address):
2871 Use the displen.
2872 (hexl-ascii-start-column): New function.
2873 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2874 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2875
2876 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2877
2878 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2879 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2880 the encoding, as expected by hunspell.
2881
2882 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2883
2884 * battery.el (battery--linux-sysfs-regexp): New const.
2885 (battery-status-function): Use it. Remove yeeloong special case.
2886 (battery-yeeloong-sysfs): Remove.
2887 (battery-echo-area-format): Remove yeeloong special case.
2888
2889 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2890
2891 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2892 Reported by Noah Friedman.
2893
2894 * subr.el (read-passwd): Use read-string.
2895
2896 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2897
2898 * vcursor.el (vcursor-move): Increase the priority of the overlay
2899 (bug#9663).
2900
2901 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2902
2903 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2904 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2905
2906 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2907
2908 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2909 define-minor-mode (bug#10760).
2910
2911 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2912
2913 * progmodes/grep.el (rgrep): Tweak the find command line so
2914 that directories matching `grep-find-ignored-files' won't be
2915 pruned (bug#10351).
2916
2917 2012-04-11 Chong Yidong <cyd@gnu.org>
2918
2919 * startup.el (command-line): Remove support for long-obsolete
2920 variable font-lock-face-attributes.
2921
2922 2012-04-11 Glenn Morris <rgm@gnu.org>
2923
2924 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2925
2926 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * window.el (window--state-get-1): Obey window-point-insertion-type.
2929
2930 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2931
2932 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2933 to previous function when point is on the first character of a
2934 function. Take care of that in `narrow-to-defun' (bug#6157).
2935
2936 2012-04-11 Glenn Morris <rgm@gnu.org>
2937
2938 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2939 not just file-errors.
2940
2941 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2942 (vc-bzr-sha1): Use internal sha1.
2943
2944 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2947
2948 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2949
2950 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2951 that start in the middle of the line (bug#10496).
2952
2953 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2954
2955 * battery.el (battery-linux-proc-acpi): Only one battery is
2956 discharged at a time, but that seems to confuse battery.el when
2957 computing `rate-type' for the battery not being discharged
2958 (bug#10332).
2959
2960 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2961
2962 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2963
2964 * international/quail.el: Use dolist and simplify.
2965 (quail-define-package, quail-update-keyboard-layout)
2966 (quail-define-rules): Use dolist.
2967 (quail-insert-kbd-layout, quail-get-translation): CSE.
2968
2969 * tmm.el: Use dolist, remove left over hook.
2970 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2971 Use dolist.
2972 (calendar-load-hook): Don't mess with it.
2973
2974 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2975 Use derived-mode-p. Run the diff asynchronously.
2976
2977 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2978
2979 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2980
2981 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2982
2983 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2984 (list-dynamic-libraries--loaded): New function.
2985 (list-dynamic-libraries--refresh): Use it.
2986
2987 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2988
2989 * progmodes/python.el (python-fill-paragraph):
2990 Make python-fill-region in a multiline string work when font-lock is
2991 disabled (bug#7018).
2992
2993 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2994
2995 * language/european.el (cp775): Add oem/legacy (en)coding on
2996 DOS/MS Windows for the Baltic languages. There are still plenty
2997 of texts written in this encoding/codepage (bug#6519).
2998
2999 2012-04-10 Glenn Morris <rgm@gnu.org>
3000
3001 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3002 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3003
3004 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3005
3006 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3007 next-line "n" and previous-line "p" in order to make recentf more
3008 consistent with ibuffer, dired or org-mode (bug#9387).
3009
3010 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3011
3012 * image.el (put-image): Return the overlay created instead of the
3013 optional input string (bug#7834). Note that this may break code
3014 that is (for some reason or other) depending on `put-image'
3015 returning the string.
3016
3017 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3018
3019 * simple.el (zap-to-char): Allow zapping using input methods
3020 (bug#1580).
3021
3022 * textmodes/fill.el (fill-region): Leave point and mark where they
3023 were before filling (bug#5399).
3024
3025 2012-04-09 Glenn Morris <rgm@gnu.org>
3026
3027 * version.el (emacs-bzr-get-version):
3028 Handle lightweight checkouts of local branches.
3029
3030 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3031
3032 * international/characters.el: Recover lost case pairs. (Bug#11209)
3033
3034 2012-04-09 Chong Yidong <cyd@gnu.org>
3035
3036 * custom.el (custom-variable-p): Return nil for non-symbol
3037 arguments instead of signaling an error.
3038 (user-variable-p): Obsolete alias for custom-variable-p.
3039
3040 * apropos.el (apropos-variable):
3041 * files-x.el (read-file-local-variable):
3042 * simple.el (set-variable):
3043 * woman.el (woman-mini-help):
3044 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3045
3046 2012-04-09 Glenn Morris <rgm@gnu.org>
3047
3048 * startup.el (normal-top-level): Don't look for leim-list.el
3049 in places where it will not be found. (Bug#910)
3050
3051 * international/mule-cmds.el (set-default-coding-systems):
3052 * files.el (normal-mode):
3053 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3054 This function was removed with ucs-tables.el in 2008.
3055
3056 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3057
3058 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3059 ispell-encoding8-command to "-i", without a trailing space.
3060 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3061 separate command-line arguments, to specify the encoding, since
3062 that's how hunspell expects it.
3063
3064 2012-04-08 Glenn Morris <rgm@gnu.org>
3065
3066 * loadup.el: Load bindings before cus-start.
3067 This reduces somewhat the number of "rogue" settings in emacs -Q.
3068
3069 2012-04-07 Glenn Morris <rgm@gnu.org>
3070
3071 * version.el (emacs-bzr-get-version): New function.
3072 (emacs-bzr-version): New variable.
3073 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3074 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3075
3076 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3077
3078 * international/uni-bidi.el, international/uni-category.el:
3079 * international/uni-combining.el, international/uni-decimal.el:
3080 * international/uni-decomposition.el, international/uni-digit.el:
3081 * international/uni-lowercase.el, international/uni-mirrored.el:
3082 * international/uni-name.el, international/uni-numeric.el:
3083 * international/uni-titlecase.el, international/uni-uppercase.el:
3084 Update for Unicode 6.1.
3085
3086 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3087
3088 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3089
3090 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3091
3092 * window.el (shrink-window): Mention the `window-min-height'
3093 variable in the doc string.
3094
3095 2012-04-05 Bastien Guerry <bzg@altern.org>
3096
3097 * color.el (color-lighten-name): Fix typo.
3098
3099 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3100
3101 * server.el (server--on-display-p): New function.
3102 (server--on-display-p): Use it.
3103
3104 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3105
3106 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3107 (bug#11145).
3108
3109 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * comint.el (comint--common-quoted-suffix): Check string boundary
3112 before comparing (bug#11158).
3113 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3114
3115 2012-04-04 Chong Yidong <cyd@gnu.org>
3116
3117 * minibuffer.el (completion-extra-properties): Doc fix.
3118
3119 * subr.el (delayed-warnings-hook): Doc fix.
3120
3121 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3122
3123 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3124 selection (Bug#11159).
3125 (epa-insert-keys): Inform that the default public key will be
3126 exported if no key is selected.
3127
3128 2012-04-04 Richard Stallman <rms@gnu.org>
3129
3130 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3131
3132 2012-04-03 Chong Yidong <cyd@gnu.org>
3133
3134 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3135 mail-insert-file, not its obsolete alias mail-attach-file.
3136
3137 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3138
3139 * notifications.el (notifications-notify): Fix docstring.
3140
3141 2012-04-02 Glenn Morris <rgm@gnu.org>
3142
3143 * emacs-lisp/authors.el (authors-aliases): Another addition.
3144
3145 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3146
3147 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3148 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3149 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3150
3151 2012-04-01 Chong Yidong <cyd@gnu.org>
3152
3153 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3154 Handle root directory properly.
3155 (copy-directory): Caller changed.
3156
3157 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3158 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3159
3160 2012-03-31 Glenn Morris <rgm@gnu.org>
3161
3162 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3163
3164 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3165
3166 * calendar/calendar.el (calendar-window-list)
3167 (calendar-hide-window): Restore. (Bug#11140)
3168 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3169
3170 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3171
3172 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3173
3174 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3175 Check if file is a symlink (Bug#10489).
3176
3177 * files.el (copy-directory): Likewise.
3178
3179 2012-03-30 Chong Yidong <cyd@gnu.org>
3180
3181 * image.el (imagemagick-types-inhibit)
3182 (imagemagick-register-types): Doc fix.
3183
3184 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3185
3186 * ispell.el (ispell-get-extended-character-mode):
3187 Disable extended-char-mode for hunspell. hunspell does not support it
3188 and treats ~word as ordinary words in pipe mode.
3189
3190 2012-03-30 Glenn Morris <rgm@gnu.org>
3191
3192 * tutorial.el (help-with-tutorial): Ensure local variables don't
3193 happen to make the buffer read-only. (Bug#11127)
3194
3195 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3198 (perl-calculate-indent): Return `noindent' in strings.
3199
3200 2012-03-28 Sam Steingold <sds@gnu.org>
3201
3202 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3203 instead of the broken adhockery which does not prevent calendar
3204 buffers from being displayed at random after exit.
3205 (calendar-window-list, calendar-hide-window): Remove the broken
3206 adhockery.
3207
3208 2012-03-28 Glenn Morris <rgm@gnu.org>
3209
3210 * replace.el (query-replace-map): Doc fix.
3211
3212 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3213
3214 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3215 contents. (Bug#11109)
3216
3217 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3220 (bug#11077).
3221 (avl-tree--check, avl-tree--check-node): New funs.
3222
3223 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3224
3225 * window.el (switch-to-visible-buffer): New option.
3226 (switch-to-prev-buffer, switch-to-next-buffer):
3227 Observe switch-to-visible-buffer. Make sure that checking for a window
3228 showing a buffer already is done on the same frame.
3229
3230 2012-03-27 Glenn Morris <rgm@gnu.org>
3231
3232 * startup.el (mail-host-address): Doc fix.
3233
3234 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3235
3236 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3237 than 197 variables.
3238
3239 2012-03-26 Ami Fischman <ami@fischman.org>
3240
3241 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3242
3243 2012-03-26 Glenn Morris <rgm@gnu.org>
3244
3245 * files.el (save-buffers-kill-emacs): Doc fix.
3246
3247 * startup.el (normal-top-level, command-line, command-line-1):
3248 Give them doc strings.
3249
3250 2012-03-25 Eli Zaretskii <eliz@gnu.org>
3251
3252 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3253 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3254
3255 2012-03-25 Chong Yidong <cyd@gnu.org>
3256
3257 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3258 theme if it was previously enabled before (Bug#11031).
3259
3260 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3261 spec with custom-face-get-current-spec if its :shown-value is not
3262 determined yet (Bug#9337).
3263 (customize-create-theme, custom-theme-revert): Doc fixes.
3264
3265 * button.el (button-at): Minor addition to docstring.
3266
3267 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
3268
3269 * vc/vc.el (vc-merge): Fix a prompt.
3270
3271 2012-03-24 Chong Yidong <cyd@gnu.org>
3272
3273 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3274 point (Bug#9623).
3275
3276 * button.el (button-at): Minor addition to docstring.
3277
3278 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * newcomment.el (comment-choose-indent): No space after BOL.
3281
3282 2012-03-22 Sam Steingold <sds@gnu.org>
3283
3284 * window.el (switch-to-prev-buffer): Revert last patch because the
3285 bug turned out to be an advertised feature (Elisp manual 28.14).
3286
3287 2012-03-22 Glenn Morris <rgm@gnu.org>
3288
3289 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3290 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3291
3292 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3293
3294 * net/network-stream.el (network-stream-open-starttls): Make error
3295 message under Windows be less misleading.
3296
3297 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3298
3299 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3300 understands (bug#9942).
3301
3302 2012-03-22 Chong Yidong <cyd@gnu.org>
3303
3304 * simple.el (end-of-visible-line): Handle return value of
3305 next-single-property-change properly (Bug#9371).
3306
3307 2012-03-22 Kenichi Handa <handa@m17n.org>
3308
3309 * international/quail.el (quail-insert-kbd-layout): Fix previous
3310 change. To avoid unwanted bidi reordering, use
3311 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3312
3313 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3314
3315 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3316 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3317 (ruby-beginning-of-indent): Be more careful with the difference
3318 between word-boundary and symbol boundary.
3319 (ruby-mode-syntax-table): Make : a symbol constituent.
3320
3321 2012-03-21 Andreas Politz <politza@fh-trier.de>
3322
3323 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3324
3325 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * progmodes/etags.el (tags-completion-at-point-function):
3328 Improve last fix.
3329
3330 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3331
3332 2012-03-21 Sam Steingold <sds@gnu.org>
3333
3334 * progmodes/etags.el (tags-completion-at-point-function):
3335 Avoid the error when point is inside the pattern.
3336
3337 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3338
3339 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3340 line (Bug#10855).
3341
3342 2012-03-21 Drew Adams <drew.adams@oracle.com>
3343
3344 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3345
3346 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3347
3348 * ido.el (ido-set-current-directory, ido-read-internal)
3349 (ido-choose-completion-string, ido-completion-help): Handle nil
3350 value of ido-completion-buffer (Bug#11008).
3351
3352 2012-03-21 Sam Steingold <sds@gnu.org>
3353
3354 * window.el (switch-to-prev-buffer): Do not switch to a visible
3355 window previous buffer, just like with the frame previous buffers.
3356
3357 2012-03-21 Chong Yidong <cyd@gnu.org>
3358
3359 * faces.el (make-face, make-empty-face, copy-face):
3360 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3361 Doc fixes.
3362
3363 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3364
3365 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3366 (widget-complete): Remove broken use of it.
3367
3368 2012-03-20 Chong Yidong <cyd@gnu.org>
3369
3370 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3371 Use string-width and truncate-string-width to handle arbitrary
3372 characters.
3373
3374 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3375
3376 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3377 to draw rectangles, not squares. (Regression introduced by revno
3378 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3379
3380 2012-03-18 Chong Yidong <cyd@gnu.org>
3381
3382 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3383 it is not yet defined (for temacs).
3384
3385 2012-03-18 Leo Liu <sdl.web@gmail.com>
3386
3387 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3388
3389 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3390
3391 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3392 (ispell-choices-win-default-height, ispell-silently-savep)
3393 (ispell-dictionary-alist, ispell-encoding8-command)
3394 (ispell-check-version, ispell-aspell-find-dictionary)
3395 (ispell-valid-dictionary-list, ispell-words-keyword)
3396 (ispell-get-word, ispell-internal-change-dictionary)
3397 (ispell-region, ispell-skip-region-list)
3398 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3399 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3400 (ispell-message-text-end, ispell-message)
3401 (ispell-buffer-local-parsing): Doc fix.
3402
3403 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3404
3405 * htmlfontify.el: Add support for code block fontification for ODT
3406 export (Bug #9914).
3407 (hfy-optimisations): Define new option
3408 `body-text-only'
3409 (hfy-fontify-buffer): Honor above setting.
3410 (hfy-begin-span, hfy-end-span): New routines factored out form
3411 `hfy-fontify-buffer'.
3412 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3413 that permit insertion of custom tags.
3414 (hfy-fontify-buffer): Use above handlers.
3415 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3416 (hfy-face-to-css): Re-defined to be a variable.
3417 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3418 over multiple runs. This is made possible by having the caller let
3419 bind a special variable `hfy-user-sheet-assoc'.
3420 (htmlfontify-string): New defun.
3421 (hfy-compile-face-map): Make sure that the last char in the
3422 buffer is correctly fontified.
3423 (hfy-face-resolve-face): Whitespace only change.
3424
3425 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3426
3427 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3428 message more clear.
3429
3430 2012-03-16 Leo Liu <sdl.web@gmail.com>
3431
3432 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3433
3434 2012-03-16 Alan Mackenzie <acm@muc.de>
3435
3436 Further optimise the handling of large macros.
3437
3438 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3439 limit to a call of `c-literal-limits'.
3440 (c-determine-+ve-limit): New function.
3441 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3442 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3443 In CASE 5B, restrict a search limit to 500.
3444 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3445
3446 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3447 Restrict macro bounds to +-500 from after-change's BEG END.
3448
3449 2012-03-16 Leo Liu <sdl.web@gmail.com>
3450
3451 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3452
3453 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3454
3455 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3456 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3457
3458 2012-03-16 Glenn Morris <rgm@gnu.org>
3459
3460 * view.el (view-buffer, view-buffer-other-window)
3461 (view-buffer-other-frame): Doc fixes re special mode-class.
3462
3463 * subr.el (eval-after-load): If named feature is provided not from
3464 a file, run after-load forms. (Bug#10946)
3465
3466 * calendar/calendar.el (calendar-insert-at-column):
3467 Handle non-unit-width characters a bit better. (Bug#10978)
3468
3469 2012-03-15 Chong Yidong <cyd@gnu.org>
3470
3471 * emacs-lisp/ring.el (ring-extend): New function.
3472 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3473
3474 * comint.el (comint-read-input-ring)
3475 (comint-add-to-input-history): Grow comint-input-ring lazily.
3476
3477 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3480 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3481
3482 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3483 (imenu-add-to-menubar): Don't add a redundant index.
3484 (imenu-update-menubar): Handle a dynamically composed keymap.
3485
3486 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3487
3488 * mail/sendmail.el (mail-encode-header):
3489 Bind rfc2047-encode-encoded-words to nil.
3490
3491 2012-03-13 Glenn Morris <rgm@gnu.org>
3492
3493 * calendar/calendar.el (calendar-string-spread):
3494 Handle non-unit-width characters a bit better. (Bug#10978)
3495
3496 2012-03-13 Leo Liu <sdl.web@gmail.com>
3497
3498 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3499 directory and file as argument (Bug#10822).
3500
3501 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3502
3503 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3504 For dynamically generated code, follow $PC.
3505 (gdb-disassembly-handler-custom): Handle no function name case.
3506
3507 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3508
3509 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3510 * emulation/ws-mode.el (ws-query-replace):
3511 * sort.el (sort-regexp-fields):
3512 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3513
3514 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3515
3516 * dabbrev.el: Fix cycle completion order (bug#10963).
3517 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3518 (dabbrev-completion): Don't use an obarray; provide
3519 a cycle-sort-function.
3520
3521 2012-03-12 Leo Liu <sdl.web@gmail.com>
3522
3523 * simple.el (kill-new): Use equal-including-properties for comparison.
3524 (kill-do-not-save-duplicates): Doc fix.
3525
3526 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * dabbrev.el: Fix cycle completion (bug#10963).
3529 Use lexical binding and wrap to 80 columns.
3530 (dabbrev-completion): Delay computing the list of completions.
3531
3532 2012-03-12 Kenichi Handa <handa@m17n.org>
3533
3534 * international/quail.el (quail-insert-kbd-layout): Surround each
3535 row by LRO and PDF instead of inserting many LRMs. Pad the left
3536 and right of each non-spacing marks. Insert invisible space
3537 between lower and upper characters to prevent composition.
3538
3539 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * minibuffer.el (minibuffer-complete): Don't get confused when the
3542 function is run twice via different commands (bug#10958).
3543 (complete-with-action): Fix docstring.
3544
3545 2012-03-12 Chong Yidong <cyd@gnu.org>
3546
3547 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3548 (nxml-completion-at-point-function): New function.
3549 (nxml-mode): Use it.
3550 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3551
3552 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3553 Load generated autoloads file before byte compiling (Bug#10970).
3554 (package--make-autoloads-and-compile): New helper fun.
3555
3556 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3557
3558 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3559
3560 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3561
3562 * autorevert.el (auto-revert-handler): Ensure, that
3563 file-readable-p is applied only for local files or in
3564 auto-revert-tail-mode.
3565
3566 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3567
3568 * server.el (server-eval-at): Handle non-tcp connections.
3569 Decode result string.
3570
3571 * server.el (server-msg-size): New constant.
3572 (server-reply-print): New function.
3573 (server-eval-and-print): Use it.
3574 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3575 Handle -print-nonl.
3576
3577 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3578
3579 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3580 (Bug#10987).
3581
3582 2012-03-11 Chong Yidong <cyd@gnu.org>
3583
3584 * simple.el (goto-line): Doc fix (Bug#9938).
3585
3586 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3587
3588 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3589 when finished (Bug#10963).
3590
3591 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3592
3593 * window.el (split-window-below): Fix bug in case where
3594 split-window-keep-point is nil (Bug#10971).
3595
3596 2012-03-11 Juri Linkov <juri@jurta.org>
3597
3598 * replace.el (replace-highlight): Set isearch-word to nil
3599 unconditionally. (Bug#10887)
3600
3601 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3602
3603 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3604 mairix-replace-illegal-chars; all callers changed. Don't remove
3605 ^, ~, and = characters: they are meaningful in mairix search specs.
3606 (mairix-widget-create-query): Add usage information about mairix
3607 search forms: negating words, searching for substrings, etc.
3608
3609 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3610
3611 * international/fontset.el (font-encoding-alist): Add an entry for
3612 ksx1001 (Bug#5667).
3613
3614 2012-03-10 Richard Stallman <rms@gnu.org>
3615
3616 * mail/sendmail.el (mail-encode-header):
3617 Set rfc2047-encode-encoded-words.
3618
3619 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3620
3621 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3622 view buffer means not swapped.
3623 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3624 (rmail-write-region-annotate): Error if real text has disappeared.
3625
3626 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3627
3628 2012-03-10 Chong Yidong <cyd@gnu.org>
3629
3630 * emulation/cua-rect.el (cua--init-rectangles):
3631 * emulation/cua-base.el (cua--init-keymaps):
3632 Add delete-forward-char to remappings (Bug#9666).
3633
3634 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3635
3636 * speedbar.el (speedbar-unhighlight-one-tag-line):
3637 Avoid unhighlighting due to frame switching (Bug#10275).
3638
3639 2012-03-10 Chong Yidong <cyd@gnu.org>
3640
3641 * minibuffer.el (completion-in-region, completion-help-at-point):
3642 Give the completion field overlay a high priority (Bug#6830).
3643
3644 * dired.el (dired-goto-file): Recognize absolute file name
3645 listings (Bug#7126).
3646 (dired-goto-file-1): New helper function.
3647 (dired-toggle-read-only): Inhibit warnings.
3648
3649 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3650
3651 * net/dbus.el (dbus-property-handler): Return empty array if
3652 there are no properties.
3653
3654 2012-03-09 Leo Liu <sdl.web@gmail.com>
3655
3656 * savehist.el (savehist-printable): Stricter check for string
3657 value (Bug#10937).
3658
3659 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3660
3661 * mail/smtpmail.el (smtpmail-send-it):
3662 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3663 valid mbox format.
3664
3665 2012-03-09 Glenn Morris <rgm@gnu.org>
3666
3667 * files.el (dir-locals-find-file):
3668 Don't check result is regular, readable.
3669 (dir-locals-read-from-file): Demote errors.
3670
3671 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3672
3673 * international/quail.el (quail-insert-kbd-layout):
3674 Insert invisible LRM characters before each character in a keyboard
3675 layout cell, to prevent their reordering by bidi display engine.
3676 For details, see the discussion in
3677 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3678
3679 2012-03-08 Alan Mackenzie <acm@muc.de>
3680
3681 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3682 the starting position; make it extend the marked region when
3683 invoked repeatedly - all under appropriate circumstances.
3684 Fixes bugs #5525, #10906.
3685
3686 2012-03-08 Glenn Morris <rgm@gnu.org>
3687
3688 * files.el (locate-dominating-file, dir-locals-find-file):
3689 Undo 2012-03-06 change.
3690
3691 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3692
3693 * international/quail.el (quail-help):
3694 Force bidi-paragraph-direction be left-to-right. See discussion in
3695 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3696 for the reason.
3697
3698 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3699
3700 Avoid superfluous registering of signals. (Bug#10807)
3701
3702 * notifications.el (notifications-on-action-object)
3703 (notifications-on-close-object): New defvars.
3704 (notifications-on-action-signal, notifications-on-closed-signal):
3705 Unregister the signal if not needed any longer.
3706 (notifications-notify): Register `notifications-action-signal' or
3707 `notifications-closed-signal', if :on-action or :on-close has been
3708 passed as argument.
3709
3710 2012-03-07 Chong Yidong <cyd@gnu.org>
3711
3712 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3713 non-X platforms.
3714
3715 2012-03-06 Glenn Morris <rgm@gnu.org>
3716
3717 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3718 (x-disown-selection-internal, x-get-selection-internal):
3719 Doc fix (add arglist signatures). (Bug#10783)
3720
3721 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3722
3723 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3724 Handle breakpoints with no "type".
3725
3726 2012-03-06 Glenn Morris <rgm@gnu.org>
3727
3728 * files.el (locate-dominating-file): Add optional predicate argument.
3729 (dir-locals-find-file): Make use of above change.
3730
3731 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3732
3733 * info.el (Info-insert-dir): Also try "dir.gz".
3734
3735 2012-03-06 Glenn Morris <rgm@gnu.org>
3736
3737 * files.el (dir-locals-find-file):
3738 Ignore non-readable or non-regular files. (Bug#10928)
3739
3740 * files.el (locate-dominating-file): Doc fix.
3741
3742 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3743
3744 * calendar/calendar.el (calendar-set-mode-line):
3745 `getenv' returns a string. (Bug#10951)
3746
3747 2012-03-05 Leo Liu <sdl.web@gmail.com>
3748
3749 * simple.el (backward-delete-char-untabify): Constrain point to
3750 field (Bug#10939).
3751
3752 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3753
3754 2012-03-05 Chong Yidong <cyd@gnu.org>
3755
3756 * simple.el (count-words): If called from Lisp, return the word
3757 count, for symmetry with `count-lines'. Arglist changed.
3758 (count-words--message): Args changed. Consolidate counting code
3759 from count-words and count-words-region.
3760 (count-words-region): Caller changed.
3761 (count-lines-region): Make it an obsolete alias.
3762
3763 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3764
3765 * saveplace.el (save-place-to-alist)
3766 (save-place-ignore-files-regexp): Allow value nil to disable this
3767 feature.
3768
3769 2012-03-04 Chong Yidong <cyd@gnu.org>
3770
3771 * faces.el (face-spec-reset-face): For the default face, reset the
3772 attributes to default values (Bug#10748).
3773
3774 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3775
3776 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3777 previous patch: Check `message-send-mail-function', and not the
3778 default function (bug#10897).
3779
3780 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3781
3782 * notifications.el (notifications-on-action-signal)
3783 (notifications-on-closed-signal): Check for unique service name of
3784 incoming event. Fix error in removing entry.
3785 (top): Register for signals with wildcard service name.
3786 (notifications-notify): Use daemon unique service name for map entries.
3787
3788 2012-03-04 Chong Yidong <cyd@gnu.org>
3789
3790 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3791
3792 2012-03-04 Glenn Morris <rgm@gnu.org>
3793
3794 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3795 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3796 (expand-abbrev, define-abbrev-table): Doc fixes.
3797
3798 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3799
3800 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3801 `message-default-send-mail-function' and not `send-mail-function'
3802 when doing the prompting for `sendmail-query-once' before sending
3803 in Message buffers (bug#10897).
3804
3805 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3806 This is inconsistent with all the other stream functions, which leave
3807 the setting up to the higher levels (if so wanted) (bug#10931).
3808
3809 2012-03-02 Alan Mackenzie <acm@muc.de>
3810
3811 Depessimize the handling of very large macros.
3812
3813 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3814 (c-macro-cache-syntactic): New variables to implement a one
3815 element macro cache.
3816 (c-invalidate-macro-cache): New function.
3817 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3818 Adapt to use the new cache.
3819 (c-state-safe-place): Use better the cache of safe positions.
3820 (c-state-semi-nonlit-pos-cache)
3821 (c-state-semi-nonlit-pos-cache-limit):
3822 New variables for...
3823 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3824 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3825 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3826 Use c-state-semi-safe-place.
3827
3828 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3829 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3830
3831 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3832
3833 * jka-compr.el (jka-compr-call-process):
3834 Apply `file-accessible-directory-p' only when the default directory is
3835 not remote.
3836
3837 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3838
3839 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3840 access of FILE2, if FILE1 does not exist.
3841
3842 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3843 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3844
3845 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3846 Add "PAGER=" to `process-environment'.
3847
3848 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3849
3850 * progmodes/sql.el: Bug fix
3851 (sql-get-login-ext): Save login values in globals.
3852 (sql-get-login): Use new version of `sql-get-login-ext'.
3853 (sql-interactive-mode): Set global `sql-connection' to nil.
3854 (sql-connect): Set global values for connection.
3855 (sql-product-interactive): Save global values as buffer local.
3856
3857 2012-02-29 Leo Liu <sdl.web@gmail.com>
3858
3859 * abbrev.el (define-abbrevs): Reset sys to nil.
3860
3861 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3862
3863 * files.el (file-equal-p): Rename from `files-equal-p'.
3864 Return nil when one or both files don't exist.
3865 (file-subdir-of-p): Now only top directory must exists,
3866 return nil if it doesn't.
3867 (copy-directory): No need to test with `file-subdir-of-p' after
3868 creating dir.
3869 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3870 to `file-equal-p'.
3871
3872 2012-02-28 Glenn Morris <rgm@gnu.org>
3873
3874 * shell.el (shell-mode):
3875 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3876 * play/landmark.el (landmark-font-lock-face-O):
3877 * play/handwrite.el (handwrite):
3878 * play/gomoku.el (gomoku-O):
3879 * net/browse-url.el (browse-url-browser-display):
3880 * international/mule.el (define-charset):
3881 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3882 * filesets.el (filesets-find-file-delay):
3883 * eshell/em-xtra.el (eshell-xtra):
3884 * eshell/em-unix.el (eshell-grep):
3885 * emulation/viper.el (viper-mode):
3886 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3887 * emacs-lisp/easymenu.el (easy-menu-define):
3888 * calendar/timeclock.el (timeclock-use-display-time):
3889 * bs.el (bs-mode):
3890 * bookmark.el (bookmark-save-flag):
3891 Doc fix (standardize possessive apostrophe usage).
3892
3893 2012-02-27 Chong Yidong <cyd@gnu.org>
3894
3895 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3896 Fix key-binding lookup for ESC key (Bug#9146).
3897
3898 * font-lock.el (font-lock-specified-p): Rename from
3899 font-lock-spec-present. Callers changed.
3900
3901 2012-02-27 Daniel Hackney <dan@haxney.org>
3902
3903 * emacs-lisp/package.el (package-compute-transaction):
3904 Handle holding a package version to t in package-load-list.
3905
3906 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3907
3908 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3909 (tramp-get-inode, tramp-get-device): Use cached values.
3910
3911 2012-02-26 Alan Mackenzie <acm@muc.de>
3912
3913 Check there is a font-lock specification before doing initial
3914 fontification.
3915
3916 * font-core.el (font-lock-mode): Move the conditional from
3917 :after-hook to font-lock-initial-fontify.
3918 (font-lock-default-function): Move the check for a specification
3919 to font-lock-spec-present.
3920
3921 * font-lock.el (font-lock-initial-fontify): Call ...
3922 (font-lock-spec-present): New function.
3923
3924 2012-02-26 Jim Blandy <jimb@red-bean.com>
3925
3926 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3927 (gdb-send): Apply it to the operand of the '-interpreter-exec
3928 console' command, so that we can pass arguments with (say) quotes
3929 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3930
3931 2012-02-26 Chong Yidong <cyd@gnu.org>
3932
3933 * help-fns.el (describe-function-1): Clarify description of
3934 remapping (Bug#10844).
3935
3936 * files.el (files-equal-p): Doc fix.
3937 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3938 and quit the loop once a mismatch is found.
3939
3940 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3941
3942 * bs.el (bs--show-with-configuration): Don't throw an error
3943 if the window cannot be split; otherwise, subsequent calls to
3944 bs-show fail, restoring a stale window config. (Bug#10882)
3945
3946 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3947
3948 * term/ns-win.el (global-map): Bind ns-drag-file to
3949 ns-find-file (Bug#5855, Bug#10050).
3950
3951 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3952
3953 * calendar/parse-time.el (parse-time-string): Allow extractor to
3954 return nil.
3955
3956 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3957
3958 * net/tramp.el (tramp-file-name-for-operation):
3959 Add `files-equal-p' and `file-subdir-of-p'.
3960
3961 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3962 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3963 Add COPY-CONTENTS argument.
3964
3965 2012-02-25 Chong Yidong <cyd@gnu.org>
3966
3967 Add custom groups for VC backends, for consistency with vc-bzr.
3968
3969 * vc/vc-arch.el (vc-arch):
3970 * vc/vc-cvs.el (vc-cvs):
3971 * vc/vc-git.el (vc-git):
3972 * vc/vc-hg.el (vc-hg):
3973 * vc/vc-mtn.el (vc-mtn):
3974 * vc/vc-rcs.el (vc-rcs):
3975 * vc/vc-sccs.el (vc-sccs):
3976 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3977 All relevant defcustoms reassigned.
3978
3979 2012-02-25 Chong Yidong <cyd@gnu.org>
3980
3981 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3982
3983 * term/x-win.el (x-initialize-window-system): Reduce default for
3984 x-selection-timeout to 5 seconds (Bug#8869).
3985
3986 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3987
3988 * files.el (files-equal-p, file-subdir-of-p): New functions.
3989 (copy-directory): Error when trying to copy a directory on itself.
3990 Add missing copy-contents arg to tramp handler.
3991 * dired-aux.el (dired-copy-file-recursive): Same.
3992 (dired-create-files): Modify destination when source is equal to
3993 dest when copying files.
3994 Return also when dest is a subdir of source. (Bug#10489)
3995
3996 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3997
3998 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3999 (Bug#10874)
4000
4001 2012-02-23 Alan Mackenzie <acm@muc.de>
4002
4003 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4004 parameter "after-hook:" to allow the expansion to run code after
4005 the execution of the mode hooks.
4006
4007 * font-lock.el (font-lock-initial-fontify): New function extracted
4008 from font-lock-mode-internal.
4009
4010 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4011 :after-hook.
4012
4013 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4014
4015 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4016 (completion--cache-all-sorted-completions): New function.
4017 (completion-all-sorted-completions): Use it.
4018 (completion--do-completion, minibuffer-force-complete):
4019 Use it to re-instate the flush hook.
4020
4021 * icomplete.el (icomplete-completions): Replace last fix with a better
4022 one (bug#10850).
4023
4024 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4025
4026 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4027 when it might call us back infinitely (bug#10797).
4028
4029 2012-02-23 Glenn Morris <rgm@gnu.org>
4030
4031 * minibuffer.el (completion-category-overrides): Doc fix.
4032
4033 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4036 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4037
4038 2012-02-23 Glenn Morris <rgm@gnu.org>
4039
4040 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4041 (authors-obsolete-files-regexps, authors-ignored-files)
4042 (authors-ambiguous-files, authors-renamed-files-alist):
4043 Add more entries.
4044
4045 2012-02-23 Juri Linkov <juri@jurta.org>
4046
4047 * isearch.el (isearch-occur): Sync interactive spec with occur's
4048 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4049
4050 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4051
4052 2012-02-22 Juri Linkov <juri@jurta.org>
4053
4054 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4055 (ucs-insert): Doc fix. Check for hex digits in the string.
4056 Don't display `nil' in the error message. (Bug#10857)
4057
4058 2012-02-22 Alan Mackenzie <acm@muc.de>
4059
4060 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4061
4062 2012-02-22 Glenn Morris <rgm@gnu.org>
4063
4064 * ffap.el (ffap-c-path):
4065 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4066
4067 2012-02-22 Chong Yidong <cyd@gnu.org>
4068
4069 * custom.el (load-theme): Doc fix.
4070
4071 2012-02-22 Glenn Morris <rgm@gnu.org>
4072
4073 * dired-x.el (dired-guess-shell-alist-default):
4074 Remove escape sequences from nroff output. (Bug#172)
4075
4076 2012-02-21 Glenn Morris <rgm@gnu.org>
4077
4078 * vc/emerge.el (emerge-defvar-local):
4079 Set `permanent-local' property rather than unused `preserved'.
4080
4081 * textmodes/picture.el (picture-delete-char): New alias.
4082 (picture-mode-map): Use it. (Bug#10860)
4083 (picture-mode): Doc fix.
4084
4085 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4086
4087 * newcomment.el (uncomment-region-default): Remove unused binding.
4088
4089 2012-02-21 Glenn Morris <rgm@gnu.org>
4090
4091 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4092 (picture-self-insert, picture-tab-chars): Doc fix.
4093 (picture-mode-map): Fix C-a, C-e.
4094
4095 2012-02-20 Glenn Morris <rgm@gnu.org>
4096
4097 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4098
4099 2012-02-20 Leo Liu <sdl.web@gmail.com>
4100
4101 * icomplete.el (icomplete-completions): Check FROM arg before
4102 passing to substring (Bug#10850).
4103
4104 2012-02-19 Chong Yidong <cyd@gnu.org>
4105
4106 * comint.el: Require ansi-color.
4107 (comint-output-filter-functions): Add ansi-color-process-output.
4108
4109 * ansi-color.el: Don't set comint-output-filter-functions; it is
4110 now in the initial value defined in comint.el.
4111 (ansi-color-apply-face-function): New variable.
4112 (ansi-color-apply-on-region): Use it.
4113 (ansi-color-apply-overlay-face): New function.
4114
4115 * shell.el (shell): No need to require ansi-color.
4116 (shell-mode): Use ansi-color-apply-face-function to highlight
4117 color escapes using font-lock-face property (Bug#10835).
4118
4119 2012-02-19 Chong Yidong <cyd@gnu.org>
4120
4121 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4122 mode-line formats (Bug#10839).
4123
4124 2012-02-18 Glenn Morris <rgm@gnu.org>
4125
4126 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4127
4128 * mail/undigest.el (unforward-rmail-message): Doc fix.
4129
4130 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4131
4132 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4133
4134 * international/characters.el (script-list): Sync with the latest
4135 Unicode Character Database.
4136
4137 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4138
4139 * international/titdic-cnv.el: Remove duplicate coding tag.
4140 * language/cham.el: Likewise.
4141 * language/tai-viet.el: Likewise.
4142
4143 2012-02-18 Glenn Morris <rgm@gnu.org>
4144
4145 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4146 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4147 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4148 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4149 * calendar/holidays.el (holiday-bahai-holidays)
4150 (calendar-holidays, list-holidays):
4151 Use utf-8 Bahá'í in doc-strings, menus, etc.
4152
4153 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4154
4155 * saveplace.el (save-place-ignore-files-regexp): New variable
4156 allowing for excluding files from saving their location of point.
4157 The default value matches the temporary commit message editing
4158 files from Git, SVN, Bazaar, and Mercurial.
4159 (save-place-to-alist): Use it.
4160
4161 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4162 Stefan Monnier <monnier@iro.umontreal.ca>
4163
4164 * newcomment.el (uncomment-region-default): Don't leave extra space
4165 when an arg is provided (bug#8150).
4166
4167 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4168
4169 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4170
4171 2012-02-17 Glenn Morris <rgm@gnu.org>
4172
4173 * net/socks.el: Require network-stream. (Bug#10599)
4174
4175 2012-02-17 Kenichi Handa <handa@m17n.org>
4176
4177 * international/charprop.el:
4178 * international/uni-name.el:
4179 * international/uni-old-name.el:
4180 * international/uni-comment.el: Regenerate.
4181
4182 2012-02-16 Glenn Morris <rgm@gnu.org>
4183
4184 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4185 Interactively in calendar buffer, give an error if not on a date.
4186
4187 2012-02-15 Glenn Morris <rgm@gnu.org>
4188
4189 * shell.el (shell-delimiter-argument-list):
4190 Revert 2011-02-17 change. (Bug#8027)
4191
4192 2012-02-15 Chong Yidong <cyd@gnu.org>
4193
4194 * minibuffer.el (completion-at-point-functions): Doc fix.
4195
4196 * custom.el (defcustom): Doc fix; note use of defvar.
4197
4198 2012-02-15 Glenn Morris <rgm@gnu.org>
4199
4200 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4201 Doc fixes.
4202
4203 2012-02-14 Glenn Morris <rgm@gnu.org>
4204
4205 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4206
4207 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4208
4209 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4210 way the ports list is computed.
4211 (smtpmail-query-smtp-server): Prompt the user for a port number if
4212 we can't connect to any of the standard ports (bug#10810).
4213
4214 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4215
4216 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4217
4218 2012-02-13 Glenn Morris <rgm@gnu.org>
4219
4220 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4221
4222 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4223
4224 * net/gnutls.el (gnutls-trustfiles): New variable.
4225 (gnutls-negotiate): Use it.
4226
4227 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4228
4229 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4230 does its stuff if Gnus is running.
4231
4232 2012-02-13 Alan Mackenzie <acm@muc.de>
4233
4234 Fix a loop in c-set-fl-decl-start.
4235
4236 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4237 c-backward-syntactic-ws actually moves backwards.
4238
4239 2012-02-13 Leo Liu <sdl.web@gmail.com>
4240
4241 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4242 beginning so that all \C-o chars are removed.
4243
4244 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4245
4246 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4247
4248 2012-02-12 Alan Mackenzie <acm@muc.de>
4249
4250 Fix infinite loop with long macros.
4251 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4252
4253 2012-02-12 Chong Yidong <cyd@gnu.org>
4254
4255 * window.el (display-buffer): Doc fix (Bug#10785).
4256
4257 2012-02-12 Glenn Morris <rgm@gnu.org>
4258
4259 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4260 (x-disown-selection-internal, x-get-selection-internal):
4261 Sync docs with the xselect.c versions.
4262
4263 * allout-widgets.el: Add missing license notice.
4264
4265 2012-02-11 Glenn Morris <rgm@gnu.org>
4266
4267 * select.el (x-get-selection-internal, x-own-selection-internal)
4268 (x-disown-selection-internal):
4269 * x-dnd.el (x-get-selection-internal): Update declarations.
4270
4271 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4272
4273 * window.el (window-sides-slots):
4274 * tool-bar.el (tool-bar-position):
4275 * term/xterm.el (xterm-extra-capabilities):
4276 * ses.el (ses-self-reference-early-detection):
4277 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4278 (verilog-auto-wire-type)
4279 (verilog-auto-delete-trailing-whitespace)
4280 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4281 (verilog-auto-tieoff-declaration):
4282 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4283 (sql-oracle-statement-starters, sql-oracle-scan-on):
4284 * progmodes/prolog.el (prolog-align-comments-flag)
4285 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4286 (prolog-left-indent-regexp, prolog-paren-indent-p)
4287 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4288 (prolog-types, prolog-mode-specificators)
4289 (prolog-determinism-specificators, prolog-directives)
4290 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4291 (prolog-electric-dot-flag)
4292 (prolog-electric-dot-full-predicate-template)
4293 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4294 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4295 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4296 (prolog-program-switches, prolog-prompt-regexp)
4297 (prolog-debug-on-string, prolog-debug-off-string)
4298 (prolog-trace-on-string, prolog-trace-off-string)
4299 (prolog-zip-on-string, prolog-zip-off-string)
4300 (prolog-use-standard-consult-compile-method-flag)
4301 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4302 (prolog-imenu-max-lines, prolog-info-predicate-index)
4303 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4304 (prolog-char-quote-workaround):
4305 * progmodes/cc-vars.el (c-defun-tactic):
4306 * net/tramp.el (tramp-encoding-command-interactive)
4307 (tramp-local-end-of-line):
4308 * net/soap-client.el (soap-client):
4309 * net/netrc.el (netrc-file):
4310 * net/gnutls.el (gnutls):
4311 * minibuffer.el (completion-category-overrides)
4312 (completion-cycle-threshold)
4313 (completion-pcm-complete-word-inserts-delimiters):
4314 * man.el (Man-name-local-regexp):
4315 * mail/feedmail.el (feedmail-display-full-frame):
4316 * international/characters.el (glyphless-char-display-control):
4317 * eshell/em-ls.el (eshell-ls-date-format):
4318 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4319 (lisp-lambda-list-keyword-parameter-indentation)
4320 (lisp-lambda-list-keyword-parameter-alignment):
4321 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4322 * dired-x.el (dired-omit-verbose):
4323 * cus-theme.el (custom-theme-allow-multiple-selections):
4324 * calc/calc.el (calc-highlight-selections-with-faces)
4325 (calc-lu-field-reference, calc-lu-power-reference)
4326 (calc-note-threshold):
4327 * battery.el (battery-mode-line-limit):
4328 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4329 (archive-7z-update):
4330 * allout.el (allout-prefixed-keybindings)
4331 (allout-unprefixed-keybindings)
4332 (allout-inhibit-auto-fill-on-headline)
4333 (allout-flattened-numbering-abbreviation):
4334 * allout-widgets.el (allout-widgets-auto-activation)
4335 (allout-widgets-icons-dark-subdir)
4336 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4337 (allout-widgets-theme-dark-background)
4338 (allout-widgets-theme-light-background)
4339 (allout-widgets-item-image-properties-emacs)
4340 (allout-widgets-item-image-properties-xemacs)
4341 (allout-widgets-run-unit-tests-on-load)
4342 (allout-widgets-time-decoration-activity)
4343 (allout-widgets-hook-error-post-time)
4344 (allout-widgets-track-decoration):
4345 Add missing :version tags to new defcustoms and defgroups.
4346
4347 * progmodes/sql.el (sql-ansi-statement-starters)
4348 (sql-oracle-statement-starters): Add custom type.
4349
4350 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4351 (prolog-system-version): Give it a type.
4352
4353 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4354
4355 * term/pc-win.el (x-select-text, x-selection-owner-p)
4356 (x-own-selection-internal, x-disown-selection-internal)
4357 (x-get-selection-internal): Sync doc strings and argument lists
4358 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4359
4360 2012-02-11 Leo Liu <sdl.web@gmail.com>
4361
4362 * progmodes/python.el (python-end-of-statement): Fix infinite
4363 loop. (Bug#10788)
4364
4365 2012-02-10 Glenn Morris <rgm@gnu.org>
4366
4367 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4368 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4369
4370 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4371
4372 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4373 about SMTP before checking the From header.
4374
4375 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4376 into own function for reuse by emacsbug.el.
4377
4378 2012-02-10 Leo Liu <sdl.web@gmail.com>
4379
4380 * subr.el (condition-case-unless-debug): Rename from
4381 condition-case-no-debug. All callers changed.
4382 (with-demoted-errors): Fix caller.
4383
4384 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4385 * nxml/rng-valid.el (rng-do-some-validation):
4386 * emacs-lisp/package.el (package-refresh-contents)
4387 (package-menu-execute):
4388 * desktop.el (desktop-create-buffer):
4389 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4390
4391 2012-02-10 Glenn Morris <rgm@gnu.org>
4392
4393 * textmodes/bibtex.el:
4394 Add missing :version tags for new/changed defcustoms.
4395
4396 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4397
4398 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4399
4400 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4401 (smtpmail-via-smtp): Use it, or fall back on the From address.
4402 (smtpmail-send-it): Ditto.
4403
4404 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4407 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4408 (byte-compile-tmp-var): New const.
4409 (byte-compile-defvar): Use it to minimize .elc size.
4410 Just use `defvar' rather than simulate it (bug#10761).
4411
4412 2012-02-09 Glenn Morris <rgm@gnu.org>
4413
4414 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4415
4416 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4417 Add :version tags.
4418
4419 * progmodes/compile.el (compilation-error-screen-columns)
4420 (compilation-first-column, compilation-filter-start): Doc fixes.
4421
4422 * vc/log-view.el (log-view-toggle-entry-display):
4423 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4424
4425 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4426 (report-emacs-bug-can-use-xdg-email):
4427 (report-emacs-bug-insert-to-mailer): Doc fixes.
4428 (report-emacs-bug): Message fix.
4429
4430 * net/browse-url.el (browse-url-can-use-xdg-open)
4431 (browse-url-xdg-open): Doc fixes.
4432
4433 * electric.el (electric-indent-mode, electric-pair-mode)
4434 (electric-layout-rules, electric-layout-mode): Doc fixes.
4435 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4436
4437 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4438
4439 * server.el (server-unselect-display): Don't inadvertently kill
4440 the current buffer. (Bug#10729)
4441
4442 2012-02-08 Glenn Morris <rgm@gnu.org>
4443
4444 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4445 (sql-list-table): Doc fixes.
4446
4447 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4448 Comment out (does nothing).
4449
4450 * completion.el (dynamic-completion-mode):
4451 * dirtrack.el (dirtrack-debug-mode):
4452 * electric.el (electric-layout-mode):
4453 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4454 * face-remap.el (text-scale-mode, buffer-face-mode):
4455 * iimage.el (iimage-mode):
4456 * image-mode.el (image-transform-mode):
4457 * minibuffer.el (completion-in-region-mode):
4458 * scroll-lock.el (scroll-lock-mode):
4459 * simple.el (next-error-follow-minor-mode):
4460 * tar-mode.el (tar-subfile-mode):
4461 * tooltip.el (tooltip-mode):
4462 * vcursor.el (vcursor-use-vcursor-map):
4463 * wid-browse.el (widget-minor-mode):
4464 * emulation/tpu-edt.el (tpu-edt-mode):
4465 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4466 * international/iso-ascii.el (iso-ascii-mode):
4467 * language/thai-util.el (thai-word-mode):
4468 * mail/supercite.el (sc-minor-mode):
4469 * net/goto-addr.el (goto-address-mode):
4470 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4471 * progmodes/cwarn.el (cwarn-mode):
4472 * progmodes/flymake.el (flymake-mode):
4473 * progmodes/glasses.el (glasses-mode):
4474 * progmodes/hideshow.el (hs-minor-mode):
4475 * progmodes/pascal.el (pascal-outline-mode):
4476 * textmodes/enriched.el (enriched-mode):
4477 * vc/smerge-mode.el (smerge-mode):
4478 Doc fixes (minor mode argument).
4479
4480 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4481
4482 * ls-lisp.el (ls-lisp-sanitize): New function.
4483 (ls-lisp-insert-directory): Use it to fix or remove any elements
4484 in file-alist with missing attributes. (Bug#4673)
4485
4486 2012-02-07 Alan Mackenzie <acm@muc.de>
4487
4488 Fix spurious recognition of c-in-knr-argdecl.
4489
4490 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4491 putative K&R region.
4492
4493 2012-02-07 Alan Mackenzie <acm@muc.de>
4494
4495 * progmodes/cc-engine.el (c-forward-objc-directive):
4496 Prevent looping in "#pragma mark @implementation".
4497
4498 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4499
4500 * notifications.el (notifications-on-closed-signal): Make `reason'
4501 optional. (Bug#10744)
4502
4503 2012-02-07 Glenn Morris <rgm@gnu.org>
4504
4505 * emacs-lisp/easy-mmode.el (define-minor-mode):
4506 Doc fixes for the macro and the mode it defines.
4507
4508 * image.el (imagemagick-types-inhibit): Doc fix.
4509
4510 * cus-start.el (imagemagick-render-type): Add it.
4511
4512 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4513
4514 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4515 Set the default at load time, too, so that `font-lock-fontify-buffer'
4516 can be called without setting up the entire mode first. This fixes
4517 a bug in `mm-inline-text' with C MIME parts.
4518
4519 2012-02-06 Chong Yidong <cyd@gnu.org>
4520
4521 * simple.el (list-processes--refresh): Delete exited processes
4522 (Bug#8094).
4523
4524 * comint.el (comint-next-prompt): next-single-char-property-change
4525 and prev-single-char-property-change never return nil (Bug#8657).
4526
4527 * custom.el (defcustom): Doc fix (Bug#9711).
4528
4529 2012-02-05 Chong Yidong <cyd@gnu.org>
4530
4531 * cus-edit.el (custom-variable-reset-backup): Quote the value
4532 before storing it in the customized-value property (Bug#6712).
4533 (custom-display): Add a customization type tag.
4534 (custom-buffer-create-internal): Improve tooltip message.
4535
4536 * wid-edit.el (widget-field-value-get): New optional arg to
4537 suppress trailing whitespace truncation.
4538 (character): Use it (Bug#2689).
4539
4540 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4541
4542 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4543 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4544
4545 2012-02-05 Chong Yidong <cyd@gnu.org>
4546
4547 * cus-edit.el (custom-variable-value-create): For mismatched
4548 types, show the current value (Bug#7600).
4549
4550 * custom.el (defcustom): Doc fix.
4551
4552 2012-02-05 Glenn Morris <rgm@gnu.org>
4553
4554 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4555
4556 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4557
4558 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4559 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4560 (pp-last-sexp): Use `looking-at-p'.
4561
4562 2012-02-04 Glenn Morris <rgm@gnu.org>
4563
4564 * files.el (revert-buffer):
4565 Doc fix (mention revert-buffer-in-progress-p).
4566
4567 * emacs-lisp/ert-x.el (ert-simulate-command):
4568 Check deferred-action-list (which is obsolete) is bound.
4569
4570 * subr.el (with-wrapper-hook): Doc fixes.
4571
4572 * simple.el (filter-buffer-substring-functions)
4573 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4574
4575 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4576
4577 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4578 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4579
4580 2012-02-04 Leo Liu <sdl.web@gmail.com>
4581
4582 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4583
4584 2012-02-04 Glenn Morris <rgm@gnu.org>
4585
4586 * image.el (image-extension-data): Add obsolete alias.
4587
4588 * isearch.el (isearch-update): Doc fix.
4589
4590 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4591
4592 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4593
4594 2012-02-03 Glenn Morris <rgm@gnu.org>
4595
4596 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4597 (image-animate-timeout): Doc fix.
4598
4599 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4600
4601 2012-02-02 Glenn Morris <rgm@gnu.org>
4602
4603 * server.el (server-auth-dir): Doc fix.
4604 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4605
4606 * subr.el (run-mode-hooks): Doc fix.
4607
4608 2012-02-02 Juri Linkov <juri@jurta.org>
4609
4610 * image-mode.el (image-toggle-display-image): Remove tautological
4611 `major-mode' from the `derived-mode-p' test.
4612
4613 2012-02-02 Kenichi Handa <handa@m17n.org>
4614
4615 * composite.el (compose-region): Cancel previous change.
4616
4617 2012-02-02 Kenichi Handa <handa@m17n.org>
4618
4619 * composite.el (compose-region, compose-string): Signal error for
4620 a null string component (Bug#6988).
4621
4622 2012-02-01 Chong Yidong <cyd@gnu.org>
4623
4624 * view.el (view-buffer-other-window, view-buffer-other-frame):
4625 Handle special modes like view-buffer (Bug#10650).
4626 (view-buffer): Simplify.
4627
4628 * frame.el (set-frame-font): Tweak meaning of third argument.
4629
4630 * dynamic-setting.el (font-setting-change-default-font):
4631 Use set-frame-font (Bug#9982).
4632
4633 2012-02-01 Glenn Morris <rgm@gnu.org>
4634
4635 * progmodes/compile.el (compilation-internal-error-properties):
4636 Respect compilation-first-column in the "*compilation*" buffer.
4637
4638 * emacs-lisp/easy-mmode.el (define-minor-mode):
4639 Relax :variable's test for a named function.
4640
4641 2012-01-31 Alan Mackenzie <acm@muc.de>
4642
4643 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4644 off by one error.
4645
4646 2012-01-31 Chong Yidong <cyd@gnu.org>
4647
4648 * frame.el (set-frame-font): New arg ALL-FRAMES.
4649
4650 * menu-bar.el (menu-set-font): Use set-frame-font.
4651
4652 * faces.el (face-spec-reset-face): Don't apply unspecified
4653 attribute values to the default face.
4654
4655 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4656
4657 * progmodes/cwarn.el (cwarn): Remove dead link.
4658 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4659 Remove * from defcustom docstrings.
4660 (turn-on-cwarn-mode): Make obsolete.
4661 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4662 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4663
4664 2012-01-31 Glenn Morris <rgm@gnu.org>
4665
4666 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4667 Fix :variable handling of mode a symbol not equal to modefun.
4668 Allow named functions to be used as the cdr of :variable.
4669
4670 2012-01-30 Glenn Morris <rgm@gnu.org>
4671
4672 * emacs-lisp/authors.el (authors-fixed-entries):
4673 Remove reference to deleted file rnewspost.el.
4674
4675 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4676
4677 * window.el (window-with-parameter): Remove unused variable `windows'.
4678 (window--side-check): Remove unused variable `code'.
4679 (window--resize-siblings): Remove unused variable `first'.
4680 (adjust-window-trailing-edge): Remove unused variable `failed'.
4681 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4682 Use `let', not `let*'.
4683 (balance-windows-2): Remove unused variable `found'.
4684 (window--state-put-2): Remove unused variable `splits'.
4685 (window-state-put): Remove unused variable `selected'.
4686 (same-window-p): Use `string-match-p'.
4687 (display-buffer-assq-regexp): Remove unused variable `value'.
4688 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4689 Mark argument ALIST as ignored.
4690 (pop-to-buffer): Remove unused variable `old-window'.
4691
4692 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4693
4694 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4695 and .lzma compressed files.
4696
4697 2012-01-29 Chong Yidong <cyd@gnu.org>
4698
4699 * frame.el (window-system-default-frame-alist): Doc fix.
4700
4701 * dynamic-setting.el (font-setting-change-default-font): Don't
4702 change the default face if SET-FONT argument is non-nil (Bug#9982).
4703
4704 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4705
4706 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4707
4708 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4709
4710 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4711 breakpoints in files outside current directory (Bug#6098).
4712
4713 2012-01-29 Chong Yidong <cyd@gnu.org>
4714
4715 * progmodes/python.el: Require ansi-color at top-level.
4716
4717 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4718 Define and use in Emacs Lisp mode (Bug#9360).
4719 (lisp-mode-abbrev-table): Add doc.
4720 (lisp-mode-variables): Don't set local-abbrev-table.
4721 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4722
4723 2012-01-28 Roland Winkler <winkler@gnu.org>
4724
4725 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4726
4727 2012-01-28 Roland Winkler <winkler@gnu.org>
4728
4729 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4730 (bibtex-set-dialect): Use it. Either set global values of
4731 dialect-dependent variables or bind these variables buffer-locally
4732 (Bug#10254).
4733 (bibtex-mode): Call bibtex-set-dialect via
4734 hack-local-variables-hook.
4735 (bibtex-dialect): Update docstring.
4736 Add safe-local-variable predicate.
4737 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4738 bibtex-set-dialect.
4739 (bibtex-mode-map): Define menu for each dialect.
4740 (bibtex-entry): Fix docstring.
4741
4742 2012-01-28 Chong Yidong <cyd@gnu.org>
4743
4744 * eshell/esh-arg.el (eshell-quote-argument): New function.
4745
4746 * eshell/esh-ext.el (eshell-invoke-batch-file):
4747 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4748 first arg to eshell-parse-command (Bug#10523).
4749
4750 2012-01-28 Drew Adams <drew.adams@oracle.com>
4751
4752 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4753 `default-directory' is non-nil.
4754
4755 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4756
4757 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4758 line that displays system-configuration-options. (Bug#9924)
4759
4760 2012-01-28 Drew Adams <drew.adams@oracle.com>
4761
4762 * descr-text.el (describe-char): Show information about POS, in
4763 addition to information about the character at POS. Improve and
4764 update the doc string. Change "code point" to "code point in
4765 charset", to avoid confusion with the character's Unicode code
4766 point shown above that. (Bug#10129)
4767
4768 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4769
4770 * descr-text.el (describe-char): Show the raw character, not only
4771 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4772 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4773 for the reasons.
4774
4775 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4776
4777 * emacs-lisp/package.el (package-install):
4778 Run package-refresh-contents if there is no archive yet (Bug#9798).
4779
4780 2012-01-28 Chong Yidong <cyd@gnu.org>
4781
4782 * emacs-lisp/package.el (package-maybe-load-descriptor):
4783 New function, split from package-maybe-load-descriptor.
4784 (package-maybe-load-descriptor): Use it.
4785 (package-download-transaction): Fully load required packages
4786 inside the loop, so that `require' calls work (Bug#10593).
4787 (package-install): No need to call package-initialize now.
4788
4789 2012-01-28 Chong Yidong <cyd@gnu.org>
4790
4791 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4792
4793 * tooltip.el (tooltip-mode): Doc fix.
4794 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4795
4796 * frame.el (set-cursor-color): Doc fix (Bug#352).
4797
4798 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4799 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4800
4801 * cus-edit.el (custom-buffer-create-internal): Fix search button
4802 action (Bug#10542).
4803 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4804
4805 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4806
4807 * dired.el (dired-mark-files-regexp):
4808 Include any subdirectory components. (Bug#10445)
4809
4810 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4811
4812 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4813 Handle [host]:port syntax. (Bug#10533)
4814
4815 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4816
4817 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4818
4819 2012-01-26 Glenn Morris <rgm@gnu.org>
4820
4821 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4822 * term.el (term-raw-escape-map): Use Control-X-prefix.
4823 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4824
4825 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4826
4827 * window.el (window-state-get, window--state-get-1): Don't deal
4828 with fixed-sizeness of windows. Simplify code.
4829
4830 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4831
4832 * window.el (window--state-get-1, window--state-put-2):
4833 Don't save and restore the mark.
4834
4835 2012-01-25 Chong Yidong <cyd@gnu.org>
4836
4837 * custom.el (custom-variable-p): Doc fix.
4838
4839 2012-01-25 Glenn Morris <rgm@gnu.org>
4840
4841 * dired.el (dired-goto-file): Handle some of the more common
4842 characters that `ls -b' escapes. (Bug#10596)
4843
4844 * progmodes/compile.el (compilation-next-error-function):
4845 Respect compilation-first-column in the "*compilation*" buffer.
4846 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4847
4848 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4849
4850 2012-01-24 Glenn Morris <rgm@gnu.org>
4851
4852 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4853
4854 2012-01-24 Julien Danjou <julien@danjou.info>
4855
4856 * color.el (color-rgb-to-hsl): Fix value computing.
4857 (color-hue-to-rgb): New function.
4858 (color-hsl-to-rgb): New function.
4859 (color-clamp, color-saturate-hsl, color-saturate-name)
4860 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4861 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4862
4863 2012-01-24 Glenn Morris <rgm@gnu.org>
4864
4865 * vc/vc-rcs.el (vc-rcs-create-tag):
4866 * vc/vc-sccs.el (vc-sccs-create-tag):
4867 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4868
4869 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4870
4871 * eshell/esh-util.el (eshell-read-hosts-file):
4872 Skip comment lines. (Bug#10549)
4873
4874 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4875
4876 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4877
4878 * subr.el (display-delayed-warnings): Doc fix.
4879 (collapse-delayed-warnings): New function to collapse identical
4880 adjacent warnings.
4881 (delayed-warnings-hook): Add it.
4882
4883 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4884
4885 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4886
4887 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4888 properties, when "login-as" is set.
4889
4890 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4891 (tramp-default-user-alist): Don't add "pscp".
4892 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4893 property "login-as", if set. (Bug#10530)
4894
4895 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4896
4897 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4898 "plink1" and "psftp". (Bug#10530)
4899
4900 2012-01-21 Kenichi Handa <handa@m17n.org>
4901
4902 * international/mule-cmds.el (prefer-coding-system): Show a
4903 warning message if the default value of file-name-coding-system
4904 was not changed.
4905
4906 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4907
4908 * windmove.el (windmove-reference-loc):
4909 Fix windmove-reference-loc miscalculation.
4910
4911 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4912
4913 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4914 default unit.
4915
4916 2012-01-21 Glenn Morris <rgm@gnu.org>
4917
4918 * international/mule.el (auto-coding-alist): Add .tbz.
4919
4920 * files.el (local-enable-local-variables): Doc fix.
4921 (inhibit-local-variables-regexps): Rename from
4922 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4923 Doc fix. Add some extensions from auto-coding-alist.
4924 (inhibit-local-variables-suffixes):
4925 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4926 (inhibit-local-variables-p):
4927 New function, extracted from set-auto-mode-1.
4928 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4929 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4930 (hack-local-variables): Doc fix. Make the mode-only case
4931 respect enable-local-variables and friends.
4932 Respect inhibit-local-variables-regexps for file-locals, but
4933 not for directory-locals.
4934 (set-visited-file-name):
4935 Take account of inhibit-local-variables-regexps.
4936 Whether it applies may change as the file name is changed.
4937 * jka-cmpr-hook.el (jka-compr-install):
4938 * jka-compr.el (jka-compr-uninstall):
4939 Update for inhibit-first-line-modes-suffixes name change.
4940
4941 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4942
4943 * help-macro.el (make-help-screen): Temporarily restore original
4944 binding for minor-mode-map-alist (Bug#10454).
4945
4946 2012-01-19 Julien Danjou <julien@danjou.info>
4947
4948 * color.el (color-name-to-rgb): Use the white color to find the max
4949 color component value and return correctly computed values.
4950 (color-name-to-rgb): Add missing float conversion for max value.
4951
4952 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4953
4954 * window.el (window--state-get-1, window-state-get): Do not use
4955 special state value for window-persistent-parameters.
4956 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4957 (window--state-put-2): Reset all window parameters to nil before
4958 assigning values of persistent parameters.
4959
4960 2012-01-18 Alan Mackenzie <acm@muc.de>
4961
4962 Eliminate sluggishness and hangs in fontification of "semicolon
4963 deserts".
4964
4965 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4966 Change value 10000 -> 3000.
4967 (c-state-safe-place): Reformulate so it doesn't stack up an
4968 infinite number of wrong entries in c-state-nonlit-pos-cache.
4969 (c-determine-limit-get-base, c-determine-limit): New functions to
4970 determine backward search limits disregarding literals.
4971 (c-find-decl-spots): Amend commenting.
4972 (c-cheap-inside-bracelist-p): New function which detects "={".
4973
4974 * progmodes/cc-fonts.el
4975 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4976 backward search.
4977 (c-font-lock-declarations): Fix an occurrence of point being
4978 undefined. Check additionally for point being in a bracelist or
4979 near a macro invocation without a semicolon so as to avoid a
4980 fruitless time consuming search for a declarator. Give a more
4981 precise search limit for declarators using the new
4982 c-determine-limit.
4983
4984 2012-01-18 Glenn Morris <rgm@gnu.org>
4985
4986 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4987 (set-auto-mode): Doc fixes.
4988
4989 2012-01-17 Glenn Morris <rgm@gnu.org>
4990
4991 * isearch.el (search-nonincremental-instead): Fix doc typo.
4992
4993 * dired.el (dired-insert-directory): Handle newlines in directory name.
4994 (dired-build-subdir-alist): Unescape newlines in directory name.
4995
4996 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4997
4998 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4999 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5000 (tramp-action-terminal): Use it. (Bug#10530)
5001
5002 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5003
5004 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5005
5006 2012-01-16 Martin Rudalics <rudalics@gmx.at>
5007
5008 * window.el (window-state-ignored-parameters): Remove variable.
5009 (window--state-get-1): Rename argument MARKERS to IGNORE.
5010 Handle persistent window parameters. Make copy of clone-of
5011 parameter only if requested. (Bug#10348)
5012 (window--state-put-2): Install a window parameter only if it has
5013 a non-nil value or an existing parameter shall be overwritten.
5014
5015 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
5016
5017 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5018
5019 2012-01-14 Eli Zaretskii <eliz@gnu.org>
5020
5021 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5022 don't pass the (nil) value of `upnode' to string-match.
5023
5024 2012-01-14 Chong Yidong <cyd@gnu.org>
5025
5026 * startup.el (command-line): Fix X resource class for cursorColor.
5027 Fix values recognized by the cursorBlink resource.
5028
5029 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5030
5031 * epg.el (epg--make-temp-file): Avoid permission race condition
5032 when running on old Emacs versions (bug#10403).
5033
5034 2012-01-14 Glenn Morris <rgm@gnu.org>
5035
5036 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5037
5038 2012-01-13 Alan Mackenzie <acm@muc.de>
5039
5040 Fix filling for when filladapt mode is enabled.
5041
5042 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5043 c-mask-paragraph, pass in `fill-paragraph' rather than
5044 `fill-region-as-paragraph'. (This is a reversion of a previous
5045 change.)
5046 * progmodes/cc-mode.el (c-basic-common-init):
5047 Make fill-paragraph-handle-comment buffer local and set it to nil.
5048
5049 2012-01-13 Glenn Morris <rgm@gnu.org>
5050
5051 * dired.el (dired-switches-escape-p): New function.
5052 (dired-insert-directory): Use dired-switches-escape-p.
5053 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5054
5055 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5056
5057 2012-01-12 Glenn Morris <rgm@gnu.org>
5058
5059 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5060 changes in adaptive-fill-regexp. (Bug#10276)
5061
5062 2012-01-11 Alan Mackenzie <acm@muc.de>
5063
5064 Fix Emacs bug #10463 - put `widen's around the critical spots.
5065
5066 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5067 widen around each invocation of c-state-pp-to-literal. Remove an
5068 unused let variable.
5069
5070 2012-01-11 Glenn Morris <rgm@gnu.org>
5071
5072 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5073 Doc fix.
5074
5075 2012-01-10 Chong Yidong <cyd@gnu.org>
5076
5077 * net/network-stream.el (network-stream-open-starttls):
5078 Avoid emitting a confusing error message when the server gives a bad
5079 response to the capability command.
5080
5081 2012-01-10 Glenn Morris <rgm@gnu.org>
5082
5083 * mail/unrmail.el (unrmail): Tweak previous change.
5084
5085 2012-01-09 Chong Yidong <cyd@gnu.org>
5086
5087 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5088
5089 2012-01-08 Alan Mackenzie <acm@muc.de>
5090
5091 Optimise font locking in long enum definitions.
5092
5093 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5094 arm to a cond form to handle enums.
5095 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5096 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5097
5098 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5099
5100 * files.el (move-file-to-trash): Preserve default file modes on error.
5101 (Bug#10401)
5102
5103 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5104
5105 * faces.el (set-face-attribute): Clarify the meaning of the nil
5106 frame (bug#10294).
5107
5108 * subr.el (with-selected-frame): Mention that the selected frame
5109 is restored (bug#9980).
5110
5111 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5112 (bug#9759).
5113
5114 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5115 (password-read): Don't autoload unused function.
5116
5117 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5118
5119 * progmodes/which-func.el (which-func-mode): Turn into a
5120 non-interactive function and mark as obsolete (bug#10428).
5121
5122 2012-01-06 Chong Yidong <cyd@gnu.org>
5123
5124 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5125 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5126 functions, along with 1 and -1.
5127
5128 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5129
5130 * time.el (display-time-load-average)
5131 (display-time-default-load-average): Doc fixes. See the thread
5132 starting at
5133 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5134 for the details.
5135
5136 2012-01-06 Glenn Morris <rgm@gnu.org>
5137
5138 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5139 has no messages. (Bug#10377)
5140
5141 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5142 than Info-edit. (Bug#10385)
5143
5144 * time.el (display-time-load-average, display-time-next-load-average):
5145 Doc fixes.
5146
5147 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5148 local setting of buffer-read-only to the input buffer. (Bug#10419)
5149
5150 * calendar/calendar.el (calendar-mode):
5151 Locally set scroll-margin to 0. (Bug#10379)
5152
5153 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5154
5155 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5156
5157 2012-01-05 Glenn Morris <rgm@gnu.org>
5158
5159 * eshell/em-unix.el (diff-no-select): Autoload it.
5160 (eshell/diff): Use diff-no-select. (Bug#10420)
5161
5162 2012-01-05 Chong Yidong <cyd@gnu.org>
5163
5164 * shell.el (shell-dynamic-complete-functions): Revert last change.
5165 (shell-command-completion-function): New function.
5166 (shell-completion-vars): Use it to implement
5167 shell-completion-execonly (Bug#10417).
5168
5169 * custom.el (enable-theme): Don't set custom-safe-themes.
5170
5171 * cus-theme.el (custom-theme-merge-theme):
5172 Ignore custom-enabled-themes and custom-safe-themes.
5173
5174 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5175
5176 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5177 first prompt in `sql-interacive-mode'.
5178 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5179 keywords.
5180 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5181 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5182 context of original buffer. Invoke `sql-login-hook'.
5183
5184 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5185
5186 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5187 letters in cite-prefix.
5188
5189 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5190
5191 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5192
5193 2012-01-03 Chong Yidong <cyd@gnu.org>
5194
5195 * shell.el (shell-dynamic-complete-functions):
5196 Put pcomplete-completions-at-point, so as to try
5197 comint-filename-completion first (Bug#10417).
5198
5199 2012-01-02 Richard Stallman <rms@gnu.org>
5200
5201 * battery.el (battery-status-function):
5202 Detect when to use battery-yeeloong-sysfs.
5203 (battery-echo-area-format): Add string for Yeeloong.
5204 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5205 (battery-yeeloong-sysfs): New function.
5206
5207 2012-01-02 Chong Yidong <cyd@gnu.org>
5208
5209 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5210 (dirtrack): Merge code for handling relative filenames in prompt
5211 from shell-dir-cookie-watcher.
5212 (dirtrack-debug-message): New arg to avoid excess format calls.
5213
5214 * shell.el (shell-dir-cookie-re): Variable deleted.
5215 (shell-dir-cookie-watcher): Function deleted.
5216 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5217 with dirtrack-mode.
5218
5219 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5220
5221 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5222 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5223 libgnutls-26.dll.
5224
5225 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5226
5227 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5228
5229 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5230
5231 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5232 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5233
5234 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5235
5236 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5237 also for alternative shells.
5238 (tramp-open-connection-setup-interactive-shell): Check, whether
5239 the shell is a busybox.
5240 (tramp-send-command): Don't suppress multiple prompts for
5241 busyboxes, it hurts.
5242
5243 2011-12-28 Chong Yidong <cyd@gnu.org>
5244
5245 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5246 (gdb-get-source-file): Move mode line update to
5247 gdb-get-source-file (Bug#10087).
5248
5249 2011-12-25 Chong Yidong <cyd@gnu.org>
5250
5251 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5252 gud-gdb-marker-filter without taking it as an argument.
5253 (gud-gdb-run-command-fetch-lines): Caller changed.
5254 (gud-gdb-completion-function): New variable.
5255 (gud-gdb-completion-at-point): Use it.
5256 (gud-gdb-completions-1): Split from gud-gdb-completions.
5257
5258 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5259 function as separate arguments.
5260 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5261 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5262 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5263 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5264 (gdb-stopped, def-gdb-auto-update-trigger)
5265 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5266 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5267 Callers changed.
5268 (gud-gdbmi-completions): New function.
5269 (gdb): Use it for generating the completion table.
5270
5271 2011-12-24 Alan Mackenzie <acm@muc.de>
5272
5273 Introduce a mechanism to widen the region used in context font
5274 locking. Use this to protect declarations from losing their contexts.
5275
5276 * progmodes/cc-langs.el (c-before-font-lock-functions):
5277 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5278 (c-before-context-fontification-functions): New defvar, a list of
5279 functions to be run just before context (etc.) font locking.
5280
5281 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5282 New, functionality extracted from
5283 c-neutralize-syntax-in-and-mark-CPP.
5284 (c-in-after-change-fontification): New variable.
5285 (c-after-change): Set c-in-after-change-fontification.
5286 (c-set-fl-decl-start): Rejig its interface, so it can be called
5287 from both after-change and context fontifying.
5288 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5289 New functions.
5290 (c-standard-font-lock-fontify-region-function): New variable.
5291 (c-font-lock-fontify-region): New function.
5292
5293 2011-12-24 Juri Linkov <juri@jurta.org>
5294
5295 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5296 (Bug#10348)
5297
5298 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5299
5300 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5301 existence of source file. (Bug#10325)
5302
5303 2011-12-23 Alan Mackenzie <acm@muc.de>
5304
5305 Fix unstable fontification inside templates.
5306
5307 * progmodes/cc-langs.el (c-before-font-lock-functions):
5308 Newly created from the singular version. The (c c++ objc) entry now
5309 additionally has c-set-fl-decl-start. The other languages (apart
5310 from AWK) have that as a single entry.
5311
5312 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5313 The functionality for "local" declarations has been extracted to
5314 c-set-fl-decl-start.
5315
5316 * progmodes/cc-mode.el (c-common-init, c-after-change):
5317 Changes due to pluralisation of c-before-font-lock-functions.
5318 (c-set-fl-decl-start): New function, extracted from
5319 c-font-lock-enclosing-decls and enhanced.
5320
5321 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5322
5323 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5324
5325 2011-12-22 Juri Linkov <juri@jurta.org>
5326
5327 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5328
5329 2011-12-22 Chong Yidong <cyd@gnu.org>
5330
5331 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5332
5333 2011-12-21 Drew Adams <drew.adams@oracle.com>
5334
5335 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5336
5337 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5338
5339 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5340
5341 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5342
5343 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5344 highlighting and support. Fix up comments for capitalization.
5345 (cfengine-mode-debug): New var.
5346 (cfengine3-mode): Change the modeline indicator to "CFE3".
5347 (cfengine3-font-lock-keywords): Improve defun highlighting.
5348 (cfengine2-actions): Rename from `cfengine-actions'.
5349 (cfengine2-font-lock-keywords): Rename from
5350 `cfengine-font-lock-keywords'.
5351 (cfengine2-imenu-expression): Rename from
5352 `cfengine-imenu-expression'.
5353 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5354 (cfengine2-beginning-of-defun): Rename from
5355 `cfengine-beginning-of-defun'.
5356 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5357 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5358 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5359 modeline indicator to "CFE2".
5360 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5361 (cfengine-mode-abbrevs): Mark obsolete.
5362
5363 2011-12-21 Chong Yidong <cyd@gnu.org>
5364
5365 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5366 filename argument.
5367
5368 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5369
5370 * window.el (window-normalize-buffer-to-display): Remove.
5371 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5372
5373 2011-12-19 Chong Yidong <cyd@gnu.org>
5374
5375 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5376 Don't signal an error in a predicate function; return non-nil.
5377 (vc-dir-mark-file): Move the error here.
5378 (vc-dir-mark-unmark): If acting on the region, keep going if one
5379 of the entries cannot be marked/unmarked.
5380 (vc-dir-mark-all-files): If current entry is a directory, mark
5381 only child files, as documented.
5382
5383 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5384
5385 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5386 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5387 addition.
5388
5389 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5390
5391 * term/ns-win.el (ns-get-selection-internal)
5392 (ns-store-selection-internal): Declare.
5393 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5394 Declare as obsolete.
5395 (ns-get-pasteboard, ns-paste-secondary):
5396 Use ns-get-selection-internal.
5397 (ns-set-pasteboard, ns-copy-including-secondary):
5398 Use ns-store-selection-internal.
5399
5400 2011-12-17 Chong Yidong <cyd@gnu.org>
5401
5402 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5403 (vc-deduce-fileset): Doc fix.
5404
5405 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5406
5407 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5408
5409 2011-12-13 Sam Steingold <sds@gnu.org>
5410
5411 * man.el (Man-getpage-in-background): When running under a
5412 window-system, ignore $MANWIDTH and $COLUMNS.
5413
5414 2011-12-15 Kenichi Handa <handa@m17n.org>
5415
5416 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5417 (setup-ethiopic-environment-internal): Comment out key-binding for
5418 ethio-toggle-punctuation.
5419
5420 2011-12-13 Alan Mackenzie <acm@muc.de>
5421
5422 Add the switch statement to AWK Mode.
5423
5424 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5425 "default" to the keywords regexp.
5426
5427 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5428 expression as the rest.
5429 (c-nonlabel-token-key): Allow string literals for AWK.
5430 Refactor for the other modes.
5431
5432 Large brace-block initialisation makes CC Mode slow: Fix.
5433 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5434 routines. Limit backward searching in c-font-lock-enclosing.decl.
5435
5436 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5437 pp-state and literal type in addition to the limits.
5438 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5439 (c-state-literal-at): Use the above new defun.
5440 (c-slow-in-literal, c-fast-in-literal): Remove.
5441 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5442
5443 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5444 being in a literal. Add a limit for backward searching.
5445
5446 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5447 c-slow-in-literal.
5448
5449 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5450
5451 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5452
5453 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5454
5455 * window.el (delete-other-windows): Use correct frame in call to
5456 window-with-parameter.
5457
5458 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5459
5460 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5461 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5462 (makefile-gmake-statements, makefile-makepp-statements):
5463 Use it and add new makepp keywords.
5464 (makefile-makepp-font-lock-keywords): Add new patterns.
5465 (makefile-match-function-end): Match new [...] and [[...]].
5466
5467 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5468
5469 * ses.el (ses-call-printer-return, ses-cell-property-get)
5470 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5471 (ses-create-cell-variable, ses-reset-header-string)
5472 (ses-cell-set-formula, ses-repair-cell-reference-all)
5473 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5474 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5475 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5476 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5477 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5478 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5479 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5480 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5481 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5482 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5483 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5484 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5485
5486 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5487
5488 * ses.el: The overall change is to add cell renaming, that is
5489 setting fancy names for cell symbols other than name matching
5490 "\\`[A-Z]+[0-9]+\\'" regexp .
5491 (ses-create-cell-variable): New defun.
5492 (ses-relocate-formula): Relocate formulas only for cells the
5493 symbols of which are not renamed, i.e. symbols whose names do not
5494 match regexp "\\`[A-Z]+[0-9]+\\'".
5495 (ses-relocate-all): Relocate values only for cells the symbols of
5496 which are not renamed.
5497 (ses-load): Create cells variables as the (ses-cell ...) are read,
5498 in order to check row col consistency with cell symbol name only
5499 for cells that are not renamed.
5500 (ses-replace-name-in-formula): New defun.
5501 (ses-rename-cell): New defun.
5502
5503 2011-12-11 Chong Yidong <cyd@gnu.org>
5504
5505 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5506 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5507
5508 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5509
5510 * window.el (other-window): Fix docstring.
5511
5512 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5513
5514 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5515 `from' or `to' address before taking its substring.
5516 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5517 encoded name is chopped in the middle of the encoded string, and
5518 thus displayed encoded.
5519
5520 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5521
5522 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5523
5524 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5525
5526 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5527 to use texinfo-update-node and commands that call it if the
5528 Texinfo file uses @node lines without next/prev/up pointers.
5529 Correct outdated description about texinfo-master-menu.
5530 (texinfo-all-menus-update, texinfo-master-menu)
5531 (texinfo-update-node, texinfo-every-node-update)
5532 (texinfo-multiple-files-update): Doc fix. Warn against updating
5533 all the @node lines.
5534 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5535 argument is numeric. Explain better in the doc string what the
5536 function really does.
5537 (texinfo-insert-master-menu-list): Improve the error message
5538 displayed if there's no menu in the Top node.
5539 (Bug#2975) See also this thread:
5540 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5541
5542 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5543
5544 * speedbar.el (speedbar-supported-extension-expressions):
5545 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5546
5547 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5548
5549 * printing.el (pr-mode-alist):
5550 * simple.el (filter-buffer-substring-functions)
5551 (completion-list-insert-choice-function):
5552 * window.el (window-with-parameter, window-atom-root)
5553 (window-sides-slots, window-size-fixed, window-min-delta)
5554 (window-max-delta, window--resize-mini-window)
5555 (window--resize-child-windows-normal, window-tree)
5556 (delete-other-windows, quit-window, split-window)
5557 (display-buffer-record-window, special-display-buffer-names)
5558 (special-display-regexps, special-display-popup-frame)
5559 (same-window-p, split-window-sensibly)
5560 (display-buffer-overriding-action, display-buffer-alist)
5561 (display-buffer-base-action, display-buffer, switch-to-buffer)
5562 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5563 (fit-window-to-buffer, recenter-positions)
5564 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5565 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5566 and remove unneeded backslashes in docstrings.
5567
5568 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5571
5572 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5573 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5574 end in ".mk".
5575 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5576 when reading the makefile (bug#10116).
5577
5578 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5579
5580 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5581 (bug#10116).
5582
5583 2011-12-06 Glenn Morris <rgm@gnu.org>
5584
5585 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5586
5587 2011-12-06 Chong Yidong <cyd@gnu.org>
5588
5589 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5590
5591 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5592
5593 * textmodes/table.el (table-shorten-cell): Fix typo.
5594
5595 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5596
5597 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5598
5599 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5600
5601 * descr-text.el (describe-char): Fix display of strong
5602 right-to-left characters and directional embeddings and overrides.
5603
5604 * simple.el (what-cursor-position): Fix display of codepoints of
5605 strong right-to-left characters.
5606
5607 2011-12-05 Chong Yidong <cyd@gnu.org>
5608
5609 * faces.el (read-color): Doc fix.
5610
5611 2011-12-05 Glenn Morris <rgm@gnu.org>
5612
5613 * align.el (align--set-marker): Add doc-string.
5614 Don't try to move something that is not a marker. (Bug#10216)
5615
5616 2011-12-04 Glenn Morris <rgm@gnu.org>
5617
5618 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5619 overly zealous deletion of trailing whitespace.
5620
5621 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5622
5623 * server.el (server-delete-client): On Windows, do not try to delete
5624 the only terminal.
5625 (server-process-filter): On Windows, treat requests for a tty frame as
5626 if they were for a GUI frame if the running server is in GUI mode.
5627
5628 2011-12-03 Glenn Morris <rgm@gnu.org>
5629
5630 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5631
5632 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * electric.el: Streamline electric-indent's hook.
5635 (electric-indent-chars): Revert to simple list.
5636 (electric-indent-functions): New var.
5637 (electric-indent-post-self-insert-function): Use it.
5638
5639 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5640 there's no inferior buffer (bug#10196).
5641 (prolog-consult-compile): Don't use toggle-read-only.
5642
5643 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5644
5645 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5646 interrupt. (Bug#10187)
5647
5648 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5649
5650 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5651 (bug#9160).
5652
5653 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5654 (bug#10191).
5655
5656 2011-12-02 Juri Linkov <juri@jurta.org>
5657
5658 * info.el (Info-search): Display "end of manual" when Isearch
5659 reaches the end of single-file Info manual. (Bug#9918)
5660
5661 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5662
5663 * isearch.el (isearch-message-prefix): Run the input method part
5664 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5665
5666 2011-12-02 Juri Linkov <juri@jurta.org>
5667
5668 * isearch.el (isearch-occur): Use `word-search-regexp' for
5669 `isearch-word'.
5670 (isearch-search-and-update): Add condition for `isearch-word' and
5671 call `word-search-regexp'. (Bug#10145)
5672
5673 2011-12-01 Glenn Morris <rgm@gnu.org>
5674
5675 * eshell/em-hist.el (eshell-hist-initialize):
5676 Handle eshell-history-size nil and HISTSIZE set or unset.
5677 (eshell-history-file-name, eshell-history-size): Fix custom type.
5678
5679 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5680
5681 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5682
5683 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5684
5685 * progmodes/verilog-mode.el (verilog-pretty-expr):
5686 Rework verilog-pretty-expr to handle new assignment operators in system
5687 verilog, such as += *= and the like.
5688 (verilog-assignment-operator-re): Regular expression to find the
5689 assigment operator in a verilog assignment.
5690 (verilog-assignment-operation-re): Regular expression to find an
5691 assignment statement for pretty-expr.
5692 (verilog-in-attribute-p): Query returns true if point is in an
5693 attribute context; used to skip these for expression line up from
5694 pretty-expr.
5695 (verilog-in-parameter-p): Query returns true if point is in an
5696 parameter definition context; used to skip these for expression
5697 line up from pretty-expr.
5698 (verilog-in-parenthesis-p): Query returns true if point is in a
5699 parenthetical expression, specifically ( ) but not [ ] or { };
5700 used by pretty-expr.
5701 (verilog-just-one-space): If there is no space, don't add one.
5702 (verilog-get-lineup-indent-2): Specifically skip just attribute
5703 contexts for expression lineup, rather than skipping all
5704 parenthetical expressions.
5705 (verilog-calculate-indent): Fix comment, and fix indent.
5706 (verilog-do-indent): Indent declarations in lists (suggested by
5707 Joachim Lechner).
5708 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5709 skeleton items.
5710 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5711 by Alain Mellan).
5712
5713 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5714
5715 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5716 parameters with embedded comments. Reported by Ray Stevens.
5717 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5718 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5719 Reported by Tim Holt.
5720 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5721 instantiated by upper module causing wrong expansion until AUTOed a
5722 second time. Reported by K C Buckenmaier.
5723 (verilog-diff-auto): Fix showing .* as a difference when
5724 `verilog-auto-star-save' off. Reported by Dan Dever.
5725 (verilog-auto-reset, verilog-read-always-signals)
5726 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5727 temporary signals in reset list if
5728 verilog-auto-reset-blocking-in-non is nil, and match assignment
5729 style to each signal's assignment type, bug381.
5730 Reported by Thomas Esposito.
5731 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5732 (verilog-uvm-statement-re): Support UVM indentation and
5733 highlighting, with old OVM keywords only.
5734 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5735 Support AUTOTIEOFF creating non-wire data types.
5736 Suggested by Jonathan Greenlaw.
5737 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5738 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5739 (verilog-inject-sense, verilog-read-inst-pins)
5740 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5741 Fix mismatching parenthesis inside commented out code when deleting
5742 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5743 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5744 non-numeric vector width. Reported by Alex Reed.
5745 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5746 detecting signals with parameter widths. Reported by Alex Reed.
5747 (verilog-auto-delete-trailing-whitespace):
5748 With `verilog-auto-delete-trailing-whitespace' remove trailing
5749 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5750 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5751 Fix verilog-scan-cache corruption when running user AUTO expansion
5752 hooks that call indentation routines.
5753 (verilog-simplify-range-expression): Fix typo ignoring lower case
5754 identifiers.
5755 (verilog-delete-auto): Fix delete-autos to also remove user created
5756 automatics, as long as they start with AUTO.
5757 (verilog-batch-diff-auto, verilog-diff-auto)
5758 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5759 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5760 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5761 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5762 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5763 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5764 is disabled and its cache will get corrupt, causing AUTOS not to
5765 expand. Instead use only -quick functions.
5766 (verilog-scan-region): Fix scanning over escaped quotes.
5767 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5768 (verilog-re-search-backward-quick)
5769 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5770 related functions now ignore strings, to fix misparsing of strings
5771 with magic comments embedded in them.
5772 (verilog-read-auto-template):
5773 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5774 Reported by Brad Dobbie.
5775 (verilog-read-auto-template):
5776 Fix 'verilog-auto-inst-template-numbers' with comments.
5777 Reported by Brad Dobbie.
5778 (verilog-auto-inst, verilog-auto-inst-param)
5779 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5780 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5781 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5782 debugging templates without merge conflicts, bug357.
5783 Reported by Brad Dobbie.
5784 (verilog-read-auto-template):
5785 Fix verilog-auto-inst-template-numbers with multiple templates.
5786 Reported by Brad Dobbie.
5787 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5788 abbrevs so user won't be asked to save.
5789 (verilog-read-auto-lisp-present): Fix to start at beginning of
5790 buffer in case called outside of verilog-auto.
5791 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5792 to "X-2". Reported by Matthew Myers.
5793 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5794 all inputs from module templates. Reported by Leith Johnson.
5795 (verilog-module-inside-filename-p): Fix locating programs as with
5796 modules.
5797 (verilog-auto-inst-port): Fix vl-width expressions when using
5798 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5799 (verilog-decls-get-regs, verilog-decls-get-signals,
5800 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5801 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5802 verilog-read-decls): Combine reg and wire structures into one var
5803 structure to represent SystemVerilog concepts.
5804 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5805 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5806 (verilog-auto-wire-type, verilog-insert-definition):
5807 Add verilog-auto-wire-type and AUTOLOGIC to support using
5808 SystemVerilog "logic" keyword instead of "wire"/"reg".
5809 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5810 to declares outputs that also have assignments (presumably in an
5811 ifdef or generate if so there's not a driver conflict).
5812 Reported by Matthew Myers.
5813 (verilog-auto-declare-nettype, verilog-insert-definition):
5814 Add verilog-auto-declare-nettype to fix declarations using
5815 `default_nettype none. Reported by Julian Gorfajn.
5816 (verilog-read-always-signals-recurse, verilog-read-decls)
5817 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5818 malformed end statement, bug325. Reported by Joshua Wise and
5819 Andrew Drake.
5820 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5821 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5822 when expanding .* in interfaces, bug320.
5823 Reported by Pierre-David Pfister.
5824 (verilog-read-module-name): Fix import statements between module
5825 name and open parenthesis, bug317.
5826 Reported by Pierre-David Pfister.
5827 (verilog-simplify-range-expression): Fix simplification of
5828 multiplications inside AUTOWIRE connections, bug303.
5829 (verilog-auto-inst-port): Support parameter expansion in
5830 multidimensional arrays.
5831 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5832 after "assert property". Reported by Julian Gorfajn.
5833 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5834 with multiplication, bug303.
5835 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5836 Reported by Jan Frode Lonnum.
5837
5838 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5839
5840 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5841 (hfy-shell-file-name, hfy-shell):
5842 * international/fontset.el (x-decompose-font-name): Fix typos.
5843
5844 2011-11-29 Ken Brown <kbrown@cornell.edu>
5845
5846 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5847 (gdb-version): Remove defvar.
5848 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5849 (gdb-gud-context-command, gdb-non-stop-handler)
5850 (gdb-current-context-command, gdb-stopped): Use it.
5851 (gdb-init-1): Enable pretty printing here.
5852 (gdb-non-stop-handler): Don't enable pretty-printing here.
5853 Check to see if the target supports non-stop mode; if not, turn off
5854 non-stop mode. Use the following.
5855 (gdb-check-target-async): New defun.
5856 (gud-watch, gdb-stopped): Fix whitespace.
5857 (gdb-get-source-file): Don't try to display the source file if
5858 `gdb-main-file' is nil.
5859
5860 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * align.el: Try to generate fewer markers (bug#10047).
5863 (align--set-marker): New macro.
5864 (align-region): Use it.
5865
5866 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5869
5870 2011-11-29 Chong Yidong <cyd@gnu.org>
5871
5872 * indent.el (indent-for-tab-command, indent-according-to-mode):
5873 Doc fix.
5874 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5875
5876 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5877
5878 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5879 aware of remote file names. (Bug#10124)
5880
5881 2011-11-29 Chong Yidong <cyd@gnu.org>
5882
5883 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5884
5885 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5886
5887 * files.el (find-file): Don't use force-same-window (bug#10144).
5888 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5889 use pop-to-buffer if the selected window can't be used.
5890 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5891
5892 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5893
5894 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5895 special-mode-map.
5896
5897 2011-11-28 Chong Yidong <cyd@gnu.org>
5898
5899 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5900
5901 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5902
5903 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5904 gdb-get-source-file-list on gdb-create-source-file-list.
5905
5906 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5907
5908 * whitespace.el (whitespace-newline): Use a different foreground
5909 color for 16-color light-background displays.
5910
5911 2011-11-24 Chong Yidong <cyd@gnu.org>
5912
5913 * window.el (display-buffer--special-action): Doc fix.
5914
5915 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5916
5917 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5918 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5919 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5920 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5921 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5922 (avl-tree-stack-first):
5923 * emacs-lisp/cconv.el (cconv--analyse-use):
5924 * net/gnutls.el (gnutls-negotiate): Fix typos.
5925
5926 2011-11-24 Glenn Morris <rgm@gnu.org>
5927
5928 * lpr.el (lpr-windows-system, lpr-lp-system):
5929 * mail/binhex.el (binhex-begin-line):
5930 * progmodes/grep.el (grep-history, grep-find-history):
5931 * textmodes/flyspell.el:
5932 * vc/pcvs-defs.el (cvs-global-menu):
5933 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5934 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5935 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5936
5937 * net/tls.el: Fix case of "GnuTLS".
5938
5939 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5940
5941 * version.el (emacs-build-system): Give it a doc-string.
5942
5943 2011-11-24 Juri Linkov <juri@jurta.org>
5944
5945 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5946
5947 2011-11-24 Glenn Morris <rgm@gnu.org>
5948
5949 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5950 if called on a non-mime message just toggle the headers. (Bug#8006)
5951
5952 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5953
5954 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5955 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5956 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5957 (allout-rebullet-heading, allout-open-sibtopic)
5958 (allout-toggle-current-subtree-encryption)
5959 (allout-toggle-subtree-encryption, allout-encrypt-string)
5960 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5961 (allout-distinctive-bullets-string, allout-auto-activation):
5962 * window.el (window-normalize-buffer-to-display):
5963 * progmodes/verilog-mode.el (verilog-batch-indent):
5964 * textmodes/bibtex.el (bibtex-field-braces-opt)
5965 (bibtex-field-strings-opt):
5966 * vc/cvs-status.el (cvs-tree-merge):
5967 Fix typos.
5968
5969 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5970
5971 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5972 `non-essential' to t, in order to avoid remote connections.
5973
5974 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5975
5976 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5977 On MS-DOS and MS-Windows, compare with loaddefs.el
5978 case-insensitively.
5979
5980 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5981
5982 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5983
5984 2011-11-23 Glenn Morris <rgm@gnu.org>
5985
5986 * paths.el (rmail-file-name): Reformat the doc-string so that it
5987 is picked up.
5988
5989 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5990 (rmail-auto-file): Ignore case in the "special" field names,
5991 as mail-fetch-field does for all others.
5992
5993 * mail/rmail.el (rmail-forward):
5994 * mail/rmailkwd.el (rmail-set-label):
5995 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5996 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5997
5998 * mail/rmail.el (rmail-current-message): Doc fix.
5999
6000 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6001
6002 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6003
6004 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6005
6006 2011-11-22 Glenn Morris <rgm@gnu.org>
6007
6008 * mail/rmailmm.el (test-rmail-mime-handler)
6009 (test-rmail-mime-bulk-handler)
6010 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6011
6012 2011-11-21 Juri Linkov <juri@jurta.org>
6013
6014 * calc/calc.el (calc-read-key-sequence):
6015 Let-bind `input-method-function' to nil. (Bug#10018)
6016
6017 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6018
6019 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6020 Tell the caller that the next line needs recomputation, even
6021 though it doesn't start a sexp (bug#10094).
6022
6023 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6026
6027 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6028
6029 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6030 Use force-same-window.
6031
6032 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6033
6034 * descr-text.el (describe-char-unicode-data):
6035 * json.el (json-string-escape):
6036 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6037 (Footnote-unicode, Footnote-style-p):
6038 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6039
6040 2011-11-20 Chong Yidong <cyd@gnu.org>
6041
6042 * window.el (replace-buffer-in-windows): Restore interactive spec.
6043
6044 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6045
6046 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6047
6048 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6049 (byte-compile-global-not-obsolete-vars): New var.
6050 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6051 Use it.
6052 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6053
6054 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6055
6056 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6057 * progmodes/pascal.el (electric-pascal-equal):
6058 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6059 * xml.el (xml-substitute-special): Fix typos.
6060
6061 2011-11-20 Glenn Morris <rgm@gnu.org>
6062
6063 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6064 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6065 Doc fixes.
6066 (rmail-decode-mime-charset): Mark as obsolete.
6067
6068 * mail/rmailsum.el (rmail-message-regexp-p-1):
6069 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6070 Before using mime functions, check they are set. (Bug#10077)
6071
6072 2011-11-19 Juri Linkov <juri@jurta.org>
6073
6074 * info.el (Info-finder-find-node): Use `package--builtins' instead
6075 of `package-alist'. Use node names formed by the pattern "Keyword "
6076 and the keyword name.
6077
6078 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6079
6080 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6081
6082 2011-11-19 Juri Linkov <juri@jurta.org>
6083
6084 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6085 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6086 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6087 `old-history', `old-history-forward'. Add let-binding
6088 `window-selected'. Remove calls to `kill-buffer',
6089 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6090 before calling `Info-find-node', so `Info-find-node-2' will reread
6091 the Info file. Restore window positions only when `window-selected'
6092 is non-nil.
6093
6094 2011-11-19 Juri Linkov <juri@jurta.org>
6095
6096 * isearch.el (isearch-lazy-highlight-new-loop):
6097 Remove condition `(not isearch-error)'. (Bug#9918)
6098
6099 * misearch.el (multi-isearch-search-fun): Add condition
6100 `(not bound)' to ignore lazy-highlighting search.
6101 Add the search-failed message "end of multi" when the end of
6102 multi-sequence is reached. Uncapitalize the search-failed
6103 message "Repeat for next buffer".
6104
6105 * info.el (Info-search): Add the search-failed message
6106 "end of the manual" when the end of the manual is reached
6107 in Isearch mode.
6108
6109 2011-11-19 Juri Linkov <juri@jurta.org>
6110
6111 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6112 Use non-destructive `remove' instead of `delete' because
6113 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6114 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6115
6116 2011-11-19 Juri Linkov <juri@jurta.org>
6117
6118 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6119 to nil instead of binding `search-ring' and `regexp-search-ring'.
6120 (Bug#9185)
6121
6122 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6123
6124 * simple.el (line-move): Force movement by logical lines for any
6125 hscrolled window, not only when auto-hscroll-mode is on.
6126 (line-move-visual): Update doc string to that effect. (Bug#10076)
6127
6128 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6129
6130 * language/european.el (macintosh): Define as alias for mac-roman.
6131
6132 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6133
6134 * mail/rmailmm.el (rmail-mime-display-header)
6135 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6136 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6137 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6138 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6139 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6140 of a raw aref.
6141 (rmail-mime-entity-segment): To get past the tagline, move forward
6142 2 more lines, to account for the 2 empty lines that precede and
6143 follow the line with the buttons.
6144 (rmail-mime-update-tagline): Move one more line, to get past the
6145 empty line that follows the buttons in the tagline. (Bug#9520)
6146
6147 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6148
6149 * window.el (window-max-delta-1, window-min-delta-1)
6150 (window-min-size-1, window-state-get-1, window-state-put-1)
6151 (window-state-put-2): Use "window--" prefix.
6152
6153 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6154
6155 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6156 (smie-warning-count): New var.
6157 (smie-set-prec2tab): Use it.
6158 (smie-bnf->prec2): Improve warnings. Add docstring.
6159 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6160 (smie-bnf--set-class): New function.
6161 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6162 corner case.
6163
6164 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6165 (compilation-error-properties, compilation-move-to-column):
6166 Handle compilation-first-column while in the target buffer.
6167
6168 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6169 Don't hardcode point-min==1.
6170
6171 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6172 (eshell-rewrite-for-command): Remove workaround.
6173 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6174 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6175 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6176
6177 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6178
6179 2011-11-17 Glenn Morris <rgm@gnu.org>
6180
6181 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6182 Ignore buffer-local generated-autoload-file if it is the same
6183 as the global value. (Bug#10049)
6184
6185 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6186
6187 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6188 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6189 (reftex-toc-previous-heading, reftex-toc-max-level)
6190 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6191 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6192 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6193 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6194 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6195 (reftex-toc-rename-label, reftex-toc-visit-location)
6196 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6197 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6198 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6199 leaving "*toc*" only for references to the buffer.
6200
6201 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6202
6203 * window.el (window-resize, delete-window, split-window):
6204 Replace window-splits by window-combination-resize.
6205 * cus-start.el (window-splits): Replace by window-combination-resize.
6206
6207 2011-11-17 Glenn Morris <rgm@gnu.org>
6208
6209 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6210 Make bash entry derive from sh entry, not shell entry.
6211
6212 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6213
6214 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6215 properties of linked files. (Bug#9879)
6216
6217 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6218 local file name.
6219
6220 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6221
6222 * menu-bar.el (menu-bar-file-menu):
6223 * printing.el (pr-ps-utility):
6224 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6225 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6226 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6227 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6228 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6229 (icalendar--convert-cyclic-to-ical)
6230 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6231 (icalendar--convert-ical-to-diary)
6232 (icalendar--convert-recurring-to-diary)
6233 (icalendar--convert-non-recurring-all-day-to-diary)
6234 (icalendar-import-format-sample):
6235 * progmodes/idlw-shell.el (idlwave-shell-mode):
6236 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6237 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6238 (vhdl-ps-print-init): Fix typos.
6239
6240 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6241
6242 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6243 FSF and collapse date sequence, obscure author/maintainer email address
6244 better, remove extra version line, track relocation of author's webpage.
6245
6246 * progmodes/python.el (python-pdbtrack-input-prompt)
6247 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6248 regular python pdb prompts. Adjustments shamelessly taken exactly as
6249 suggested in EmacsWiki page (tiny change):
6250 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6251
6252 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6253
6254 * expand.el (expand-pos, expand-index, expand-point):
6255 Remove redundant info from docstring.
6256 (expand-add-abbrevs): Doc fix.
6257 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6258 (expand-sample-perl-mode-expand-list): Fix typos.
6259
6260 * net/dbus.el (dbus-event-member-name):
6261 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6262 * term/pc-win.el (msdos-create-frame-with-faces):
6263 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6264
6265 2011-11-16 Martin Rudalics <rudalics@gmx.at>
6266
6267 * window.el (split-window, window-state-get-1)
6268 (window-state-put-1, window-state-put-2): Rename occurrences of
6269 window-nest to window-combination-limit.
6270 * cus-start.el (window-nest): Rename to window-combination-limit.
6271
6272 2011-11-16 Chong Yidong <cyd@gnu.org>
6273
6274 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6275 regexp (Bug#10033).
6276
6277 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6278
6279 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6280 `completing-read' will remove *Completions* and will preserve
6281 current-buffer for us.
6282 (tmm-add-prompt): Users of *Completions* will always (re)set its
6283 major mode.
6284 (tmm-old-comp-map): Remove.
6285
6286 2011-11-16 Glenn Morris <rgm@gnu.org>
6287
6288 * mail/rmailedit.el: Require rmailmm when compiling.
6289 (rmail-old-mime-state): New declaration.
6290 (rmail-edit-current-message): If editing a mime message,
6291 edit the "raw" message from the mbox buffer.
6292 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6293
6294 2011-11-15 Glenn Morris <rgm@gnu.org>
6295
6296 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6297 which wasn't being used. Add optional arg to force given state.
6298 (rmail-mime): Add optional arg to force given state.
6299
6300 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6301
6302 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6303 * frame.el (display-mm-dimensions-alist):
6304 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6305 (outline-move-subtree-down):
6306 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6307 (newsticker--treeview-do-get-node):
6308 * net/quickurl.el (quickurl-list-buffer-name):
6309 * progmodes/dcl-mode.el (dcl-mode):
6310 * progmodes/gdb-mi.el (gdb-mapcar*):
6311 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6312
6313 2011-11-15 Glenn Morris <rgm@gnu.org>
6314
6315 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6316 in a boolean sense, so just make it a boolean, and fix the doc.
6317 (rmail-show-mime-function, rmail-mime-feature)
6318 (rmail-require-mime-maybe): Doc fixes.
6319 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6320
6321 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6322
6323 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6324
6325 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6326 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6327 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6328 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6329
6330 2011-11-15 Glenn Morris <rgm@gnu.org>
6331
6332 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6333 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6334 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6335 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6336 (rmail-mime, rmail-show-mime): Doc fixes.
6337
6338 * term/ns-win.el (mode-line-frame-identification):
6339 Leave it alone. (Bug#10051)
6340
6341 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6342
6343 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6344 Handle empty buffers. (Bug#9978)
6345
6346 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6347
6348 * international/mule.el (define-charset):
6349 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6350 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6351 * progmodes/verilog-mode.el (verilog-backward-token):
6352 * textmodes/ispell.el (lookup-words):
6353 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6354
6355 2011-11-14 Glenn Morris <rgm@gnu.org>
6356
6357 * progmodes/executable.el
6358 (executable-make-buffer-file-executable-if-script-p):
6359 Handle file-modes returning nil.
6360
6361 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6362 message - not necessary, and causes problems. (Bug#9831)
6363
6364 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6365
6366 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6367
6368 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6369 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6370 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6371
6372 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6373
6374 * window.el (window-resize, delete-window): Use window-splits
6375 variable instead of function.
6376 (window-state-get-1, window-state-put-2, window-state-put):
6377 Don't deal with windows' splits status.
6378
6379 2011-11-12 Glenn Morris <rgm@gnu.org>
6380
6381 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6382 (apropos-documentation): Doc fixes.
6383
6384 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6385
6386 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6387 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6388
6389 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6390
6391 * electric.el (electric-indent-post-self-insert-function): Make it
6392 possible for a char to only indent in some circumstances.
6393 (electric-indent-mode): Simplify.
6394
6395 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6396
6397 * window.el (windows-with-parameter): Remove unused function.
6398 (windows-at-side): Rename to window-at-side-list.
6399 (window-check, window-atom-check, window-atom-check-1)
6400 (window-side-check, window-size-ignore, window-size-fixed-1)
6401 (window-in-direction-2): Prefix with "window--".
6402 (window-tree-1): Rename to window--subtree, fix doc-string.
6403
6404 2011-11-11 Glenn Morris <rgm@gnu.org>
6405
6406 * subr.el (eval-after-load): If FILE is already loaded,
6407 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6408
6409 2011-11-10 Glenn Morris <rgm@gnu.org>
6410
6411 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6412 Call svn via vc-svn-command rather than vc-do-command.
6413 (vc-svn-command): Add --non-interactive. (Bug#9993)
6414 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6415
6416 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6417 Add toggle-read-only. (Bug#7292)
6418 * files.el (toggle-read-only): Mention that it should only
6419 be used interactively. (Bug#10006)
6420
6421 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6422
6423 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6424 Adjust regexp for OCaml warnings.
6425
6426 * electric.el (electric-pair-post-self-insert-function): Let user
6427 turn it off buffer-locally (bug#9932).
6428
6429 * progmodes/python.el (python-beginning-of-statement):
6430 Rewrite (bug#2703).
6431
6432 * progmodes/compile.el: Better handle TABs (bug#9749).
6433 (compilation-internal-error-properties)
6434 (compilation-next-error-function): Obey the target buffer's
6435 compilation-error-screen-columns.
6436
6437 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6438
6439 * progmodes/meta-mode.el: Remove obsolete comments.
6440 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6441 Fix typos in docstrings.
6442
6443 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6444
6445 * window.el (window-size-fixed-p): Rewrite doc-string.
6446 (window-resizable-p): Rename to window--resizable-p. Update callers.
6447 (window--resizable): New function. Make all callers of
6448 window-resizable call window--resizable instead.
6449 (window-resizable): Rewrite in terms of window--resizable.
6450
6451 2011-11-08 Glenn Morris <rgm@gnu.org>
6452
6453 * progmodes/delphi.el (delphi-mode-syntax-table):
6454 Let define-derived-mode define a proper syntax table. (Bug#9994)
6455
6456 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * window.el: Stay away from defsubst.
6459 (window-list-no-nils): Remove.
6460 (window-state-get-1, window-state-get): Use backquote instead.
6461
6462 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6463
6464 * emacs-lisp/find-func.el (find-function-read):
6465 Fix incorrect use of default argument in `completing-read'.
6466
6467 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6468
6469 * window.el (display-buffer-function, special-display-function):
6470 Mention display-buffer-record-window but do not mention
6471 help-setup parameter in doc-strings.
6472 (window-min-delta): Fix doc-string typo.
6473
6474 2011-11-08 Chong Yidong <cyd@gnu.org>
6475
6476 * window.el (window-total-height, window-total-width): Doc fix.
6477 (window-body-size): Move from C.
6478 (window-body-height, window-body-width): Move to C.
6479
6480 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6481
6482 * window.el: Make special-display like display-buffer-alist (bug#9532).
6483 (display-buffer--special-action): New function, morphed
6484 from display-buffer--special.
6485 (display-buffer): Use it to handle special-display-buffers at higher
6486 priority (just after display-buffer-alist).
6487 (display-buffer-fallback-action, display-buffer--other-frame-action)
6488 (pop-to-buffer-same-window): Remove display-buffer--special.
6489
6490 2011-11-07 Glenn Morris <rgm@gnu.org>
6491
6492 * calendar/cal-menu.el (cal-menu-set-date-title):
6493 Do nothing if not in a calendar. (Bug#9976)
6494
6495 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * files.el (find-file): Always use selected-window.
6498
6499 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6500
6501 * window.el (window-combinations): Make WINDOW argument
6502 mandatory. Rewrite doc-string.
6503 (walk-window-subtree, window-atom-check, window-min-delta)
6504 (window-max-delta, window--resize-this-window)
6505 (window--resize-root-window-vertically, window-tree)
6506 (balance-windows, window-state-put): Rewrite doc-strings as to
6507 not mention the term "subwindow".
6508 (window--resize-subwindows-skip-p): Rename to
6509 window--resize-child-windows-skip-p.
6510 (window--resize-subwindows-normal): Rename to
6511 window--resize-child-windows-normal.
6512 (window--resize-subwindows): Rename to
6513 window--resize-child-windows.
6514 (window-or-subwindow-p): Rename to window--in-subtree-p.
6515
6516 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6517
6518 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6519 Ensure that mbox format messages end in two newlines (Bug#9974).
6520
6521 2011-11-06 Chong Yidong <cyd@gnu.org>
6522
6523 * window.el (window-combination-p): Function deleted; its
6524 side-effect is not used in any existing code.
6525 (window-combinations, window-combined-p): Call window-*-child
6526 directly.
6527
6528 2011-11-05 Chong Yidong <cyd@gnu.org>
6529
6530 * window.el (window-valid-p): Rename from window-any-p.
6531 (window-size-ignore, window-state-get): Callers changed.
6532 (window-normalize-window): Rename from window-normalize-any-window.
6533 New arg LIVE-ONLY, replacing window-normalize-live-window.
6534 (window-normalize-live-window): Delete.
6535 (window-combination-p, window-combined-p, window-combinations)
6536 (walk-window-subtree, window-atom-root, window-min-size)
6537 (window-sizable, window-sizable-p, window-size-fixed-p)
6538 (window-min-delta, window-max-delta, window-resizable)
6539 (window-resizable-p, window-full-height-p, window-full-width-p)
6540 (window-current-scroll-bars, window-point-1, set-window-point-1)
6541 (window-at-side-p, window-in-direction, window-resize)
6542 (adjust-window-trailing-edge, maximize-window, minimize-window)
6543 (window-deletable-p, delete-window, delete-other-windows)
6544 (record-window-buffer, unrecord-window-buffer)
6545 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6546 (quit-window, split-window, window-state-put)
6547 (set-window-text-height, fit-window-to-buffer)
6548 (shrink-window-if-larger-than-buffer): Callers changed.
6549
6550 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6551
6552 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6553 rfc2047-decode-string.
6554 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6555 warnings.
6556
6557 * window.el (window-body-height, window-body-width): Mention in
6558 the doc string that the return values are in frame's canonical
6559 units. (Bug#9949)
6560
6561 2011-11-03 Alan Mackenzie <acm@muc.de>
6562
6563 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6564 change in cc-engine.el.
6565
6566 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6567
6568 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6569
6570 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6571
6572 * window.el (quit-window): Call unrecord-window-buffer after
6573 showing another buffer in the window. (Bug#9937)
6574 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6575
6576 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6577
6578 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6579 Accept status with more than 9 shelves. (Bug#9935)
6580 Reported by Colin D Bennett <colin@gibibit.com>.
6581
6582 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6583
6584 * help.el (with-help-window): Don't reference
6585 temp-buffer-show-specifiers in doc-string.
6586
6587 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6588
6589 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6590 menu-item.
6591
6592 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6593
6594 * whitespace.el: New version 13.2.2.
6595 (whitespace-newline-mode): Disable properly. Reported by Sarah
6596 <EmacsWiki>.
6597
6598 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6599
6600 * net/newst-treeview.el: Remove "Time-stamp".
6601 (newsticker--group-manage-orphan-feeds): Do not call
6602 newsticker--treeview-tree-update.
6603 (newsticker-treeview-update, newsticker-treeview):
6604 Call newsticker--treeview-tree-update if necessary.
6605
6606 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6607
6608 * window.el (window-iso-combination-p, window-iso-combined-p)
6609 (window-iso-combinations): Remove "iso-" infix.
6610 Suggested by Chong Yidong.
6611 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6612 (window-max-delta-1, window-resize, window--resize-siblings)
6613 (window--resize-this-window, adjust-window-trailing-edge)
6614 (split-window, balance-windows-1)
6615 (shrink-window-if-larger-than-buffer):
6616 * calendar/calendar.el (calendar-generate-window):
6617 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6618
6619 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6620
6621 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6622 in place (bug#9907).
6623 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6624 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6625 (eshell-structure-basic-command, eshell-rewrite-while-command)
6626 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6627 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6628 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6629 (eshell-do-pipelines-synchronously, eshell-eval-command):
6630 Use backquotes and prefer setq to set.
6631 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6632 (eshell-macrop): Use functionp.
6633 (eshell-do-eval): Handle multiple expressions in `while' body.
6634
6635 2011-10-30 Chong Yidong <cyd@gnu.org>
6636
6637 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6638 instead of set-mark (Bug#9810).
6639
6640 2011-10-30 Chong Yidong <cyd@gnu.org>
6641
6642 * window.el (split-window-below, split-window-right): Rename from
6643 split-window-above-each-other and split-window-side-by-side
6644 respectively. All callers changed.
6645 (split-window-sensibly, split-window-sensibly): Use them.
6646 (split-window-keep-point): Doc fix.
6647
6648 * isearch.el: Add isearch-scroll property to split-window-below
6649 and split-window-right.
6650
6651 * follow.el (follow-mode):
6652 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6653 * progmodes/ada-xref.el (ada-gdb-application):
6654 * emulation/vip.el (vip-buffer-in-two-windows):
6655 * image-dired.el (image-dired-dired-with-window-configuration):
6656 * dired-x.el (dired-do-find-marked-files):
6657 * dired.el (dired-pop-to-buffer):
6658 * bs.el (bs--show-with-configuration):
6659 * vc/emerge.el (emerge-setup-windows):
6660 * textmodes/two-column.el (2C-two-columns):
6661 * textmodes/reftex-toc.el (reftex-toc):
6662 * progmodes/gdb-mi.el (gdb-setup-windows):
6663 * progmodes/fortran.el (fortran-window-create):
6664 * net/newst-treeview.el (newsticker--treeview-window-init):
6665 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6666 * emulation/tpu-edt.el (tpu-gold-map):
6667 * emulation/crisp.el (crisp-mode-map):
6668 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6669
6670 2011-10-29 Chong Yidong <cyd@gnu.org>
6671
6672 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6673
6674 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6675
6676 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6677 forged Ispell output (Bug#7904).
6678
6679 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6680
6681 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * doc-view.el: Avoid ugly errors about not finding nil.
6684 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6685 (doc-view-dvipdf-program, doc-view-unoconv-program)
6686 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6687 Avoid nil or absolute file name as default value.
6688 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6689
6690 2011-10-28 Alan Mackenzie <acm@muc.de>
6691
6692 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6693
6694 2011-10-28 Alan Mackenzie <acm@muc.de>
6695
6696 Amend the handling of c-beginning/end-of-defun in nested declaration
6697 scopes.
6698
6699 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6700 cc-langs.el. Change it to a defcustom.
6701
6702 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6703 cc-vars.el.
6704
6705 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6706 Prevent "class foo : bar" being spuriously recognized as a label.
6707
6708 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6709 Add parameter `inclusive' (to include enclosing braces in the region).
6710 (c-widen-to-enclosing-decl-scope): New function.
6711 (c-while-widening-to-decl-block): New macro.
6712 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6713 outward for defun boundaries, and correspondingly change symbol
6714 `respect-enclosure' to `go-outward'.
6715 (c-declaration-limits): Change algorithm to report only the "innermost"
6716 defun's boundaries.
6717
6718 2011-10-28 Deniz Dogan <deniz@dogan.se>
6719
6720 * net/rcirc.el (rcirc-mode): Use hard newlines.
6721
6722 2011-10-28 Alan Mackenzie <acm@muc.de>
6723
6724 Amend to indent and fontify macros "which include their own semicolon"
6725 correctly, using the "virtual semicolon" mechanism.
6726
6727 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6728
6729 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6730 Recode to scan one line at a time rather than having \n and \r
6731 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6732 (c-forward-label): Amend for virtual semicolons.
6733 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6734
6735 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6736 of the new C macros.
6737
6738 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6739 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6740 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6741 (c-opt-cpp-macro-define): Make into a full language variable.
6742 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6743 AWK Mode (including \n, \r) removed, no longer needed.
6744
6745 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6746 Invoke c-make-macro-with-semi-re.
6747
6748 * progmodes/cc-vars.el (c-macro-with-semi-re):
6749 (c-macro-names-with-semicolon): New variables.
6750 (c-make-macro-with-semi-re): New function.
6751
6752 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * vc/log-edit.el: Fill empty field rather than adding new one.
6755 (log-edit-add-field): New function.
6756 (log-edit-insert-changelog): Use it.
6757
6758 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6759
6760 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6761
6762 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6763
6764 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6765 (gdb--check-interpreter): New function.
6766 (gdb): Use it.
6767
6768 2011-10-27 Glenn Morris <rgm@gnu.org>
6769
6770 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6771 (least-positive-float, least-negative-float)
6772 (least-positive-normalized-float, least-negative-normalized-float)
6773 (float-epsilon, float-negative-epsilon):
6774 Remove unnecessary declarations.
6775
6776 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6777 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6778 (least-positive-float, least-negative-float)
6779 (least-positive-normalized-float, least-negative-normalized-float)
6780 (float-epsilon, float-negative-epsilon): Add doc-strings,
6781 based on those in cl.texi.
6782
6783 * files.el (set-visited-file-name): If the major-mode changed,
6784 reload the local variables. (Bug#9796)
6785
6786 2011-10-27 Chong Yidong <cyd@gnu.org>
6787
6788 * subr.el (change-major-mode-after-body-hook): New hook.
6789 (run-mode-hooks): Run it.
6790
6791 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6792 Use change-major-mode-before-body-hook.
6793
6794 * simple.el (fundamental-mode):
6795 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6796 change introducing fundamental-mode-hook.
6797
6798 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6799
6800 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6801
6802 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6803
6804 * ido.el (ido-file-name-all-completions-1): Do not require
6805 tramp.el explicitly. (Bug#7583)
6806
6807 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6808
6809 * progmodes/octave-mod.el:
6810 * progmodes/octave-inf.el: Update maintainer.
6811
6812 2011-10-26 Chong Yidong <cyd@gnu.org>
6813
6814 * subr.el (with-wrapper-hook): Rewrite doc.
6815
6816 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6817
6818 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6819 filenames "/method:foo:". (Bug#9793)
6820
6821 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6822
6823 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6824 (bug#9865).
6825
6826 2011-10-24 Glenn Morris <rgm@gnu.org>
6827
6828 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6829
6830 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6831
6832 * notifications.el: Add the requirement of a running D-Bus session
6833 bus to the Commentary.
6834
6835 2011-10-24 Juri Linkov <juri@jurta.org>
6836
6837 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6838 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6839 (Bug#9364)
6840
6841 2011-10-24 Juri Linkov <juri@jurta.org>
6842
6843 * info.el (Info-following-node-name-re): Add newline to the list
6844 of allowed characters for leading space. (Bug#9824)
6845
6846 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 * progmodes/octave-inf.el (inferior-octave-mode-map):
6849 Fix C-c C-h binding.
6850 * progmodes/octave-mod.el (octave-help): Remove.
6851
6852 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6853
6854 Sync with Tramp 2.2.3.
6855
6856 * net/tramp-cache.el (top): Pacify byte-compiler using
6857 `init-file-user' and `site-run-file'.
6858
6859 * net/trampver.el: Update release number.
6860
6861 2011-10-23 Chong Yidong <cyd@gnu.org>
6862
6863 * files.el (toggle-read-only): Remove obsolete comment about
6864 version control.
6865
6866 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6867 for toggle-read-only. Note that this hasn't called vc-next-action
6868 since 2008-05-02, though it wasn't documented at the time.
6869
6870 * vc/ediff-init.el (ediff-toggle-read-only-function):
6871 Use toggle-read-only.
6872
6873 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6874
6875 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6876 of c-parse-state.
6877
6878 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6879 correct faulty logical expression.
6880 (c-parse-state-state, c-record-parse-state-state):
6881 (c-replay-parse-state-state): New defvar/defuns.
6882 (c-debug-parse-state): Use new functions.
6883
6884 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6885
6886 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6887 last fix. Use window-in-direction correctly.
6888
6889 2011-10-21 Chong Yidong <cyd@gnu.org>
6890
6891 * progmodes/idlwave.el (idlwave-mode):
6892 * progmodes/vera-mode.el (vera-mode): No need to set
6893 require-final-newline; that's done in prog-mode.
6894 Suggested by Stefan Monnier.
6895
6896 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6897
6898 * mouse.el (mouse-drag-window-above)
6899 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6900 (mouse-drag-mode-line-1, mouse-drag-header-line)
6901 (mouse-drag-vertical-line-rightward-window): Remove.
6902 (mouse-drag-line): New function.
6903 (mouse-drag-mode-line, mouse-drag-header-line)
6904 (mouse-drag-vertical-line): Call mouse-drag-line.
6905 * window.el (window-at-side-p, windows-at-side): New functions.
6906
6907 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6908
6909 * tar-mode.el (tar-grind-file-mode):
6910 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6911
6912 2011-10-21 Chong Yidong <cyd@gnu.org>
6913
6914 * progmodes/idlwave.el (idlwave-mode):
6915 * progmodes/vera-mode.el (vera-mode):
6916 Use mode-require-final-newline.
6917
6918 2011-10-20 Glenn Morris <rgm@gnu.org>
6919
6920 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6921
6922 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6923
6924 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6925
6926 2011-10-20 Chong Yidong <cyd@gnu.org>
6927
6928 * emulation/cua-base.el (cua-mode):
6929 * mail/footnote.el (footnote-mode):
6930 * mail/mailabbrev.el (mail-abbrevs-mode):
6931 * net/xesam.el (xesam-minor-mode):
6932 * progmodes/bug-reference.el (bug-reference-mode):
6933 * progmodes/cap-words.el (capitalized-words-mode):
6934 * progmodes/compile.el (compilation-minor-mode)
6935 (compilation-shell-minor-mode):
6936 * progmodes/gud.el (gud-tooltip-mode):
6937 * progmodes/hideif.el (hide-ifdef-mode):
6938 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6939 * progmodes/subword.el (subword-mode):
6940 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6941 * progmodes/which-func.el (which-function-mode):
6942 * term/tvi970.el (tvi970-set-keypad-mode):
6943 * term/vt100.el (vt100-wide-mode):
6944 * textmodes/flyspell.el (flyspell-mode):
6945 * textmodes/ispell.el (ispell-minor-mode):
6946 * textmodes/nroff-mode.el (nroff-electric-mode):
6947 * textmodes/paragraphs.el (use-hard-newlines):
6948 * textmodes/refill.el (refill-mode):
6949 * textmodes/reftex.el (reftex-mode):
6950 * textmodes/rst.el (rst-minor-mode):
6951 * textmodes/sgml-mode.el (html-autoview-mode)
6952 (sgml-electric-tag-pair-mode):
6953 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6954 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6955 * emulation/crisp.el (crisp-mode):
6956 * emacs-lisp/eldoc.el (eldoc-mode):
6957 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6958 minor mode behavior.
6959
6960 2011-10-19 Juri Linkov <juri@jurta.org>
6961
6962 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6963 the list of hard-coded chars with escape-glyph face.
6964
6965 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6968
6969 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6970
6971 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6972 running process.
6973
6974 2011-10-19 Glenn Morris <rgm@gnu.org>
6975
6976 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6977 Ignore ignored files. (Bug#9726)
6978
6979 2011-10-19 Chong Yidong <cyd@gnu.org>
6980
6981 Doc fix for minor modes, stating that an omitted argument enables
6982 the mode unconditionally when called from Lisp.
6983
6984 * abbrev.el (abbrev-mode):
6985 * allout.el (allout-mode):
6986 * autoinsert.el (auto-insert-mode):
6987 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6988 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6989 (global-auto-revert-mode):
6990 * battery.el (display-battery-mode):
6991 * composite.el (global-auto-composition-mode)
6992 (auto-composition-mode):
6993 * delsel.el (delete-selection-mode):
6994 * desktop.el (desktop-save-mode):
6995 * dired-x.el (dired-omit-mode):
6996 * dirtrack.el (dirtrack-mode):
6997 * doc-view.el (doc-view-minor-mode):
6998 * double.el (double-mode):
6999 * electric.el (electric-indent-mode, electric-pair-mode):
7000 * emacs-lock.el (emacs-lock-mode):
7001 * epa-hook.el (auto-encryption-mode):
7002 * follow.el (follow-mode):
7003 * font-core.el (font-lock-mode):
7004 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7005 * help.el (temp-buffer-resize-mode):
7006 * hilit-chg.el (highlight-changes-mode)
7007 (highlight-changes-visible-mode):
7008 * hi-lock.el (hi-lock-mode):
7009 * hl-line.el (hl-line-mode, global-hl-line-mode):
7010 * icomplete.el (icomplete-mode):
7011 * ido.el (ido-everywhere):
7012 * image-file.el (auto-image-file-mode):
7013 * image-mode.el (image-minor-mode):
7014 * iswitchb.el (iswitchb-mode):
7015 * jka-cmpr-hook.el (auto-compression-mode):
7016 * linum.el (linum-mode):
7017 * longlines.el (longlines-mode):
7018 * master.el (master-mode):
7019 * mb-depth.el (minibuffer-depth-indicate-mode):
7020 * menu-bar.el (menu-bar-mode):
7021 * minibuf-eldef.el (minibuffer-electric-default-mode):
7022 * mouse-sel.el (mouse-sel-mode):
7023 * msb.el (msb-mode):
7024 * mwheel.el (mouse-wheel-mode):
7025 * outline.el (outline-minor-mode):
7026 * paren.el (show-paren-mode):
7027 * recentf.el (recentf-mode):
7028 * reveal.el (reveal-mode, global-reveal-mode):
7029 * rfn-eshadow.el (file-name-shadow-mode):
7030 * ruler-mode.el (ruler-mode):
7031 * savehist.el (savehist-mode):
7032 * scroll-all.el (scroll-all-mode):
7033 * scroll-bar.el (scroll-bar-mode):
7034 * server.el (server-mode):
7035 * shell.el (shell-dirtrack-mode):
7036 * simple.el (auto-fill-mode, transient-mark-mode)
7037 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7038 (line-number-mode, column-number-mode, size-indication-mode)
7039 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7040 * strokes.el (strokes-mode):
7041 * time.el (display-time-mode):
7042 * t-mouse.el (gpm-mouse-mode):
7043 * tool-bar.el (tool-bar-mode):
7044 * tooltip.el (tooltip-mode):
7045 * type-break.el (type-break-mode-line-message-mode)
7046 (type-break-query-mode):
7047 * view.el (view-mode):
7048 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7049 (global-whitespace-mode, global-whitespace-newline-mode):
7050 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7051
7052 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7053 Fix autogenerated docstring.
7054
7055 2011-10-19 Juri Linkov <juri@jurta.org>
7056
7057 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7058 by checking environment variables "DESKTOP_SESSION" and
7059 "XDG_CURRENT_DESKTOP". (Bug#9779)
7060
7061 2011-10-19 Juri Linkov <juri@jurta.org>
7062
7063 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7064 (browse-url-chromium-program, browse-url-chromium-arguments):
7065 New defcustoms.
7066 (browse-url-default-browser): Check for `browse-url-chromium' and
7067 call `browse-url-chromium-program'.
7068 (browse-url-chromium): New command. (Bug#9779)
7069
7070 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7071
7072 * facemenu.el (list-colors-duplicates): On Windows, detect more
7073 duplicates by assuming that only colors matching "^System" are
7074 special "system colors". (Bug#9722)
7075
7076 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7077
7078 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7079 to distinguish the author from the committer.
7080
7081 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7082
7083 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7084
7085 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7086
7087 * international/mule.el (sgml-html-meta-auto-coding-function):
7088 Add support for detecting encoding in HTML5 specified only as
7089 <meta charset="UTF-8">. Implementation just makes http-equiv and
7090 content-type parts from HTML4 encoding string optional. (Bug#9716)
7091
7092 2011-10-18 Glenn Morris <rgm@gnu.org>
7093
7094 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7095
7096 2011-10-18 Chong Yidong <cyd@gnu.org>
7097
7098 * faces.el (cursor): Doc fix.
7099
7100 2011-10-17 Chong Yidong <cyd@gnu.org>
7101
7102 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7103
7104 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7105
7106 * dirtrack.el (dirtrack): Support shell buffers with path
7107 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7108
7109 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7110
7111 * json.el: Bump version to 1.3 and note change in History.
7112 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7113
7114 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * comint.el (comint-insert-input, comint-send-input)
7117 (comint-get-old-input-default, comint-backward-matching-input)
7118 (comint-next-prompt): Use nil instead of `input' for field property of
7119 past user input (bug#114).
7120
7121 * minibuffer.el (completion--replace): Inherit surrounding properties
7122 (bug#114).
7123 (minibuffer-complete-and-exit): Use it.
7124
7125 * comint.el (comint--table-subvert): Quote the all-completions output
7126 (bug#9160).
7127
7128 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7129
7130 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7131
7132 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7133 window on right of selected. (Bug#9350) Reword other window
7134 entries and separate them from frame entries.
7135
7136 2011-10-15 Glenn Morris <rgm@gnu.org>
7137
7138 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7139 Doc fixes.
7140
7141 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7142
7143 * net/network-stream.el (network-stream-open-starttls):
7144 Improve detection of failure due to lack of TLS support.
7145
7146 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7147 putting the input text in front and in bold.
7148
7149 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7150
7151 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7152
7153 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7154 empty buffer.
7155
7156 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7157 unread-command-events rather than pushing yet-another event.
7158
7159 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7160
7161 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7162 the explanation of the possible choices. Make the options passed
7163 to completing-read shorter.
7164
7165 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7166
7167 * textmodes/flyspell.el (flyspell-large-region): Make sure
7168 extended character mode is used if defined (Bug#1339).
7169
7170 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7171
7172 * simple.el (what-cursor-position): Fix the display of the
7173 character info for LRE, LRO, RLE, and RLO characters by appending
7174 an invisible PDF.
7175
7176 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7179 even in case of error; add debug spec; simplify data flow.
7180 (with-timeout-handler): Remove.
7181
7182 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7183
7184 Fix Bug#6019, Bug#9315.
7185
7186 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7187 complete `buffer-file-name', the local file name part could look
7188 remotely (for example on VMS).
7189
7190 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7191 `tramp-run-real-handler'.
7192 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7193 already quoted by '"'.
7194
7195 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7196 Let `file-name-handler-alist' be nil, the local file name part
7197 could look remotely (for example on VMS).
7198
7199 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7202 from here...
7203 (flyspell-post-command-hook): ...to here.
7204
7205 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7208 if not needed.
7209 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7210 using completion. Protect against "slow" callers.
7211 Remove the "message hack".
7212
7213 2011-10-11 Juri Linkov <juri@jurta.org>
7214
7215 * isearch.el (isearch-lazy-highlight-word): New variable.
7216 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7217 Use it. (Bug#9727)
7218
7219 2011-10-11 Glenn Morris <rgm@gnu.org>
7220
7221 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7222 like f90-previous-statement does.
7223
7224 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7225
7226 * eshell/eshell.el (eshell-command): History should be saved
7227 only in interactive use, to avoid error.
7228
7229 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * minibuffer.el (completion-file-name-table): Fix last change,
7232 i.e. ignore normal errors but not the other ones.
7233
7234 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7235
7236 * window.el (special-display-buffer-names)
7237 (special-display-regexps): Remove some remnants of earlier
7238 changes from doc-strings.
7239 (quit-windows-on): New function.
7240
7241 * vc/vc.el (vc-revert, vc-rollback):
7242 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7243 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7244 (Bug#6183) (Bug#7074) (Bug#7447)
7245
7246 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7247
7248 * window.el (frame-auto-hide-function): Add version tag.
7249 (Bug#9699)
7250
7251 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
7252
7253 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7254 condition.
7255
7256 2011-10-09 Leo Liu <sdl.web@gmail.com>
7257
7258 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7259 (Bug#9701)
7260
7261 2011-10-08 Glenn Morris <rgm@gnu.org>
7262
7263 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7264 before the first code statement zero indent. (Bug#9690)
7265
7266 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
7267
7268 * simple.el (count-words-region): Always count in the region.
7269 Report the number of lines and characters too.
7270 (count-words): New command, which counts in the buffer if the
7271 region is inactive, as count-words-region used to.
7272 (count-words--message): New function. Handle plurals.
7273 (count-lines-region): Make it an alias for count-words-region.
7274
7275 * bindings.el (esc-map): Replace count-lines-region with
7276 count-words-region.
7277
7278 2011-10-08 Martin Rudalics <rudalics@gmx.at>
7279
7280 * window.el (window--delete): Delete dedicated frame
7281 unconditionally when argument KILL is non-nil. (Bug#9699)
7282 (switch-to-buffer): Fix doc-string typo.
7283
7284 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7285
7286 * eshell/eshell.el (eshell-command): Avoid using hooks.
7287
7288 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7289
7290 * bindings.el ([M-left],[M-right]): Bind to left-word and
7291 right-word respectively.
7292
7293 2011-10-07 Glenn Morris <rgm@gnu.org>
7294
7295 * cus-start.el (debug-on-quit): Fix custom type.
7296
7297 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7298
7299 * subr.el (define-key-after): Clarify that the function is not
7300 useful for non-menu keymaps.
7301
7302 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7303
7304 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7305
7306 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7307 in current minibuffer (Fix bug with recursive minibuffers).
7308
7309 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7310
7311 * progmodes/gdb-mi.el (gdb): Doc fix.
7312
7313 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7314
7315 * window.el (frame-auto-hide-function): New option replacing
7316 frame-auto-delete. Suggested by Stefan Monnier.
7317 (window--delete): Call frame-auto-hide-function instead of
7318 investigating frame-auto-delete.
7319 (window-point-1, set-window-point-1): New functions.
7320 (window-in-direction, record-window-buffer, window-state-get-1)
7321 (display-buffer-record-window): Use window-point-1 instead of
7322 window-point.
7323 (set-window-buffer-start-and-point): Use set-window-point-1.
7324
7325 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7326
7327 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7328
7329 2011-10-05 Glenn Morris <rgm@gnu.org>
7330
7331 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7332 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7333
7334 2011-10-05 Leo Liu <sdl.web@gmail.com>
7335
7336 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7337 works with buffer object.
7338
7339 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7340
7341 * mpc.el (mpc-tool-bar-map): Add labels.
7342
7343 2011-10-04 Glenn Morris <rgm@gnu.org>
7344
7345 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7346
7347 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7348
7349 * window.el (window--delete): New function.
7350 (frame-auto-delete): Resuscitate option.
7351 (bury-buffer, replace-buffer-in-windows)
7352 (quit-window): Rewrite using window--delete.
7353 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7354 Pass display-buffer-mark-dedicated to window--display-buffer-2
7355 (Bug#9639).
7356
7357 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7358
7359 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7360 returns a list (bug#9554). Add remote file name completion.
7361 * comint.el (comint--table-subvert): Curry and get quote&unquote
7362 functions as arguments.
7363 (comint--complete-file-name-data): Adjust call accordingly.
7364 * pcomplete.el (pcomplete--table-subvert): Remove.
7365 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7366
7367 * minibuffer.el (completion-table-case-fold): Use currying.
7368 (completion--styles-type, completion--cycling-threshold-type):
7369 New constants.
7370 (completion-styles, completion-category-overrides)
7371 (completion-cycle-threshold): Use them.
7372 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7373 completion-table-case-fold.
7374
7375 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7376
7377 * minibuffer.el (completion-category-overrides): Fix type of styles
7378 and add more user friendly tags (bug#9660).
7379
7380 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7381
7382 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7383 (mule-input-method-string): New widget.
7384 (default-input-method, language-info-custom-alist): Use it.
7385
7386 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7387
7388 * pcomplete.el: Require comint.
7389 (pcomplete--common-suffix): Remove.
7390 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7391 (pcomplete--table-subvert): Sync with comint--table-subvert.
7392 (pcomplete--entries): Use comint-completion-file-name-table.
7393 * comint.el (comint-unquote-filename): Simplify.
7394 (comint-completion-file-name-table): New function (bug#9616).
7395 (comint--complete-file-name-data): Use it.
7396
7397 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7398 (pcmpl-gnu-tar-buffer): Remove.
7399 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7400 around. Make sure pcomplete-suffix-list is only changed temporarily.
7401 Don't look inside the tar's file if it's too large.
7402
7403 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7404
7405 * cus-edit.el (custom-mode-map):
7406 * epa.el (epa-key-list-mode-map):
7407 * man.el (Man-mode-map):
7408 * startup.el (splash-screen-keymap):
7409 * simple.el (special-mode-map): Use scroll-up-command and
7410 scroll-down-command.
7411
7412 * progmodes/idlw-help.el (idlwave-help-mode-map):
7413 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7414 * net/newst-plainview.el (newsticker-mode-map):
7415 * emulation/ws-mode.el (wordstar-mode-map):
7416 * emulation/vi.el (vi-com-map):
7417 * calc/calc-graph.el (calc-graph-show-dumb):
7418 * term/sun.el (terminal-init-sun):
7419 * term/ns-win.el (global-map):
7420 * progmodes/grep.el (grep-mode-map):
7421 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7422 * mail/rmail.el (rmail-mode-map):
7423 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7424
7425 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7426 custom-safe-themes as special.
7427
7428 2011-10-01 Julien Danjou <julien@danjou.info>
7429
7430 * notifications.el (notifications-notify): Fix docstring.
7431
7432 2011-10-01 Per Starbäck <per@starback.se>
7433
7434 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7435
7436 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7437
7438 * startup.el (command-line-1): Fix last fix by inserting
7439 initial-scratch-message into *scratch* before displaying it.
7440 (Bug#9605) and (Bug#9636)
7441
7442 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7443
7444 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7445 window is hscrolled, move by logical lines. (Bug#9607)
7446 (line-move-visual): Update the doc string to the above effect.
7447
7448 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7449
7450 * window.el (display-buffer-record-window): When WINDOW is the
7451 selected window use `point' instead of `window-point'. (Bug#9626)
7452
7453 * startup.el (command-line-1): Use insert-before-markers when
7454 inserting initial-scratch-message. (Bug#9605)
7455
7456 * help.el (help-window): Remove variable.
7457
7458 2011-09-29 Glenn Morris <rgm@gnu.org>
7459
7460 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7461
7462 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7463
7464 * descr-text.el (describe-char-categories): Accept category
7465 descriptions more than one line long.
7466
7467 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7468
7469 * simple.el (delete-trailing-whitespace): Fix last change.
7470
7471 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7472 Don't confuse "y => 3" as the beginning of a `y' operation.
7473
7474 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7475 object has more than 4 slots (bug#9613).
7476
7477 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7478
7479 * subr.el (with-output-to-temp-buffer):
7480 * net/quickurl.el (quickurl, quickurl-browse-url):
7481 Fix typos in docstrings.
7482
7483 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7484
7485 * minibuffer.el (completion-styles)
7486 (completion-category-overrides): Cross reference each other in doc
7487 strings.
7488
7489 2011-09-27 Glenn Morris <rgm@gnu.org>
7490
7491 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7492 to split-string. (Bug#9606)
7493
7494 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7495
7496 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7497 (bug#9615).
7498
7499 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7500
7501 * emacs-lisp/package.el (list-packages): Fix echo area message.
7502
7503 2011-09-27 Leo Liu <sdl.web@gmail.com>
7504
7505 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7506
7507 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7508
7509 * net/dbus.el (dbus-unregister-object): Don't release services for
7510 registered signals. (Bug#9581)
7511
7512 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7513
7514 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7515 function that picks between cfengine 2 and 3 support
7516 automatically. Update docs accordingly.
7517
7518 2011-09-22 Kenichi Handa <handa@m17n.org>
7519
7520 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7521 ZERO.
7522 (indian-itrans-v5-table-for-tamil): New variable.
7523 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7524
7525 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7526
7527 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7528 that's true if the current command involved collapsing of text.
7529 It's reset to false at the beginning of the next command.
7530 (allout-post-command-business): Move the cursor to the beginning
7531 of entry if the cursor is hidden and collapsing activity just
7532 happened.
7533
7534 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7535
7536 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7537 tracking (Bug#9541).
7538
7539 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7540
7541 * net/newst-reader.el (newsticker-html-renderer)
7542 (newsticker-show-news): Automatically load html rendering package
7543 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7544 because w3m-fill-column is let-bound" and the error "Symbol's value
7545 as variable is void: w3m-fill-column".
7546
7547 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7548
7549 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7550 Release services only if they are defined. (Bug#9581)
7551
7552 2011-09-23 Richard Stallman <rms@gnu.org>
7553
7554 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7555 distinguish start of paragraph from start of its text.
7556
7557 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7558
7559 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7560 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7561 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7562
7563 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7564
7565 * international/mule-diag.el (mule-diag): Insert a newline after
7566 each fontset description.
7567
7568 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7569
7570 * simple.el (delete-trailing-whitespace):
7571 Document last change; simplify.
7572
7573 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7574
7575 * simple.el (delete-trailing-whitespace): Also delete
7576 extra newlines at the end of the buffer.
7577
7578 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7579 (picture-newline): Use forward-line so as to ignore fields.
7580
7581 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * subr.el (with-wrapper-hook): Fix edebug spec.
7584
7585 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7586
7587 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7588 (bug#4538).
7589
7590 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7591
7592 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7593 Fix nasty bug using wrong cached values.
7594
7595 2011-09-23 Alan Mackenzie <acm@muc.de>
7596
7597 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7598
7599 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7600
7601 * window.el (pop-to-buffer): Ensure right window is selected if we
7602 chose another frame.
7603
7604 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7605
7606 * simple.el (what-cursor-position): Use get-char-property-change
7607 and next-single-char-property-change, to be able to show display
7608 properties that come from overlays as well as text properties.
7609
7610 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7611
7612 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7613
7614 * cmuscheme.el (run-scheme, switch-to-scheme):
7615 * cus-edit.el (customize-group, custom-buffer-create)
7616 (customize-browse):
7617 * info.el (info):
7618 * shell.el (shell):
7619 * mail/sendmail.el (mail):
7620 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7621
7622 2011-09-22 Richard Stallman <rms@gnu.org>
7623
7624 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7625 move back only to line beg, don't move back over blank lines.
7626
7627 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7628
7629 * files.el (copy-directory): Set directory attributes only in case
7630 they could be retrieved from the source directory. (Bug#9565)
7631
7632 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7633
7634 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7635 (hs-find-block-beginning, hs-hide-level-recursive):
7636 Ignore strings as well as comments. (Bug#9502)
7637
7638 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7639
7640 * progmodes/sql.el (sql-comint-postgres):
7641 Convert port number to a string. (Bug#9566)
7642
7643 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7644
7645 * window.el (quit-window): Undedicate window when switching to
7646 previous buffer. Reported by Thierry Volpiatto
7647 <thierry.volpiatto@gmail.com>.
7648 (special-display-popup-frame): When popping up a new frame reset
7649 its previous buffers to nil. Simplify code.
7650
7651 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7652
7653 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7654 and process filter, as done also in `shell-command'.
7655
7656 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7657
7658 * window.el (set-window-buffer-start-and-point):
7659 Call set-window-start with NOFORCE argument t.
7660 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7661 (quit-window): Reword doc-string. Handle new format of
7662 quit-restore parameter. Don't delete window if it has a
7663 previous buffer we can show instead of the present one.
7664 (display-buffer-record-window): Rewrite using a new format for
7665 the quit-restore window parameter
7666 (special-display-popup-frame, display-buffer-same-window)
7667 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7668 (display-buffer-pop-up-window, display-buffer-use-some-window):
7669 Adapt symbol passed to display-buffer-record-window.
7670 * help.el (help-window-setup): Handle new format of quit-restore
7671 parameter.
7672
7673 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7674
7675 * faces.el (face-list): Fix docstring (bug#9564).
7676
7677 * window.el (display-buffer--action-function-custom-type):
7678 Don't include internal functions in the Custom interface.
7679
7680 2011-09-20 Juri Linkov <juri@jurta.org>
7681
7682 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7683 (Info-forward-node, Info-backward-node, Info-next-preorder)
7684 (Info-last-preorder): Use it. (Bug#9528)
7685
7686 2011-09-20 Juri Linkov <juri@jurta.org>
7687
7688 * info.el (Info-last-preorder): Visit last menu item only when
7689 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7690
7691 2011-09-20 Julien Danjou <julien@danjou.info>
7692
7693 * password-cache.el (password-cache-remove): Remove entries even if the
7694 value is nil, so that password with a nil value (negative caching) is
7695 possible to invalidate.
7696
7697 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7698
7699 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7700 all whitespace around breakpoint. (Bug#9553)
7701 (f90-find-breakpoint): Only break at whitespace inside a comment.
7702
7703 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7704
7705 * minibuffer.el (completion-file-name-table): Keep track of errors.
7706 (completion-table-with-predicate): Handle the case where pred1 is nil.
7707 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7708
7709 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7712 (debugger-return-value): Signal an error if the debugging context does
7713 not await any return value.
7714
7715 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7716 * image-mode.el (image-toggle-display-text)
7717 (image-toggle-display-image): Stay away from evil `intangible'.
7718
7719 2011-09-19 Leo Liu <sdl.web@gmail.com>
7720
7721 * replace.el (occur-revert-arguments): Make it permanent-local.
7722 (occur-mode): Don't call font-lock-defontify.
7723
7724 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7725
7726 * net/ldap.el (ldap-search-internal): Don't push empty search
7727 result (Bug#9508).
7728
7729 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7732
7733 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7734
7735 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7736 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7737
7738 2011-09-18 Juri Linkov <juri@jurta.org>
7739
7740 * buff-menu.el (Buffer-menu-mode-map):
7741 * dired.el (dired-mode-map):
7742 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7743 (lisp-interaction-mode-map):
7744 * emacs-lisp/package.el (package-menu-mode-map):
7745 * epa.el (epa-key-list-mode-map):
7746 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7747 (menu-bar-options-menu):
7748 * outline.el (outline-mode-menu-bar-map):
7749 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7750 * vc/vc-dir.el (vc-dir-menu-map):
7751 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7752 Capitalize non-function content words in menu item strings.
7753
7754 * dired.el (dired-mode-map): Add menu item for
7755 `image-dired-dired-toggle-marked-thumbs'.
7756
7757 2011-09-18 Juri Linkov <juri@jurta.org>
7758
7759 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7760 to `isearch-case-fold-search' and restore its original value
7761 after the `isearch-mode' call.
7762
7763 2011-09-18 Juri Linkov <juri@jurta.org>
7764
7765 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7766 because `zgrep' returns 1 for successful matches (bug#9226).
7767
7768 2011-09-18 Juri Linkov <juri@jurta.org>
7769
7770 * info.el (Info-extract-menu-node-name): Check the second match
7771 for empty string (second test-case of bug#9528).
7772 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7773 intermediate nodes to the history (first test-case of bug#9528).
7774
7775 2011-09-18 Juri Linkov <juri@jurta.org>
7776
7777 * info.el (Info-mode-syntax-table): New variable.
7778 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7779
7780 2011-09-18 Juri Linkov <juri@jurta.org>
7781
7782 * info.el (Info-file-supports-index-cookies):
7783 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7784 outputs one more line for long file names (bug#4142).
7785
7786 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7787
7788 * newcomment.el (comment-normalize-vars): If prompting for
7789 comment-start, set comment-start-skip too (Bug#8424).
7790
7791 2011-09-18 Johan Bockgård <bojohan@gnu.org>
7792
7793 * icomplete.el: Fix previous fix of Bug#5849.
7794 (icomplete-mode): Don't set completion-show-inline-help.
7795 (icomplete-minibuffer-setup): Set completion-show-inline-help
7796 locally during icompletion.
7797
7798 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7799
7800 * woman.el (woman2-process-escapes): Don't delete unrecognized
7801 escapes (Bug#7843).
7802
7803 * files.el (inhibit-first-line-modes-regexps): Add image files.
7804 (hack-local-variables-prop-line): Return nil for malformed
7805 prop-lines (Bug#9044).
7806
7807 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7808
7809 * net/tramp.el (top): Don't require 'shell.
7810 (tramp-methods): Fix docstring.
7811 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7812 Return complete remote file name. Handle "smb" case.
7813 Use `tramp-tmpdir', if defined for the respective method.
7814 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7815
7816 * net/tramp-compat.el (top): Require 'shell.
7817
7818 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7819 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7820 `tramp-current-host'.
7821 (tramp-get-remote-tmpdir): Remove.
7822
7823 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7824 `tramp-tmpdir' entries.
7825 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7826 (tramp-smb-handle-file-attributes): Ignore errors.
7827 (tramp-smb-wait-for-output): Check also for process end.
7828
7829 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7830
7831 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7832 when sending QUIT (bug#9312).
7833
7834 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7835
7836 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7837 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7838 occur-mode-display-occurrence.
7839 (occur-edit-mode): Add usage message.
7840 (occur-cease-edit): New command.
7841 (occur-after-change-function): Use text properties to find the
7842 position of the prefix text.
7843 (occur-engine): Set stickiness of prefix text properties.
7844
7845 2011-09-17 Glenn Morris <rgm@gnu.org>
7846
7847 * progmodes/etags.el (complete-tag):
7848 Fix call to completion-in-region. (Bug#9526)
7849
7850 2011-09-17 Juri Linkov <juri@jurta.org>
7851
7852 * textmodes/ispell.el (ispell-word): Add to the error message
7853 the word, ispell program name and current dictionary (bug#9121).
7854 (ispell-tex-arg-end): Capitalize "error" in the error message.
7855
7856 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7857
7858 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7859 check. (Bug#4251)
7860
7861 2011-09-17 Juri Linkov <juri@jurta.org>
7862
7863 * window.el (window-safe-min-height, window-safe-min-width):
7864 Fix typos (followup to bug#9522).
7865
7866 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7867
7868 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7869
7870 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7871
7872 * simple.el (line-move): If goal-column is set, move by logical
7873 lines, not by display lines. (Bug#971)
7874 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7875 to reflect the above change.
7876
7877 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7878
7879 * image.el (imagemagick-register-types): Use regexp-opt.
7880
7881 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7882
7883 * window.el (display-buffer-base-action): Rename from
7884 display-buffer-default-action. Make default value empty.
7885 (display-buffer-overriding-action): Convert to defvar.
7886 (display-buffer-fallback-action): New var.
7887
7888 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7889
7890 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7891 declaration.
7892 (package--add-to-archive-contents): If there is a duplicate entry
7893 with an older version, remove it.
7894 (package-menu-mark-delete, package-menu-mark-install)
7895 (package-menu-mark-unmark): Make unused args optional.
7896 (package-menu-mark-obsolete-for-deletion):
7897 Use package-menu-get-status instead of a regexp search.
7898 (package-menu-get-status): Use tabulated-list-entry.
7899 (package-menu-mark-upgrades): New command.
7900 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7901 (package-menu-execute): Do installation before deletion.
7902 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7903 instead of checking major-mode.
7904 (package-menu--find-upgrades): New function.
7905
7906 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7907
7908 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7909 passwords in the log buffer.
7910 (smtpmail-process-filter): Update the process marker so that the
7911 "broken by peer" status message is inserted in the right place.
7912
7913 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7914
7915 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7916 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7917 bibtex-completion-at-point-function.
7918 (bibtex-completion-at-point-function): Use them.
7919
7920 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7921
7922 * mpc.el (mpc-constraints-tag-lookup): New function.
7923 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7924 also to browser "album|playlist".
7925
7926 2011-09-14 Juri Linkov <juri@jurta.org>
7927
7928 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7929 (isearch-edit-string): Use length of `isearch-string' when
7930 `isearch-fail-pos' returns nil.
7931 (isearch-message): Remove duplicate code and call
7932 `isearch-fail-pos' with arg `t'.
7933
7934 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7935
7936 * replace.el (occur-mode-goto-occurrence): Don't force using other
7937 window (Bug#9499).
7938
7939 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7940
7941 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7942
7943 * window.el (display-buffer-window): Remove.
7944 (display-buffer-record-window): Use help-setup window parameter
7945 instead of variable display-buffer-window.
7946 (display-buffer-function, special-display-buffer-names)
7947 (special-display-function): Mention help-setup parameter instead
7948 of display-buffer-window in doc-string.
7949 * help.el (help-window-setup): New argument help-window.
7950 Use help-window-setup parameter instead of display-buffer-window.
7951 Reword some messages.
7952 (with-help-window): Pass window used for displaying the buffer
7953 to help-window-setup. Don't set display-buffer-window.
7954
7955 2011-09-13 Glenn Morris <rgm@gnu.org>
7956
7957 * emacs-lisp/debug.el (debugger-make-xrefs):
7958 Preserve point. (Bug#9462)
7959
7960 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7961
7962 * window.el (window-deletable-p): Use next-frame.
7963
7964 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7965
7966 * window.el (window-auto-delete): Remove.
7967 (window-deletable-p): Remove argument FORCE. Don't deal with
7968 dedication and previous buffers.
7969 (switch-to-prev-buffer): Don't delete window.
7970 (delete-windows-on): Delete a window's frame if and only if the
7971 window is dedicated.
7972 (replace-buffer-in-windows): Delete buffer's window or frame if
7973 and only if window is dedicated.
7974 (quit-window): Handle quit-restore as before last change.
7975 (bury-buffer): Delete window only if window-deletable-p returns t.
7976
7977 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7978
7979 * window.el (window-deletable-p): Never delete the last frame on a
7980 given terminal.
7981
7982 2011-09-13 Glenn Morris <rgm@gnu.org>
7983
7984 * help.el (describe-key-briefly): Copy previous standard-output change.
7985
7986 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7987
7988 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7989
7990 2011-09-13 Glenn Morris <rgm@gnu.org>
7991
7992 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7993 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7994
7995 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7996
7997 * dired-aux.el (dired-mark-read-string): Don't return default
7998 value on empty input (Bug#9361).
7999 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8000 Omit initial minibuffer contents.
8001 (dired-do-chmod): Signal an error on empty input.
8002 (dired-mark-read-string): Don't return default on empty input.
8003
8004 * files.el (file-modes-symbolic-to-number): Doc fix.
8005
8006 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * international/mule-cmds.el (ucs-completions): Remove.
8009 (read-char-by-name): Use complete-with-action instead; add metadata.
8010
8011 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8012
8013 * window.el (display-buffer--action-function-custom-type)
8014 (display-buffer--action-custom-type): New vars.
8015 (display-buffer-alist, display-buffer-default-action)
8016 (display-buffer-overriding-action): Add defcustom types.
8017
8018 * frame.el (delete-other-frames): Doc fix (Bug#276).
8019
8020 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8021
8022 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8023
8024 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8025
8026 Change modes that used same-window-* vars to use switch-to-buffer.
8027
8028 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8029 Use switch-to-buffer.
8030
8031 * cus-edit.el (customize-group, custom-buffer-create)
8032 (customize-browse, custom-buffer-create-other-window):
8033 Use switch-to-buffer or switch-to-buffer-other-window.
8034
8035 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8036 (Info-prev, Info-up, Info-speedbar-goto-node)
8037 (info-display-manual): Use switch-to-buffer.
8038 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8039
8040 * mail/sendmail.el (mail): Use switch-to-buffer.
8041 (mail-recover): Use switch-to-buffer-other-window.
8042
8043 * cmuscheme.el (run-scheme, switch-to-scheme):
8044 * ielm.el (ielm):
8045 * shell.el (shell):
8046 * net/rlogin.el (rlogin):
8047 * net/telnet.el (telnet, rsh):
8048 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8049
8050 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8051
8052 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8053
8054 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8055
8056 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8057 so don't mention it (bug#9301).
8058 (dired-sort-toggle-or-edit): Clarify string further.
8059
8060 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8061 match `x', `w32' and `ns', like the manual says (bug#9029).
8062
8063 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8064 (process-kill-buffer-query-function): Mention the buffer name in
8065 the query.
8066
8067 * image-mode.el (image-next-line): The line parameter is mandatory
8068 (bug#9258).
8069
8070 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8071 which can be useful (bug#9301).
8072
8073 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8074
8075 * subr.el (match-string): Mention that the current buffer should
8076 be the same as the search was done in (bug#9282).
8077
8078 * facemenu.el: Disable the remove-* commands if the mark isn't
8079 active (bug#9162).
8080
8081 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8082
8083 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8084 of display-buffer.
8085 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8086
8087 * replace.el (occur-mode-goto-occurrence)
8088 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8089 and display-buffer.
8090
8091 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8092 display-buffer.
8093
8094 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8095 special-display and same-window variables.
8096 (mail-other-window): Use switch-to-buffer-other-window.
8097 (mail-other-frame): USe switch-to-buffer-other-frame.
8098
8099 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8100 Use display-buffer-other-frame.
8101 (gdb-display-gdb-buffer): Use pop-to-buffer.
8102
8103 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8104
8105 * progmodes/python.el: Don't set same-window-buffer-names.
8106
8107 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8108
8109 * window.el (display-buffer-alist): Add *Python*.
8110
8111 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8112
8113 * window.el (display-buffer-alist): Add entry for buffers
8114 previously handled same-window-*.
8115 (display-buffer-alist, display-buffer-default-action)
8116 (display-buffer-overriding-action): Mark as risky.
8117 (display-buffer-alist): Document action function changes.
8118 (display-buffer--same-window-action)
8119 (display-buffer--other-frame-action): New variables.
8120 (switch-to-buffer, display-buffer-other-frame): Use them.
8121 (display-buffer): Rename reuse-frame entry to reusable-frames.
8122 (display-buffer-reuse-selected-window): Function deleted.
8123 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8124 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8125 (display-buffer-special): New function.
8126 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8127 display-buffer-reuse-or-pop-window. Split off special-display
8128 part into display-buffer-special.
8129 (display-buffer-use-some-window): Don't perform any special
8130 pop-up-frames handling.
8131 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8132 (display-buffer--maybe-same-window): Rename from
8133 display-buffer-maybe-same-window.
8134
8135 * info.el: Don't set same-window-regexps.
8136 (info-setup): New function.
8137 (info-other-window, info): Call it.
8138
8139 * cus-edit.el: Don't set same-window-regexps.
8140 (customize-group): New argument.
8141 (customize-group-other-window): Use it.
8142 (customize-face, customize-face-other-window): Likewise.
8143 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8144
8145 * net/rlogin.el:
8146 * net/telnet.el:
8147 * progmodes/gud.el: Don't set same-window-regexps.
8148
8149 * cmuscheme.el:
8150 * ielm.el:
8151 * shell.el:
8152 * mail/sendmail.el:
8153 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8154
8155 2011-09-10 Juri Linkov <juri@jurta.org>
8156
8157 * isearch.el (isearch-edit-string): Remove obsolete mention of
8158 `C-w' (`isearch-yank-word-or-char') from docstring.
8159 (isearch-query-replace): Fix typo in docstring (bug#9466).
8160
8161 2011-09-10 Juri Linkov <juri@jurta.org>
8162
8163 * paren.el (show-paren-function): Don't show escaped parens.
8164 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8165
8166 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8167
8168 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8169 (mm-default-file-encoding): Remove autoload forms, they are
8170 replaced with autoload cookies in mml.el and mm-encode.el.
8171 (mail-add-attachment): New command.
8172 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8173 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8174 the doc string.
8175 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8176
8177 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8178
8179 * simple.el (count-words-region): Use buffer if there's no region
8180 (bug#9429).
8181
8182 2011-09-09 Juri Linkov <juri@jurta.org>
8183
8184 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8185 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8186 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8187
8188 2011-09-09 Alan Mackenzie <acm@muc.de>
8189
8190 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8191 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8192
8193 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8194
8195 Fix for Savannah bug#9392.
8196 * simple.el (mail-encode-mml): New defvar.
8197
8198 * mail/rmail.el (mail-encode-mml): Add a defvar.
8199 (rmail-enable-mime-composing): Default to t.
8200 (rmail-forward): Use MIME method of forwarding only if both
8201 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8202 Set mail-encode-mml non-nil if the MIME method was used.
8203
8204 * mail/sendmail.el (mml-to-mime): Add autoload form.
8205 (mail-encode-mml): Add a defvar.
8206 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8207 to nil.
8208 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8209 message through mml-to-mime, and reset mail-encode-mml to nil.
8210
8211 2011-09-09 Glenn Morris <rgm@gnu.org>
8212
8213 * woman.el (woman-if-body): When processing an .el block,
8214 do not delete the next .el block as well. (Bug#9447)
8215 (woman-special-characters): Add oq, cq, and hy characters.
8216
8217 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8218
8219 * window.el (window-deletable-p): Make sure window is live before
8220 invoking window-prev-buffers.
8221
8222 2011-09-08 Leo Liu <sdl.web@gmail.com>
8223
8224 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8225
8226 2011-09-08 Juri Linkov <juri@jurta.org>
8227
8228 * progmodes/compile.el (compilation-environment): Make it
8229 a defcustom (bug#8340).
8230
8231 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8232
8233 * window.el (frame-auto-delete): Rename to window-auto-delete.
8234 Make it control auto-deletion of windows and/or frames.
8235 (window-deletable-p): New argument FORCE. Rewrite conditions
8236 for deleting window/frame. (Bug#9419)
8237 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8238 Rewrite handling of case when window/frame can be deleted.
8239 (delete-windows-on): Call window-deletable-p with new FORCE
8240 argument t. (Bug#9456)
8241
8242 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8243
8244 * help-mode.el (help-mode): Restore autoload.
8245
8246 2011-09-07 Juri Linkov <juri@jurta.org>
8247
8248 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8249 `compilation-environment'. Set buffer-local
8250 `compilation-environment' to `thisenv' later after (funcall mode).
8251 (Bug#8340)
8252
8253 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8254 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8255 instead of replacing its value. (Bug#8340)
8256
8257 2011-09-07 Juri Linkov <juri@jurta.org>
8258
8259 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8260 based on text properties put by `grep-filter' instead of matching
8261 escape sequences.
8262 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8263 to the value of `grep-error-screen-columns' (bug#9438).
8264
8265 2011-09-07 Juri Linkov <juri@jurta.org>
8266
8267 * simple.el (next-error-highlight, next-error-highlight-no-select):
8268 Doc fix (bug#9432).
8269
8270 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8271
8272 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8273 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8274
8275 2011-09-07 Leo Liu <sdl.web@gmail.com>
8276
8277 * net/rcirc.el (rcirc-mode): Conditionally initialize
8278 rcirc-input-ring.
8279
8280 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8281
8282 * emacs-lisp/find-func.el (find-function-C-source): Only set
8283 find-function-C-source-directory after checking that we found a source
8284 file there (bug#9440).
8285
8286 2011-09-06 Alan Mackenzie <acm@muc.de>
8287
8288 * isearch.el (isearch-other-meta-char): Wherever a key list is
8289 unread, "unread" the prefix arg, too. This fixes bug #8901.
8290
8291 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8292
8293 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8294
8295 2011-09-05 Juri Linkov <juri@jurta.org>
8296
8297 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8298
8299 2011-09-05 Juri Linkov <juri@jurta.org>
8300
8301 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8302 keeping point where processing of grep matches begins, and
8303 continue to delete remaining escape sequences from the same point.
8304 (grep-filter): Make leading zero optional in "0?1;31m" because
8305 git-grep emits "\033[1;31m" escape sequences unlike expected
8306 "\033[01;31m" as GNU Grep does (bug#9408).
8307 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8308
8309 2011-09-05 Juri Linkov <juri@jurta.org>
8310
8311 * subr.el (y-or-n-p): Capitalize "yes".
8312
8313 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8314
8315 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8316 `tramp-cache-unload-hook' where appropriate.
8317 (tramp-methods): Rename `tramp-remote-sh' to
8318 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8319 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8320
8321 * net/tramp-sh.el (top): Don't require 'shell.
8322 (tramp-methods): Add `tramp-remote-shell' and
8323 `tramp-remote-shell-args' entries.
8324 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8325 (tramp-sh-handle-shell-command): Remove.
8326 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8327 Use `tramp-remote-shell'.
8328
8329 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8330
8331 * mail/sendmail.el (sendmail-query-once-function): Delete.
8332 (sendmail-query-once): Save directly to send-mail-function.
8333 Update message-send-mail-function too.
8334
8335 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8336
8337 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8338
8339 * progmodes/python.el (python-mode-map): Use correct function to
8340 start python interpreter from menu-bar (as reported by Geert
8341 Kloosterman).
8342 (inferior-python-mode-map): Fix typo.
8343 (python-shell-map): Remove.
8344
8345 2011-09-03 Deniz Dogan <deniz@dogan.se>
8346
8347 * net/rcirc.el (rcirc-print): Simplify code for
8348 rcirc-scroll-show-maximum-output. There is no need to walk
8349 through all windows to find the right one.
8350
8351 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8352
8353 * help.el (help-return-method): Doc fix.
8354
8355 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8356
8357 * window.el (window-deletable-p): Don't return a non-nil value
8358 when there's a buffer that was shown in the window before.
8359 (Bug#9419)
8360 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8361 Set window's previous buffers to nil.
8362
8363 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8364
8365 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8366 newline before and after the tag line, so it doesn't interfere
8367 with determining the paragraph direction of bidirectional text.
8368
8369 2011-09-03 Leo Liu <sdl.web@gmail.com>
8370
8371 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8372
8373 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8374
8375 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8376 (pop-to-buffer): Change interactive spec. Pass second argument
8377 directly to display-buffer.
8378 (display-buffer): Fix interactive spec. Use functionp to
8379 distinguish between a function and a list of functions.
8380
8381 * abbrev.el (edit-abbrevs):
8382 * arc-mode.el (archive-extract):
8383 * autoinsert.el (auto-insert):
8384 * bookmark.el (bookmark-bmenu-list):
8385 * files.el (find-file):
8386 * view.el (view-buffer):
8387 * progmodes/compile.el (compilation-goto-locus):
8388 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8389
8390 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8391
8392 * window.el (display-buffer-alist): Doc fix.
8393 (display-buffer): Add docstring. Don't treat
8394 display-buffer-default specially.
8395 (display-buffer-reuse-selected-window)
8396 (display-buffer-same-window, display-buffer-maybe-same-window)
8397 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8398 (display-buffer-pop-up-window)
8399 (display-buffer-reuse-or-pop-window)
8400 (display-buffer-use-some-window): New functions.
8401 (display-buffer-default-action): Use them.
8402 (display-buffer-default): Delete.
8403 (pop-to-buffer-1): Fix choice of actions.
8404
8405 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8406
8407 * minibuffer.el (completion--insert-strings): Don't get confused by
8408 completion entries that end with an LF char.
8409
8410 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8411
8412 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8413
8414 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8415
8416 * window.el (display-buffer): Restore interactive spec.
8417 (display-buffer-same-window, display-buffer-other-window):
8418 New functions.
8419 (pop-to-buffer-1): New function. Use the above.
8420 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8421 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8422
8423 * view.el (view-buffer-other-window, view-buffer-other-frame):
8424 Just use pop-to-buffer.
8425
8426 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8427
8428 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8429
8430 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8431
8432 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8433
8434 2011-08-31 Richard Stallman <rms@gnu.org>
8435
8436 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8437 of the separation of rmail-view-buffer from rmail-buffer.
8438 If you say no to "replace original", the decrypt is in the
8439 view buffer. If you say yes, the decrypt goes into the
8440 rmail buffer also.
8441
8442 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8443
8444 * window.el (display-buffer-window): Rewrite doc-string.
8445 (display-buffer-record-window): New function.
8446 (display-buffer-macro-specifiers)
8447 (display-buffer-even-window-sizes, display-buffer-set-height)
8448 (display-buffer-set-width, display-buffer-in-window)
8449 (display-buffer-reuse-window, display-buffer-split-specifiers)
8450 (display-buffer-side-specifiers, display-buffer-split-window-1)
8451 (display-buffer-split-window, display-buffer-split-atom-window)
8452 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8453 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8454 (display-buffer-other-window-means-other-frame)
8455 (display-buffer-normalize-special)
8456 (display-buffer-normalize-default)
8457 (display-buffer-normalize-argument)
8458 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8459 (display-buffer-normalize-specifiers, display-buffer-frame)
8460 (display-buffer-same-window, display-buffer-same-frame)
8461 (display-buffer-other-window)
8462 (display-buffer-same-frame-other-window)
8463 (display-buffer-other-frame, pop-to-buffer-same-window)
8464 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8465 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8466 (switch-to-buffer-same-frame)
8467 (switch-to-buffer-other-window-same-frame)
8468 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8469 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8470 (display-buffer-alist-set): Remove.
8471 (display-buffer-function, special-display-buffer-names)
8472 (special-display-regexps, special-display-function):
8473 In doc-string refer to display-buffer-window and quit-restore
8474 parameter.
8475 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8476 (special-display-frame-alist, special-display-popup-frame)
8477 (same-window-buffer-names, same-window-regexps, same-window-p)
8478 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8479 (split-window-preferred-function, split-height-threshold)
8480 (split-width-threshold, window-splittable-p)
8481 (split-window-sensibly, window--try-to-split-window)
8482 (window--frame-usable-p, even-window-heights)
8483 (window--even-window-heights, window--display-buffer-1)
8484 (window--display-buffer-2, display-buffer-other-frame):
8485 Restore old Emacs 23 code, order and doc-strings where applicable.
8486 (display-buffer-default, display-buffer-assq-regexp): New functions.
8487 (display-buffer-alist): Rewrite doc-string.
8488 (display-buffer-default-action)
8489 (display-buffer-overriding-action): New variables.
8490 (display-buffer, switch-to-buffer): Rewrite.
8491 (pop-to-buffer): Restore Emacs 23 behavior but use
8492 window-normalize-buffer-to-display.
8493 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8494 Restore Emacs 23 behavior but use
8495 window-normalize-buffer-to-switch-to.
8496 (pop-to-buffer-same-window): Rewrite.
8497 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8498 Rewrite using Emacs 23 options.
8499
8500 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8501
8502 * net/tramp.el (tramp-root-regexp): Remove.
8503 (tramp-completion-file-name-regexp-unified)
8504 (tramp-completion-file-name-regexp-separate)
8505 (tramp-completion-file-name-regexp-url): Don't use leading volume
8506 letter on win32 systems. (Bug#5303, Bug#9311)
8507 (tramp-drop-volume-letter): Simplify definition.
8508 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8509
8510 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8511
8512 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8513 (bug#9356).
8514
8515 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8516
8517 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8518
8519 2011-08-29 Juri Linkov <juri@jurta.org>
8520
8521 * isearch.el (isearch-done): Don't display message "Mark saved"
8522 when arg `edit' is non-nil to prevent its flicker in the echo area.
8523
8524 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8525
8526 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8527 obsolete packages for deletion.
8528
8529 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8530
8531 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8532 (help-mode): Derive help-mode from special-mode. Don't invoke
8533 view-mode from help-mode.
8534 (help-xref-override-view-map): Remove.
8535 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8536 view-mode is not used anymore.
8537
8538 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8539
8540 * server.el (server-port): Doc fix.
8541
8542 * cus-theme.el (custom-theme-choose-mode): Inherit from
8543 special-mode (Bug#9124).
8544 (custom-theme-choose-mode-map): Add special-mode to parent.
8545
8546 2011-08-28 Alan Mackenzie <acm@muc.de>
8547
8548 * progmodes/cc-fonts.el
8549 (c-make-font-lock-BO-decl-search-function): New function.
8550 (c-basic-matchers-after - "Fontify the clauses after various
8551 keywords"): Extract the three keyword lists for the 3 erroneous
8552 constructs from the list of four, and use the new function above
8553 in place of an old one.
8554
8555 2011-08-28 Deniz Dogan <deniz@dogan.se>
8556
8557 * net/rcirc.el (rcirc-insert-prev-input)
8558 (rcirc-insert-next-input): Remove unused argument.
8559
8560 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8561
8562 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8563
8564 2011-08-27 Alan Mackenzie <acm@muc.de>
8565
8566 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8567 handle function pointer parameters properly.
8568
8569 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8570
8571 * window.el (display-buffer-reuse-window): Fix case where
8572 selected window was reused with non-nil OTHER-WINDOW argument.
8573 (Bug#9381)
8574
8575 2011-08-27 Deniz Dogan <deniz@dogan.se>
8576
8577 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8578 oftc's NickServ messages.
8579
8580 2011-08-27 Glenn Morris <rgm@gnu.org>
8581
8582 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8583
8584 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8585
8586 * emacs-lisp/package.el (package-install): Call package-initialize
8587 if called interactively.
8588
8589 2011-08-26 Leo Liu <sdl.web@gmail.com>
8590
8591 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8592
8593 2011-08-25 Juri Linkov <juri@jurta.org>
8594
8595 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8596 `search-whitespace-regexp' (bug#9364).
8597
8598 2011-08-25 Juri Linkov <juri@jurta.org>
8599
8600 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8601 `regexp-search-ring' to their global values to protect from
8602 updating by `read-from-minibuffer' (bug#9185).
8603
8604 2011-08-25 Juri Linkov <juri@jurta.org>
8605
8606 * textmodes/ispell.el (ispell-command-loop): Add newline
8607 at the end of the "Use option `i'..." line.
8608
8609 2011-08-25 Juri Linkov <juri@jurta.org>
8610
8611 * battery.el (display-battery-mode): If `battery-status-function'
8612 or `battery-mode-line-format' is nil, display the message and set
8613 `display-battery-mode' to nil (bug#9363).
8614
8615 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8616
8617 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8618 bidi-string-mark-left-to-right; they are unnecessary now.
8619
8620 2011-08-25 Deniz Dogan <deniz@dogan.se>
8621
8622 * net/quickurl.el: Documentation typo fixes.
8623
8624 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8625
8626 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8627
8628 2011-08-25 Glenn Morris <rgm@gnu.org>
8629
8630 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8631
8632 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8633 (smtpmail-via-smtp): Handle nil response from smtp.
8634
8635 2011-08-24 Juri Linkov <juri@jurta.org>
8636
8637 * proced.el (proced-marked): Inherit from `error' instead of
8638 `font-lock-warning-face'.
8639
8640 * ibuffer.el (ibuffer-marked-face): Change default face from
8641 `font-lock-warning-face' to `warning'.
8642 (ibuffer-deletion-face): Change default face from
8643 `font-lock-type-face' to `error'.
8644
8645 * battery.el (battery-update): Use the face `error' instead of
8646 `font-lock-warning-face' (bug#6117).
8647
8648 2011-08-24 Juri Linkov <juri@jurta.org>
8649
8650 * faces.el (success): Change face color from "Green3" to
8651 "ForestGreen" on light background (bug#9353).
8652
8653 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8654
8655 * window.el (quit-window): Rename from quit-restore-window.
8656 Use same arglist as old quit-window.
8657 (frame-auto-delete): Doc fix.
8658
8659 * view.el (view-mode-exit): Use quit-window.
8660
8661 2011-08-24 Juri Linkov <juri@jurta.org>
8662
8663 * isearch.el (isearch-ring-adjust1): Start visiting previous
8664 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8665 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8666 for empty search string (when the last search string is reused
8667 automatically) to adjust the isearch ring to the last element and
8668 prepare the correct index for further M-p commands (bug#9185).
8669
8670 2011-08-24 Kenichi Handa <handa@m17n.org>
8671
8672 * international/ucs-normalize.el: If decomposition property of
8673 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8674 nil.
8675 (nfd, nfkd): Likewise.
8676
8677 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8680 from process filters aren't reliably transmitted to the surrounding
8681 accept-process-output.
8682 (mpc-proc-check): New function.
8683 (mpc-proc-sync): Use it (bug#8293)
8684
8685 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8686
8687 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8688 Add compatibility functions (bug#9313).
8689
8690 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8691
8692 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8693
8694 * international/uni-bidi.el: Regenerate.
8695
8696 2011-08-23 Kenichi Handa <handa@m17n.org>
8697
8698 * international/charprop.el:
8699 * international/uni-bidi.el:
8700 * international/uni-category.el:
8701 * international/uni-combining.el:
8702 * international/uni-comment.el:
8703 * international/uni-decimal.el:
8704 * international/uni-decomposition.el:
8705 * international/uni-digit.el:
8706 * international/uni-lowercase.el:
8707 * international/uni-mirrored.el:
8708 * international/uni-name.el:
8709 * international/uni-numeric.el:
8710 * international/uni-old-name.el:
8711 * international/uni-titlecase.el:
8712 * international/uni-uppercase.el: Regenerate.
8713
8714 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8715
8716 * help.el (help-window-setup): Fix message displayed when other
8717 window is reused. (Bug#9341)
8718
8719 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8722 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8723
8724 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8725 Mark obsolete.
8726 * shell.el (shell-parse-pcomplete-arguments): New function.
8727 (shell-completion-vars): Use it instead (bug#9160).
8728
8729 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8730
8731 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8732 strings and comments (bug#9333).
8733
8734 * emacs-lisp/debug.el (debug-arglist): New function.
8735 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8736 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8737
8738 2011-08-22 Juri Linkov <juri@jurta.org>
8739
8740 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8741 Revert regexp that highlights output switches to its old
8742 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8743
8744 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8745 to check for empty output (bug#9226).
8746
8747 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8748
8749 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8750 symbol-constituent as the default, as that stops font-lock from
8751 working properly (Bug#8843).
8752
8753 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8754
8755 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8756 `coding-system-for-*' around the process open call to avoid
8757 auth-source side effects.
8758 (smtpmail-try-auth-methods): Expand the secret password.
8759 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8760 probe hangs.
8761
8762 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8763
8764 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8765
8766 * emacs-lisp/find-func.el (find-function-noselect): New arg
8767 lisp-only.
8768
8769 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8770 signal an error for built-in functions (Bug#6664).
8771
8772 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8773
8774 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8775 (smtpmail-try-auth-methods): Use it.
8776
8777 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8778
8779 * font-lock.el (font-lock-fontify-region)
8780 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8781 (font-lock-default-unfontify-buffer)
8782 (font-lock-default-fontify-region)
8783 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8784
8785 * progmodes/compile.el (compilation-error-properties):
8786 Fix confusion between file struct and message struct (Bug#9319).
8787 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8788 `ant' regexp.
8789
8790 * net/browse-url.el (browse-url-firefox): Don't call
8791 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8792
8793 2011-08-20 Glenn Morris <rgm@gnu.org>
8794
8795 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8796
8797 * tutorial.el (tutorial--default-keys): Update some default bindings.
8798
8799 * files.el (hack-local-variables): Fully ignore case for "mode:".
8800
8801 2011-08-20 Alan Mackenzie <acm@muc.de>
8802
8803 Resolve invalid use of a regexp in regexp-opt.
8804
8805 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8806 detection for a java annotation.
8807
8808 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8809 detection for a java annotation.
8810
8811 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8812 handling for java.
8813 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8814
8815 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8816
8817 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8818 (Bug#9274).
8819
8820 2011-08-20 Alan Mackenzie <acm@muc.de>
8821
8822 Fontify CPP expressions correctly when starting in the middle of
8823 such a construct. Mainly for when jit-lock etc. starts a chunk
8824 here.
8825
8826 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8827 variable.
8828 (c-make-font-lock-search-form): New function, extracted from
8829 c-make-font-lock-search-function.
8830 (c-make-font-lock-search-function): Use the above function.
8831 (c-make-font-lock-context-search-function): New function.
8832 (c-cpp-matchers): Enhance the preprocessor expression case with
8833 the above function
8834 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8835 which takes an expression.
8836
8837 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8838
8839 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8840
8841 * window.el (display-buffer-reuse-window)
8842 (display-buffer-pop-up-window): Don't reuse or split a side
8843 window.
8844
8845 2011-08-19 Glenn Morris <rgm@gnu.org>
8846
8847 * files.el (hack-local-variables-prop-line, hack-local-variables):
8848 Downcase "Mode:". (Bug#9331)
8849
8850 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8851
8852 * international/characters.el: Add L and R categories.
8853
8854 * subr.el (bidi-string-mark-left-to-right): Rename from
8855 string-mark-left-to-right. Use category search.
8856
8857 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8858
8859 2011-08-18 Juri Linkov <juri@jurta.org>
8860
8861 * faces.el (error, warning, success): New faces with definitions
8862 copied from old default values of `font-lock-warning-face',
8863 `compilation-warning', `compilation-info' (bug#6117).
8864
8865 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8866
8867 * progmodes/compile.el (compilation-error): Inherit from `error'.
8868 (compilation-warning): Inherit from `warning'.
8869 (compilation-info): Inherit from `success'.
8870
8871 * dired.el (dired-marked): Inherit from `warning'.
8872 (dired-flagged): Inherit from `error'.
8873
8874 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8875
8876 * mail/smtpmail.el (auth-source): Require to avoid problems with
8877 binding variables (bug#9298). Also clean up some unused
8878 autoloads.
8879
8880 * net/network-stream.el (network-stream-open-starttls):
8881 Support using starttls.el without using gnutls-cli.
8882
8883 2011-08-17 Juri Linkov <juri@jurta.org>
8884
8885 * progmodes/grep.el (rgrep): Handle the case when
8886 `grep-find-command' is a cons cell (bug#9278).
8887
8888 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8889
8890 * window.el (display-buffer-pop-up-frame): Run frame creation
8891 function with BUFFER current (as special-display-popup-frame
8892 does). Reported by Drew Adams.
8893
8894 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8895
8896 * epa-mail.el: Simplify GnuPG group expansion using
8897 epg-expand-group.
8898 (epa-mail-group-alist, epa-mail-group-modtime)
8899 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8900 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8901 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8902 Remove.
8903
8904 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8905
8906 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8907
8908 2011-08-16 Alan Mackenzie <acm@muc.de>
8909
8910 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8911 Correct, to avoid the inside of macros.
8912
8913 2011-08-16 Richard Stallman <rms@gnu.org>
8914
8915 * epa-mail.el: Handle GnuPG group definitions.
8916 (epa-mail-group-alist, epa-mail-group-modtime)
8917 (epa-mail-gnupg-conf-file): New variables.
8918 (epa-mail-parse-groups, epa-mail-sync-groups)
8919 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8920 (epa-mail-expand-recipients): New functions.
8921 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8922
8923 * mail/rmail.el (rmail-epa-decrypt): New command.
8924
8925 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8926 Don't bind buffer-read-only, just inhibit-read-only.
8927 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8928 (epa-decrypt-armor-in-region): Make error message clearer.
8929
8930 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8931
8932 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8933 and "a2b" to "ab" for `prefix'.
8934
8935 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8936
8937 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8938 filter groups.
8939 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8940 Fourquet (Bug#8804).
8941
8942 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8943
8944 * startup.el (argi): Declare as global variable (bug#9275).
8945
8946 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8947
8948 * subr.el (string-mark-left-to-right): Search the entire string
8949 for RTL script, not just the terminating character. Doc fix.
8950
8951 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8952
8953 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8954 New function.
8955 (js--regexp-literal, js-syntax-propertize-function): Remove.
8956 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8957 (js-mode-map): Don't rebind electric keys.
8958 (js-insert-and-indent): Remove.
8959 (js-mode): Setup electric-layout and electric-indent instead.
8960
8961 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8962
8963 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8964
8965 * epa.el (epa-progress-callback-function): Fix the logic of
8966 displaying progress.
8967 * epa-file.el (epa-file-insert-file-contents): Make progress
8968 display more user-friendly.
8969 (epa-file-write-region): Ditto.
8970
8971 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8972
8973 * subr.el (string-mark-left-to-right): New function.
8974
8975 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8976 Use string-mark-left-to-right.
8977 (list-buffers-noselect): Caller changed.
8978
8979 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8980 Use string-mark-left-to-right.
8981 (tabulated-list-print): Recenter after moving point.
8982
8983 2011-08-10 Juri Linkov <juri@jurta.org>
8984
8985 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8986 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8987 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8988
8989 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8990
8991 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8992 (Bug#7554).
8993
8994 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8995
8996 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8997 character. (Bug#6594)
8998
8999 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
9000
9001 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9002 (image-dired--with-db-file): New macro.
9003 (image-dired-write-tags, image-dired-remove-tag)
9004 (image-dired-create-gallery-lists, image-dired-write-comments)
9005 (image-dired-get-comment, image-dired-mark-tagged-files)
9006 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9007 (image-dired-gallery-generate): Use insert-file-contents.
9008
9009 * time.el (display-time-world-list, display-time-world-display):
9010 * time-stamp.el (time-stamp-string):
9011 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9012 set-time-zone-rule (Bug#7337).
9013
9014 2011-08-08 Daiki Ueno <ueno@unixuser.org>
9015
9016 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9017 (epg-error-to-string, epg-errors-to-string): New function.
9018 (epg-wait-for-completion): Reverse errors list.
9019 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9020 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9021 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9022 (epg-sign-keys, epg-generate-key-from-file)
9023 (epg-generate-key-from-string): Format errors by using
9024 epg-errors-to-string (bug#9255).
9025 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9026
9027 2011-08-07 Juri Linkov <juri@jurta.org>
9028
9029 * faces.el (list-faces-display): Remove extra angle bracket
9030 from `help-mode-map'.
9031
9032 * info.el (Info-history-toc-nodes): Doc fix.
9033
9034 * longlines.el (longlines-mode): Doc fix.
9035
9036 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9039 of statements and in a few more cases (bug#9183).
9040
9041 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9042 New functions.
9043 (cl-transform-lambda): Use them (bug#9239).
9044
9045 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9046
9047 * window.el (display-buffer-same-window)
9048 (display-buffer-same-frame, display-buffer-other-window)
9049 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9050 (pop-to-buffer-other-window)
9051 (pop-to-buffer-same-frame-other-window)
9052 (pop-to-buffer-other-frame): Make them defuns.
9053 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9054
9055 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9056
9057 * subr.el (make-composed-keymap): Move from C. Change calling
9058 convention, and improve docstring to bring attention to a subtle point.
9059 * minibuffer.el (completing-read-default): Adjust accordingly.
9060
9061 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9062
9063 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9064 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9065
9066 * net/trampver.el: Update release number.
9067
9068 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9069
9070 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9071 "in" (bug#9190).
9072
9073 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9074
9075 * mail/sendmail.el (sendmail-query-once): Restore the current
9076 buffer after querying (bug#9074).
9077
9078 * dired.el (dired-flagged): Use different faces for marked and
9079 flagged files (bug#6117).
9080
9081 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9082 (bug#4433).
9083
9084 * ido.el (ido-mode): Switch off the message if called
9085 non-interactively.
9086
9087 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9088 before 587, since it appears that that's more likely to work for
9089 more people.
9090
9091 * cus-edit.el (custom-file): When running under emacs -q, always
9092 refuse to save the customizations, even if the .emacs file doesn't
9093 exist.
9094
9095 * info.el: Remove the `Info-beginning-of-buffer' function
9096 (bug#8325).
9097
9098 * net/network-stream.el (network-stream-open-starttls):
9099 Use `starttls-available-p' to see whether starttls.el can be used.
9100
9101 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9102
9103 * window.el (display-buffer-in-window): Don't set dedicated status
9104 of window here (Bug#9215).
9105 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9106 (display-buffer-pop-up-side-window)
9107 (display-buffer-in-side-window): Set dedicated status of window here.
9108
9109 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9110
9111 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9112 before binding generated-autoload-file.
9113
9114 2011-08-01 Deniz Dogan <deniz@dogan.se>
9115
9116 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9117
9118 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9119
9120 Sync with Tramp 2.2.2.
9121
9122 * net/trampver.el: Update release number.
9123
9124 2011-07-30 Juri Linkov <juri@jurta.org>
9125
9126 * dired-aux.el (dired-touch-initial): Remove function.
9127 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9128 current time, and `default' to the last modification time of the
9129 current marked file (bug#6887).
9130
9131 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9132
9133 * simple.el (goto-line): Use string-to-number to provide a
9134 numeric argument to read-number (bug#9163).
9135
9136 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9137
9138 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9139 connection process, it could be nil.
9140
9141 2011-07-27 Leo Liu <sdl.web@gmail.com>
9142
9143 Simplify url handling in rcirc-mode.
9144
9145 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9146 (rcirc-browse-url-at-mouse): Remove.
9147 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9148
9149 2011-07-26 Alan Mackenzie <acm@muc.de>
9150
9151 Fontify bitfield declarations properly.
9152
9153 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9154 (c-symbol-chars): Now exported as a lang variable.
9155 (c-not-primitive-type-keywords): New lang variable.
9156
9157 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9158 QT keyword "more" to prevent "more slots: ...." being spuriously
9159 parsed as a bitfield declaration.
9160
9161 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9162 Refactor and enhance to handle bitfield declarations.
9163 (c-punctuation-in): New function.
9164 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9165 declarations properly.
9166
9167 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9168
9169 * calendar/icalendar.el (icalendar--all-events): Take care of
9170 multiple vcalendars in a single file.
9171 (icalendar--convert-float-to-ical): Checkdoc fixes.
9172
9173 2011-07-25 Deniz Dogan <deniz@dogan.se>
9174
9175 * image.el (insert-image): Clarifying docstring.
9176
9177 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9178
9179 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9180 `tramp-send-command-and-check' if there is no error.
9181 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9182
9183 2011-07-22 Alan Mackenzie <acm@muc.de>
9184
9185 Prevent cc-langs.elc being loaded at run time.
9186
9187 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9188 cc-langs.
9189
9190 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9191 "(require 'cc-langs)". Quote a form so it will evaluate at
9192 (cc-mode's) compilation time.
9193
9194 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9195
9196 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9197 loading. (Bug#9114)
9198
9199 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9200
9201 * window.el (display-buffer-pop-up-window)
9202 (display-buffer-pop-up-side-window)
9203 (display-buffer-in-side-window): Call display-buffer-set-height
9204 and display-buffer-set-width after setting the new window's
9205 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9206
9207 2011-07-20 Sam Steingold <sds@gnu.org>
9208
9209 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9210 (etags-tags-included-tables): Call `convert-standard-filename' on
9211 the file names contained in TAGS so that windows Emacs can handle
9212 TAGS files created by cygwin ctags.
9213
9214 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9215
9216 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9217 which apparently didn't work.
9218
9219 2011-07-19 Roland Winkler <winkler@gnu.org>
9220
9221 * proced.el (proced-send-signal): For *Marked Processes* buffer
9222 put point at beginning of buffer.
9223
9224 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9225
9226 * proced.el (proced-format): Make header lines align with the text
9227 (bug#1779).
9228
9229 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9230
9231 * view.el (view-buffer): Allow running in `special' modes if we're
9232 visiting a file (bug#8615).
9233
9234 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9235
9236 * window.el (display-buffer-alist-of-strings-p)
9237 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9238 New functions.
9239 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9240 more accurately.
9241
9242 2011-07-18 Alan Mackenzie <acm@muc.de>
9243
9244 Fontify declarators properly when, e.g., a jit-lock chunk begins
9245 inside a declaration.
9246
9247 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9248
9249 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9250 New function.
9251 (c-complex-decl-matchers): Insert reference to
9252 c-font-lock-enclosing-decls.
9253
9254 * progmodes/cc-engine.el (c-backward-single-comment):
9255 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9256 to nil around calls to (forward-comment -1).
9257
9258 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9259
9260 * image.el (put-image): Doc typo fix.
9261
9262 * progmodes/etags.el (tags-search): Doc typo fix.
9263
9264 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9265 password if we get errors 550 to 554.
9266
9267 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9268
9269 * net/gnutls.el (gnutls-log-level): Remove.
9270
9271 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9272 indentation character (bug#6380).
9273
9274 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9275
9276 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9277 to clarify what the problem is (bug#4291).
9278
9279 * simple.el (current-kill): Clarify what
9280 `interprogram-paste-function' does (bug#7500).
9281 (auto-fill-mode): Document `auto-fill-function' in relation to
9282 `auto-fill-mode' (bug#2470).
9283
9284 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9285
9286 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9287 method if slot is read-only (bug#9035).
9288
9289 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9290
9291 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9292 * window.el (pop-to-buffer): Select window used even if it was
9293 selected before, see discussion of (Bug#8615), (Bug#6954).
9294 Pass argument NORECORD on to select-frame-set-input-focus.
9295
9296 2011-07-15 Glenn Morris <rgm@gnu.org>
9297
9298 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9299 Respect help-form.
9300
9301 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9302
9303 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9304 (gnutls-negotiate): Use it.
9305
9306 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9307
9308 * net/gnutls.el (gnutls-negotiate):
9309 Upcase `gnutls-algorithm-priority'.
9310
9311 2011-07-15 Glenn Morris <rgm@gnu.org>
9312
9313 * jka-compr.el (jka-compr-verbose): Move from here...
9314 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9315 Add missing :version tag.
9316 * info.el: No need to require jka-compr when compiling.
9317
9318 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9319
9320 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9321 (gnutls-negotiate): Use it.
9322
9323 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9324
9325 * info.el (Info-beginning-of-buffer): New command.
9326 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9327 announcing `b' as the key (bug#8325).
9328 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9329
9330 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9331
9332 * international/mule-cmds.el
9333 (describe-specified-language-support): Make the error message
9334 clearer (bug#8905).
9335
9336 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9337
9338 * isearch.el (isearch-barrier): Add a doc string, since it's
9339 mentioned in a function doc string (bug#8678).
9340
9341 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9342
9343 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9344 buffer argument (Bug#9083) and self-identifying label argument.
9345
9346 2011-07-15 Glenn Morris <rgm@gnu.org>
9347
9348 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9349
9350 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9351
9352 * man.el (Man-fontify-manpage): Fix message when formatting the
9353 man page (bug#7929).
9354
9355 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9356
9357 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9358 argument LRM; if non-nil, append an invisible LRM character to the
9359 buffer name.
9360 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9361 last argument non-nil, when formatting buffer names.
9362 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9363 paragraph direction.
9364
9365 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9366
9367 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9368 the man page name (bug#7929).
9369
9370 * image.el (put-image): Mention the `put-image' overlay property
9371 (bug#7834).
9372
9373 * scroll-bar.el (set-scroll-bar-mode): Mention that
9374 `scroll-bar-mode' lists the values (bug#7772).
9375
9376 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9377 command (bug#7729).
9378
9379 * rect.el (apply-on-rectangle): Return the point after the last
9380 operation.
9381 (string-rectangle): Go to the point after the last operation
9382 (bug#7522).
9383
9384 * printing.el (pr-toggle-region): Clarify the documentation
9385 slightly (bug#7493).
9386
9387 * time.el (display-time-update):
9388 Allow `display-time-mail-function' to return nil (bug#7158).
9389 Fix suggested by Detlev Zundel.
9390
9391 * vc/diff.el (diff): Clarify the order the file names are read
9392 (bug#7111).
9393
9394 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9395 the doc string (bug#7015).
9396
9397 * font-lock.el (font-lock-maximum-decoration): Mention what
9398 numeric levels mean (bug#6935).
9399
9400 * startup.el (initial-buffer-choice): Don't mention the `none'
9401 selection, which is against policy.
9402
9403 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9404
9405 * window.el (display-buffer-normalize-special):
9406 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9407
9408 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9409
9410 * subr.el (version<, version<=, version=): Mention "-CVS" and
9411 "-12345" alpha version numbers.
9412
9413 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9414
9415 * bindings.el: Add advertised binding for set-mark-command
9416 (Bug#5772).
9417
9418 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9419
9420 * bindings.el (mode-line-other-buffer):
9421 * bookmark.el (bookmark-bmenu-2-window):
9422 * bs.el (bs-cycle-next, bs-cycle-previous):
9423 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9424 switch-to-buffer.
9425
9426 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9427 Delete.
9428
9429 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9430
9431 * follow.el (follow-debug-message, follow-redisplay):
9432 * jka-cmpr-hook.el (with-auto-compression-mode):
9433 Fix typos in docstrings.
9434
9435 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9436
9437 * subr.el (with-silent-modifications): Clarify somewhat what the
9438 macro inhibits (bug#6525).
9439
9440 * simple.el (eval-expression): Note what it does if called
9441 interactively (bug#6495).
9442
9443 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9444
9445 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9446 Use pop-to-buffer buffer-or-name if it is nil.
9447
9448 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9449 Remove switch-to-buffer.
9450
9451 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9452
9453 * files.el (make-directory): Clarify that an error will be raised
9454 if there's an error (bug#6397).
9455
9456 * startup.el (initial-buffer-choice): Add `none' as a choice
9457 (bug#6234).
9458
9459 * subr.el (add-hook): Clarify section about buffer-local hooks
9460 (bug#6218).
9461
9462 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9463
9464 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9465
9466 * tabify.el (untabify): Preserve the current column so that point
9467 doesn't move (bug#6032).
9468
9469 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9470
9471 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9472 Rewrite to avoid awkward possessive "s" (bug#5986).
9473
9474 2011-07-13 Glenn Morris <rgm@gnu.org>
9475
9476 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9477 (dired-insert-directory): Give a message the first time
9478 if ls is found not to support --dired.
9479
9480 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9481
9482 * simple.el (toggle-truncate-lines): Clarify what is toggled
9483 (bug#5580). Text by Drew Adams.
9484
9485 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9486
9487 * simple.el (blink-matching-open): Make the error message from the
9488 last change less verbose.
9489
9490 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9491
9492 * font-lock.el (font-lock-comment-face): Use the high contrast
9493 "yellow" color for font-lock-comment-face on low color terminals
9494 using a dark background color (bug#4221).
9495
9496 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9497
9498 * dired.el (dired-insert-set-properties): Make the doc string
9499 reflect what it does now (bug#5325).
9500
9501 * simple.el (blink-matching-open): Say that we were unable to find
9502 the match within the limit, if we're limited (bug#5122).
9503
9504 * international/mule-cmds.el (prefer-coding-system): Add an
9505 example (bug#4869).
9506
9507 * progmodes/etags.el (tags-search): Document `file-list-form'
9508 (bug#4731).
9509
9510 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9511
9512 * net/browse-url.el (browse-url-default-browser)
9513 (browse-url-browser-function): Make the default browser choice a
9514 bit more logical (bug#4300). Also clean up the doc string.
9515
9516 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9517
9518 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9519 binary endings (bug#4440).
9520
9521 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9522
9523 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9524 which can be pretty annoying (bug#8971).
9525
9526 * jka-compr.el (jka-compr-verbose): New variable, and use
9527 throughout (bug#8971).
9528
9529 * info.el (Info-find-file): Fall back on the installation
9530 directory if we can't find the info node anywhere else.
9531
9532 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9533
9534 * vc/vc.el (vc-revert-file):
9535 Don't set file time-stamp in the past. (Bug#5181)
9536
9537 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9538
9539 * files.el (after-find-file): Give a better error message when
9540 trying to find a symlink that points to a file that doesn't exist
9541 (bug#4398).
9542
9543 * progmodes/cc-vars.el: Remove (probably) misleading comment
9544 (bug#4396).
9545
9546 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9547
9548 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9549
9550 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9551
9552 * mouse-sel.el: Hack restoring functionality, while keeping
9553 compatibility with 2010-07-03 changes to mouse selection.
9554 (mouse-sel-primary-overlay): New var.
9555 (mouse-sel-selection-alist): Use it.
9556 (mouse-sel-mode): Doc fix; remove points that are default features
9557 of mouse.el.
9558
9559 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9560
9561 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9562 Fix previous fix (bug#2490).
9563
9564 2011-07-12 Roland Winkler <winkler@gnu.org>
9565
9566 * textmodes/bibtex.el (bibtex-initialize):
9567 Use pop-to-buffer-same-window.
9568 (bibtex-search-entries): Fix interactive call.
9569
9570 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9571
9572 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9573 Fontise bytecomp Error lines more correctly (bug#2490).
9574 Fix suggested by Johan Bockgård.
9575
9576 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9577
9578 * dired-x.el (dired-guess-default): Use `delete-dups'.
9579
9580 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9581
9582 * dired.el (dired-mark-prompt):
9583 * dired-aux.el (dired-read-shell-command): Doc fix.
9584
9585 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9586
9587 * mail/sendmail.el (sendmail-query-once):
9588 Use `customize-save-variable' unconditionally, now that it works under
9589 emacs -Q.
9590
9591 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9592
9593 * cus-edit.el (custom-file): Take an optional no-error variable.
9594 (customize-save-variable): Set the variable, and give a warning if
9595 running under "emacs -q".
9596
9597 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9598
9599 * loadhist.el (unload-feature-special-hooks):
9600 Add `auto-coding-functions', `fill-nobreak-predicate' and
9601 `find-directory-functions' (bug#5327).
9602
9603 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9604
9605 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9606
9607 * cus-edit.el (custom-guess-name-alist): -alist variables should
9608 use the `alist' type (bug#3120). Suggested by Drew Adams.
9609
9610 * printing.el: Add documentation to all the `pr-toggle-' commands.
9611
9612 2011-07-11 Leo Liu <sdl.web@gmail.com>
9613
9614 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9615 backends where it makes sense (bug#2623).
9616
9617 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9618
9619 * dired-x.el (dired-guess-default): Remove duplicate shell command
9620 entries (bug#2028).
9621 (dired-guess-default): Fix grammar in doc string (bug#2028).
9622 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9623
9624 * subr.el (remove-duplicates): New conveniency function.
9625
9626 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9627
9628 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9629 (bug#1526).
9630
9631 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9632
9633 * window.el (display-buffer-normalize-default): Don't invert
9634 meaning of even-window-heights. Reported by Eli Zaretskii
9635 <eliz@gnu.org>.
9636
9637 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9638
9639 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9640
9641 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9642
9643 * window.el (display-buffer): Fix arguments to
9644 display-buffer-reuse-window in last change.
9645
9646 * faces.el (link): Use a less saturated blue on light backgrounds.
9647
9648 * startup.el (fancy-startup-text, fancy-about-text)
9649 (fancy-startup-tail): Use font-lock faces, for background safety.
9650
9651 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9652
9653 * emulation/viper-cmd.el (viper-change-state-to-vi):
9654 Limit triggering of abbrev expansion (Bug#9038).
9655
9656 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9657
9658 * window.el (display-buffer-default-specifiers): Remove.
9659 (display-buffer-macro-specifiers): Remove default specifiers.
9660 (display-buffer-alist): Default to nil.
9661 (display-buffer-reuse-window): New optional argument other-window.
9662 (display-buffer-pop-up-window): Allow splitting internal
9663 windows. Check whether a live window was created.
9664 (display-buffer-other-window-means-other-frame)
9665 (display-buffer-normalize-arguments): Rename to
9666 display-buffer-normalize-argument and rewrite. Set the
9667 other-window specifier.
9668 (display-buffer-normalize-special): New function.
9669 (display-buffer-normalize-options): Rename to
9670 display-buffer-normalize-default and rewrite.
9671 (display-buffer-normalize-options-inhibit): Remove.
9672 (display-buffer-normalize-specifiers): Rewrite.
9673 (display-buffer): Process other-window specifier and call
9674 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9675 more faithfully.
9676 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9677 (display-buffer-alist-set): Don't handle 'unset default values.
9678 (display-buffer-in-window, display-buffer-alist-set):
9679 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9680 <tassilo@member.fsf.org>.
9681
9682 2011-07-09 Leo Liu <sdl.web@gmail.com>
9683
9684 * register.el (insert-register): Restore accidental change on
9685 2011-06-26. (Bug#9028)
9686
9687 2011-07-09 Glenn Morris <rgm@gnu.org>
9688
9689 * subr.el (remq): Handle the empty list. (Bug#9024)
9690
9691 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9692
9693 * mail/sendmail.el (send-mail-function): No longer delay custom
9694 initialization.
9695 * custom.el (custom-initialize-delay): Doc fix.
9696
9697 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9700
9701 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9702
9703 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9704 human-friendly prompt.
9705
9706 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9707
9708 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9709 provided by a particular plugin.
9710
9711 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9712
9713 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9714 save customizations (with "emacs -Q"), just set the variable
9715 instead of erroring out.
9716
9717 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9718
9719 2011-07-08 Juri Linkov <juri@jurta.org>
9720
9721 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9722 (archive-zip-update-case): Use 7z if found by `executable-find'.
9723 The order of searching the available programs is the same as in
9724 `archive-zip-extract' (bug#8968).
9725
9726 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9727
9728 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9729 (menu-bar-options-menu): Tweak descriptions.
9730
9731 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9732
9733 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9734 menu items into verb phrases (bug#1421). Also refill to fit under
9735 80 columns.
9736
9737 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9738
9739 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9740 (Info-read-node-name): Doc fix (Bug#1084).
9741
9742 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9743 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9744 (end-of-sexp, beginning-of-sexp)
9745 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9746 (forward-symbol, forward-same-syntax, word-at-point)
9747 (sentence-at-point): Doc fix (Bug#1144).
9748
9749 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9750
9751 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9752 should cover it (bug#1281).
9753
9754 * cus-edit.el (custom-show): Mark as obsolete.
9755
9756 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9757 negotiation fails, then possibly try again with a non-encrypted
9758 connection (bug#9017).
9759
9760 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9761 be used.
9762
9763 2011-07-07 Richard Stallman <rms@gnu.org>
9764
9765 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9766 property, and handle its changed format.
9767 Look for the correct line number.
9768 Use file's line contents (but not past first =) to find
9769 correct line in message.
9770
9771 2011-07-07 Kenichi Handa <handa@m17n.org>
9772
9773 * international/characters.el (build-unicode-category-table):
9774 Delete it.
9775 (unicode-category-table): Set it by unicode-property-table-internal.
9776
9777 * international/mule-cmds.el (char-code-property-alist): Move to
9778 to src/chartab.c.
9779 (get-char-code-property): Call unicode-property-table-internal to
9780 load a file. Call get-unicode-property-internal where necessary.
9781 (put-char-code-property): Call unicode-property-table-internal to
9782 load a file. Call put-unicode-property-internal where necessary.
9783 put-unicode-property-internal where necessary.
9784 (char-code-property-description):
9785 Call unicode-property-table-internal to load a file.
9786
9787 * international/charprop.el:
9788 * international/uni-bidi.el:
9789 * international/uni-category.el:
9790 * international/uni-combining.el:
9791 * international/uni-comment.el:
9792 * international/uni-decimal.el:
9793 * international/uni-decomposition.el:
9794 * international/uni-digit.el:
9795 * international/uni-lowercase.el:
9796 * international/uni-mirrored.el:
9797 * international/uni-name.el:
9798 * international/uni-numeric.el:
9799 * international/uni-old-name.el:
9800 * international/uni-titlecase.el:
9801 * international/uni-uppercase.el: Regenerate.
9802
9803 * loadup.el: Load international/charprop.el before
9804 international/characters.
9805
9806 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9807
9808 * window.el (next-buffer, previous-buffer): Signal an error if
9809 called from a minibuffer window.
9810
9811 * bindings.el: Revert 2011-07-04 change.
9812
9813 2011-07-06 Richard Stallman <rms@gnu.org>
9814
9815 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9816 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9817 Treat markers like ints.
9818 (rmail-mime-entity): Doc fix.
9819
9820 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9821
9822 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9823 defcustom again for backwards compatibility.
9824
9825 * simple.el (shell-command-on-region): Fill.
9826
9827 * dired-aux.el (dired-kill-line): Add a doc string.
9828
9829 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9830 to "\\sw\\|\\s_" (bug#358).
9831
9832 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9833 (dired-unmark-backward): Ditto.
9834 (dired-flag-backup-files): Ditto.
9835
9836 * dired-x.el (dired-mark-sexp): Ditto.
9837
9838 2011-07-06 Richard Stallman <rms@gnu.org>
9839
9840 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9841 (rmail-mime-entity): New arg TRUNCATED.
9842 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9843 New functions.
9844 (rmail-mime-save): Warn if entity is truncated.
9845 (rmail-mime-toggle-hidden): Likewise, for showing.
9846 (rmail-mime-process-multipart): Record when an entity is truncated.
9847
9848 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9849 if ENTITY is a string.
9850
9851 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9852
9853 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9854 of faces when `M-C-x'-ing their definitions (bug#8378).
9855 Also clean up the code slightly.
9856
9857 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9858 because that makes the colors go away.
9859
9860 * mail/sendmail.el (send-mail-function): Change the default to
9861 `sendmail-query-once'.
9862 (sendmail-query-once): Add an autoload cookie.
9863
9864 * net/network-stream.el (network-stream-open-starttls): Try using
9865 a plain connection even if the server offered STARTTLS, and we
9866 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9867 capability. This should make smtpmail.el work in slightly more
9868 configurations.
9869
9870 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9871
9872 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9873 New defun.
9874 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9875
9876 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9877
9878 * progmodes/sql.el: Version 3.0
9879 (sql-product-alist): Add product :completion-object,
9880 :completion-column, and :statement attributes.
9881 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9882 (sql-mode-syntax-table): Mark all punctuation.
9883 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9884 ansi keywords.
9885 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9886 (sql-mode-oracle-font-lock-keywords): Improve.
9887 (sql-oracle-show-reserved-words): New function for development.
9888 (sql-product-font-lock): Simplify for source code buffers.
9889 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9890 New functions.
9891 (sql-highlight-product): Set product specific syntax table.
9892 (sql-mode-map): Add statement movement functions.
9893 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9894 New variable.
9895 (sql-statement-regexp, sql-beginning-of-statement)
9896 (sql-end-of-statement, sql-signum): New functions.
9897 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9898 (sql-show-sqli-buffer): Bug fix.
9899 (sql-interactive-mode): Store connection data as buffer local.
9900 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9901 with sql-interactive-mode.
9902 (sql-save-connection): Save buffer local settings.
9903 (sql-connection-menu-filter): Change menu entry name.
9904 (sql-product-interactive): Bug fix.
9905 (sql-preoutput-hold): New variable.
9906 (sql-interactive-remove-continuation-prompt): Bug fixes.
9907 (sql-debug-redirect): New variable.
9908 (sql-str-literal): New function.
9909 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9910 Redesign.
9911 (sql-oracle-save-settings, sql-oracle-restore-settings)
9912 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9913 (sql-completion-object, sql-completion-column)
9914 (sql-completion-sqlbuf): New variables.
9915 (sql-build-completions-1, sql-build-completions)
9916 (sql-try-completion): New functions.
9917 (sql-read-table-name): Use them.
9918 (sql-contains-names): New buffer local variable.
9919 (sql-list-all, sql-list-table): Use it.
9920 (sql-oracle-completion-types): New variable.
9921 (sql-oracle-completion-object, sql-sqlite-completion-object)
9922 (sql-postgres-completion-object): New functions.
9923
9924 2011-07-06 Glenn Morris <rgm@gnu.org>
9925
9926 * window.el (pop-to-buffer): Doc fix.
9927
9928 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9929
9930 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9931
9932 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9933
9934 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9935
9936 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9937
9938 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9939
9940 * button.el (button): Inherit from link face. Suggested by Dan
9941 Nicolaescu.
9942
9943 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * progmodes/gdb-mi.el: Fit in 80 columns.
9946 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9947 switch-to-buffer.
9948
9949 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9950 if imenu is simply not configured (bug#8941).
9951
9952 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9953
9954 * allout.el (allout-post-undo-hook): New allout outline-change
9955 event hook to signal undo activity.
9956 (allout-post-command-business): Run allout-post-undo-hook if an
9957 undo just occurred.
9958 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9959 * allout-widgets.el (allout-widgets-after-undo-function):
9960 Ensure the integrity of the current item's decoration after it has been
9961 in the vicinity of an undo.
9962 (allout-widgets-mode): Include allout-widgets-after-undo-function
9963 on the new allout-post-undo-hook.
9964
9965 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9966
9967 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9968 Let define-derived-mode define it.
9969 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9970 cycles of abbrev-table inheritance (bug#8998).
9971
9972 2011-07-05 Roland Winkler <winkler@gnu.org>
9973
9974 * textmodes/bibtex.el: Add support for biblatex.
9975 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9976 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9977 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9978 (bibtex-entry-alist, bibtex-field-alist): New variables.
9979 (bibtex-entry-field-alist): Obsolete alias for
9980 bibtex-BibTeX-entry-alist.
9981 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9982 (bibtex-set-dialect): New command.
9983 (bibtex-entry-type, bibtex-entry-head)
9984 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9985 Bind via bibtex-set-dialect.
9986 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9987 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9988 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9989 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9990 Define via bibtex-set-dialect.
9991 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9992 Obey bibtex-no-opt-remove-re.
9993 (bibtex-vec-push, bibtex-vec-incr): New functions.
9994 (bibtex-format-entry, bibtex-field-list)
9995 (bibtex-print-help-message, bibtex-validate)
9996 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9997
9998 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9999
10000 * progmodes/compile.el (compilation-goto-locus):
10001 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10002 * bs.el (bs-cycle-next, bs-cycle-previous):
10003 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10004 * bindings.el (mode-line-other-buffer):
10005 * autoinsert.el (auto-insert):
10006 * arc-mode.el (archive-extract):
10007 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10008
10009 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10010
10011 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10012 Fix check of `emacs-lock-unlockable-modes'.
10013 Coerce true values of `emacs-lock--try-unlocking' to t.
10014
10015 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10016
10017 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10018 * emacs-lock.el: New file.
10019
10020 2011-07-05 Julien Danjou <julien@danjou.info>
10021
10022 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10023 than `boundp' to check if face is set.
10024
10025 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10026
10027 * register.el (registerv-make):
10028 * window.el (window-min-height): Fix typos in docstrings.
10029
10030 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10031
10032 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10033 Update doc string.
10034
10035 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10036
10037 * server.el (server-execute): Catch quit and call
10038 `server-return-error' to pass the error back to emacsclient and
10039 close the connection (bug#8942).
10040
10041 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10042
10043 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10044 insecure exception for current topic. Also note that auto-saves
10045 are handled differently.
10046
10047 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10048 State variables for tracking auto-save inhibition situation.
10049
10050 (allout-write-contents-hook-handler): Rename from
10051 'allout-write-file-hook-handler', and describe how it depends on
10052 write-contents-functions sensitivity to non-nil value to prevent
10053 file write.
10054
10055 (allout-auto-save-hook-handler): Remove. auto-save does not check
10056 this in individual buffers, only in the starting buffer, so this
10057 is not the right way for us to inhibit auto-save in a buffer
10058 according to its condition.
10059
10060 (allout-mode): Use new allout-write-contents-hook-handler, and
10061 only with write-contents-functions. Remove auto-save provisions -
10062 they're implemented elsewhere.
10063
10064 (allout-before-change-handler): If undo is in progress, note that
10065 for attention of allout-post-command-business.
10066
10067 (allout-post-command-business): If the command we're following was
10068 an undo, check for change in the status of encrypted items and
10069 adjust auto-save inhibitions accordingly.
10070
10071 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10072 according to whether there are or aren't any plain-text topics
10073 pending encryption.
10074
10075 (allout-inhibit-auto-save-info-for-decryption):
10076 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10077 if there are plain-text topics pending encryption.
10078
10079 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10080 buffer-saved-size and some allout state to not inhibit auto-saves
10081 if there are no longer any plain-text topics pending encryption.
10082
10083 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10084 No longer provide for exemption of the current topic.
10085
10086 2011-07-04 Juri Linkov <juri@jurta.org>
10087
10088 Add 7z operations to delete and save changed members (bug#8968).
10089 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10090 New defcustoms.
10091 (archive-7z-write-file-member): New function.
10092 (archive-7z-summarize): Fix the number of dashes in the
10093 listing output.
10094
10095 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10096
10097 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10098 (bug#8958).
10099
10100 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10101
10102 * bindings.el: Ignore next-buffer and previous-buffer in
10103 minibuffer-local-map.
10104
10105 * font-lock.el (font-lock-builtin-face): Change light background
10106 color to dark slate blue (Bug#6693).
10107
10108 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10109
10110 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10111
10112 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10113
10114 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10115 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10116 Add switch-to-buffer.
10117
10118 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10119
10120 * isearch.el (isearch-search-fun-function): Clarify further the
10121 meaning of the function returned.
10122
10123 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10124
10125 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10126
10127 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10128 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10129 Use it.
10130 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10131 `tramp-default-remote-path' does not exist.
10132 (tramp-send-command-and-read): New optional argument NOERROR.
10133 (tramp-open-connection-setup-interactive-shell)
10134 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10135 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10136 (tramp-process-sentinel): Flush also process' connection property.
10137 (tramp-sh-handle-start-file-process): Do not set process
10138 sentinel. It is done now ...
10139 (tramp-maybe-open-connection): ... here. (Bug#8929)
10140
10141 2011-07-04 MON KEY <monkey@sandpframing.com>
10142
10143 * play/animate.el (animate-string): Doc fixes and allow changing
10144 the buffer name (bug#5417).
10145
10146 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10147
10148 * play/animate.el (animation-buffer-name): Rename from *animate*.
10149
10150 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10151
10152 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10153 This is simpler and helps future-proof the code.
10154 (timer-until): Use time-subtract and float-time.
10155 (timer--time-less-p): Use time-less-p.
10156
10157 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10158
10159 * type-break.el (timep): Use the value of `float-time' to avoid a
10160 byte-compiler warning.
10161
10162 * server.el (server-eval-and-print): Return any result, even nil.
10163
10164 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10165
10166 * type-break.el: Accept time formats that the builtins accept.
10167 (timep, type-break-time-difference): Accept any format that
10168 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10169 This is simpler and helps future-proof the code.
10170 (type-break-time-difference): Round rather than ignoring
10171 subseconds components.
10172
10173 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10174
10175 * info.el (Info-apropos-matches): Make non-interactive, since it
10176 doesn't seem to do anything useful as a command (bug#8829).
10177
10178 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10179
10180 * frame.el (frame-background-mode, frame-set-background-mode):
10181 Move from faces.el.
10182 (frame-default-terminal-background): New function.
10183
10184 * custom.el (custom-push-theme): Don't record faces in `changed'
10185 theme; this doesn't work correctly for per-frame face settings.
10186 (disable-theme): Use face-set-after-frame-default to reset faces.
10187 (custom--frame-color-default): New function.
10188
10189 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10190
10191 * dired.el (dired-flagging-regexp): Remove unused variable
10192 (bug#8769).
10193
10194 2011-03-29 Kevin Ryde <user42@zip.com.au>
10195
10196 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10197 `perl-Test2' extend to match possible "fail #N" rep count
10198 (bug#8377).
10199
10200 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10201
10202 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10203 `smtpmail-via-smtp' now returns the error instead of nil.
10204
10205 * isearch.el (isearch-search-fun-function): Clarify the doc string
10206 (bug#8101).
10207
10208 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10209
10210 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10211 unnecessary spaces (bug#8987).
10212
10213 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10214
10215 * net/network-stream.el (open-network-stream): Use the
10216 :end-of-capability command thoughout.
10217
10218 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10219
10220 * net/network-stream.el (open-network-stream): Add the
10221 :end-of-capability command parameter, used by pop3.el.
10222
10223 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10224
10225 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10226
10227 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10228 for list)" (bug#6475).
10229
10230 * files.el (file-expand-wildcards): Ignore non-readable
10231 sub-directories while trying to find matches instead of signaling
10232 an error (bug#6297).
10233
10234 * man.el (Man-reference-regexp): Allow matching possible
10235 word-wrapped references (bug#6289).
10236
10237 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10238 for consistency with the other vc buffers (bug#6197).
10239 (vc-checkin): Ditto.
10240
10241 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10242
10243 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10244
10245 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10246
10247 * custom.el (defcustom): Clarify that :set is only used in the
10248 Customize user interface (bug#6089).
10249
10250 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10251 associated with a file, refuse to run instead of erroring out
10252 (bug#6084).
10253
10254 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10255 the doc string, since it appears that using `fill-column' always
10256 controls the width (bug#7845).
10257
10258 * simple.el (shell-command-on-region): Say where the error output
10259 went if `shell-command-default-error-buffer' is set (bug#6857).
10260
10261 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10262
10263 * allout.el (allout-yank-processing): Adjust cursor position for
10264 backwards-deleted space.
10265
10266 (allout-rebullet-heading): Register changes with
10267 allout-exposure-changed-hook, so the modified topic is properly
10268 decorated.
10269
10270 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10271
10272 * minibuffer.el (completion-in-region): Document PREDICATE
10273 (bug#7136).
10274
10275 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10276 of keyword/argument pairs (bug#6904).
10277
10278 * replace.el (multi-occur):
10279 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10280
10281 2011-07-02 Drew Adams <drew.adams@oracle.com>
10282
10283 * dired.el (dired-mark-if): Make the message about whether it's
10284 marking or unmarking clearer (bug#8523).
10285
10286 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10287
10288 * disp-table.el (display-table-print-array): New function.
10289 (describe-display-table): Use it to print the vectors more pretty
10290 (Bug#8859).
10291
10292 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10293
10294 * window.el (window-state-get-1): Don't assign clone numbers.
10295 Add clone-of item to list of window parameters.
10296 (window-state-put-2): Don't process clone numbers.
10297 (display-buffer-alist): Fix doc-string.
10298
10299 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * subr.el (remq): Don't allocate if it's not needed.
10302 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10303 (keymap--merge-bindings): New functions.
10304 (keymap-canonicalize): Use them to refine the canonicalization.
10305 * minibuffer.el (minibuffer-local-completion-map)
10306 (minibuffer-local-must-match-map): Move initialization from C.
10307 (minibuffer-local-filename-completion-map): Move initialization from C;
10308 don't inherit from anything here.
10309 (minibuffer-local-filename-must-match-map): Make obsolete.
10310 (completing-read-default): Use make-composed-keymap to combine
10311 minibuffer-local-filename-completion-map with either
10312 minibuffer-local-must-match-map or
10313 minibuffer-local-filename-completion-map.
10314
10315 2011-07-01 Glenn Morris <rgm@gnu.org>
10316
10317 * type-break.el (type-break-time-sum): Use dolist.
10318
10319 * textmodes/flyspell.el (flyspell-word-search-backward):
10320 Replace CL function.
10321
10322 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10323
10324 * mouse.el (mouse--strip-first-event): New function.
10325 (function-key-map): Use it to map fringe clicks to normal clicks
10326 by default.
10327
10328 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10329 (vc-bzr-revision-completion-table): Add support for annotate and date.
10330
10331 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10332 inherit from parent.
10333
10334 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10335
10336 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10337 (dired-show-file-type): Doc fixup (bug#8818).
10338
10339 * dired.el (dired-mode): Fix up the doc string as suggested by
10340 Drew Adams (bug#8817).
10341
10342 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10343 cookie, since the manual says that it should be possible to add
10344 this function to `find-file-hook' (bug#8709).
10345
10346 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10347
10348 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10349 here. Noted Ted Zlatanov as the maintainer.
10350 (cfengine-common-settings, cfengine-common-syntax): New functions
10351 to set up common things between `cfengine-mode' and
10352 `cfengine3-mode'.
10353 (cfengine3-mode): New mode.
10354 (cfengine3-defuns cfengine3-defuns-regex
10355 (cfengine3-class-selector-regex cfengine3-category-regex)
10356 (cfengine3-vartypes cfengine3-font-lock-keywords)
10357 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10358 (cfengine3-indent-line): Add from cfengine3.el.
10359
10360 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10361
10362 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10363
10364 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10365
10366 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10367
10368 * window.el (same-window-buffer-names, same-window-regexps)
10369 (same-window-p, special-display-frame-alist)
10370 (special-display-popup-frame, special-display-function)
10371 (special-display-buffer-names, special-display-regexps)
10372 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10373 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10374 (split-window-preferred-function, split-height-threshold)
10375 (split-width-threshold, even-window-heights)
10376 (display-buffer-mark-dedicated, window-splittable-p)
10377 (split-window-sensibly, window-safely-shrinkable-p):
10378 Un-obsolete.
10379 (display-buffer): Don't spread args with function specifier
10380 because special-display-popup-frame won't like it.
10381
10382 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10383
10384 Time-stamp simplifications and fixes.
10385 These improve accuracy slightly, and future-proof the code
10386 against some potential changes to current-time format.
10387
10388 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10389 by using time-since and float-time.
10390
10391 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10392 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10393 + NNN microseconds".
10394
10395 * type-break.el (type-break-time-sum): Rewrite using time-add.
10396
10397 * play/hanoi.el (hanoi-current-time-float): Remove.
10398 All uses replaced by float-time.
10399
10400 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10401 This yields a more-accurate answer.
10402 (rng-time-to-float): Remove; no longer needed.
10403
10404 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10405
10406 * calendar/timeclock.el (timeclock-seconds-to-time):
10407 Defalias to seconds-to-time, since they're the same thing.
10408
10409 * emacs-lisp/elp.el (elp-elapsed-time):
10410 * emacs-lisp/benchmark.el (benchmark-elapse):
10411 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10412
10413 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10414
10415 * window.el (bury-buffer): Don't iconify the only frame.
10416 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10417 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10418
10419 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10420
10421 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10422 Add mouse-yank-primary.
10423
10424 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10425
10426 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10427
10428 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10429
10430 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10431 (find-library-name): Use it to find relative load names when provided
10432 absolute file name (bug#8803).
10433
10434 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10435
10436 * textmodes/flyspell.el (flyspell-word): Consider words that
10437 differ only in case as potential doublons (bug#5687).
10438
10439 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10440 Remove two rather uninteresting debugging-like messages to make
10441 debbugs.el more silent.
10442
10443 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10444 a password-like phrase.
10445
10446 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10447
10448 * progmodes/cc-guess.el: New file.
10449
10450 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10451
10452 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10453 derived from `c-basic-common-init'.
10454
10455 * progmodes/cc-mode.el (top-level): Require cc-guess.
10456 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10457
10458 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10459
10460 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10461
10462 2011-06-30 Alan Mackenzie <acm@muc.de>
10463
10464 * progmodes/cc-engine.el (c-guess-continued-construct):
10465 Correct the handling of template-args-cont, particularly for when font
10466 lock is disabled. Name this case as "CASE G".
10467
10468 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10469
10470 * allout.el (allout-yank-processing): Fix injection of extra space
10471 between bullet and non-whitespace character in first topic when
10472 pasting, ensuring that the actual spacing in the pasted topic
10473 following the bullet char is preserved. This extra space was
10474 causing pasted encrypted topics to get a decrypted status even
10475 when the content was actually still encrypted. Now the decryption
10476 status from before the paste is preserved.
10477
10478 (allout-flag-region): Set all allout overlays so they evaporate
10479 when reduced to zero length (evanescent), to prevent overlay
10480 leakage.
10481
10482 2011-06-30 Glenn Morris <rgm@gnu.org>
10483
10484 * w32-fns.el (w32-charset-info-alist): Declare.
10485
10486 * find-dired.el (find-grep-options): Simplify.
10487
10488 * term/ns-win.el (ns-set-resource): Declare.
10489
10490 * ses.el (row, col): Declare dynamic variables honestly.
10491
10492 * textmodes/reftex-parse.el (index-tags): Declare.
10493
10494 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10495
10496 * cus-edit.el (customize-push-and-save): New function.
10497
10498 * files.el (hack-local-variables-confirm): Use it.
10499
10500 * custom.el (load-theme): New arg NO-CONFIRM.
10501 Use customize-push-and-save (Bug#8720).
10502 (custom-enabled-themes): Doc fix.
10503
10504 * cus-theme.el (customize-create-theme)
10505 (custom-theme-merge-theme): Callers to load-theme changed.
10506
10507 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10508
10509 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10510 short URLs have at least one dot in them (bug #7614).
10511
10512 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10513 nil, because using a pty is apparently too slow (bug #895).
10514
10515 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10516
10517 * mail/sendmail.el (sendmail-query-once): New function.
10518 (sendmail-query-once-function): New variable.
10519
10520 2011-06-29 Glenn Morris <rgm@gnu.org>
10521
10522 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10523
10524 * ses.el (top-level): Require cl when compiling.
10525 (ses-set-localvars): Fix error statement.
10526 Call it at compile time to silence a storm of warnings.
10527
10528 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10529
10530 * window.el (normalize-live-buffer): Rename to
10531 window-normalize-buffer.
10532 (normalize-live-frame): Rename to window-normalize-frame.
10533 (normalize-any-window): Rename to window-normalize-any-window.
10534 (normalize-live-window): Rename to window-normalize-live-window.
10535 (make-window-atom): Rename to window-make-atom.
10536 (window-resize-reset): Rename to window--resize-reset.
10537 (window-resize-reset-1): Rename to window--resize-reset-1.
10538 (resize-mini-window): Rename to window--resize-mini-window.
10539 (resize-subwindows-skip-p): Rename to
10540 window--resize-subwindows-skip-p.
10541 (resize-subwindows-normal): Rename to
10542 window--resize-subwindows-normal.
10543 (resize-subwindows): Rename to window--resize-subwindows.
10544 (resize-other-windows): Rename to window--resize-siblings.
10545 (resize-this-window): Rename to window--resize-this-window.
10546 (resize-root-window): Rename to window--resize-root-window.
10547 (resize-root-window-vertically): Rename to
10548 window--resize-root-window-vertically.
10549 (normalize-buffer-to-display): Rename to
10550 window-normalize-buffer-to-display.
10551 (normalize-buffer-to-switch-to): Rename to
10552 window-normalize-buffer-to-switch-to.
10553 Correspondingly update all callers of the functions listed
10554 above.
10555 (display-buffer-alist, display-buffer-normalize-arguments)
10556 (display-buffer-normalize-options, display-buffer)
10557 (display-buffer-alist-set): Use "function" instead of
10558 "fun-with-args".
10559
10560 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10561
10562 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10563 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10564 debbugs.gnu.org. Mention acknowledgment email.
10565
10566 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10567
10568 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10569 buffer multibyteness, since it shouldn't matter.
10570
10571 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10572
10573 * window.el (display-buffer-in-side-window): Handle dedicated
10574 windows as in display-buffer-reuse-window.
10575 (display-buffer-normalize-alist): Use value of override
10576 specifier.
10577 (display-buffer-normalize-specifiers): Use value of
10578 other-window-means-other-frame specifier.
10579 (display-buffer-alist): Rewrite some texts in widgets.
10580 (display-buffer): Spread arguments when calling function
10581 specified by fun-with-args.
10582
10583 2011-06-28 Deniz Dogan <deniz@dogan.se>
10584
10585 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10586 Unnest `let'.
10587
10588 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10589 selectors (Bug#5732).
10590 (css-proprietary-nmstart-re): Use `regexp-opt'.
10591
10592 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10593
10594 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10595 (eshell-ls-date-format): New defcustom.
10596 (eshell-ls-file): Use it.
10597
10598 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10601
10602 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10603
10604 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10605 (ange-ftp-make-tmp-name): New arg.
10606 (ange-ftp-file-local-copy): Use it.
10607
10608 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10609
10610 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10611 no-conversion (Bug#8870).
10612
10613 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10614
10615 * window.el (window-right, window-left, window-child)
10616 (window-child-count, window-last-child)
10617 (window-iso-combination-p, walk-window-tree-1)
10618 (window-atom-check-1, window-tree-1, delete-window)
10619 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10620 new naming conventions - window-vchild, window-hchild,
10621 window-next and window-prev are now called window-top-child,
10622 window-left-child, window-next-sibling and window-prev-sibling
10623 respectively.
10624 (resize-window-reset): Rename to window-resize-reset.
10625 (resize-window-reset-1): Rename to window-resize-reset-1.
10626 (resize-window): Rename to window-resize.
10627 (window-min-height, window-min-width)
10628 (resize-mini-window, resize-this-window, resize-root-window)
10629 (resize-root-window-vertically, adjust-window-trailing-edge)
10630 (enlarge-window, shrink-window, maximize-window)
10631 (minimize-window, delete-window, quit-restore-window)
10632 (split-window, balance-windows, balance-windows-area-adjust)
10633 (balance-windows-area, window-state-put-2)
10634 (display-buffer-even-window-sizes, display-buffer-set-height)
10635 (display-buffer-set-width, set-window-text-height)
10636 (fit-window-to-buffer): Rename all "resize-window" prefixed
10637 calls to use the "window-resize" prefix convention.
10638 (display-buffer-alist): Fix symbol for label specifier.
10639 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10640 corresponding specifier.
10641 Reported by Juanma Barranquero <lekktu@gmail.com>.
10642
10643 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10644
10645 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10646 convention.
10647 (ses-call-printer): Does not pass an empty string to formatter when the
10648 cell is empty to keep from barking printer Calc math-format-value.
10649
10650 2011-06-27 Richard Stallman <rms@gnu.org>
10651
10652 * battery.el (battery-mode-line-limit): New variable.
10653 (battery-update): Handle it.
10654
10655 * mail/rmailmm.el (rmail-mime-process-multipart):
10656 Handle truncated messages.
10657
10658 2011-06-27 Glenn Morris <rgm@gnu.org>
10659
10660 * progmodes/flymake.el (flymake-err-line-patterns):
10661 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10662
10663 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10664
10665 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10666 (ses--clean-!, ses--clean-_): New functions.
10667 (ses-range): Add configurability of readout order, and conversion
10668 to Calc vector.
10669
10670 * ses.el (ses-repair-cell-reference-all): New function.
10671 (ses-cell-symbol): Set macro as safe, so that it can be used in
10672 formulas.
10673
10674 * ses.el: Update cycle detection algorithm.
10675 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10676 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10677 (ses-set-localvars): New function.
10678 (ses-make-cell): Add property-list as a cell element.
10679 (ses-cell-property-get-fun, ses-cell-property-get)
10680 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10681 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10682 New functions.
10683 (ses-cell-property-set, ses-cell-property-pop)
10684 (ses-cell-property-get-handle): New macro.
10685 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10686 New aliases, used for code readability.
10687 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10688 cycle detection.
10689 (ses-self-reference-early-detection): New defcustom.
10690 (ses-formula-references): Robustify against self-referring cells.
10691 (ses-mode): Use ses-set-localvars.
10692 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10693 before lauching the update processing.
10694 (ses-initialize-Dijkstra-attempt): New function.
10695 (ses-recalculate-cell): Update for cycle detection based on
10696 Dijkstra algorithm.
10697
10698 * ses.el: Fix commenting and indenting convention.
10699
10700 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10701
10702 * bs.el (bs-cycle-next): Complete last change.
10703
10704 2011-06-27 Drew Adams <drew.adams@oracle.com>
10705
10706 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10707
10708 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10709
10710 * net/network-stream.el (network-stream-open-starttls):
10711 Don't re-get capabilities unless we've reestablished connection.
10712 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10713
10714 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10715 to binary to possibly avoid line encoding issues on Windows (among
10716 other things).
10717
10718 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10719
10720 * net/network-stream.el (open-network-stream): Return an :error
10721 saying what the problem was, if possible.
10722
10723 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10724 server.
10725
10726 * net/network-stream.el (network-stream-open-starttls): If we
10727 wanted to use STARTTLS, and the server offered it, but we weren't
10728 able to because we had no STARTTLS support, then close the connection.
10729 (open-network-stream): Return an :error element, if present.
10730
10731 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10732
10733 * hl-line.el (hl-line-sticky-flag): Doc fix.
10734 (global-hl-line-sticky-flag): New option (Bug#8323).
10735 (global-hl-line-highlight): Obey it.
10736
10737 * vc/vc.el (vc-revert-show-diff): Default to t.
10738
10739 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10740
10741 * allout-widgets.el (allout-widgets-post-command-business):
10742 Stop decorating intermediate isearch matches. They're not being
10743 undecorated when an isearch is continued past, and isearch
10744 automatically collapses them. This leads to "widget leaks", where
10745 decorated items accumulate in collapsed areas. Lines with lots of
10746 hidden widgets can slow down cursor travel, substantially.
10747 Too much complicated machinery would be needed to ensure undecoration,
10748 so we're doing without this nicety.
10749
10750 (allout-widgets-tally-string): Don't try to do a hash-table-count
10751 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10752 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10753 *Messages* when allout-widgets-maintain-tally is t.
10754
10755 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10756
10757 * window.el (display-buffer-normalize-argument): Rename to
10758 display-buffer-normalize-arguments. Handle special meaning of
10759 LABEL argument. Respect special-display-function when popping up
10760 a new frame. Fix code searching for a window showing the buffer
10761 on another frame.
10762 (display-buffer-normalize-specifiers):
10763 Call display-buffer-normalize-arguments.
10764 (display-buffer-in-window): Don't undedicate the window if its
10765 buffer remains the same.
10766 Reported by Drew Adams <drew.adams@oracle.com>.
10767 (display-buffer-alist): Add choice for same-window macro
10768 specfier.
10769 (display-buffer): Mention special meaning of LABEL argument in
10770 doc-string. Fix quoting. Don't pop up a new frame even as
10771 fallback.
10772
10773 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10774
10775 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10776 avoid deleting the current window in some cases (bug#8911).
10777
10778 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10779
10780 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10781 (Bug#8934)
10782
10783 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10784
10785 * net/network-stream.el (network-stream-open-starttls):
10786 Use built-in TLS support if `gnutls-available-p' is true.
10787 (network-stream-open-tls): Ditto.
10788
10789 2011-06-26 Leo Liu <sdl.web@gmail.com>
10790
10791 * register.el (registerv): New struct.
10792 (registerv-make): New function.
10793 (jump-to-register, describe-register-1, insert-register):
10794 Support the jump-func, print-func and insert-func slot of a registerv
10795 struct. (Bug#8415)
10796
10797 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10798
10799 * vc/vc.el (vc-revert-show-diff): New defcustom.
10800 (vc-diff-internal): New arg specifying diff buffer.
10801 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10802 reuse an existing *vc-diff* buffer (Bug#8927).
10803
10804 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10805
10806 2011-06-26 Glenn Morris <rgm@gnu.org>
10807
10808 * progmodes/f90.el (f90-critical-indent): New option.
10809 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10810 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10811 (f90-mode): Doc fix.
10812 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10813 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10814 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10815 (f90-match-end): Handle block, critical.
10816
10817 2011-06-25 Glenn Morris <rgm@gnu.org>
10818
10819 * calendar/diary-lib.el (diary-included-files): Doc fix.
10820 (diary-include-files): New function, extracted from
10821 diary-include-other-diary-files and diary-mark-included-diary-files.
10822 (diary-include-other-diary-files, diary-mark-included-diary-files):
10823 Just call diary-include-files.
10824 (diary-mark-entries): Reset diary-included-files on first call.
10825
10826 * calendar/diary-lib.el (diary-mark-entries)
10827 (diary-mark-included-diary-files):
10828 Visit included diary-files in temp buffers.
10829
10830 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10831 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10832 (f90-start-block-re, f90-imenu-generic-expression)
10833 (f90-looking-at-program-block-start, f90-no-block-limit):
10834 Add support for submodules.
10835
10836 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10837 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10838
10839 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10840
10841 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10842 buffer-file-type before setting its value, to avoid disastrous
10843 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10844
10845 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10846
10847 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10848
10849 * ses.el (ses-unload-function):
10850 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10851
10852 * proced.el (proced-unload-function):
10853 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10854
10855 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10856
10857 * server.el (server-create-window-system-frame): Add parameters arg.
10858 (server-process-filter): Doc fix. Handle frame-parameters.
10859
10860 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10861
10862 Fix bug#8730, bug#8781.
10863
10864 * loadhist.el (unload--set-major-mode): New function.
10865 (unload-feature): Use it.
10866
10867 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10868 (python-unload-function): New function.
10869
10870 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10871
10872 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10873
10874 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10875
10876 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10877 the candidates list.
10878
10879 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10880
10881 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10882
10883 2011-06-23 Richard Stallman <rms@gnu.org>
10884
10885 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10886 (rmail-variables): Set next-error-move-function.
10887 (rmail-what-message): Take argument POS.
10888 (rmail-next-error-move): New function.
10889
10890 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10891
10892 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10893 messages for adjacent non-terminals.
10894
10895 2011-06-23 Richard Stallman <rms@gnu.org>
10896
10897 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10898 (rmail-show-message-1): Preserve buffer modified flag.
10899 (rmail-start-mail): Don't specify use of rmail-mail-return;
10900 that's done by mail-bury now.
10901 (rmail-mail-return): Handle arg NEWBUF.
10902
10903 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10904
10905 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10906 SIZE is a number.
10907
10908 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10909
10910 * window.el (get-lru-window, get-mru-window)
10911 (get-largest-window): Never return a minibuffer window.
10912 (display-buffer-pop-up-window): Fix a bug that could lead to
10913 reusing the minibuffer window.
10914 (display-buffer): Pass original specifier argument to
10915 display-buffer-function instead of the normalized one.
10916 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10917
10918 2011-06-22 Leo Liu <sdl.web@gmail.com>
10919
10920 * minibuffer.el (completing-read-function)
10921 (completing-read-default): Move from minibuf.c
10922
10923 2011-06-22 Richard Stallman <rms@gnu.org>
10924
10925 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10926 to Rmail even if not started by a special Rmail command.
10927
10928 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10929 Copy the buffer currently showing just one message.
10930
10931 2011-06-22 Roland Winkler <winkler@gnu.org>
10932
10933 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10934 (bibtex-clean-entry): First delete the old key so that a
10935 customized algorithm for generating the new key does not get
10936 confused by the old key.
10937 (bibtex-url): Obey regexp of first step.
10938 (bibtex-search-entries): Do not use add-to-list with local
10939 list-var.
10940
10941 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10942
10943 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10944 stored a user name, then query for the password first, instead of
10945 waiting for SMTP to give an error message and the trying again.
10946
10947 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10948
10949 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10950 BUFFER in call-process.
10951
10952 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10953
10954 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10955 QUIT twice.
10956 (smtpmail-try-auth-methods): Require user name and password from
10957 auth-source.
10958
10959 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10960
10961 * window.el (display-buffer-default-specifiers)
10962 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10963 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10964 (split-window): Normalize SIDE argument (Bug#8916).
10965
10966 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10967 (special-display-frame-alist, special-display-popup-frame):
10968 Remove duplicate declarations. These are now in window.el.
10969
10970 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10971
10972 * mail/smtpmail.el (smtpmail-via-smtp):
10973 Set :use-starttls-if-possible so that we always use STARTTLS if the
10974 server supports it. SMTP servers that support STARTTLS commonly
10975 require it.
10976
10977 * net/network-stream.el (network-stream-open-starttls): Support
10978 upgrading to STARTTLS always, even if we don't have built-in support.
10979 (open-network-stream): Add the :always-query-capabilities keyword.
10980
10981 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10982 upgrades with `open-network-stream', and rely solely on
10983 auth-source for all credentials. Big changes throughout the file,
10984 but in particular:
10985 (smtpmail-auth-credentials): Remove.
10986 (smtpmail-starttls-credentials): Remove.
10987 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10988 MAIL FROM, too.
10989
10990 * net/network-stream.el (network-stream-open-starttls):
10991 Provide support for client certificates both for external and built-in
10992 STARTTLS.
10993 (auth-source): Require.
10994 (open-network-stream): Document the :client-certificate keyword.
10995 (network-stream-certificate): Change cert-cert to cert and
10996 cert-key to key.
10997
10998 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10999
11000 * net/tramp-cache.el (top): Don't load the persistency file when
11001 "emacs -Q" has been called.
11002
11003 2011-06-21 Tim Harper <timcharper@gmail.com>
11004
11005 * term/ns-win.el (ns-initialize-window-system):
11006 Set application-specific `ApplePressAndHoldEnabled' system
11007 resource to NO as it is not yet supported by the NS port.
11008
11009 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
11010
11011 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11012 (list-dynamic-libraries): ...not here.
11013
11014 2011-06-21 Leo Liu <sdl.web@gmail.com>
11015
11016 * subr.el (sha1): Implement sha1 using secure-hash.
11017
11018 2011-06-21 Martin Rudalics <rudalics@gmx.at>
11019
11020 * window.el (display-buffer-alist): In default value do not
11021 enforce searching a window on any but the selected frame.
11022 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11023 (display-buffer-select-window): Remove function.
11024 (display-buffer-in-window): When a window on another frame gets
11025 reused, do not select it any more but just raise its frame if
11026 necessary (Bug#8851) and (Bug#8856).
11027 (display-buffer-normalize-options): Handle pop-up-frames related
11028 options more faithfully.
11029 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11030 window if it is on another frame.
11031 (display-buffer-alist, display-buffer-default-specifiers):
11032 Don't make new frame unsplittable by default.
11033 (display-buffer-normalize-argument): Fix doc-string typo and use
11034 'same-frame-other-window instead of 'other-window when associating
11035 with display-buffer-macro-specifiers.
11036
11037 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11038
11039 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11040 New functions.
11041 (5x5-mode-map, 5x5-mode-menu): Bind them.
11042 (5x5-draw-grid): Tweak the solver's rendering.
11043
11044 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11045
11046 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11047 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11048
11049 2011-06-21 Drew Adams <drew.adams@oracle.com>
11050
11051 * menu-bar.el: Use function variable instead of switch-to-buffer.
11052 (menu-bar-select-buffer-function): New variable.
11053 (menu-bar-update-buffers): Use it (bug#8876).
11054
11055 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11056
11057 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11058 variable's status.
11059
11060 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11061
11062 * x-dnd.el (x-dnd-version-from-flags)
11063 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11064 and long as number (Bug#8899).
11065 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11066
11067 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11068
11069 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11070 (completion-try-completion, completion-all-completions): Compute the
11071 metadata argument if it's missing; make it optional (bug#8795).
11072
11073 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11074 (widget-complete): Use new :completion-function property.
11075 (widget-completions-at-point): New function.
11076 (default): Use :completion-function instead of :complete.
11077 (widget-default-completions): Rename from widget-default-complete;
11078 Rewrite.
11079 (widget-string-complete, widget-file-complete, widget-color-complete):
11080 Remove functions.
11081 (file, symbol, function, variable, coding-system, color):
11082 * international/mule-cmds.el (default-input-method, charset)
11083 (language-info-custom-alist):
11084 * cus-edit.el (face): Use new property :completions.
11085
11086 * progmodes/pascal.el (pascal-completions-at-point): New function.
11087 (pascal-mode): Use it.
11088 (pascal-mode-map): Use completion-at-point.
11089 (pascal-toggle-completions): Make obsolete.
11090 (pascal-complete-word, pascal-show-completions):
11091 * progmodes/octave-mod.el (octave-complete-symbol):
11092 Redefine as obsolete alias.
11093 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11094 Signal absence of completion info for old Octave,
11095 (inferior-octave-complete): Redefine as obsolete alias.
11096 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11097 (meta-completions-at-point): Rename from meta-complete-symbol and
11098 adapt it for use on completion-at-point-functions.
11099 (meta-common-mode): Use it.
11100 (meta-looking-at-backward, meta-match-buffer): Remove.
11101 (meta-complete-symbol): Redefine as obsolete alias.
11102 (meta-common-mode-map): Use completion-at-point.
11103 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11104 (makefile-mode-map): Use completion-at-point.
11105 (makefile-completions-at-point): Rename from makefile-complete and
11106 adapt it for use on completion-at-point-functions.
11107 (makefile-mode): Use it.
11108 (makefile-complete): Redefine as obsolete alias.
11109
11110 2011-06-20 Deniz Dogan <deniz@dogan.se>
11111
11112 * net/rcirc.el: Delete trailing whitespaces once and for all.
11113
11114 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11115
11116 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11117
11118 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11119
11120 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11121
11122 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11123
11124 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11125
11126 * window.el (display-buffer-other-window-means-other-frame):
11127 Call display-buffer-normalize-alist.
11128 (display-buffer-normalize-specifiers-1): Rename to
11129 display-buffer-normalize-argument. New argument other-frame.
11130 Rewrite.
11131 (display-buffer-normalize-specifiers-2): Rename to
11132 display-buffer-normalize-options.
11133 (display-buffer-normalize-alist-1): New function.
11134 (display-buffer-normalize-specifiers-3): Rename to
11135 display-buffer-normalize-alist.
11136 Call display-buffer-normalize-alist-1.
11137 (display-buffer-normalize-options-inhibit): New variable.
11138 (display-buffer-normalize-specifiers): Rewrite calling
11139 display-buffer-normalize-alist,
11140 display-buffer-normalize-argument, and
11141 display-buffer-normalize-options. Don't call the latter if
11142 display-buffer-normalize-options-inhibit is non-nil.
11143 (frame-auto-delete): New option.
11144 (window-deletable-p): Use frame-auto-delete.
11145 (window-list-no-nils, window-state-ignored-parameters)
11146 (window-state-get-1, window-state-get, window-state-put-list)
11147 (window-state-put-1, window-state-put-2, window-state-put):
11148 New functions.
11149 (display-buffer-normalize-options): Move special-display-p group
11150 after pop-up-frame group (Bug#8851) and (Bug#8856).
11151
11152 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11153
11154 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11155 groups (Bug#8776).
11156 (rx-submatch-n): New function.
11157 (rx): Document it.
11158
11159 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11160 (Bug#8768).
11161
11162 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11163
11164 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11165
11166 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11167 anytime existing face settings are present (Bug#8889).
11168
11169 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11170 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11171 Remove unused argument.
11172
11173 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11174
11175 * window.el (display-buffer-default-specifiers):
11176 Remove pop-up-frame. Add pop-up-window-min-height,
11177 pop-up-window-min-width, and another reuse-window specifier
11178 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11179 (display-buffer-normalize-specifiers-2):
11180 Handle split-height-threshold and split-width-threshold also when
11181 pop-up-windows is unset. Add a reuse-window specifier for the
11182 case popping up a new window fails.
11183 (special-display-popup-frame): Remove double quoting.
11184 (display-buffer-normalize-specifiers-1): Fix thinko.
11185
11186 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11187
11188 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11189 according to comint-completion-addsuffix.
11190
11191 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11192 (pcomplete-suffix-list): Mark as obsolete.
11193 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11194 pcomplete-seen in the closure.
11195 (pcomplete-comint-setup): Setup completion-at-point as well.
11196 (pcomplete--entries): New function.
11197 (pcomplete--env-regexp): New var.
11198 (pcomplete-entries): Rewrite to work with partial-completion and
11199 without relying on pcomplete-suffix-list.
11200 (pcomplete-pare-list): Remove, unused.
11201
11202 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11203
11204 * window.el (display-buffer-alist): Set pop-up-window-min-height
11205 and pop-up-window-min-width in default value. Reported by
11206 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11207 other-window-means-other-frame.
11208 (display-buffer-macro-specifiers): Comment out entry for
11209 other-window specifier.
11210 (display-buffer-other-window-means-other-frame): New function.
11211 (display-buffer-normalize-specifiers-1): New arguments
11212 buffer-name and label. Treat other-window case specially.
11213 (display-buffer-normalize-specifiers-2): Treat other-window case
11214 specially.
11215 (display-buffer-normalize-specifiers-3): New function.
11216 (display-buffer-normalize-specifiers):
11217 Call display-buffer-normalize-specifiers-3.
11218
11219 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11220
11221 * window.el (same-window-p): Fix two typos introduced when
11222 adding with-no-warnings.
11223 (display-buffer-normalize-specifiers-1): Don't check
11224 pop-up-frames for 'unset initialization.
11225 (display-buffer-normalize-specifiers-2): Major rewrite using
11226 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11227 (pop-up-frames, display-buffer-reuse-frames)
11228 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11229 Suggested by David Engster <deng@randomsample.de>.
11230 (even-window-heights): Initialize to 'unset.
11231 (display-buffer-alist-set): Handle new 'unset initializations.
11232 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11233 other window case.
11234
11235 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11236
11237 * window.el (display-buffer-normalize-specifiers-1):
11238 Respect current value of pop-up-frames for most reasonable values of
11239 second argument of display-buffer (Bug#8865).
11240 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11241 (switch-to-buffer-other-window-same-frame)
11242 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11243 Adams (Bug#8875).
11244 (display-buffer): Don't check noninteractive when calling
11245 display-buffer-pop-up-frame.
11246 (display-buffer-pop-up-frame): Never pop up a frame in
11247 noninteractive mode (Bug#8857).
11248 (enlarge-window, shrink-window): Don't report an error when the
11249 window can't be resized as requested (Bug#8862).
11250
11251 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11252
11253 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11254
11255 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11256
11257 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11258
11259 2011-06-15 Alan Mackenzie <acm@muc.de>
11260
11261 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11262 for declarators, disable knr checking to speed up for normal files.
11263 2: Refactor, replacing a sequence of nested if forms by a cond form.
11264
11265 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11266
11267 * net/network-stream.el (open-network-stream): Add the keyword
11268 :always-query-capabilities for the case where you want to force a
11269 `plain' network connection, but the protocol still requires the
11270 capabilitiy command (i.e., SMTP and EHLO).
11271
11272 * subr.el (process-live-p): Rename from `process-alive-p' for
11273 consistency with other `-live-p' functions.
11274
11275 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11276
11277 * window.el (same-window-buffer-names, same-window-regexps)
11278 (special-display-frame-alist, special-display-popup-frame)
11279 (special-display-function, special-display-buffer-names)
11280 (special-display-regexps, pop-up-frame-alist)
11281 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11282 (pop-up-windows, split-window-preferred-function)
11283 (split-height-threshold, split-width-threshold, even-window-heights)
11284 (display-buffer-mark-dedicated): Don't encourage the use of
11285 display-buffer-alist from Elisp code.
11286
11287 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11288
11289 * progmodes/python.el (python-mode): Derive from prog-mode.
11290 * progmodes/ps-mode.el (ps-mode):
11291 * progmodes/mixal-mode.el (mixal-mode):
11292 * progmodes/cfengine.el (cfengine-mode):
11293 * progmodes/ld-script.el (ld-script-mode): Likewise.
11294
11295 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11296
11297 * window.el (display-buffer-alist): Trim default value to avoid
11298 popping up a new frame (Bug#8857) or reusing an arbitrary window
11299 on another frame.
11300 (display-buffer): Do not fall back on popping up a new frame in
11301 batch mode (Bug#8857).
11302
11303 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11304
11305 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11306 (custom-theme-summary): New function.
11307 (customize-themes): Use it.
11308
11309 2011-06-13 Glenn Morris <rgm@gnu.org>
11310
11311 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11312
11313 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11314
11315 * help.el (help-window): Remove variable.
11316 (help-window-point-marker, temp-buffer-max-height)
11317 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11318 (help-print-return-message): Don't set help-window.
11319 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11320 (help-window-setup-finish): Remove.
11321 (help-window-display-message, help-window-setup)
11322 (with-help-window): Major rewrite based on new
11323 display-buffer-window variable.
11324
11325 * help-mode.el (help-mode-finish): Remove help-window related
11326 code.
11327
11328 * view.el (view-exits-all-viewing-windows): Remove reference to
11329 view-return-to-alist in doc-string.
11330 (view-return-to-alist): Make obsolete.
11331 (view-buffer): Call pop-to-buffer-same-window and remove
11332 undo-window code.
11333 (view-buffer-other-window): Call pop-to-buffer-other-window and
11334 simplify code. Ignore second argument.
11335 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11336 simplify code. Ignore second argument.
11337 (view-return-to-alist-update): Make obsolete.
11338 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11339 Rewrite using quit-restore window parameters.
11340 (view-mode-exit): Rename second argument to EXIT-ONLY.
11341 Rewrite using quit-restore-window.
11342 (View-exit, View-exit-and-edit, View-leave, View-quit)
11343 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11344 appropriate arguments.
11345 (view-end-message): Use quit-restore window parameter.
11346
11347 * window.el (display-buffer-function): Rewrite doc-string.
11348 (display-buffer-window, display-buffer-alist): New variables.
11349 (display-buffer-split-specifiers)
11350 (display-buffer-side-specifiers)
11351 (display-buffer-macro-specifiers): New constants.
11352 (display-buffer-even-window-sizes, display-buffer-set-height)
11353 (display-buffer-set-width, display-buffer-select-window)
11354 (display-buffer-in-window, display-buffer-reuse-window)
11355 (display-buffer-split-window-1, display-buffer-split-window)
11356 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11357 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11358 (display-buffer-in-side-window, normalize-buffer-to-display)
11359 (display-buffer-normalize-specifiers-1)
11360 (display-buffer-normalize-specifiers-2)
11361 (display-buffer-normalize-specifiers, display-buffer-frame):
11362 New functions.
11363 (display-buffer): Major rewrite.
11364 (display-buffer-other-window, display-buffer-other-frame)
11365 (pop-to-buffer, switch-to-buffer-other-window)
11366 (switch-to-buffer-other-frame): Rewrite.
11367 (display-buffer-same-window, display-buffer-same-frame)
11368 (display-buffer-same-frame-other-window)
11369 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11370 (pop-to-buffer-other-window)
11371 (pop-to-buffer-same-frame-other-window)
11372 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11373 (switch-to-buffer-other-window-same-frame): New functions.
11374 (same-window-p, special-display-p): Rewrite disabling warnings.
11375 Make obsolete.
11376 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11377 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11378 Make obsolete
11379 (same-window-buffer-names, same-window-regexps)
11380 (special-display-frame-alist, special-display-popup-frame)
11381 (special-display-function, special-display-buffer-names)
11382 (special-display-regexps, pop-up-frame-alist)
11383 (pop-up-frame-function, split-window-preferred-function)
11384 (split-height-threshold, split-width-threshold)
11385 (even-window-heights): Make obsolete.
11386
11387 2011-06-12 Glenn Morris <rgm@gnu.org>
11388
11389 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11390 Misc simplifications.
11391
11392 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11393
11394 * window.el (window-safely-shrinkable-p): Restore function which
11395 was inadvertently removed in change from 2011-06-11. Declare as
11396 obsolete.
11397
11398 * calendar/calendar.el (calendar-generate-window):
11399 Use window-iso-combined-p instead of combination of one-window-p and
11400 window-safely-shrinkable-p.
11401
11402 2011-06-12 Glenn Morris <rgm@gnu.org>
11403
11404 * progmodes/fortran.el (fortran-mode-syntax-table):
11405 * progmodes/f90.el (f90-mode-syntax-table):
11406 Set % to punctuation. (Bug#8820)
11407 (f90-find-tag-default): Remove, no longer needed.
11408
11409 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11410
11411 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11412
11413 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11414
11415 * image.el (image-animated-p): Return animation delay in seconds.
11416 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11417 (image-animate-timeout): Remove DELAY argument. Don't assume
11418 every subimage has the same delay; get it from image-animated-p.
11419 (image-animate): Caller changed.
11420
11421 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11422
11423 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11424 to ignored backtrace functions.
11425
11426 2011-06-11 Glenn Morris <rgm@gnu.org>
11427
11428 * calendar/appt.el (appt-disp-window-function): Doc fix.
11429 (appt-check): Handle overlapping appointments. (Bug#8337)
11430
11431 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11432
11433 * window.el (window-tree-1, window-tree): New functions, moving
11434 the latter to window.el.
11435 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11436 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11437 (bw-refresh-edges): Remove.
11438 (balance-windows-1, balance-windows-2): New functions.
11439 (balance-windows): Rewrite in terms of window tree functions,
11440 balance-windows-1 and balance-windows-2.
11441 (bw-adjust-window): Remove.
11442 (balance-windows-area-adjust): New function with functionality of
11443 bw-adjust-window but using resize-window.
11444 (set-window-text-height): Rewrite doc-string.
11445 Use normalize-live-window and resize-window.
11446 (enlarge-window-horizontally, shrink-window-horizontally):
11447 Rename argument to DELTA.
11448 (window-buffer-height): New function.
11449 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11450 Rewrite using new window resize routines.
11451 (kill-buffer-and-window, mouse-autoselect-window-select):
11452 Use ignore-errors instead of condition-case.
11453 (quit-window): Call delete-frame instead of delete-windows-on
11454 for the only buffer on frame.
11455
11456 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11457
11458 * loadup.el (top-level): Load window before files for the sake
11459 of replace-buffer-in-windows.
11460
11461 * files.el (read-buffer-to-switch)
11462 (switch-to-buffer-other-window)
11463 (switch-to-buffer-other-frame, display-buffer-other-frame):
11464 Move to window.el.
11465
11466 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11467 (previous-buffer): Move to window.el.
11468
11469 * bindings.el (unbury-buffer): Move to window.el.
11470
11471 * window.el (delete-other-windows-vertically): Move after
11472 definition of delete-other-windows.
11473 (other-window, delete-windows-on, replace-buffer-in-windows):
11474 Move here from window.c.
11475 (record-window-buffer, unrecord-window-buffer)
11476 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11477 (switch-to-next-buffer): New functions.
11478 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11479 from simple.el. Call switch-to-next-buffer.
11480 (previous-buffer): Move here from simple.el.
11481 Call switch-to-prev-buffer.
11482 (bury-buffer): Move here from buffer.c. Switch to previous
11483 buffer when window cannot be deleted.
11484 (unbury-buffer): Move here from bindings.el.
11485 (ctl-x-map): Move binding for other-window from window.c to
11486 here.
11487 (read-buffer-to-switch, switch-to-buffer-other-window)
11488 (switch-to-buffer-other-frame): Move here from files.el.
11489 (normalize-buffer-to-switch-to): New functions.
11490 (switch-to-buffer): Move here from buffer.c.
11491 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11492
11493 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11494
11495 * window.el (window-min-height, window-min-width): Move here
11496 from window.c. Add defcustoms and rewrite doc-strings.
11497 (resize-mini-window, resize-window): New functions.
11498 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11499 Move here from window.c.
11500 (maximize-window, minimize-window): New functions.
11501 (delete-window, delete-other-windows, split-window): Move here
11502 from window.c.
11503 (window-split-min-size): New function.
11504 (split-window-keep-point): Mention split-window-above-each-other
11505 instead of split-window-vertically.
11506 (split-window-above-each-other, split-window-vertically):
11507 Rename split-window-vertically to split-window-above-each-other
11508 and provide defalias for old definition.
11509 (split-window-side-by-side, split-window-horizontally):
11510 Rename split-window-horizontally to split-window-side-by-side
11511 and provide defalias for the old definition.
11512 (ctl-x-map): Move bindings for delete-window,
11513 delete-other-windows and enlarge-window here from window.c.
11514 Replace bindings for split-window-vertically and
11515 split-window-horizontally by bindings for
11516 split-window-above-each-other and split-window-side-by-side.
11517
11518 * cus-start.el (all): Remove entries for window-min-height and
11519 window-min-width. Add entries for window-splits and
11520 window-nest.
11521
11522 2011-06-09 Glenn Morris <rgm@gnu.org>
11523
11524 * calendar/appt.el (appt-mode-line): New function.
11525 (appt-check, appt-disp-window): Use it.
11526
11527 * files.el (hack-one-local-variable-eval-safep):
11528 Allow minor-modes with explicit +/-1 arguments.
11529
11530 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11531
11532 * term/xterm.el (xterm): Add defgroup.
11533 (xterm-extra-capabilities): Add defcustom to supply known xterm
11534 capabilities, skip querying them, or query them (default).
11535 (terminal-init-xterm): Use it.
11536 (terminal-init-xterm-modify-other-keys): New function to set up
11537 modifyOtherKeys support to simplify `terminal-init-xterm'.
11538
11539 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11540
11541 * window.el (resize-window-reset, resize-window-reset-1)
11542 (resize-subwindows-skip-p, resize-subwindows-normal)
11543 (resize-subwindows, resize-other-windows, resize-this-window)
11544 (resize-root-window, resize-root-window-vertically)
11545 (window-deletable-p, window-or-subwindow-p)
11546 (frame-root-window-p): New functions.
11547
11548 2011-06-09 Glenn Morris <rgm@gnu.org>
11549
11550 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11551 (ange-ftp-get-files): Use it.
11552
11553 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11554
11555 * mail/sendmail.el (mail-recover-1, mail-recover):
11556 * files.el (recover-file, recover-session):
11557 Handle dired-listing-switches not being just a single short option.
11558
11559 2011-06-09 Glenn Morris <rgm@gnu.org>
11560
11561 * calendar/appt.el (appt-display-message, appt-disp-window):
11562 Handle lists of appointments.
11563
11564 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11565
11566 * window.el (one-window-p): Move down in code.
11567 Rewrite doc-string.
11568 (window-current-scroll-bars): Rewrite doc-string.
11569 Normalize live window argument.
11570 (walk-windows, get-window-with-predicate, count-windows):
11571 Rewrite doc-string. Use window-list-1.
11572 (window-in-direction-2, window-in-direction, get-mru-window):
11573 New functions.
11574
11575 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11576
11577 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11578 Doc fix (Bug#8713).
11579
11580 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11581
11582 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11583
11584 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11585
11586 * loadhist.el (unload-feature-special-hooks):
11587 Add `comint-output-filter-functions'.
11588
11589 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11590
11591 * calendar/appt.el (appt-check): Move some initializations into the let.
11592
11593 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11594
11595 * window.el (window-height): Defalias to window-total-height.
11596 (window-width): Defalias to window-body-width.
11597
11598 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11599
11600 * image-mode.el (image-toggle-animation): New command.
11601 (image-mode-map): Bind it to RET.
11602 (image-mode): Update message.
11603 (image-toggle-display-image): Avoid a spurious cache flush.
11604 (image-transform-rotation): Doc fix.
11605 (image-transform-properties): Return quickly in the normal case.
11606 (image-animate-loop): Rename from image-animate-max-time.
11607
11608 * image.el (image-animate-max-time): Move to image-mode.el.
11609 (create-animated-image): Remove unnecessary function.
11610 (image-animate): Rename from image-animate-start. New arg.
11611 (image-animate-stop): Remove; just use image-animate-timer.
11612 (image-animate-timer): Use car-safe.
11613 (image-animate-timeout): Rename argument.
11614
11615 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11616
11617 * window.el (get-lru-window, get-largest-window): Move here from
11618 window.c. Rename first argument to ALL-FRAMES.
11619 Rephrase doc-strings.
11620 (get-buffer-window-list): Rewrite using window-list-1.
11621 Rephrase doc-string.
11622 (window-safe-min-height, window-safe-min-width): New constants.
11623 (window-size-ignore, window-min-size, window-min-size-1)
11624 (window-sizable, window-sizable-p, window-size-fixed-1)
11625 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11626 (window-max-delta-1, window-max-delta, window-resizable)
11627 (window-resizable-p, window-total-height, window-total-width)
11628 (window-body-width): New functions.
11629 (window-full-height-p, window-full-width-p): Rewrite using
11630 window-total-size.
11631 (window-body-height): Rewrite using window-body-size.
11632
11633 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11634
11635 * window.el (window-right, window-left, window-child)
11636 (window-child-count, window-last-child, window-any-p)
11637 (normalize-live-buffer, normalize-live-frame)
11638 (normalize-any-window, normalize-live-window)
11639 (window-iso-combination-p, window-iso-combined-p)
11640 (window-iso-combinations)
11641 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11642 (windows-with-parameter, window-with-parameter)
11643 (window-atom-root, make-window-atom, window-atom-check-1)
11644 (window-atom-check, window-side-check, window-check):
11645 New functions.
11646 (ignore-window-parameters, window-sides, window-sides-vertical)
11647 (window-sides-slots): New variables.
11648 (window-size-fixed): Move down in code. Minor doc-string fix.
11649
11650 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11651
11652 * comint.el (comint-dynamic-complete-as-filename)
11653 (comint-dynamic-complete-filename): Correctly call
11654 completion-in-region.
11655
11656 2011-06-05 Deniz Dogan <deniz@dogan.se>
11657
11658 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11659 in last change.
11660
11661 2011-06-05 Deniz Dogan <deniz@dogan.se>
11662
11663 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11664 (rcirc): Use it to prompt for encryption.
11665
11666 2011-06-05 Roland Winkler <winkler@gnu.org>
11667
11668 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11669 (bibtex-search-entries): New command bound to C-c C-a.
11670 (bibtex-display-entries): New function.
11671
11672 2011-06-05 Roland Winkler <winkler@gnu.org>
11673
11674 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11675 (bibtex-insert-kill): After yanking insert newline if necessary.
11676 (bibtex-initialize): Call bibtex-string-files-init only once.
11677 (bibtex-mode): Do not call easy-menu-add.
11678 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11679 (bibtex-yank): Set arg properly if nil.
11680
11681 2011-06-05 Roland Winkler <winkler@gnu.org>
11682
11683 * textmodes/bibtex.el (bibtex-search-entry-globally):
11684 New variable.
11685 (bibtex-search-entry): Use it.
11686
11687 2011-06-05 Roland Winkler <winkler@gnu.org>
11688
11689 * textmodes/bibtex.el (bibtex-entry-format): New option
11690 sort-fields.
11691 (bibtex-format-entry, bibtex-reformat): Honor this option.
11692 (bibtex-parse-entry): Return fields in proper order.
11693
11694 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11695
11696 * doc-view.el (doc-view-remove-if): Move computation of result out
11697 of `dolist' to silence misleading lexical-binding warning.
11698
11699 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11700
11701 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11702 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11703
11704 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11705
11706 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11707 "SunOS 5.10".
11708
11709 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11710
11711 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11712 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11713 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11714 (tramp-parse-putty):
11715 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11716 (tramp-completion-function-alist-ssh)
11717 (tramp-completion-function-alist-telnet)
11718 (tramp-completion-function-alist-su)
11719 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11720 cookie.
11721
11722 * net/tramp-ftp.el:
11723 * net/tramp-sh.el:
11724 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11725 load "tramp.el" `tramp-set-completion-function'.
11726
11727 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11728
11729 * shell.el: Require and use pcomplete.
11730 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11731 (shell-completion-vars): Set pcomplete-default-completion-function.
11732
11733 2011-06-04 Deniz Dogan <deniz@dogan.se>
11734
11735 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11736 `memq' (Bug#8799).
11737
11738 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11739
11740 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11741
11742 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11743
11744 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11745 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11746 * vc/log-view.el (log-view-beginning-of-defun):
11747 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11748 (smerge-refine-forward, smerge-refine-chopup-region):
11749 Silence warning for unused `dotimes' counter variables.
11750
11751 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11752
11753 * net/tramp.el (tramp-with-progress-reporter): Rename from
11754 with-progress-reporter. Use `declare'.
11755 * net/tramp-smb.el:
11756 * net/tramp-sh.el:
11757 * net/tramp-gvfs.el: Update all uses.
11758
11759 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11760
11761 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11762 buffer isn't killed before making it current.
11763
11764 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 Silence various byte-compiler warnings.
11767 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11768 `access-type' and new obsolescence format.
11769 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11770 new format.
11771 (byte-compile-check-variable): New `access-type' argument.
11772 Only warn if the access-type is obsolete.
11773 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11774 (byte-compile-variable-set): Adjust callers.
11775 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11776 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11777 setting it as obsolete.
11778 * simple.el (minibuffer-completing-symbol):
11779 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11780 access as obsolete.
11781 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11782 obsolete yet.
11783 * international/quail.el (quail-mouse-choose-completion): Remove unused
11784 code referring to obsolete var.
11785 (quail-choose-completion-string): Remove.
11786 * server.el (server-clients-with, server-kill-buffer-query-function)
11787 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11788 * proced.el (proced-send-signal):
11789 * emacs-lisp/lisp.el (lisp-complete-symbol):
11790 Replace completion-annotate-function with completion-extra-properties.
11791
11792 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * simple.el (goto-line): Use read-number.
11795 (overriding-map-is-bound): Remove.
11796 (saved-overriding-map): Change default.
11797 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11798 Take the map as argument.
11799 (universal-argument, negative-argument, digit-argument): Use it.
11800 (restore-overriding-map): Adjust.
11801 (do-auto-fill): Use fill-forward-paragraph.
11802 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11803
11804 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11805 (minibuffer-inactive-mode): New major mode.
11806 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11807 the *Messages* buffer" hack.
11808 (mouse-popup-menubar): Don't burp if the event is a normal key.
11809
11810 Miscellaneous tweaks.
11811 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11812 lexical scoping as in subr.el's dolist and dotimes.
11813 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11814 Silence compiler warning.
11815 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11816 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11817 * international/ccl.el (ccl-compile): Trivial simplification.
11818 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11819 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11820 `printflag' argument.
11821 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11822 Purecopy the whole obsolescence data.
11823
11824 2011-06-01 Leo Liu <sdl.web@gmail.com>
11825
11826 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11827 improve doc-string as suggested by Marco Pessotto
11828 <melmothx@gmail.com>.
11829 (rcirc-print): Fix last change.
11830
11831 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11832
11833 * minibuffer.el (complete-with-action): Return nil for the metadata and
11834 boundaries of non-functional tables.
11835 (completion-table-dynamic): Return nil for the metadata.
11836 (completion-table-with-terminator): Add default case, using
11837 complete-with-action.
11838 (completion--metadata): New function.
11839 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11840 to try and avoid pathological performance problems.
11841 (completion--embedded-envvar-table): Return `category' metadata.
11842
11843 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11844
11845 * subr.el (process-alive-p): New tiny convenience function.
11846
11847 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11850 content but also its previous major mode.
11851
11852 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11853
11854 * emacs-lisp/debug.el (debug): Restore the previous content of the
11855 *Backtrace* buffer when we exit with C-M-c.
11856
11857 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11858
11859 * minibuffer.el: Add metadata method to completion tables.
11860 (completion-category-overrides): New defcustom.
11861 (completion-metadata, completion--field-metadata)
11862 (completion-metadata-get, completion--styles)
11863 (completion--cycle-threshold): New functions.
11864 (completion-try-completion, completion-all-completions):
11865 Add `metadata' argument to choose completion-styles.
11866 (completion--do-completion): Use metadata to choose cycling.
11867 (completion-all-sorted-completions): Use metadata for sorting.
11868 Remove :completion-cycle-penalty which is not needed any more.
11869 (completion--try-word-completion): Add `metadata' argument.
11870 (minibuffer-completion-help): Check metadata for annotation function
11871 and sorting.
11872 (completion-file-name-table): Return `category' metadata.
11873 (minibuffer-completing-file-name): Make obsolete.
11874 * simple.el (minibuffer-completing-symbol): Make obsolete.
11875 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11876 completion-try-completion.
11877
11878 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11879
11880 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11881
11882 2011-05-30 Leo Liu <sdl.web@gmail.com>
11883
11884 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11885 (rcirc-print): Decode all incoming messages (bug#8744).
11886 (rcirc-decode-coding-system): Allow value nil for automatic coding
11887 system detection.
11888
11889 2011-06-01 Glenn Morris <rgm@gnu.org>
11890
11891 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11892
11893 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11894
11895 * image.el (image-animate-max-time): Allow nil and t values.
11896 Default to nil.
11897 (create-animated-image): Doc fix.
11898 (image-animate-start): Remove second arg; just use
11899 image-animate-max-time.
11900 (image-animate-timeout): Doc fix. Args changed.
11901
11902 * image-mode.el (image-toggle-display-image): Ensure that the
11903 image spec passed to the animate timer is the same object as in
11904 the buffer's display property (Bug#6981).
11905 (image-transform-properties): Doc fix.
11906
11907 * image.el (image-animate-max-time): Default to nil.
11908
11909 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11910
11911 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11912 entire buffer list (Bug#8184).
11913
11914 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11915
11916 * image.el (imagemagick-types-inhibit)
11917 (imagemagick-register-types): Doc fix.
11918
11919 2011-05-29 Deniz Dogan <deniz@dogan.se>
11920
11921 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11922 default.
11923
11924 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11925
11926 * select.el: Don't perform clipboard-manager saving in hooks;
11927 leave the hooks empty.
11928
11929 2011-05-28 Leo Liu <sdl.web@gmail.com>
11930
11931 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11932 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11933 (occur-edit-mode): New major mode (Bug#8463).
11934 (occur-after-change-function): New function.
11935 (occur-engine): Give Occur tags a read-only property.
11936
11937 2011-05-28 Kevin Ryde <user42@zip.com.au>
11938
11939 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11940
11941 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11942
11943 * bindings.el (help-echo): Make the initial non-indicator dash
11944 empty on graphical terminals (Bug#7295).
11945
11946 * files.el (auto-mode-alist): Move config rule after the
11947 in-stripping one (Bug#8547).
11948
11949 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11950
11951 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11952 setting (Bug#8740).
11953
11954 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11955
11956 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11957 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11958 (Bug#8539).
11959
11960 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11961
11962 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11963
11964 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11965
11966 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11967 (hs-hide-block-at-point, hs-find-block-beginning)
11968 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11969 (Bug#8279).
11970
11971 2011-05-28 Glenn Morris <rgm@gnu.org>
11972
11973 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11974
11975 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11976
11977 * help-fns.el (describe-function-1): If the function is a derived
11978 major mode, print the parent mode.
11979
11980 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11981 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11982
11983 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11984
11985 * minibuffer.el (completion--capf-wrapper): Check applicability before
11986 returning non-nil for non-exclusive completion data.
11987 * progmodes/etags.el (tags-completion-at-point-function):
11988 * info-look.el (info-lookup-completions-at-point): Mark as
11989 non-exclusive.
11990 (info-complete): Adjust accordingly.
11991
11992 * info-look.el: Convert to lexical-binding and completion-at-point.
11993 (info-lookup-completions-at-point): New function.
11994 (info-complete): Use it and completion-in-region.
11995
11996 2011-05-28 Drew Adams <drew.adams@oracle.com>
11997
11998 * isearch.el: Let M-e start with point at the first mismatched char.
11999 (isearch-fail-pos): New function.
12000 (isearch-edit-string): Use it.
12001
12002 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12003
12004 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12005
12006 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
12007
12008 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12009 traversal functions for avl-trees.
12010 (avl-tree--stack): New struct.
12011 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12012 (avl-tree-enter): Add optional `updatefun' arg.
12013 (avl-tree--do-enter): Add optional `updatefun' arg.
12014 Change return value.
12015 (avl-tree-delete): Add optional `test' and `nilflag' args.
12016 (avl-tree--do-delete): Add `test' and `nilflag' args.
12017 Change return value.
12018 (avl-tree-member): Add optional `nilflag'
12019 (avl-tree-member-p): New function.
12020 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12021 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12022 (avl-tree-stack-empty-p): New functions.
12023
12024 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12025 avl-tree--del-balance1 and make it work both ways.
12026 (avl-tree--del-balance2): Remove.
12027 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12028 make it work both ways.
12029 (avl-tree--enter-balance2): Remove.
12030 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12031 New macros.
12032 (avl-tree--mapc, avl-tree-map): Add direction argument.
12033
12034 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12035
12036 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12037
12038 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12039
12040 * select.el: Support clipboard managers with built-in function
12041 x-clipboard-manager-save, via delete-frame-functions and
12042 kill-emacs-hook.
12043 (xselect-convert-to-targets): Add MULTIPLE target to list.
12044 (xselect-convert-to-save-targets): New function.
12045
12046 2011-05-27 Kenichi Handa <handa@m17n.org>
12047
12048 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12049 let-binding rfc2047-encode-encoded-words to nil.
12050
12051 2011-05-27 Glenn Morris <rgm@gnu.org>
12052
12053 * mail/emacsbug.el: Don't require url-util.
12054
12055 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12056
12057 * files.el (set-auto-mode):
12058 Also respect mode: entries at the end of the file. (Bug#8586)
12059
12060 2011-05-26 Glenn Morris <rgm@gnu.org>
12061
12062 * files.el (hack-local-variables-prop-line, hack-local-variables):
12063 Downcase mode names, as seems to be traditional.
12064 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12065
12066 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12067 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12068
12069 2011-05-25 Julien Danjou <julien@danjou.info>
12070
12071 * textmodes/rst.el (rst-define-level-faces): Do not define face
12072 symbol if it is already defined.
12073
12074 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12075
12076 * play/5x5.el (5x5-new-game, 5x5-randomize):
12077 Reset 5x5-solver-output to nil when a new grid is cast.
12078 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12079 these debugging traces, as defmacro breaks the compiled code.
12080
12081 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12082
12083 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12084
12085 2011-05-24 Leo Liu <sdl.web@gmail.com>
12086
12087 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12088 (vc-bzr-sha1): Adapt.
12089
12090 * sha1.el: Remove. Function `sha1' is now builtin.
12091
12092 * bindings.el: Provide sha1 feature.
12093
12094 2011-05-24 Kenichi Handa <handa@m17n.org>
12095
12096 * mail/sendmail.el: Require `rfc2047'.
12097 (mail-insert-from-field): Do not perform RFC2047 encoding.
12098 (mail-encode-header): New function.
12099 (sendmail-send-it): Set buffer-file-coding-system of the work
12100 buffer to the return value of select-message-coding-system.
12101 Call mail-encode-header.
12102
12103 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12104
12105 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12106
12107 * mail/supercite.el (sc-default-cite-frame):
12108 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12109
12110 2011-05-24 Glenn Morris <rgm@gnu.org>
12111
12112 * progmodes/python.el (brm-menu): Declare.
12113
12114 * emulation/viper.el (viper-set-hooks): Declare.
12115
12116 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12117 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12118 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12119 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12120 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12121 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12122
12123 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12124
12125 Add an :exit-function for completion-at-point.
12126
12127 * minibuffer.el (completion--done): New fun.
12128 (completion--do-completion): Use it. New arg `expect-exact'.
12129 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12130 since completion--do-completion does it for us now.
12131 (minibuffer-force-complete): Use completion--done and
12132 completion--replace. Handle sole-completion case with more care.
12133 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12134 (completion-extra-properties): New var.
12135 (completion-annotate-function): Make obsolete.
12136 (minibuffer-completion-help): Adjust accordingly.
12137 Use completion-list-insert-choice-function.
12138 (completion-at-point, completion-help-at-point):
12139 Bind completion-extra-properties.
12140 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12141 * simple.el (completion-list-insert-choice-function): New var.
12142 (completion-setup-function): Preserve it.
12143 (choose-completion): Pay attention to it, shuffle the code a bit.
12144 (choose-completion-string): New arg `insert-function'.
12145
12146 * textmodes/bibtex.el: Convert to lexical binding.
12147 (bibtex-mode-map): Use completion-at-point.
12148 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12149 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12150 (bibtex-complete): Define as obsolete alias.
12151 (bibtex-complete-internal): Remove.
12152 (bibtex-format-entry): Remove unused sub-group in regexp.
12153 * shell.el (shell--command-completion-data)
12154 (shell-environment-variable-completion):
12155 * pcomplete.el (pcomplete-completions-at-point):
12156 * comint.el (comint--complete-file-name-data): Use :exit-function
12157 instead of completion-table-with-terminator so it also works for
12158 choose-completion.
12159
12160 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12161
12162 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12163
12164 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12165 (bug#8710).
12166
12167 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12168
12169 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12170
12171 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12172 customization variable and implement: If non-nil, auto-fill will
12173 be inhibited while on topic's header line.
12174
12175 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12176
12177 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12178 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12179 always have a solution in grid size = 5 cases.
12180 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12181 (5x5-solver-output, 5x5-log-buffer): New vars.
12182 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12183 Make these variables buffer local to achieve 5x5 multi-session-ness.
12184 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12185 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12186 (5x5-solve-suggest): New funs.
12187 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12188 randomize a grid so that we ensure that there is always a solution.
12189 (5x5-make-random-grid): Allow other movement than flipping.
12190
12191 2011-05-23 Kevin Ryde <user42@zip.com.au>
12192
12193 * emacs-lisp/advice.el (ad-read-advised-function):
12194 Use `function-called-at-point' as the default, if it has
12195 advice and passes PREDICATE.
12196
12197 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12198
12199 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12200 byte-compile-lambda if it's actually a lambda.
12201
12202 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12203 Fix function quoting. Use backquote better.
12204
12205 2011-05-22 Yuanle Song <sylecn@gmail.com>
12206
12207 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12208 matching (Bug#8516).
12209
12210 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12211
12212 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12213 different face (Bug#8178).
12214
12215 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12216
12217 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12218 defface (Bug#8144).
12219
12220 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12221
12222 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12223 funcall as well (bug#8712). Warn when performing those conversions.
12224 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12225
12226 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12227
12228 2011-05-22 Glenn Morris <rgm@gnu.org>
12229
12230 * files.el (hack-local-variables-prop-line): Small simplifications.
12231 (hack-local-variables, hack-local-variables-prop-line):
12232 If MODE-ONLY, return the mode, rather than just `t'.
12233
12234 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12237
12238 2011-05-21 Glenn Morris <rgm@gnu.org>
12239
12240 * files.el (hack-local-variables-prop-line, hack-local-variables):
12241 If only interested in the mode, don't bother doing the other stuff.
12242
12243 * image-mode.el (image-after-revert-hook):
12244 Redraw all frames on which the image is visible. (Bug#8567)
12245
12246 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12247
12248 * wid-edit.el (widget-checklist-match-inline):
12249 Fix 2011-04-19 change. (Bug#8649)
12250
12251 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12252
12253 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12254 Also allow singlespace after single-letter capitals followed by a dot.
12255
12256 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12257 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12258
12259 2011-05-20 Nix <nix@esperi.org.uk>
12260
12261 * files.el (basic-save-buffer-2):
12262 Fix handling of break-hardlink-on-save with non-existent files.
12263
12264 2011-05-19 Deniz Dogan <deniz@dogan.se>
12265
12266 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12267 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12268
12269 2011-05-19 Glenn Morris <rgm@gnu.org>
12270
12271 * progmodes/f90.el (f90-type-def-re):
12272 Handle "type, bind(c)". (Bug#8691)
12273
12274 * emacs-lisp/autoload.el (batch-update-autoloads):
12275 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12276
12277 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
12278
12279 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12280 property for the correct connection in case of multihops.
12281
12282 2011-05-18 Glenn Morris <rgm@gnu.org>
12283
12284 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12285 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12286
12287 Rationalize calendar handling of day and month abbrev-arrays.
12288 * calendar/calendar.el (calendar-customized-p): New function.
12289 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12290 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12291 Add :set function.
12292 (calendar-abbrev-length, calendar-day-abbrev-array)
12293 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12294 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12295 Elements may no longer be nil.
12296 (calendar-day-name, calendar-month-name):
12297 Update for changed nature of abbrev arrays.
12298 * calendar/diary-lib.el (diary-name-pattern):
12299 Update for changed nature of abbrev arrays.
12300 (diary-mark-entries-1): Update calendar-make-alist calls.
12301 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12302 * calendar/cal-html.el (cal-html-day-abbrev-array):
12303 Simply inherit from calendar-day-abbrev-array.
12304
12305 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12306
12307 * progmodes/grep.el (grep-mode): Disable default
12308 compilation-directory-matcher setting (bug#8684).
12309
12310 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12311
12312 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12313 instead of "head" and "tail". There were problems with SunOS 5.9,
12314 and it performs better.
12315
12316 2011-05-17 Glenn Morris <rgm@gnu.org>
12317
12318 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12319
12320 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12321 Replace obsolete function.
12322
12323 * shell.el (pcomplete-parse-arguments-function): Declare.
12324
12325 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12326 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12327 (appt-check): Doc fixes.
12328 (appt-disp-window-function, appt-delete-window-function):
12329 Remove needless special case in custom :type.
12330 (appt-display-count): Default to 0, not nil.
12331 (appt-check): Reset appt-display-count to 0, not nil.
12332
12333 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12334
12335 * progmodes/python.el (python-font-lock-keywords):
12336 Add the Python 3.X keyword "nonlocal" (bug#8639).
12337
12338 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12341
12342 2011-05-16 Kevin Ryde <user42@zip.com.au>
12343
12344 * info-look.el (makefile-automake-mode): New setups, looking in
12345 automake manual, then makefile-mode.
12346 (makefile-mode): Remove automake manual, have it just in
12347 makefile-automake-mode since there's various things different or
12348 not relevant to plain make.
12349 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12350 believe a hypothetical automake-mode would go to makefile-mode,
12351 not the other way around.
12352
12353 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12354
12355 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12356 hunk-end tags (Bug#8672).
12357
12358 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12359 vc-annotate-show-diff-revision-at-line (Bug#8671).
12360
12361 2011-05-14 Glenn Morris <rgm@gnu.org>
12362
12363 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12364 in the middle of an existing one with multiple authors. (Bug#8645)
12365 (change-log-font-lock-keywords): Also handle multiple author lines
12366 with leading tabs. (Bug#8644)
12367
12368 * calendar/appt.el (appt-check): Rename some local variables.
12369 Some simplification/reordering.
12370
12371 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12372 (feedmail-sendmail-f-doesnt-sell-me-out)
12373 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12374 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12375 (feedmail-queue-runner-message-sender): Set :version.
12376 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12377 (bbdb-dwim-net-address, vm-mail): Declare.
12378 (feedmail-binmail-gnulinuxish-template):
12379 Rename from feedmail-binmail-linuxish-template.
12380 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12381 Use insert-buffer-substring.
12382
12383 2011-05-14 Bill Carpenter <bill@carpenter.org>
12384
12385 * mail/feedmail.el (feedmail-patch-level): Increase.
12386 (feedmail-debug): New custom group.
12387 (feedmail-confirm-outgoing-timeout)
12388 (feedmail-sendmail-f-doesnt-sell-me-out)
12389 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12390 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12391 (feedmail-sender-line, feedmail-from-line)
12392 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12393 (feedmail-spray-this-address)
12394 (feedmail-spray-address-fiddle-plex-list)
12395 (feedmail-queue-use-send-time-for-date)
12396 (feedmail-queue-use-send-time-for-message-id)
12397 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12398 (feedmail-buffer-eating-function):
12399 Doc fixes.
12400 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12401 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12402 (feedmail-message-action-scroll-down): New functions.
12403 (feedmail-queue-directory, feedmail-queue-draft-directory):
12404 Use expand-file-name.
12405 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12406 Remove C-v help entry.
12407 (feedmail-queue-buffer-file-name): New variable.
12408 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12409 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12410 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12411 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12412 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12413 (feedmail-message-action-toggle-spray)
12414 (feedmail-run-the-queue-no-prompts)
12415 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12416 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12417 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12418 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12419 (feedmail-envelope-deducer, feedmail-fiddle-from)
12420 (feedmail-fiddle-sender, feedmail-default-date-generator)
12421 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12422 (feedmail-fiddle-spray-address)
12423 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12424 (feedmail-fiddle-list-of-fiddle-plexes)
12425 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12426 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12427 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12428 Change default. Doc fix.
12429 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12430 (feedmail-binmail-linuxish-template): New constant.
12431 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12432 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12433 (feedmail-send-it): Add debug call.
12434 Use feedmail-queue-buffer-file-name, and
12435 feedmail-send-it-immediately-wrapper.
12436 (feedmail-message-action-send): Add debug call.
12437 Use feedmail-send-it-immediately-wrapper.
12438 (feedmail-queue-express-to-queue): Add debug call.
12439 Run feedmail-queue-express-hook.
12440 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12441 (feedmail-message-action-help-blat):
12442 Rename from feedmail-queue-send-edit-prompt-help-first.
12443 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12444 Check line-endings. Handle errors better.
12445 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12446 Doc fix. Add debug call.
12447 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12448 Use feedmail-queue-send-edit-prompt-inner.
12449 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12450 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12451 from feedmail-queue-send-edit-prompt.
12452 (feedmail-queue-send-edit-prompt-help)
12453 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12454 (feedmail-tidy-up-slug): Add debug call.
12455 Respect feedmail-queue-slug-suspect-regexp.
12456 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12457 (feedmail-dump-message-to-queue): Add debug call.
12458 Expand queue-directory.
12459 (feedmail-dump-message-to-queue): Change message slightly.
12460 Use feedmail-say-chatter.
12461 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12462 (feedmail-send-it-immediately-wrapper): New function.
12463 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12464 Insert empty string rather than newline. Handle full-frame case.
12465 Use catch/throw. Use feedmail-say-chatter.
12466 (feedmail-fiddle-from): Try mail-host-address.
12467 (feedmail-default-message-id-generator): Doc fix.
12468 Bind system-time-locale. Handle missing end.
12469 (feedmail-fiddle-x-mailer): Add debug call.
12470 Handle feedmail-x-mailer-line being nil.
12471 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12472 Add debug call. Use buffer-substring-no-properties.
12473 (feedmail-say-debug, feedmail-say-chatter): New functions.
12474 (feedmail-find-eoh): Give an explicit error.
12475
12476 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12477
12478 * net/newst-treeview.el (newsticker-treeview-face): Change default
12479 family from helvetica to sans.
12480 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12481 etc/images/newsticker.
12482
12483 * net/newst-reader.el (newsticker-feed-face): Change default
12484 family from helvetica to sans.
12485
12486 * net/newst-plainview.el (newsticker-new-item-face)
12487 (newsticker-old-item-face, newsticker-immortal-item-face)
12488 (newsticker-obsolete-item-face, newsticker-date-face)
12489 (newsticker-statistics-face): Change default family from
12490 helvetica to sans.
12491 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12492 etc/images/newsticker.
12493
12494 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12495 (newsticker--process-auto-mark-filter-match): Tell user about
12496 auto-marking.
12497
12498 2011-05-13 Didier Verna <didier@xemacs.org>
12499
12500 Common Lisp indentation improvements on defmethod and lambda-lists.
12501 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12502 TODO entries.
12503 (lisp-lambda-list-keyword-parameter-indentation)
12504 (lisp-lambda-list-keyword-parameter-alignment)
12505 (lisp-lambda-list-keyword-alignment): New customizable user options.
12506 (lisp-indent-defun-method): Improve docstring.
12507 (extended-loop-p): Fix comment.
12508 (lisp-indent-lambda-list-keywords-regexp): New variable.
12509 (lisp-indent-lambda-list): New function.
12510 (lisp-indent-259): Use it.
12511 (lisp-indent-defmethod): Support for more than one
12512 method qualifier and properly indent methods lambda-lists.
12513 (defgeneric): Provide a missing common-lisp-indent-function property.
12514
12515 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12516
12517 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12518 bounds for the empty string (bug#8667).
12519
12520 2011-05-13 Glenn Morris <rgm@gnu.org>
12521
12522 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12523
12524 * mail/sendmail.el (sendmail-program): Try executable-find first.
12525 (sendmail-send-it): `sendmail-program' cannot be unbound.
12526
12527 * calendar/appt.el (appt-make-list): Simplify.
12528 (appt-time-msg-list): Doc fix.
12529 (appt-check): Change mode-line message at the time of the appointment.
12530
12531 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12532
12533 * progmodes/ld-script.el (ld-script-keywords)
12534 (ld-script-builtins): Update keywords list.
12535
12536 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12537
12538 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12539
12540 * shell.el (shell-completion-vars): New function.
12541 (shell-mode):
12542 * simple.el (read-shell-command): Use it.
12543 (blink-matching-open): No need for " [...]" in minibuffer-message.
12544
12545 2011-05-12 Glenn Morris <rgm@gnu.org>
12546
12547 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12548 (appt-check): Simplify.
12549
12550 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12551
12552 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12553 literal "/dev/null".
12554
12555 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12556
12557 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12558 Fix typo.
12559
12560 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12561
12562 * progmodes/which-func.el (which-function):
12563 Use add-log-current-defun instead of add-log-current-defun-function,
12564 which might not be defined (Bug#8260).
12565
12566 2011-05-12 Glenn Morris <rgm@gnu.org>
12567
12568 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12569 Let byte-compile-initial-macro-environment always take precedence.
12570
12571 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12572
12573 * net/rcirc.el: Add support for SSL/TLS connections.
12574 (rcirc-server-alist): New field `encryption'.
12575 (rcirc): Check `encryption' settings.
12576 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12577 Merge make-local-variable into `set'.
12578 (rcirc--connection-open-p): New function.
12579 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12580 the process is not a network process (e.g. running gnutls-cli).
12581 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12582 Make rcirc-(en|de)code-coding-system local here.
12583 (rcirc-mode): Merge make-local-variable into `set'.
12584 (rcirc-parent-buffer): Make permanent buffer-local.
12585 (rcirc-multiline-minor-mode): Don't do it here.
12586 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12587 there's no server buffer.
12588
12589 2011-05-11 Glenn Morris <rgm@gnu.org>
12590
12591 * newcomment.el (comment-kill): Prefix "unused" local.
12592
12593 * term/w32console.el (get-screen-color): Declare.
12594
12595 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12596 Handle symbol elements of byte-compile-initial-macro-environment.
12597
12598 2011-05-10 Leo Liu <sdl.web@gmail.com>
12599
12600 * bookmark.el (bookmark-bmenu-mode-map):
12601 Bind bookmark-bmenu-search to `/'.
12602
12603 * mail/footnote.el: Convert to utf-8 encoding.
12604 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12605 (Footnote-unicode): New function.
12606 (footnote-style-alist): Add unicode style to the list.
12607 (footnote-style): Doc fix.
12608
12609 2011-05-10 Jim Meyering <meyering@redhat.com>
12610
12611 Fix doubled-word typos.
12612 * international/quail.el (quail-insert-kbd-layout): and and -> and
12613 * kermit.el: and and -> and
12614 * net/ldap.el (ldap-search-internal): to to -> to
12615 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12616 * progmodes/js.el (js-mode): and and -> and
12617 * textmodes/artist.el (artist-move-to-xy): at at -> at
12618 (artist-draw-region-trim-line-endings): if if -> if
12619 And Safetyc -> Safety.
12620 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12621
12622 2011-05-10 Glenn Morris <rgm@gnu.org>
12623 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * files.el (hack-one-local-variable-eval-safep):
12626 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12627
12628 2011-05-10 Glenn Morris <rgm@gnu.org>
12629
12630 * calendar/diary-lib.el (diary-list-entries-hook)
12631 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12632 (diary-nongregorian-marking-hook, diary-list-entries)
12633 (diary-include-other-diary-files, diary-mark-entries)
12634 (diary-mark-included-diary-files): Doc fixes.
12635
12636 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12637
12638 * misc.el: Require tabulated-list.el during compilation.
12639
12640 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12641
12642 * progmodes/compile.el (compilation-start):
12643 Run compilation-filter-hook for the async case too.
12644 (compilation-filter-hook): Doc fix.
12645
12646 2011-05-09 Deniz Dogan <deniz@dogan.se>
12647
12648 * wdired.el: Remove outdated installation comment. Fix usage
12649 comment.
12650
12651 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12652
12653 * misc.el: Implement new command `list-dynamic-libraries'.
12654 (list-dynamic-libraries--loaded-only-p): New variable.
12655 (list-dynamic-libraries--refresh): New function.
12656 (list-dynamic-libraries): New command.
12657
12658 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12659
12660 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12661 Fix the ant regexp to handle end-line and end-column info from jikes.
12662 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12663 higher priority to avoid clobbering by gnu.
12664
12665 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12666
12667 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12668 if the face has existing theme settings (Bug#8454).
12669
12670 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12671
12672 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12673 Only match variables declared via `my' or `our' (Bug#8261).
12674
12675 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12676 special file names `.' and `..' (Bug#8259).
12677
12678 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12679
12680 * progmodes/grep.el (grep-mode-font-lock-keywords):
12681 Remove buffer-changing entries.
12682 (grep-filter): New function.
12683 (grep-mode): Add it to compilation-filter-hook.
12684
12685 * progmodes/compile.el (compilation-filter-hook)
12686 (compilation-filter-start): New defvars.
12687 (compilation-filter): Call compilation-filter-hook prior to
12688 updating the process mark.
12689
12690 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12691
12692 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12693
12694 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12695
12696 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12697 mailclient-send-it even if window-system is nil. (Bug#8595)
12698
12699 * term/w32console.el (terminal-init-w32console):
12700 Call get-screen-color and use its output to set the frame
12701 background-mode. (Bug#8597)
12702
12703 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12704
12705 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12706 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12707 New functions.
12708 (defgeneric, eieio--defmethod): Use them.
12709 (eieio-defgeneric): Remove.
12710 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12711
12712 2011-05-07 Glenn Morris <rgm@gnu.org>
12713
12714 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12715 Use let rather than let*.
12716 (timeclock-find-discrep): Remove unused local.
12717
12718 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12719
12720 * calendar/appt.el (appt-time-msg-list): Doc fix.
12721
12722 2011-05-06 Noah Friedman <friedman@splode.com>
12723
12724 * apropos.el (apropos-print-doc): Only use
12725 emacs-lisp-docstring-fill-column when it is bound to an integer,
12726 per that variable's documentation.
12727
12728 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12729
12730 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12731 and warnings are not silently discarded (e.g. use -d instead of -P).
12732
12733 2011-05-06 Glenn Morris <rgm@gnu.org>
12734
12735 * calendar/appt.el (appt-message-warning-time): Doc fix.
12736 (appt-warning-time-regexp): New option.
12737 (appt-make-list): Respect appt-message-warning-time.
12738
12739 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12740 New options.
12741 (diary-add-to-list): Strip comments from the displayed string.
12742 (diary-mode): Set comment-start and comment-end.
12743
12744 * vc/diff-mode.el (smerge-refine-subst): Declare.
12745 (diff-refine-hunk): Don't require smerge-mode when compiling.
12746
12747 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12748
12749 * simple.el (list-processes): Return nil as the docstring says.
12750
12751 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12752
12753 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12754 to "".
12755 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12756 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12757 determining of binary transfer. (Bug#7383)
12758
12759 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12760
12761 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12762 Fix port computation bug. (Bug#8618)
12763
12764 2011-05-05 Glenn Morris <rgm@gnu.org>
12765
12766 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12767
12768 * simple.el (shell-dynamic-complete-functions)
12769 (comint-dynamic-complete-functions): Declare.
12770
12771 * net/network-stream.el (gnutls-negotiate):
12772 * simple.el (tabulated-list-print): Fix declarations.
12773
12774 * progmodes/gud.el (syntax-symbol, syntax-point):
12775 Remove unnecessary and incorrect declarations.
12776
12777 * emacs-lisp/check-declare.el (check-declare-scan):
12778 Handle byte-compile-initial-macro-environment in bytecomp.el
12779
12780 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12781
12782 Fix earlier half-done eieio-defmethod change (bug#8338).
12783 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12784 Streamline and change calling convention.
12785 (defmethod): Adjust accordingly and simplify.
12786 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12787 new eieio--defmethod.
12788 (slot-boundp): Minor CSE simplification.
12789
12790 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12791
12792 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12793 (glasses-make-readable): Use glasses-separate-capital-groups.
12794
12795 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12796
12797 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12798 (warning-series): Doc fix.
12799 (display-warning): Don't try to create the buffer if we just found it.
12800
12801 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12802
12803 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12804 (autoload-find-generated-file): New function.
12805 (generate-file-autoloads): Bind generated-autoload-file to
12806 buffer-file-name.
12807 (update-file-autoloads, update-directory-autoloads):
12808 Use autoload-find-generated-file. If called interactively, prompt for
12809 output file (Bug#7989).
12810 (batch-update-autoloads): Doc fix.
12811
12812 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12813
12814 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12815
12816 2011-05-04 Glenn Morris <rgm@gnu.org>
12817
12818 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12819 function, so it follows changes in calendar-date-style.
12820 (diary-fancy-date-matcher): New function.
12821 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12822 (diary-fancy-font-lock-fontify-region-function):
12823 Use diary-fancy-date-pattern as a function.
12824
12825 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12826 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12827
12828 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12829
12830 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12831 instead of positional arguments. Allow :keylist and :crlfiles
12832 arguments.
12833 (open-gnutls-stream): Call it.
12834
12835 * net/network-stream.el (network-stream-open-starttls): Adjust to
12836 call `gnutls-negotiate' with :process and :hostname arguments.
12837
12838 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12839
12840 * minibuffer.el (completion--message): New function.
12841 (completion--do-completion, minibuffer-complete)
12842 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12843 (completion--do-completion): Don't ignore completion-auto-help when in
12844 icomplete-mode.
12845
12846 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12847 internal encoding (e.g. tibetan zero is not whitespace).
12848 (global-whitespace-mode): Prefer save-current-buffer.
12849 (whitespace-trailing-regexp): Remove useless save-match-data.
12850 (whitespace-empty-at-bob-regexp): Minor simplification.
12851
12852 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12853
12854 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12855
12856 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12857
12858 * textmodes/ispell.el (ispell-add-per-file-word-list):
12859 Use `concat' to create string for insertion.
12860
12861 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12862
12863 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12864 Avoid open-line which runs post-self-insert-hook.
12865 (bibtex-fill-entry): Remove unused `end' var.
12866
12867 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12868
12869 * textmodes/ispell.el (ispell-add-per-file-word-list):
12870 Protect against `nil' value of `comment-start' (Bug#8579).
12871
12872 2011-05-03 Leo Liu <sdl.web@gmail.com>
12873
12874 * isearch.el (isearch-yank-pop): New command.
12875 (isearch-mode-map): Bind it to `M-y'.
12876 (isearch-forward): Mention it.
12877
12878 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12879
12880 * simple.el (minibuffer-complete-shell-command): Remove.
12881 (minibuffer-local-shell-command-map): Use completion-at-point.
12882 (read-shell-command): Setup completion vars here instead.
12883 (read-expression-map): Bind TAB to symbol completion.
12884
12885 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12886 error directly rather via storing it into `results'.
12887
12888 2011-05-02 Leo Liu <sdl.web@gmail.com>
12889
12890 * vc/diff.el: Fix description.
12891
12892 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12893
12894 * server.el (server-eval-at): New function.
12895
12896 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12897
12898 * net/network-stream.el (open-network-stream): Take a :nowait
12899 parameter and pass it on to `make-network-process'.
12900 (network-stream-open-plain): Ditto.
12901
12902 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12903
12904 * faces.el (face-spec-set-match-display): Don't match toolkit
12905 options on terminal frames.
12906
12907 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12908
12909 * progmodes/pascal.el: Use lexical binding.
12910 (pascal-mode-map): Remove author preferences.
12911
12912 * pcomplete.el (pcomplete-std-complete): Don't abuse
12913 completion-at-point.
12914
12915 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12916
12917 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12918 removing code that has been dead since 1991 or so.
12919
12920 * startup.el (command-line): When warning about "_emacs", use a
12921 delayed warning to allow the user to filter it out.
12922
12923 2011-04-28 Deniz Dogan <deniz@dogan.se>
12924
12925 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12926 user has not joined.
12927
12928 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12929
12930 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12931 aren't any completions at point.
12932
12933 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12934
12935 * subr.el (display-delayed-warnings): New function.
12936 (delayed-warnings-hook): New variable.
12937
12938 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12939
12940 * minibuffer.el (completion-at-point, completion-help-at-point):
12941 Don't presume that a given completion-at-point-function will always
12942 use the same calling convention.
12943
12944 * pcomplete.el (pcomplete-completions-at-point):
12945 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12946 pcomplete-seen is non-nil.
12947 (pcomplete-comint-setup): Also recognize the new comint/shell
12948 completion functions.
12949 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12950 pcomplete-seen is non-nil.
12951
12952 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12953
12954 * calendar/icalendar.el (diary-lib): Add require statement.
12955 (icalendar--create-uid): Read out a uid from a text-property on
12956 the first character in the entry. This allows for code to add its
12957 own uid to the entry.
12958 (icalendar--convert-float-to-ical): Add export of
12959 `diary-float'-entries save for those with the optional DAY
12960 argument.
12961
12962 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12963
12964 * subr.el (shell-quote-argument): Use alternate escaping strategy
12965 when we spot a variable reference in a string.
12966
12967 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12968
12969 * cus-start.el (all): Define customization for debug-on-event.
12970
12971 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12972
12973 * subr.el (shell-quote-argument): Escape correctly under Windows.
12974
12975 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12978
12979 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12980
12981 * net/tramp.el (tramp-process-actions): Add POS argument.
12982 Delete region between POS and (pos).
12983
12984 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12985 Use `nil' position in `tramp-process-actions' call.
12986 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12987
12988 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12989 position in `tramp-process-actions' call.
12990
12991 * net/trampver.el: Update release number.
12992
12993 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12994
12995 * custom.el (defcustom): Obey lexical-binding.
12996
12997 Fix octave-inf completion problems reported by Alexander Klimov.
12998 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12999 Inherit from octave-mode-syntax-table.
13000 (inferior-octave-mode): Set info-lookup-mode.
13001 (inferior-octave-completion-at-point): New function.
13002 (inferior-octave-complete): Use it and completion-in-region.
13003 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13004 comint-filename-completion.
13005 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13006 symbol elements which shouldn't be word elements.
13007 (octave-font-lock-keywords, octave-beginning-of-defun)
13008 (octave-function-header-regexp): Adjust regexps accordingly.
13009 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13010
13011 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
13012
13013 * net/gnutls.el (gnutls-errorp): Declare before first use.
13014
13015 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13016
13017 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13018 verify-error, and verify-hostname-error parameters. Check whether
13019 default trustfile exists before going to use it. Add missing
13020 argument to gnutls-message-maybe call. Return value.
13021 Reported by Claudio Bley <claudio.bley@gmail.com>.
13022 (open-gnutls-stream): Add usage example.
13023
13024 * net/network-stream.el (network-stream-open-starttls): Give host
13025 parameter to `gnutls-negotiate'.
13026 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13027 * subr.el (shell-quote-argument): Escape correctly under Windows.
13028
13029 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13030
13031 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13032 Use correct match group (bug#8438).
13033
13034 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13035
13036 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13037 (package-menu--generate): New arg specifying packages to show.
13038 (package-menu-refresh, package-menu-execute, list-packages):
13039 Callers changed.
13040 (package-show-package-list): New function, replacing deleted
13041 package--list-packages (renamed because it is non-internal).
13042
13043 * finder.el (finder-list-matches): Use package-show-package-list
13044 instead of deleted package--list-packages.
13045
13046 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13047 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13048 (vc-annotate-mode-map): Bind it to RET.
13049
13050 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13051
13052 * progmodes/etags.el (next-file): Don't use set-buffer to change
13053 buffers (Bug#8478).
13054
13055 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13056
13057 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13058
13059 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13060 (apropos-accumulator): Doc fix.
13061 (apropos-function, apropos-macro, apropos-command)
13062 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13063 (apropos-plist): Add face property.
13064 (apropos-symbols-internal): Fix indentation.
13065 (apropos-print): Simplify help, and recognize apropos-multi-type.
13066 (apropos-print-doc): Use button-type-get to extract the button's
13067 face property. Fill docstring (Bug#8352).
13068
13069 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13070
13071 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13072
13073 * play/mpuz.el (mpuz-silent): Doc fix.
13074 (mpuz-mode-map): Use mapc.
13075 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13076 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13077 Fix typos in docstrings.
13078
13079 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13080 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13081
13082 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13083
13084 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13085
13086 * minibuffer.el (completion--do-completion): Avoid the "Next char
13087 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13088
13089 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13090 mouse-2 into unread-command-events, it is interpreted correctly.
13091
13092 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13093 (image-toggle-display): Doc fix.
13094
13095 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13096
13097 * textmodes/page.el (what-page): Use line-number-at-pos to
13098 calculate line number (Bug#6825).
13099
13100 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13101
13102 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13103 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13104 Pass argument NO-DEFAULT to `find-tag-interactive'.
13105
13106 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13107
13108 Lexical-binding cleanup.
13109
13110 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13111 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13112 * progmodes/ada-prj.el (ada-prj-initialize-values)
13113 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13114 (ada-prj-show-value):
13115 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13116 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13117 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13118 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13119 * progmodes/bug-reference.el (bug-reference-push-button):
13120 * progmodes/fortran.el (fortran-line-length):
13121 * progmodes/glasses.el (glasses-change):
13122 * progmodes/octave-mod.el (octave-fill-paragraph):
13123 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13124 (python-pdbtrack-grub-for-buffer, python-sentinel):
13125 * progmodes/sql.el (sql-save-connection):
13126 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13127 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13128 Mark unused parameters.
13129
13130 * progmodes/compile.el (compilation--flush-directory-cache)
13131 (compilation--flush-parse, compile-internal): Mark unused parameters.
13132 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13133 (compilation-next-error-function): Remove unused variable `timestamp'.
13134
13135 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13136 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13137
13138 * progmodes/dcl-mode.el (dcl-end-of-command):
13139 Remove unused variable `start'.
13140 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13141 (dcl-option-value-basic, dcl-option-value-offset)
13142 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13143 Mark unused parameters.
13144 (dcl-save-local-variable): Remove unused variable `val'.
13145 (mode): Declare.
13146
13147 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13148 Mark unused parameters.
13149 (delphi-ignore-changes): Move before first use.
13150 (delphi-charset-token-at): Remove unused variable `start'.
13151 (delphi-else-start): Remove unused variable `if-count'.
13152 (delphi-comment-block-start, delphi-comment-block-end):
13153 Remove unused variable `kind'.
13154 (delphi-indent-line): Remove unused variable `new-point'.
13155
13156 * progmodes/ebrowse.el (ebrowse-files-list)
13157 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13158 Mark unused parameters. Don't quote `lambda'.
13159 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13160 Don't quote `lambda'.
13161 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13162 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13163 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13164 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13165 Use `ignore-errors'.
13166 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13167 (ebrowse-view/find-file-and-search-pattern)
13168 (ebrowse-view/find-member-declaration/definition):
13169 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13170 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13171 Rename parameter PREFIX-ARG to PREFIX.
13172 (ebrowse-tags-read-name): Remove unused variables `start' and
13173 `member-info'.
13174 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13175 to `tags-file'.
13176
13177 * progmodes/etags.el (local-find-tag-hook): Declare.
13178 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13179 Mark unused parameters.
13180
13181 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13182 (executable-interpret): Mark unused parameter.
13183
13184 * progmodes/flymake.el (flymake-process-sentinel)
13185 (flymake-after-change-function)
13186 (flymake-create-temp-with-folder-structure)
13187 (flymake-get-include-dirs-dot): Mark unused parameters.
13188 (flymake-safe-delete-directory): Remove unused variable `err'.
13189
13190 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13191 (speedbar-timer-fn, speedbar-line-text)
13192 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13193 (speedbar-center-buffer-smartly): Declare functions.
13194 (gdb-find-watch-expression): Remove unused variable `array'.
13195 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13196 (gdb-starting): Mark unused parameters.
13197 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13198 (gdb-table-string): Remove unused variable `res'.
13199 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13200 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13201 (gdb-display-buffer): Remove unused variable `cur-size'.
13202
13203 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13204 allow lexical-binding compilation.
13205 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13206 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13207 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13208 Mark unused parameters.
13209 (gud-gdb-marker-filter): Remove unused variable `match'.
13210 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13211 lambda expressions and funcall them, instead of using `fset'.
13212
13213 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13214 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13215
13216 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13217 variable `header-beg'; use `let'.
13218
13219 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13220 `restart', `last-sexp' and `at-do'.
13221
13222 * progmodes/js.el (js--debug): Mark unused parameter.
13223 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13224 (js--splice-into-items): Remove unused variable `item'.
13225 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13226
13227 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13228 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13229 (makefile-complete): Remove unused variable `try'.
13230 (makefile-fill-paragraph, makefile-match-function-end):
13231 Mark unused parameters.
13232
13233 * progmodes/octave-inf.el (inferior-octave-complete):
13234 Remove unused variable `proc'.
13235 (inferior-octave-output-digest): Mark unused parameter.
13236
13237 * progmodes/perl-mode.el (perl-calculate-indent):
13238 Remove unused variable `err'.
13239
13240 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13241 (prolog-indent-line): Mark unused parameters.
13242 (prolog-indent-line): Remove unused variable `beg'.
13243
13244 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13245 (reporter-dont-compact-list): Declare.
13246
13247 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13248 Remove unused variable `char'.
13249 (sh-debug): Mark unused parameter.
13250 (sh-get-indent-info): Remove unused variable `start'.
13251 (sh-calculate-indent): Remove unused variable `var'.
13252
13253 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13254 (simula-electric-keyword): Remove unused variable `null'.
13255 (simula-search-backward, simula-search-forward): Remove unused
13256 variables `begin' and `end'.
13257
13258 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13259 Remove unused variable `pos'.
13260 (vera-electric-tab, vera-comment-uncomment-region):
13261 Mark unused parameters.
13262 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13263
13264 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
13265
13266 * emacs-lisp/package.el (package--builtins, package-alist)
13267 (package-load-descriptor, package-built-in-p, package-activate)
13268 (define-package, package-installed-p)
13269 (package-compute-transaction, package-buffer-info)
13270 (package--push): Doc fix. Distinguish more clearly between
13271 version strings and version lists.
13272
13273 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
13274
13275 Lexical-binding cleanup.
13276
13277 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13278 (5x5-make-mutate-best):
13279 * play/fortune.el (fortune-in-buffer):
13280 * play/gomoku.el (gomoku-init-display):
13281 * play/solitaire.el (solitaire, solitaire-do-check):
13282 * play/tetris.el (tetris-default-update-speed-function):
13283 Mark unused parameters.
13284
13285 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13286 (bubbles--shift): Remove unused variable `char-org'.
13287 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13288 (bubbles--show-images): Remove unused variable `char'.
13289
13290 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13291 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13292 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13293 (decipher-analyze-buffer): Use ?\s.
13294 (decipher-make-checkpoint): Remove unused variable `mapping'.
13295
13296 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13297
13298 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13299 Remove unused variable `result'; use `let'.
13300
13301 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13302 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13303 (gametree-children-shown-p, gametree-compute-reduced-score):
13304 Use `ignore-errors'.
13305
13306 * play/handwrite.el (ps-lpr-switches): Declare.
13307 (handwrite): Remove unused variables `pmin' and `lastp'.
13308
13309 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13310
13311 * play/landmark.el (landmark-init-display)
13312 (landmark-update-naught-weights): Mark unused parameters.
13313 (landmark-y): Remove unused variable `noise'. Simplify.
13314 (landmark-human-plays): Remove unused variable `score'.
13315
13316 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13317 (mpuz-try-proposal): Remove unused variable `game'.
13318
13319 * play/zone.el (life-patterns): Declare.
13320
13321 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13322
13323 * vc/vc.el (ediff-vc-internal): Declare function.
13324
13325 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13326
13327 * shell.el: Use lexical-binding and std completion UI.
13328 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13329 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13330 comint-preoutput-filter-functions rather than on
13331 comint-output-filter-functions.
13332 (shell-command-completion, shell--command-completion-data)
13333 (shell-filename-completion, shell-environment-variable-completion)
13334 (shell-c-a-p-replace-by-expanded-directory): New functions.
13335 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13336 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13337 (shell-dynamic-complete-environment-variable): Use them.
13338 (shell-dynamic-complete-as-environment-variable)
13339 (shell-dynamic-complete-as-command): Remove.
13340 (shell-match-partial-variable): Match past point.
13341 * comint.el: Clean up use of completion-at-point-functions.
13342 (comint-completion-at-point): New function.
13343 (comint-mode): Use it completion-at-point-functions.
13344 (comint-dynamic-complete): Make it obsolete.
13345 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13346 (comint-c-a-p-replace-by-expanded-history): New function.
13347 (comint-dynamic-complete-functions)
13348 (comint-replace-by-expanded-history): Use it.
13349 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13350 termination strings. Try harder to avoid second try-completion.
13351 (completion-in-region-mode-map): Disable bindings that don't work yet.
13352
13353 * comint.el: Use lexical-binding. Require CL.
13354 (comint-dynamic-complete-functions): Use comint-filename-completion.
13355 (comint-completion-addsuffix): Tweak custom type.
13356 (comint-filename-completion, comint--common-suffix)
13357 (comint--common-quoted-suffix, comint--table-subvert)
13358 (comint--complete-file-name-data): New functions.
13359 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13360 (comint-dynamic-list-filename-completions): Use them.
13361 (comint-dynamic-simple-complete): Make obsolete.
13362
13363 * minibuffer.el (completion-in-region-mode):
13364 Keep completion-in-region-mode--predicate global.
13365 (completion-in-region--postch):
13366 Assume completion-in-region-mode--predicate is not null.
13367
13368 * progmodes/flymake.el (flymake-start-syntax-check-process):
13369 Obey `dir'. Simplify.
13370
13371 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13372 we're in VC after all.
13373
13374 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13375
13376 * vc/vc.el (vc-diff-build-argument-list-internal)
13377 (vc-version-ediff, vc-ediff): New commands.
13378 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13379
13380 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13381
13382 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13383 add sanity check.
13384
13385 * obsolete/erc-hecomplete.el: Make obsolete.
13386 * obsolete/: Standardize obsolescence info in the header.
13387
13388 2011-04-20 Glenn Morris <rgm@gnu.org>
13389
13390 * calendar/solar.el (solar-horizontal-coordinates):
13391 Use the longitude argument rather than `calendar-longitude'.
13392 (solar-date-next-longitude): Remove unused locals.
13393
13394 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13395
13396 * whitespace.el: New version 13.2.1.
13397
13398 2011-04-20 felix <EmacsWiki> (tiny change)
13399
13400 * whitespace.el (global-whitespace-mode): Keep highlight when
13401 switching between major modes on a file.
13402
13403 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13404
13405 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13406 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13407 multi-line comments as well.
13408
13409 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13410
13411 Lexical-binding cleanup.
13412
13413 * arc-mode.el (archive-mode-revert):
13414 * cmuscheme.el (scheme-interactively-start-process):
13415 * custom.el (custom-initialize-delay):
13416 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13417 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13418 * emacs-lock.el (emacs-lock-clear-sentinel):
13419 * ezimage.el (defezimage):
13420 * follow.el (follow-avoid-tail-recenter):
13421 * fringe.el (set-fringe-mode-1):
13422 * generic-x.el (bat-generic-mode-compile):
13423 * help-mode.el (help-info-variable, help-do-xref)
13424 (help-mode-revert-buffer):
13425 * help.el (view-emacs-todo):
13426 * iswitchb.el (iswitchb-completion-help):
13427 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13428 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13429 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13430 * locate.el (locate-update):
13431 * longlines.el (longlines-encode-region)
13432 (longlines-after-change-function):
13433 * outline.el (outline-isearch-open-invisible):
13434 * ps-def.el (declare-function, charset-dimension, char-width)
13435 (encode-char):
13436 * ps-mule.el (ps-mule-plot-string):
13437 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13438 (recentf-edit-list-select, recentf-edit-list-validate)
13439 (recentf-open-files-action):
13440 * rect.el (delete-whitespace-rectangle-line)
13441 (rectangle-number-line-callback):
13442 * register.el (window-configuration-to-register)
13443 (frame-configuration-to-register):
13444 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13445 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13446 (xselect-convert-to-targets, xselect-convert-to-delete)
13447 (xselect-convert-to-filename, xselect-convert-to-charpos)
13448 (xselect-convert-to-lineno, xselect-convert-to-colno)
13449 (xselect-convert-to-os, xselect-convert-to-host)
13450 (xselect-convert-to-user, xselect-convert-to-class)
13451 (xselect-convert-to-name, xselect-convert-to-integer)
13452 (xselect-convert-to-atom, xselect-convert-to-identity):
13453 * subr.el (declare, ignore, process-kill-without-query)
13454 (text-clone-maintain):
13455 * terminal.el (te-get-char, te-tic-sentinel):
13456 * tool-bar.el (tool-bar-make-keymap):
13457 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13458 * type-break.el (type-break-mode, type-break-noninteractive-query):
13459 * view.el (View-back-to-mark):
13460 * wid-browse.el (widget-browse-action, widget-browse-widget)
13461 (widget-browse-widgets, widget-browse-sexp):
13462 * widget.el (define-widget-keywords):
13463 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13464 Mark unused parameters.
13465
13466 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13467 (align-areas): Remove unused variable `look'.
13468 (align-region): Remove unused variables `real-end' and `pos-list'.
13469
13470 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13471
13472 * bindings.el (mode-line-modified, mode-line-remote):
13473 Mark unused parameters.
13474 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13475
13476 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13477 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13478
13479 * comint.el (comint-history-isearch-pop-state)
13480 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13481 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13482 (comint-substitute-in-file-name): Doc fix.
13483
13484 * completion.el (cmpl-statistics-block): Mark unused parameter.
13485 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13486 (save-completions-to-file, load-completions-from-file):
13487 Remove unused local variable `e'.
13488
13489 * composite.el (compose-chars): Remove unused variable `len'.
13490 (lgstring-insert-glyph): Remove unused variable `g'.
13491 (compose-glyph-string): Remove unused variables `ascent',
13492 `descent', `lbearing' and `rbearing'.
13493 (compose-glyph-string-relative): Remove unused variables
13494 `lbearing', `rbearing' and `wadjust'.
13495 (compose-gstring-for-graphic): Remove unused variables `header',
13496 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13497 (compose-gstring-for-terminal): Remove unused variables `header'
13498 and `nchars'. Use `let', not `let*'.
13499
13500 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13501 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13502 (Custom-buffer-done, custom-buffer-create-internal)
13503 (custom-browse-visibility-action, custom-browse-group-tag-action)
13504 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13505 (widget-magic-mouse-down-action, custom-toggle-parent)
13506 (custom-add-parent-links, custom-toggle-hide-variable)
13507 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13508 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13509 (custom-face-menu-create, custom-variable-menu-create, get)
13510 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13511 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13512 (customize-apropos): Remove unused variable `tests'.
13513 (custom-group-value-create): Remove unused variable `hidden-p'.
13514 (sort-fold-case): Declare.
13515
13516 * cus-theme.el (custom-reset-standard-faces-list)
13517 (custom-reset-standard-variables-list): Declare.
13518 (customize-create-theme, custom-theme-revert, custom-theme-write)
13519 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13520 Mark unused parameters.
13521
13522 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13523
13524 * delim-col.el (delimit-columns-max): Move defvar before first use.
13525
13526 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13527 (describe-char): Don't quote `lambda'. Mark unused parameter.
13528
13529 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13530 (auto-insert): Declare.
13531 (desktop-restore-file-buffer): Rename desktop-* parameters;
13532 mark unused ones.
13533 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13534 (desktop-buffer): Rename desktop-* parameters.
13535
13536 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13537 (dframe-reposition-frame-xemacs, dframe-help-echo)
13538 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13539 Mark unused parameters.
13540
13541 * dired-aux.el (backup-extract-version-start, overwrite-query)
13542 (overwrite-backup-query, rename-regexp-query)
13543 (rename-non-directory-query): Declare.
13544 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13545 (dired-add-entry): Remove unused variable `orig-file-name'.
13546 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13547 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13548 `dired-copy-preserve-time' directly.
13549 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13550 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13551
13552 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13553 (dired-virtual-revert, dired-make-relative-symlink):
13554 Mark unused parameters.
13555 (manual-program): Declare.
13556 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13557 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13558 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13559
13560 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13561
13562 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13563
13564 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13565 Declare.
13566
13567 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13568
13569 * electric.el (Electric-command-loop): Rename parameter
13570 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13571
13572 * expand.el (expand-in-literal): Remove unused variable `here'.
13573
13574 * facemenu.el (facemenu-add-new-color):
13575 Remove unused variable `docstring'.
13576
13577 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13578 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13579 (face-attr-construct): Mark unused parameter. Doc fix.
13580 (read-color): Remove unused variable `hex-string'.
13581
13582 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13583 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13584 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13585 (display-buffer-other-frame): Remove unused variable `old-window'.
13586 (kill-buffer-hook): Declare.
13587 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13588 Mark unused parameters.
13589 (after-find-file): Pass 1 to `auto-save-mode', not t.
13590
13591 * files-x.el (auto-insert): Declare.
13592 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13593
13594 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13595 variable `buf'. Mark unused parameter.
13596 (find-lisp-insert-directory): Mark unused parameter.
13597
13598 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13599 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13600 (format-common-tail): Remove, unused.
13601 (format-deannotate-region): Remove unused variable `loc'.
13602 (format-annotate-region): Remove unused variable `p'.
13603 (format-annotate-single-property-change): Remove unused variables
13604 `default' and `tail'.
13605
13606 * forms.el (read-file-filter): Declare.
13607 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13608
13609 * frame.el (frame-creation-function-alist): Mark unused parameter.
13610 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13611
13612 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13613 Remove unused parameters.
13614 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13615 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13616
13617 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13618 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13619 (hfy-prepare-tag-map): Mark unused parameters.
13620 (htmlfontify-buffer): Use `called-interactively-p'.
13621
13622 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13623 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13624 (ibuffer-do-occur): Mark unused parameters.
13625 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13626 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13627
13628 * ibuffer.el: Don't quote `lambda'.
13629 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13630 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13631 Mark unused parameters.
13632
13633 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13634 (ido-completing-read): Mark unused parameters.
13635 (ido-copy-current-word): Mark unused parameters;
13636 remove unused variable `name'.
13637 (ido-sort-merged-list): Remove unused parameter `dirs'.
13638
13639 * ielm.el (ielm-input-sender): Mark unused parameter.
13640 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13641 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13642 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13643 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13644 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13645
13646 * image-dired.el (image-dired-display-thumbs): Remove unused
13647 variables `curr-file' and `count'.
13648 (image-dired-remove-tag): Remove unused variable `start'.
13649 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13650 variable `curr-file'
13651 (image-dired-rotate-original): Remove unused variable `temp-file'.
13652 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13653 Remove unused variable `file'.
13654 (image-dired-gallery-generate): Remove unused variable `curr'.
13655 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13656
13657 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13658
13659 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13660
13661 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13662
13663 * isearch.el (minibuffer-history-symbol): Declare.
13664 (isearch-edit-string): Remove unused variable `err'.
13665 (isearch-message-prefix, isearch-message-suffix):
13666 Mark unused parameters.
13667
13668 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13669
13670 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13671
13672 * makesum.el (double-column): Remove unused variable `cnt'.
13673
13674 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13675 (ido-ignore-item-temp-list): Declare.
13676
13677 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13678 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13679 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13680 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13681 `mouse-col-delta'.
13682
13683 * mouse-sel.el (mouse-extend-internal):
13684 Remove unused variable `orig-window-frame'.
13685
13686 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13687 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13688 Move declarations before first use.
13689 (pcomplete-opt): Mark unused parameters; doc fix.
13690
13691 * proced.el (proced-revert): Mark unused parameter.
13692 (proced-send-signal): Remove unused variable `err'.
13693
13694 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13695 Rename parameter PREFIX-ARG to ARG.
13696 (ps-basic-plot-string, ps-basic-plot-whitespace):
13697 Mark unused parameters.
13698
13699 * replace.el (replace-count): Define.
13700 (occur-revert-function): Mark unused parameters.
13701 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13702 (isearch-case-fold-search, isearch-string): Declare.
13703 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13704 bind `case-fold-search'. Remove unused variables `beg' and `end',
13705 and simplify.
13706 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13707 COUNT and bind `replace-count'.
13708 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13709 to COUNT.
13710
13711 * savehist.el (print-readably, print-string-length): Declare.
13712
13713 * shadowfile.el (shadow-expand-cluster-in-file-name):
13714 Remove unused variable `cluster'.
13715 (shadow-copy-file): Remove unused variable `i'.
13716 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13717 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13718 (shadow-define-literal-group, shadow-define-regexp-group)
13719 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13720
13721 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13722 (shell): Use `called-interactively-p'.
13723 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13724
13725 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13726 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13727 (delete-backward-char): Remove unused variable `ocol'.
13728 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13729 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13730 (event-apply-hyper-modifier, event-apply-shift-modifier)
13731 (event-apply-control-modifier, event-apply-meta-modifier):
13732 Mark unused parameters.
13733 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13734 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13735
13736 * speedbar.el (speedbar-ignored-directory-expressions)
13737 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13738 (speedbar-find-file, speedbar-dir-follow)
13739 (speedbar-directory-buttons-follow, speedbar-tag-find)
13740 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13741 (speedbar-buffers-line-directory, speedbar-buffer-click):
13742 Mark unused parameters.
13743 (speedbar-tag-file): Remove unused variable `mode'.
13744 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13745
13746 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13747
13748 * talk.el (talk): Remove unused variable `display'.
13749
13750 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13751 (tar-write-region-annotate): Mark unused parameter.
13752
13753 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13754 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13755 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13756 warning by another.
13757
13758 * time-stamp.el (time-stamp-string-preprocess):
13759 Remove unused variable `require-padding'.
13760
13761 * tree-widget.el (widget-glyph-enable): Declare.
13762 (tree-widget-action): Mark unused parameter.
13763
13764 * w32-fns.el (x-get-selection): Mark unused parameter.
13765 (autoload-make-program, generated-autoload-file): Declare.
13766
13767 * wdired.el (wdired-revert): Mark unused parameters.
13768 (wdired-xcase-word): Remove unused variable `err'.
13769
13770 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13771 (whitespace-help-scroll): Remove unused variable `data-help'.
13772
13773 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13774 (widget-image-insert, widget-after-change, default)
13775 (widget-default-format-handler, widget-default-notify)
13776 (widget-default-prompt-value, widget-info-link-action)
13777 (widget-url-link-action, widget-function-link-action)
13778 (widget-variable-link-action, widget-file-link-action)
13779 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13780 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13781 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13782 (widget-insert-button-action, widget-delete-button-action, visibility)
13783 (widget-documentation-link-action, widget-documentation-string-action)
13784 (widget-const-prompt-value, widget-regexp-match, symbol)
13785 (widget-coding-system-prompt-value)
13786 (widget-key-sequence-value-to-external, sexp)
13787 (widget-sexp-value-to-internal, character, vector, cons)
13788 (widget-choice-prompt-value, widget-boolean-prompt-value)
13789 (widget-color--choose-action): Mark unused parameters.
13790 (widget-item-match-inline, widget-choice-match-inline)
13791 (widget-checklist-match, widget-checklist-match-inline)
13792 (widget-group-match): Rename parameter VALUES to VALS.
13793 (widget-field-value-set): Remove unused variable `size'.
13794 (widget-color-action): Remove unused variables `value' and `start'.
13795
13796 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13797 variable `dir'. Doc fix.
13798 (windmove-find-other-window): Don't pass it.
13799
13800 * window.el (count-windows): Mark unused parameter.
13801 (bw-adjust-window): Remove unused variable `err'.
13802
13803 * woman.el (woman-file-name): Remove unused variable `default'.
13804 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13805 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13806 (global-font-lock-mode): Declare.
13807 (woman-decode-region): Mark unused parameter.
13808 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13809
13810 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13811 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13812 (x-dnd-handle-moz-url): Remove unused variable `title'.
13813 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13814
13815 * xml.el (xml-parse-tag, xml-parse-attlist):
13816 Remove unused variable `pos'.
13817
13818 2011-04-19 Glenn Morris <rgm@gnu.org>
13819
13820 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13821 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13822 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13823 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13824 * calendar/cal-html.el (cal-html-insert-minical):
13825 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13826 (calendar-mark-date-pattern):
13827 Prefix "unused" locals.
13828
13829 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13830 optional argument `style'.
13831
13832 * calendar/appt.el (appt-make-list):
13833 * calendar/cal-china.el (calendar-chinese-date-string):
13834 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13835 (diary-hebrew-yahrzeit):
13836 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13837 * calendar/calendar.el (calendar-generate-window):
13838 * calendar/time-date.el (time-to-days):
13839 Remove unused local variables.
13840
13841 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13842
13843 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13844 glyphless-char-display table.
13845 (tabulated-list-glyphless-char-display): New var.
13846
13847 2011-04-18 Sam Steingold <sds@gnu.org>
13848
13849 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13850 to acknowledgments.
13851
13852 2011-04-17 Glenn Morris <rgm@gnu.org>
13853
13854 * calendar/diary-lib.el (diary-sexp-entry):
13855 * calendar/holidays.el (holiday-sexp):
13856 Set debug-on-error rather than the removed stack-trace-on-error.
13857
13858 2011-04-16 Glenn Morris <rgm@gnu.org>
13859
13860 * progmodes/f90.el: Use lexical-binding.
13861 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13862
13863 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13864
13865 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13866 (mail-mode): Setup mailalias completion here instead.
13867 * mail/mailalias.el: Use lexical-binding.
13868 (pattern, mailalias-done): Declare dynamic.
13869 (mail-completion-at-point-function): New function, from mail-complete.
13870 (mail-complete): Use it.
13871 (mail-completion-expand): New function.
13872 (mail-get-names): Use it.
13873 (mail-directory, mail-directory-process, mail-directory-stream):
13874 Don't use `pattern' for lexically bound arg.
13875
13876 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13877
13878 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13879 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13880 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13881
13882 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13883 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13884 (byte-interactive-p): Define them again, for use when inlining
13885 old code.
13886
13887 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13888
13889 * loadup.el: Use `string-to-number', not `string-to-int'.
13890
13891 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13892
13893 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13894 gud-gdb-complete-command.
13895 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13896 (gud-gdb-completion-at-point): New function.
13897 (gud-gdb-completions): Remove.
13898
13899 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13900
13901 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13902 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13903 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13904 whether `executable-find' is bound.
13905
13906 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13907
13908 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13909
13910 * minibuffer.el (completion-in-region-mode-predicate)
13911 (completion-in-region-mode--predicate): New vars.
13912 (completion-in-region, completion-in-region--postch)
13913 (completion-in-region-mode): Use them.
13914 (completion--capf-wrapper): Also return the hook function.
13915 (completion-at-point, completion-help-at-point):
13916 Adjust and provide a predicate.
13917
13918 Preserve arg names for advice of subr and lexical functions (bug#8457).
13919 * help-fns.el (help-function-arglist): Consolidate the subr and
13920 new-byte-code cases. Add argument `preserve-names' to extract names
13921 from the docstring when needed.
13922 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13923 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13924 (ad-arglist): Use help-function-arglist's new arg.
13925 (ad-definition-type): Use cond.
13926
13927 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13928
13929 * autorevert.el (auto-revert-handler):
13930 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13931 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13932 Don't quote lambda.
13933
13934 * image-mode.el (image-transform-set-scale):
13935 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13936
13937 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13938
13939 * net/network-stream.el (network-stream-open-starttls): Only do
13940 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13941 Upgrades via gnutls-cli are too slow to be done opportunistically.
13942
13943 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13944
13945 * dframe.el (dframe-current-frame): Remove spurious quote.
13946
13947 2011-04-12 Glenn Morris <rgm@gnu.org>
13948
13949 * calendar/cal-tex.el (cal-tex-end-document):
13950 Try to automatically use latin1 input if needed.
13951
13952 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13953 Don't try to cons a mark onto an empty element.
13954
13955 2011-04-11 Leo Liu <sdl.web@gmail.com>
13956
13957 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13958 buffers.
13959 (ido-kill-buffer-at-head): Support killing virtual buffers.
13960
13961 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13962
13963 * minibuffer.el (completion-show-inline-help): New var.
13964 (completion--do-completion, minibuffer-complete)
13965 (minibuffer-force-complete, minibuffer-complete-word):
13966 Inhibit minibuffer messages if completion-show-inline-help is nil.
13967
13968 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13969 to avoid interference from inline help (Bug#5849).
13970
13971 2011-04-10 Leo Liu <sdl.web@gmail.com>
13972
13973 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13974 Fix typo.
13975
13976 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13977
13978 * image-mode.el (image-toggle-display-image): Signal an error if
13979 not in Image mode.
13980 (image-transform-mode, image-transform-resize)
13981 (image-transform-set-rotation): Doc fix.
13982 (image-transform-set-resize): Delete.
13983 (image-transform-set-scale, image-transform-fit-to-height)
13984 (image-transform-fit-to-width): Handle image-toggle-display-image
13985 and image-transform-resize directly.
13986
13987 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13988
13989 * doc-view.el (doc-view-fit-width-to-window)
13990 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13991 New functions for fitting the shown image to the Emacs window size.
13992 (doc-view-mode-map): Add bindings for the new functions.
13993
13994 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13995
13996 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13997 Fix typo in docstring.
13998
13999 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14000
14001 * files.el (file-size-human-readable): Produce one digit after
14002 decimal, like "ls -lh" does.
14003
14004 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14005 the file size representation.
14006
14007 * simple.el (list-processes): If async subprocesses are not
14008 available, error out with a clear error message.
14009
14010 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
14011
14012 * help.el (help-form-show): New function, to be called from C.
14013 Put help-form output in a buffer named differently than *Help*.
14014
14015 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14016
14017 * files.el (file-size-human-readable): New function.
14018
14019 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14020 computing the representation inline. Don't require `cl'.
14021
14022 2011-04-08 Glenn Morris <rgm@gnu.org>
14023
14024 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14025
14026 * net/browse-url.el (browse-url-firefox):
14027 Test system-type, not system-configuration.
14028
14029 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14030 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14031 Use log-edit-empty-buffer-p. (Bug#7598)
14032
14033 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14034 (rlogin-mode-map): Initialize in the defvar.
14035 (rlogin): Use ignore-errors.
14036
14037 * replace.el (occur-mode-map): Some fixes for menu items.
14038
14039 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14040
14041 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14042
14043 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14044
14045 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14046 issuing unused warnings.
14047
14048 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14049 macro directly.
14050
14051 * simple.el: Lisp reimplement of list-processes. Based on an
14052 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14053 (process-menu-mode): New major mode.
14054 (list-processes--refresh, list-processes):
14055 (process-menu-visit-buffer): New functions.
14056
14057 * files.el (save-buffers-kill-emacs): Don't assume any return
14058 value of list-processes, which is undocumented anyway.
14059
14060 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14061
14062 * emacs-lisp/tabulated-list.el: New file.
14063
14064 * emacs-lisp/package.el: Use Tabulated List mode.
14065 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14066 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14067 table format using Tabulated List mode variables.
14068 (package--push): New macro, replacing package-list-maybe-add.
14069 (package-menu--generate): Use package--push. Renamed from
14070 package--generate-package-list.
14071 (package-menu-refresh, list-packages): Use it.
14072 (package-menu--print-info): Rename from package-print-package.
14073 Return insertion data instead of inserting it directly.
14074 (package-menu-describe-package, package-menu-execute):
14075 Use tabulated-list-get-id.
14076 (package-menu-mark-delete, package-menu-mark-install)
14077 (package-menu-mark-unmark, package-menu-backup-unmark)
14078 (package-menu-mark-obsolete-for-deletion):
14079 Use tabulated-list-put-tag.
14080 (package--list-packages, package-menu-revert)
14081 (package-menu-get-package, package-menu-get-version)
14082 (package-menu-sort-by-column): Functions deleted.
14083 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14084 (package-menu--status-predicate, package-menu--version-predicate)
14085 (package-menu--name-predicate)
14086 (package-menu--description-predicate): Handle arguments in the
14087 Tabulated List format.
14088 (package-list-packages-no-fetch): Call list-packages.
14089
14090 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14091
14092 * files.el (after-find-file-from-revert-buffer): Remove variable.
14093 (after-find-file): Don't bind it.
14094 (revert-buffer-in-progress-p): New variable.
14095 (revert-buffer): Bind it.
14096 Pass nil for `after-find-file-from-revert-buffer'.
14097
14098 * saveplace.el (save-place-find-file-hook): Use new variable
14099 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14100
14101 2011-04-06 Glenn Morris <rgm@gnu.org>
14102
14103 * Makefile.in (AUTOGEN_VCS): New variable.
14104 (autoloads): Use $AUTOGEN_VCS.
14105
14106 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14107 * calendar/calendar.el (calendar-mode-map):
14108 Check for toolkit scroll bars. (Bug#8305)
14109
14110 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14111
14112 * minibuffer.el (completion-in-region--postch)
14113 (completion-in-region-mode): Remove unnecessary messages.
14114
14115 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14116
14117 * font-lock.el (font-lock-refresh-defaults):
14118 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14119 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14120
14121 * info.el (Info-directory-list, Info-read-node-name-2)
14122 (Info-split-parameter-string): Doc fixes.
14123 (Info-virtual-nodes): Reflow docstring.
14124 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14125 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14126 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14127 Fix typos in docstrings.
14128 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14129 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14130 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14131 (Info-restore-desktop-buffer): Mark unused parameters.
14132 (Info-directory-find-file, Info-directory-find-node)
14133 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14134 (Info-virtual-index-find-node, Info-apropos-find-file)
14135 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14136 Mark unused parameters; fix typos in docstrings.
14137 (Info-virtual-index): Remove unused local variable `nodename'.
14138
14139 2011-04-05 Deniz Dogan <deniz@dogan.se>
14140
14141 * net/rcirc.el: Update my e-mail address.
14142 (rcirc-mode-map): Remove M-o binding.
14143
14144 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14145
14146 * startup.el (command-line): Save the cursor's theme-face
14147 directly, instead of using face-override-spec.
14148
14149 * custom.el (load-theme): Minor optimization in assigning faces.
14150
14151 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14152
14153 * help-fns.el (describe-variable): Complete all variables having
14154 documentation, including keywords.
14155 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14156
14157 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14158
14159 Convert to lexical-binding.
14160
14161 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14162 (bs--get-marked-string, bs--get-modified-string)
14163 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14164 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14165 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14166
14167 * ehelp.el (electric-help-execute-extended)
14168 (electric-help-ctrl-x-prefix):
14169 * hexl.el (hexl-revert-buffer-function):
14170 * linum.el (linum-after-change, linum-after-scroll):
14171 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14172
14173 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14174
14175 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14176
14177 * epa-dired.el:
14178 * epa-mail.el:
14179 * epa-hook.el:
14180 * epa-file.el:
14181 * epa.el:
14182 * epg.el: Use lexical binding.
14183
14184 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14185
14186 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14187
14188 * textmodes/flyspell.el (flyspell-word): Recognize default
14189 dictionary case for flyspell-mark-duplications-exceptions.
14190 Use regexp matching for languages.
14191 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14192 default dictionary (Bug#7926).
14193
14194 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14195
14196 * emacs-lisp/package.el (package--with-work-buffer):
14197 Recognize https URLs.
14198
14199 * net/network-stream.el: Move from gnus/proto-stream.el.
14200 Change prefix to network-stream throughout.
14201 (open-protocol-stream): Merge into open-network-stream, leaving
14202 open-protocol-stream as an alias. Handle nil BUFFER args.
14203
14204 * subr.el (open-network-stream): Move to net/network-stream.el.
14205
14206 2011-04-02 Glenn Morris <rgm@gnu.org>
14207
14208 * find-dired.el (find-exec-terminator): New option.
14209 (find-ls-option): Test for -ls support.
14210 (find-ls-subdir-switches): Test for -b in find-ls-option.
14211 (find-dired, find-grep-dired): Doc fixes.
14212 (find-dired): Use find-exec-terminator.
14213
14214 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14215 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14216 (find-name-arg): Remove purecopy.
14217
14218 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14219 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14220 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14221 accordingly. Don't add the null-device if not needed.
14222
14223 * files.el (save-some-buffers): Doc fix.
14224
14225 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14226
14227 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14228
14229 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14230
14231 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14232 Use `dolist' rather than `mapcar'.
14233
14234 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14235
14236 Add lexical binding.
14237
14238 * subr.el (apply-partially): Use new closures rather than CL.
14239 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14240 (dolist, dotimes): Use slightly different expansion for lexical code.
14241 (functionp): Move to C.
14242 (letrec): New macro.
14243 (with-wrapper-hook): Use it and apply-partially instead of CL.
14244 (eval-after-load): Preserve lexical-binding.
14245 (save-window-excursion, with-output-to-temp-buffer): Turn them
14246 into macros.
14247
14248 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14249
14250 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14251 than the arglist.
14252 (help-add-fundoc-usage): Don't add `Not documented'.
14253 (help-function-arglist): Handle closures, subroutines, and new
14254 byte-code-functions.
14255 (help-make-usage): Remove leading underscores.
14256 (describe-function-1): Handle closures.
14257 (describe-variable): Use special-variable-p for completion.
14258
14259 * files.el (lexical-binding): Declare safe.
14260
14261 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14262 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14263 (pcase): Add `let' pattern.
14264 Change memoization so it actually works.
14265 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14266 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14267 <let>: New case.
14268
14269 * emacs-lisp/macroexp.el: Use lexical binding.
14270 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14271 Don't convert ' to #' without checking that it's indeed quoting
14272 a lambda.
14273
14274 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14275 Use eval-sexp-add-defvars.
14276 (eval-sexp-add-defvars): New fun.
14277
14278 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14279
14280 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14281 Don't autoload.
14282 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14283 than the internal `byte-compile-lambda'.
14284 (defmethod): Don't hide code under quotes.
14285 (eieio-defmethod): New `code' argument.
14286
14287 * emacs-lisp/eieio-comp.el: Remove.
14288
14289 * emacs-lisp/edebug.el (edebug-eval-defun)
14290 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14291 (edebug-toggle): Avoid `eval'.
14292
14293 * emacs-lisp/disass.el (disassemble-internal): Handle new
14294 `closure' objects.
14295 (disassemble-1): Handle new byte codes.
14296
14297 * emacs-lisp/cl.el (pushnew): Silence warning.
14298
14299 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14300 (cl-byte-compile-throw): Remove.
14301 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14302
14303 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14304 closures.
14305
14306 * emacs-lisp/cconv.el: New file.
14307
14308 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14309 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14310 (byte-compile-initial-macro-environment):
14311 Handle declare-function here.
14312 (byte-compile--lexical-environment): New var.
14313 (byte-stack-ref, byte-stack-set, byte-discardN)
14314 (byte-discardN-preserve-tos): New lap codes.
14315 (byte-interactive-p): Don't use any more.
14316 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14317 New macros.
14318 (byte-compile-lapcode): Use them and handle new lap codes.
14319 (byte-compile-obsolete): Remove.
14320 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14321 (byte-compile-arglist-warn): Check late def of inlinable funs.
14322 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14323 since they should have been expanded by now.
14324 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14325 (byte-compile-from-buffer): Remove unused second arg.
14326 (byte-compile-preprocess): New function.
14327 (byte-compile-toplevel-file-form): New function to distinguish
14328 file-form calls from outside from file-form calls from hunk-handlers.
14329 (byte-compile-file-form): Simplify.
14330 (byte-compile-file-form-defsubst): Remove.
14331 (byte-compile-file-form-defmumble): Simplify now that
14332 byte-compile-lambda always returns a byte-code-function.
14333 (byte-compile): Preprocess.
14334 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14335 Remove, not used any more.
14336 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14337 (byte-compile-make-args-desc): New funs.
14338 (byte-compile-lambda): Handle lexical functions. Always return
14339 a byte-code-function.
14340 (byte-compile-reserved-constants): New var, to make up room for
14341 closed-over variables.
14342 (byte-compile-constants-vector): Obey it.
14343 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14344 (byte-compile-macroexpand-declare-function): New function.
14345 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14346 byte-code-functions.
14347 (byte-compile-form): Check obsolescence here.
14348 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14349 (byte-compile-variable-ref): Remove.
14350 (byte-compile-dynamic-variable-op): New fun.
14351 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14352 (byte-compile-variable-set): New funs.
14353 (byte-compile-discard): Add 2 args.
14354 (byte-compile-stack-ref, byte-compile-stack-set)
14355 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14356 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14357 macroexpand-all instead.
14358 (byte-compile-quote-form): Remove.
14359 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14360 (byte-compile-bind, byte-compile-unbind): New funs.
14361 (byte-compile-let): Handle let* and lexical binding.
14362 (byte-compile-let*): Remove.
14363 (byte-compile-catch, byte-compile-unwind-protect)
14364 (byte-compile-track-mouse, byte-compile-condition-case):
14365 Handle a new :fun-body form, used for lexical scoping.
14366 (byte-compile-save-window-excursion)
14367 (byte-compile-with-output-to-temp-buffer): Remove.
14368 (byte-compile-defun): Simplify.
14369 (byte-compile-stack-adjustment): New fun.
14370 (byte-compile-out): Use it.
14371 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14372
14373 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14374 handler any more.
14375
14376 * emacs-lisp/byte-opt.el: Use lexical binding.
14377 (byte-inline-lapcode): Remove (to bytecomp).
14378 (byte-compile-inline-expand): Pay attention to inlining to/from
14379 lexically bound code.
14380 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14381 any more.
14382 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14383 any more and don't call compiler-macros.
14384 (byte-compile-splice-in-already-compiled-code): Remove.
14385 (byte-code): Don't inline any more.
14386 (disassemble-offset): Receive `bytes' as argument rather than via
14387 dynamic scoping.
14388 (byte-compile-tag-number): Declare before first use.
14389 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14390 `return' even if make-spliceable.
14391 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14392 obsolete interactive-p.
14393 (byte-optimize-lapcode): Optimize new lap-codes.
14394 Don't trip up on new form of `byte-constant' lap code.
14395
14396 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14397
14398 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14399
14400 * custom.el (custom-initialize-default, custom-declare-variable):
14401 Use `defvar'.
14402
14403 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14404 New variables.
14405 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14406 (COMPILE_FIRST): Add macroexp and cconv.
14407 * makefile.w32-in: Mirror changes in Makefile.in.
14408
14409 * vc/cvs-status.el:
14410 * vc/diff-mode.el:
14411 * vc/log-edit.el:
14412 * vc/log-view.el:
14413 * vc/smerge-mode.el:
14414 * textmodes/bibtex-style.el:
14415 * textmodes/css.el:
14416 * startup.el:
14417 * uniquify.el:
14418 * minibuffer.el:
14419 * newcomment.el:
14420 * reveal.el:
14421 * server.el:
14422 * mpc.el:
14423 * emacs-lisp/smie.el:
14424 * doc-view.el:
14425 * dired.el:
14426 * abbrev.el: Use lexical binding.
14427
14428 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14429
14430 * info.el (info-display-manual): New function.
14431
14432 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14433
14434 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14435
14436 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14437
14438 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14439 an entry for that server in rcirc-authinfo. (Bug#8385)
14440
14441 2011-03-31 Glenn Morris <rgm@gnu.org>
14442
14443 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14444
14445 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14446
14447 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14448
14449 * progmodes/python.el (python-default-interpreter)
14450 (python-python-command-args, python-jython-command-args)
14451 (python-which-shell, python-which-args, python-which-bufname)
14452 (python-file-queue, python-comint-output-filter-function)
14453 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14454 variables and functions.
14455
14456 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14457
14458 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14459 (completion-in-region-mode): New minor mode.
14460 (completion-in-region): Use it.
14461 (completion-in-region--data, completion-in-region-mode-map): New vars.
14462 (completion-in-region--postch): New function.
14463 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14464 New vars.
14465 (completion--capf-wrapper): New function.
14466 (completion-at-point): Use it to track well-behavedness of
14467 hook functions.
14468 (completion-help-at-point): New command.
14469
14470 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14471
14472 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14473 syntax class to search for whitespace on a single line
14474 (Message-ID: <4D938140.4030905@redhat.com>).
14475
14476 2011-03-30 Leo Liu <sdl.web@gmail.com>
14477
14478 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14479 New commands.
14480 (edit-abbrevs-map): Bind them here.
14481 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14482
14483 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14484
14485 * allout.el (allout-hide-by-annotation, allout-flag-region):
14486 Reduce possibility of overlay leakage by making them volatile.
14487
14488 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14489 hash is not shared between buffers. Mode initialization is
14490 responsible for giving it a useful starting value.
14491 (allout-item-span): Reduce possibility of overlay leakage by
14492 making them volatile.
14493 (allout-widgets-count-buttons-in-region): Add diagnostic function
14494 for tracking down button overlay leaks.
14495
14496 2011-03-29 Leo Liu <sdl.web@gmail.com>
14497
14498 * ido.el (ido-read-internal): Use the default history var
14499 minibuffer-history if no HISTORY is specified.
14500
14501 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14502
14503 * net/imap.el (imap-shell-open, imap-process-connection-type):
14504 Use imap-process-connection-type for 'shell' streams as well as
14505 Kerberos, SSL, other subprocesses.
14506
14507 2011-03-28 Leo Liu <sdl.web@gmail.com>
14508
14509 * abbrev.el (abbrev-table-empty-p): New function.
14510 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14511 nonempty ones. (Bug#5937)
14512
14513 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14514
14515 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14516
14517 2011-03-27 Leo Liu <sdl.web@gmail.com>
14518
14519 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14520 for foreground and background colors.
14521 (ansi-color-make-color-map): Adapt.
14522
14523 2011-03-25 Leo Liu <sdl.web@gmail.com>
14524
14525 * midnight.el (midnight-time-float): Remove. Note it calculates
14526 the microsecond component incorrectly and seconds-to-time does the
14527 same job.
14528 Remove redundant (require 'timer).
14529
14530 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14531 (ido-completions): Remove unused arguments. (Bug#8329)
14532
14533 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14534
14535 * minibuffer.el (completion--flush-all-sorted-completions):
14536 Remove itself from hook.
14537 (completion-at-point): Let the functions perform the completion
14538 immediately and return nil or t.
14539 * comint.el (comint-dynamic-complete-functions): Now identical to
14540 completion-at-point-functions.
14541 (comint-dynamic-list-input-ring): Remove unused var `index'.
14542 (comint--match-partial-filename, comint--unquote&expand-filename):
14543 New funs, split from comint-match-partial-filename.
14544 (comint-dynamic-complete): Use completion-at-point.
14545 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14546
14547 2011-03-24 Drew Adams <drew.adams@oracle.com>
14548
14549 * thingatpt.el: Support `defun'.
14550
14551 2011-03-23 Leo Liu <sdl.web@gmail.com>
14552
14553 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14554
14555 * help-mode.el (help-mode-finish): Tweak regexp.
14556
14557 2011-03-23 Glenn Morris <rgm@gnu.org>
14558
14559 * eshell/esh-opt.el (eshell-eval-using-options):
14560 Do not bind unused local variable `eshell-option-stub'.
14561
14562 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14563
14564 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14565
14566 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14567 keymap variable in `with-no-warnings' to avoid a warning when the
14568 keymap has been already `defconst'ed.
14569
14570 2011-03-22 Leo Liu <sdl.web@gmail.com>
14571
14572 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14573 encode all chars in abbrevs; otherwise use emacs-mule or
14574 utf-8-emacs. (Bug#8308)
14575
14576 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14577
14578 * simple.el (backward-delete-char-untabify):
14579 Avoid warning about using `delete-backward-char'.
14580
14581 * image.el (image-type-file-name-regexps): Make it variable.
14582 `imagemagick-register-types' modifies it, and the user may want
14583 to add new extensions for known image types.
14584 (imagemagick-register-types): Throw error if not using ImageMagick.
14585
14586 2011-03-22 Leo Liu <sdl.web@gmail.com>
14587
14588 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14589 located before rcirc-prompt-end-marker.
14590 (rcirc-complete): Error if point is not after rcirc prompt.
14591 Handle the case when table is nil.
14592 (rcirc-user-authenticated): Define to fix compiler warning.
14593
14594 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14595
14596 * custom.el (custom--inhibit-theme-enable): Make it affect only
14597 custom-theme-set-variables and custom-theme-set-faces.
14598 (provide-theme): Ignore custom--inhibit-theme-enable.
14599 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14600 (custom-enabling-themes): Delete variable.
14601 (enable-theme): Accept only loaded themes as arguments.
14602 Ignore the special custom-enabled-themes variable.
14603 (custom-enabled-themes): Forbid themes from setting this.
14604 Eliminate use of custom-enabling-themes.
14605 (custom-push-theme): Quote "changed" custom var entry.
14606
14607 2011-03-21 Leo Liu <sdl.web@gmail.com>
14608
14609 * ido.el (ido-read-internal): Add ido-selected to history instead
14610 of user input.
14611
14612 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14613
14614 * subr.el (deferred-action-list, deferred-action-function):
14615 Mark obsolete.
14616
14617 2011-03-21 Leo Liu <sdl.web@gmail.com>
14618
14619 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14620 change on 2011-02-13 (bug#8309).
14621
14622 * minibuffer.el (read-file-name-function): Change default value.
14623 (read-file-name--defaults): Rename from read-file-name-defaults.
14624 (read-file-name-default): Rename from read-file-name.
14625 (read-file-name): Call read-file-name-function.
14626
14627 2011-03-21 Glenn Morris <rgm@gnu.org>
14628
14629 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14630 Doc fixes.
14631
14632 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14633
14634 * cus-theme.el: Add missing provide statement.
14635 (customize-create-theme): Extract theme value correctly.
14636 (custom-theme-visit-theme): Autoload.
14637 (customize-create-theme): Prompt before inserting default faces.
14638
14639 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14640
14641 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14642 units and musical notes.
14643
14644 2011-03-20 Leo Liu <sdl.web@gmail.com>
14645
14646 * ido.el (ido-read-internal): Use completing-read-default.
14647 (ido-completing-read): Fix compatibility with completing-read.
14648
14649 2011-03-20 Christian Ohler <ohler@gnu.org>
14650
14651 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14652 (ert-delete-all-tests): Use `called-interactively-p' rather than
14653 `interactive-p'.
14654 (ert--make-xrefs-region): Respect END.
14655
14656 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14657
14658 * dired-aux.el (dired-create-directory): Signal an error if the
14659 directory already exists (Bug#8246).
14660
14661 * facemenu.el (list-colors-display): Call list-faces-display
14662 inside with-help-window.
14663 (list-colors-print): Use display property to align the final
14664 column, instead of checking window-width.
14665
14666 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14667
14668 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14669 windows-nt systems.
14670 (emerge-protect-metachars): Quote correctly for ms-dos and
14671 windows-nt systems.
14672
14673 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14674
14675 * info.el (info-initialize): Replace all uses of `:' with
14676 path-separator for compatibility with non-Unix systems.
14677 Cache quoting of path-separator. (Bug#8258)
14678
14679 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14680
14681 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14682 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14683 (mouse-avoidance-mode): Fix typos in docstrings.
14684
14685 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14686
14687 * startup.el (package-subdirectory-regexp): Move from package.el.
14688 Omit \\` and \\', and let callers add them.
14689
14690 * emacs-lisp/package.el (package-strip-version)
14691 (package-load-all-descriptors): Add \\` and \\' to
14692 package-subdirectory-regexp before using it.
14693 (package-untar-buffer): New arg DIR; ensure that file untars only
14694 into this expected directory. Remove superfluous delete-region.
14695 (package-unpack): Caller changed.
14696 (package-tar-file-info): Use package-subdirectory-regexp.
14697
14698 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14699
14700 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14701 diff-mode-shared-map (bug#8284).
14702 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14703
14704 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14705
14706 * calendar/time-date.el (format-seconds): Use assoc instead of
14707 assoc-string, since assoc-string doesn't exist in XEmacs.
14708
14709 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14710
14711 * custom.el (custom-known-themes): Reflow docstring.
14712 (custom-theme-load-path): Fix typo in docstring.
14713 (load-theme): Fix typo in error message.
14714 (custom-available-themes, custom-variable-theme-value):
14715 Use `let', not `let*'.
14716
14717 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14718
14719 * calc/README: Mention inclusion of musical notes.
14720
14721 * calc/calc-units.el (calc-lu-quant): Rename from
14722 `calc-logunits-quantity'.
14723 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14724 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14725 (calc-db): Rename from `calc-dblevel'.
14726 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14727 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14728 (calc-np): Rename from `calc-nplevel'.
14729 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14730 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14731 (calc-lu-plus): Rename from `calc-logunits-add'.
14732 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14733 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14734 (calc-lu-minus): Rename from `calc-logunits-sub'.
14735 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14736 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14737 (calc-lu-times): Rename from `calc-logunits-mul'.
14738 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14739 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14740 (calc-lu-divide): Rename from `calc-logunits-div'.
14741 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14742 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14743
14744 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14745 functions being autoloaded.
14746
14747 * calc/calc.el (calc-lu-power-reference): Rename from
14748 `calc-logunits-power-reference'.
14749 (calc-lu-field-reference): Rename from
14750 `calc-logunits-field-reference'.
14751
14752 * calc/calc-help.el (calc-l-prefix-help):
14753 Mention musical note functions.
14754
14755 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14756
14757 * minibuffer.el (completion-all-sorted-completions):
14758 Use :completion-cycle-penalty text property if present.
14759
14760 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14761
14762 * allout.el (allout-yank-processing): Adjust for new rebulleting
14763 regime so bullet being yanked is used without prompting the user
14764 for a choice.
14765
14766 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14767
14768 * startup.el (command-line): Warn the user that _emacs is deprecated.
14769
14770 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14771
14772 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14773 (delphi-verbose, delphi-comment-face, delphi-string-face)
14774 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14775 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14776 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14777 (delphi-new-comment-line, delphi-font-lock-defaults)
14778 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14779 Fix typos in docstrings.
14780
14781 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14782
14783 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14784 Invert the roles of character and string values for INSTEAD, so a
14785 string is used for the more common case of a defaulting prompt.
14786
14787 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14788
14789 * progmodes/ruby-mode.el (ruby-backward-sexp):
14790 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14791 * play/gamegrid.el (gamegrid-make-face):
14792 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14793 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14794 * notifications.el (notifications-notify):
14795 * net/xesam.el (xesam-search-engines):
14796 * net/quickurl.el (quickurl-list-insert):
14797 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14798
14799 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14800
14801 * startup.el (command-line): Update package subdirectory regexp.
14802
14803 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14804
14805 * allout.el (allout-abbreviate-flattened-numbering)
14806 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14807
14808 * subr.el (read-char-choice): Only show the cursor after the prompt,
14809 not after the answer.
14810
14811 2011-03-15 Kevin Ryde <user42@zip.com.au>
14812
14813 * help-fns.el (variable-at-point): Skip leading quotes, if any
14814 (bug#8253).
14815
14816 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14817
14818 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14819 warning message.
14820
14821 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14822
14823 * shell.el (shell): When called interactively, offer to change the
14824 shell file name on remote hosts.
14825
14826 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14827
14828 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14829 integration for LDAP parameters. The host, base, user or binddn,
14830 and secret tokens can be specified in a netrc file, for instance.
14831 This is optional because an `auth-source' parameter must be
14832 specified in the search attributes.
14833
14834 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14835
14836 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14837
14838 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14839
14840 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14841 into declaration. Remove redundant and harmful binding.
14842
14843 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14844
14845 * files.el (file-ownership-preserved-p): Pass `integer' as an
14846 explicit 2nd argument to `file-attributes'. If the file's owner
14847 is the Administrators group on Windows, and the current user is
14848 Administrator, consider that a match.
14849
14850 * server.el (server-ensure-safe-dir): Consider server directory
14851 safe on MS-Windows if its owner is the Administrators group while
14852 the current Emacs user is Administrator. Use `=' to compare
14853 numerical UIDs, since they could be integers or floats.
14854
14855 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14856
14857 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14858
14859 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14860
14861 Sync with Tramp 2.2.1.
14862
14863 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14864
14865 * net/trampver.el: Update release number.
14866
14867 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14868
14869 * progmodes/compile.el (compilation--previous-directory): Fix up
14870 various nil/dead-marker mismatches (bug#8014).
14871 (compilation-directory-properties, compilation-error-properties):
14872 Don't call it at a position past the one we're about to change.
14873
14874 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14875 Disable obsolescence warnings in the file that declares it.
14876
14877 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14878
14879 * allout-widgets.el (allout-widgets-tally):
14880 Initialize allout-widgets-tally as a hash table rather than nil to
14881 prevent mode-line redisplay warnings. Also, clarify the module
14882 description and fix a comment typo.
14883
14884 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14885
14886 * help-fns.el (describe-variable): Don't complete keywords.
14887 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14888
14889 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14890
14891 * emacs-lisp/package.el (package-version-join): Impose a standard
14892 string representation for pre/alpha/beta version lists.
14893 (package-unpack-single): Standardize the directory name by passing
14894 it through package-version-join.
14895 (package-strip-rcs-id): Accept any version string that does not
14896 signal an error in version-to-list.
14897
14898 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14899
14900 * simple.el (delete-trailing-whitespace): Return nil for the
14901 benefit of `write-file-functions'.
14902
14903 2011-03-10 Glenn Morris <rgm@gnu.org>
14904
14905 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14906
14907 * vc/vc-git.el (vc-git-program): New option.
14908 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14909 (vc-git--call): Use it.
14910
14911 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14912
14913 * cus-edit.el (Custom-newline): If no button at point, look
14914 for a subgroup button at start-of-line. (Bug#2298)
14915
14916 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14917
14918 2011-03-10 Julien Danjou <julien@danjou.info>
14919
14920 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14921 `cursor-type' is nil.
14922
14923 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14924
14925 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14926
14927 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14928
14929 * allout.el: Change so yank of distinctive-bullet items
14930 preserves the existing header prefix, rebulleting it if necessary,
14931 rather than replacing it. This is necessary for proper operation
14932 of cooperative addons like allout-widgets.
14933 (allout-make-topic-prefix, allout-rebullet-heading):
14934 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14935 value as alternate bullet to be used, instead of prompting the user
14936 for a bullet character.
14937
14938 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14939
14940 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14941 Do not use `tramp-file-name-port', because this returns also
14942 `tramp-default-port'.
14943
14944 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14945
14946 * net/rcirc.el (rcirc-handler-001): Remove useless
14947 with-rcirc-process-buffer.
14948 (rcirc-check-auth-status): Swap arguments to string-match.
14949
14950 2011-03-09 Glenn Morris <rgm@gnu.org>
14951
14952 * shell.el (shell-mode):
14953 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14954
14955 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14956 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14957
14958 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14959
14960 * emacs-lisp/package.el (package-refresh-contents)
14961 (package-menu-execute): Use condition-case-no-debug.
14962
14963 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14964
14965 * simple.el (shell-command-to-string): Use `process-file'.
14966
14967 * emacs-lisp/package.el (package-tar-file-info): Handle also
14968 remote files.
14969
14970 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14971 Use `equal' for upload base check.
14972
14973 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14974
14975 * textmodes/texinfo.el (texinfo-environments):
14976 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14977
14978 2011-03-08 Glenn Morris <rgm@gnu.org>
14979
14980 * cus-start.el (cursor-in-non-selected-windows):
14981 Fix :set quoting oddness. (Bug#8192)
14982
14983 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14984 in some setf expressions. (Bug#2159)
14985
14986 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14987
14988 * custom.el (custom-available-themes): Return themes in
14989 alphabetical order.
14990
14991 See ChangeLog.15 for earlier changes.
14992
14993 ;; Local Variables:
14994 ;; coding: utf-8
14995 ;; End:
14996
14997 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14998
14999 This file is part of GNU Emacs.
15000
15001 GNU Emacs is free software: you can redistribute it and/or modify
15002 it under the terms of the GNU General Public License as published by
15003 the Free Software Foundation, either version 3 of the License, or
15004 (at your option) any later version.
15005
15006 GNU Emacs is distributed in the hope that it will be useful,
15007 but WITHOUT ANY WARRANTY; without even the implied warranty of
15008 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15009 GNU General Public License for more details.
15010
15011 You should have received a copy of the GNU General Public License
15012 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.