* Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2
3 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4
5 2012-06-09 Chong Yidong <cyd@gnu.org>
6
7 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8
9 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10
11 * window.el (special-display-popup-frame): Don't use
12 window--display-buffer (Bug#11651).
13
14 2012-06-09 Eli Zaretskii <eliz@gnu.org>
15
16 Fix parallel builds: make sure loaddefs.el is not being written
17 while Lisp files are compiled.
18 (compile): Don't depend on 'mh-autoloads'.
19 (compile-CMD, compile-SH): Depend on 'autoloads'.
20 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
21
22 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
23
24 2012-06-09 Chong Yidong <cyd@gnu.org>
25
26 * face-remap.el (face-remap-add-relative, face-remap-set-base)
27 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
28 Doc fixes (Bug#11225).
29
30 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
33 a function if there's a clear indication that it has a compiler-macro.
34 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
35 (macro-declarations-alist): Add arglist to declaration functions.
36 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
37 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
38 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
39 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
40 Also add autoload to find the compiler macro.
41 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
42 (cl--compiler-macro-member, cl--compiler-macro-assoc)
43 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
44 (cl--compiler-macro-get): New functions, replacing calls to
45 cl-define-compiler-macro.
46 (cl-typep) [compiler-macro]: Use macroexp-let².
47
48 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
49
50 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
51 string properly, fixes Bug#11473.
52
53 2012-06-08 Chong Yidong <cyd@gnu.org>
54
55 * faces.el (set-face-attribute): Doc fix.
56 (modify-face): Don't use :bold and :italic.
57 (error, warning, success): Tweak definitions.
58
59 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
60 (custom-modified, custom-set, custom-changed, custom-themed)
61 (custom-saved, custom-button, custom-button-mouse)
62 (custom-button-pressed, custom-state, custom-comment-tag)
63 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
64 (custom-group-subtitle): Use new-style face specs.
65 (custom-invalid-face, custom-rogue-face, custom-modified-face)
66 (custom-set-face, custom-changed-face, custom-saved-face)
67 (custom-button-face, custom-button-pressed-face)
68 (custom-documentation-face, custom-state-face)
69 (custom-comment-face, custom-comment-tag-face)
70 (custom-variable-tag-face, custom-variable-button-face)
71 (custom-face-tag-face, custom-group-tag-face-1)
72 (custom-group-tag-face): Remove obsolete face alias.
73
74 * epa.el (epa-validity-high, epa-validity-medium)
75 (epa-validity-low, epa-mark, epa-field-name, epa-string)
76 (epa-field-name, epa-field-body):
77 * font-lock.el (font-lock-comment-face, font-lock-string-face)
78 (font-lock-keyword-face, font-lock-builtin-face)
79 (font-lock-function-name-face, font-lock-variable-name-face)
80 (font-lock-type-face, font-lock-constant-face):
81 * ido.el (ido-first-match, ido-only-match, ido-subdir)
82 (ido-virtual, ido-indicator, ido-incomplete-regexp):
83 * speedbar.el (speedbar-button-face, speedbar-file-face)
84 (speedbar-directory-face, speedbar-tag-face)
85 (speedbar-selected-face, speedbar-highlight-face)
86 (speedbar-separator-face):
87 * whitespace.el (whitespace-newline, whitespace-space)
88 (whitespace-hspace, whitespace-tab, whitespace-trailing)
89 (whitespace-line, whitespace-space-before-tab)
90 (whitespace-space-after-tab, whitespace-indentation)
91 (whitespace-empty):
92 * emulation/cua-base.el (cua-global-mark):
93 * eshell/em-prompt.el (eshell-prompt):
94 * net/newst-plainview.el (newsticker-new-item-face)
95 (newsticker-old-item-face, newsticker-immortal-item-face)
96 (newsticker-obsolete-item-face, newsticker-date-face)
97 (newsticker-statistics-face, newsticker-default-face):
98 * net/newst-reader.el (newsticker-feed-face)
99 (newsticker-extra-face, newsticker-enclosure-face):
100 * net/newst-treeview.el (newsticker-treeview-face)
101 (newsticker-treeview-new-face, newsticker-treeview-old-face)
102 (newsticker-treeview-immortal-face)
103 (newsticker-treeview-obsolete-face)
104 (newsticker-treeview-selection-face):
105 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
106 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
107 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
108 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
109 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
110 (nxml-outline-active-indicator, nxml-outline-ellipsis):
111 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
112 (mpuz-text):
113 * progmodes/vera-mode.el (vera-font-lock-number)
114 (vera-font-lock-function, vera-font-lock-interface):
115 * textmodes/table.el (table-cell): Use new-style face specs, and
116 don't use the old :bold and :italic attributes.
117
118 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
119 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
120 (ebrowse-member-class, ebrowse-progress): Likewise.
121 (ebrowse-tree-mark-face, ebrowse-root-class-face)
122 (ebrowse-file-name-face, ebrowse-default-face)
123 (ebrowse-member-attribute-face, ebrowse-member-class-face)
124 (ebrowse-progress-face): Remove obsolete faces.
125
126 * progmodes/flymake.el (flymake-errline, flymake-warnline):
127 Inherit from error and warning faces respectively.
128
129 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
130 Likewise.
131 (flyspell-incorrect-face, flyspell-duplicate-face): Remove
132 obsolete aliases.
133
134 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
135
136 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
137 Avoid infloop.
138
139 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * startup.el (argv, argi): Make lexically scoped.
142 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
143 * emacs-lisp/cl-macs.el: Use lexical-binding.
144 Rename cl-bind-* to cl--bind-*.
145 * files.el: Don't require `cl' since it doesn't use it.
146 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
147
148 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
149
150 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
151 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
152 instead of calling external sort utility.
153 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
154
155 2012-06-08 Eli Zaretskii <eliz@gnu.org>
156
157 * descr-text.el (describe-char): Mention how to insert the
158 character, if the current input method doesn't support it.
159 See the discussion in this thread for the details:
160 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
161
162 2012-06-08 Sam Steingold <sds@gnu.org>
163
164 * bindings.el (global-map): Bind XF86Forward to next-buffer and
165 XF86Back to previous-buffer.
166 (minibuffer-local-map): Bind them to next-history-element and
167 previous-history-element respectively.
168 * help-mode.el (help-mode-map): Bind them to help-go-forward and
169 help-go-back respectively.
170 * info.el (Info-mode-map): Bind them to Info-history-forward and
171 Info-history-back respectively.
172 These are the keys next to Up on the ThinkPad keyboard.
173
174 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
177 * emacs-lisp/cl-macs.el: Provide itself.
178 (cl--labels-convert-cache): New var.
179 (cl--labels-convert): New function.
180 (cl-flet, cl-labels): New implementation with new semantics, relying on
181 lexical-binding.
182 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
183 (cl-closure-vars, cl--function-convert-cache)
184 (cl--function-convert): Move from cl-macs.el.
185 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
186 rename by removing the "cl-" prefix.
187 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
188
189 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
192 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
193 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
194 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
195 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
196 (cl-hash-table-count): Add old compatibility aliases.
197
198 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
199 Use macroexpand-all-environment instead.
200 (cl--old-macroexpand): New var.
201 (cl--sm-macroexpand): New function.
202 (cl-symbol-macrolet): Use it during macro expansion.
203 (cl--function-convert-cache): New var.
204 (cl--function-convert): New function, extracted from
205 cl-macroexpand-all.
206 (cl-lexical-let): Use it.
207
208 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
209 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
210 (cl-member): Remove old alias.
211
212 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
213 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
214 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
215 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
216 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
217 (cl-macroexpand-cmacs): Remove var.
218 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
219 Use macroexpand-all instead.
220
221 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
222
223 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
224 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
225 (macroexp-copyable-p): New functions and macros.
226 * emacs-lisp/edebug.el (edebug-unwrap):
227 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
228 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
229 (pcase--let*): Remove.
230 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
231 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
232 macroexp-const-p instead.
233 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
234
235 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
236 instead of "cl-" for internal definitions. Use macroexp-const-p.
237 (cl-old-bc-file-form): Remove var.
238 (cl-const-exprs-p): Remove fun.
239 (cl-labels, cl-macrolet): Use backquote.
240 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
241 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
242 (cl-define-setf-expander): Rename from cl-define-setf-method.
243 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
244
245 * international/mule-cmds.el: Don't require CL.
246 (view-hello-file): Don't use `letf'.
247
248 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * tmm.el (tmm-prompt): Use string-prefix-p.
251 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
252 (tmm-add-prompt): Use minibuffer-completion-help.
253 (tmm-delete-map): Remove.
254
255 * subr.el (kbd): Make it its own function.
256
257 2012-06-07 Stefan Merten <smerten@oekonux.de>
258
259 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
260 Silence compiler warnings. Fix versions.
261 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
262 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
263 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
264 (rst-package-emacs-version-alist): Correct Emacs version to
265 represent major merge with upstream.
266 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
267
268 2012-06-06 Glenn Morris <rgm@gnu.org>
269
270 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
271 Only print environment variables if set.
272
273 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
276 (macroexp--cons): Rename from maybe-cons.
277 (macroexp--accumulate): Rename from macroexp-accumulate.
278 (macroexp--all-forms): Rename from macroexpand-all-forms.
279 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
280 (macroexp--expand-all): Rename from macroexpand-all-1.
281
282 2012-06-06 Sam Steingold <sds@gnu.org>
283
284 * calendar/calendar.el (calendar-in-read-only-buffer):
285 Call `special-mode' to enable the standard read-only keybindings.
286
287 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
288
289 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
290 with "loading" messages (bug#11635).
291
292 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
293
294 * files.el (enable-remote-dir-locals): New option.
295 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
296
297 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
298 Ensure, that the temp directory is local.
299
300 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
301 `temporary-file-directory'.
302
303 * progmodes/python.el (python-send-region): Ensure, that the
304 temporary file is created also in the remote case.
305
306 2012-06-06 Glenn Morris <rgm@gnu.org>
307
308 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
309 (vc-rcs-update-changelog): Use it.
310
311 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
312
313 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
314 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
315 (vc-sccs-diff): Replace use of the external vcdiff script.
316
317 2012-06-05 Glenn Morris <rgm@gnu.org>
318
319 * ledit.el: Move to obsolete/.
320
321 2012-06-05 Sam Steingold <sds@gnu.org>
322
323 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
324 patch (Bug#11140).
325
326 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * emacs-list/cust-print.el: Move to obsolete.
329
330 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
331 compiler-macro expansion.
332
333 Add native compiler-macro support.
334 * emacs-lisp/macroexp.el (macroexpand-all-1):
335 Support compiler-macros directly. Properly follow aliases and apply
336 the compiler macros more thoroughly.
337 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
338 macroexpand now properly follows aliases.
339 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
340 (cl-compiler-macroexpand): Use new prop.
341 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
342
343 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
344
345 2012-06-05 Martin Rudalics <rudalics@gmx.at>
346
347 * window.el (get-lru-window, get-mru-window, get-largest-window):
348 New argument NOT-SELECTED to avoid picking the selected window.
349 (window--display-buffer-1, window--display-buffer-2): Replace by
350 new function window--display-buffer
351 (display-buffer-same-window, display-buffer-reuse-window)
352 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
353 Use window--display-buffer.
354 (display-buffer-use-some-window): Remove temporary dedication
355 hack by calling get-lru-window and get-largest-window with
356 NOT-SELECTED argument non-nil. Call window--display-buffer.
357
358 2012-06-05 Glenn Morris <rgm@gnu.org>
359
360 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
361 Replace external vcdiff script.
362
363 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
364
365 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
366
367 2012-06-04 Chong Yidong <cyd@gnu.org>
368
369 * image.el (imagemagick-types-inhibit): Revert last change.
370 Add INFO and M.
371 (imagemagick-enabled-types): Remove CIN and EPS*.
372
373 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * emacs-lisp/cl-lib.el: Rename from cl.el.
376 * emacs-lisp/cl.el: New compatibility file.
377 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
378 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
379 to obey the "cl-" prefix.
380 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
381
382 2012-06-03 Glenn Morris <rgm@gnu.org>
383
384 * emacs-lisp/authors.el (authors-aliases): Addition.
385
386 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
387 Fix :version.
388
389 2012-06-03 Stefan Merten <smerten@oekonux.de>
390
391 * textmodes/rst.el: Add comments.
392 (rst-transition, rst-adornment): New faces.
393 (rst-adornment-faces-alist): Make default safe to reevaluate.
394 Fixes
395 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
396 Improve customization tags.
397 (rst-define-level-faces): Clarify meaning.
398
399 2012-06-03 Chong Yidong <cyd@gnu.org>
400
401 * progmodes/compile.el (compilation-mode-line-fail)
402 (compilation-mode-line-run, compilation-mode-line-exit):
403 New faces.
404 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
405
406 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
407
408 * progmodes/which-func.el (which-func-update-ediff-windows):
409 New function. Use it in ediff-select-hook (Bug#11478).
410
411 2012-06-03 Chong Yidong <cyd@gnu.org>
412
413 * bindings.el: Remove explicit help text from format-mode-line.
414 It is now supplied by mode-line-default-help-echo.
415 (mode-line-front-space, mode-line-end-spaces)
416 (mode-line-misc-info): New variables.
417 (mode-line-modes, mode-line-position): Move the default value to
418 the variable definition.
419 (mode-line-default-help-echo): New defcustom.
420 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
421 (mode-line-modified-help-echo): New functions.
422 (mode-line-mule-info, mode-line-modified): Use them.
423 (mode-line-eol-desc, propertized-buffer-identification):
424 Consistency fixes for help text.
425 (mode-line-coding-system-map): Allow using mouse-3 to invoke
426 set-buffer-file-coding-system (Bug#289).
427 (mode-line-mule-info-help-echo): Update help text.
428
429 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
430
431 * simple.el (execute-extended-command): Set real-this-command
432 (bug#11506).
433
434 2012-06-02 Chong Yidong <cyd@gnu.org>
435
436 Remove incorrect uses of "modeline" in comments, docstrings, and
437 function/variable names (Bug#10329).
438
439 * cus-edit.el (mode-line):
440 * dframe.el (dframe-mouse-hscroll):
441 * emacs-lisp/re-builder.el:
442 * emacs-lisp/easy-mmode.el (define-minor-mode):
443 * frame.el (set-frame-name):
444 * help.el (lookup-minor-mode-from-indicator):
445 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
446 * progmodes/cc-cmds.el (c-toggle-auto-newline)
447 (c-toggle-hungry-state):
448 * progmodes/antlr-mode.el (antlr-language-alist):
449 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
450 * progmodes/vhdl-mode.el (vhdl-mode):
451 * progmodes/which-func.el (which-func, which-func-cleanup-function):
452 * term/ns-win.el (ns-face-at-pos):
453 * term/sup-mouse.el (sup-mouse-report):
454 * textmodes/flyspell.el (flyspell-mode-line-string):
455 * textmodes/ispell.el (ispell-highlight-face):
456 * textmodes/reftex-global.el:
457 * vc/vc-arch.el (vc-arch-mode-line-string):
458 * vc/vc-cvs.el (vc-cvs-mode-line-string):
459 * vc/vc-git.el (vc-git-mode-line-string):
460 * vc/vc-hooks.el (vc-display-status)
461 (vc-default-mode-line-string):
462 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
463
464 * ansi-color.el (ansi-color-faces-vector): Change default faces.
465
466 * dired.el (dired-sort-set-mode-line): Rename from
467 dired-sort-set-modeline. All callers changed.
468
469 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
470 eshell-status-in-modeline.
471
472 * foldout.el (foldout-mode-line-string): Rename from
473 foldout-modeline-string. All callers changed.
474 (foldout-update-mode-line): Rename from foldout-update-modeline.
475
476 * subr.el (redraw-modeline): Make into obsolete alias.
477
478 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
479 timeclock-modeline-display. Make old name an alias.
480 (timeclock-update-mode-line): Likewise. All callers changed.
481 (timeclock-mode-line-display): No need to check before using
482 add-hook.
483 (timeclock-relative, timeclock-day-over-hook)
484 (timeclock-use-elapsed, timeclock-mode-string)
485 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
486
487 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
488 crisp-mode-modeline-string.
489
490 * play/solitaire.el (solitaire-build-mode-line): Rename from
491 solitaire-build-modeline. All callers changed.
492
493 * play/zone.el (zone-hiding-mode-line): Rename from
494 zone-hiding-modeline. All callers changed.
495 (zone): Remove unusued `modeline-hidden-level' property.
496
497 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
498 xscheme-modeline-initialize. All callers changed.
499
500 * strokes.el (strokes-lighter): Rename from
501 strokes-modeline-string.
502
503 * textmodes/sgml-mode.el (html-face-tag-alist)
504 (html-tag-face-alist): Use mode-line face instead of obsolete
505 alias modeline.
506
507 2012-06-02 Stefan Merten <smerten@oekonux.de>
508
509 * textmodes/rst.el: Always require `cl'.
510 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
511
512 2012-06-02 Chong Yidong <cyd@gnu.org>
513
514 * image.el (imagemagick-enabled-types): Rename from
515 imagemagick-types-enable. Add many more types.
516 (imagemagick-types-inhibit): Change default to nil.
517 (imagemagick-filter-types): Caller changed.
518
519 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 * emacs-lisp/cl-macs.el: Use backquotes.
522 (cl-transform-function-property): Use eval-and-compile rather than
523 abusing `require'.
524 (defstruct): Use declare-function instead of with-no-warnings.
525
526 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
527 (byte-compile-output-docform): Re-add the print-circle bindings.
528 (byte-compile-fix-header): Use #$ just because it's shorter.
529 (byte-compile-output-file-form): Remove defun/defmacro.
530
531 2012-06-01 Martin Rudalics <rudalics@gmx.at>
532
533 * simple.el (choose-completion): Remove now obsolete binding for
534 owindow.
535
536 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
537
538 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
539 in order to avoid "Stack overflow in regexp matcher".
540
541 2012-05-31 Glenn Morris <rgm@gnu.org>
542
543 * image.el: For clarity, call imagemagick-register-types at
544 top-level, rather than relying on a custom :initialize.
545 (imagemagick-types-enable): New option. (Bug#11557)
546 (imagemagick-filter-types): New function. (Bug#7406)
547 (imagemagick-register-types): Use imagemagick-filter-types.
548 If disabling support, remove elements altogether rather
549 than using an impossible regexp.
550 (imagemagick-types-inhibit): Give it the default init function.
551
552 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
553
554 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
555 Handle arbitrary file name lengths (Bug#11585).
556
557 2012-05-31 Martin Rudalics <rudalics@gmx.at>
558
559 * desktop.el (desktop-read): Clear previous and next buffers for
560 all windows and bury *Messages* buffer (bug#11556).
561
562 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 Add `declare' for `defun'. Align `defmacro's with it.
565 * emacs-lisp/easy-mmode.el (define-minor-mode)
566 (define-globalized-minor-mode): Don't autoload the var definitions.
567 * emacs-lisp/byte-run.el: Use lexical-binding.
568 (defun-declarations-alist, macro-declarations-alist): New vars.
569 (defmacro, defun): Use them.
570 (make-obsolete, define-obsolete-function-alias)
571 (make-obsolete-variable, define-obsolete-variable-alias):
572 Use `declare'.
573 (macro-declaration-function): Mark obsolete.
574 * emacs-lisp/autoload.el: Use lexical-binding.
575 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
576
577 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
578
579 * textmodes/ispell.el (ispell-with-no-warnings):
580 Define as a macro.
581 (ispell-kill-ispell, ispell-change-dictionary):
582 Use `called-interactively-p' for Emacs instead of obsolete
583 `interactive-p'.
584
585 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
588 (macro-declaration-function): Move var from C code.
589 (macro-declaration-function): Define function with defalias.
590 * emacs-lisp/macroexp.el (macroexpand-all-1):
591 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
592 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
593 defun/defmacro any more.
594 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
595 Provide fallback for unknown arglist.
596 (byte-compile-arglist-warn): Change calling convention.
597 (byte-compile-output-file-form): Move print-vars binding.
598 (byte-compile-output-docform): Simplify accordingly.
599 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
600 (byte-compile-defmacro-declaration): Remove.
601 (byte-compile-file-form-defmumble): Generalize to defalias.
602 (byte-compile-output-as-comment): Return byte-positions.
603 Simplify callers accordingly.
604 (byte-compile-lambda): Use `assert'.
605 (byte-compile-defun, byte-compile-defmacro): Remove.
606 (byte-compile-file-form-defalias):
607 Use byte-compile-file-form-defmumble.
608 (byte-compile-defalias-warn): Remove.
609
610 2012-05-29 Stefan Merten <smerten@oekonux.de>
611
612 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
613 possible. Fix authors. Improve comments. Improve loading of `cl'.
614
615 (rst-mode-abbrev-table): Merge definition.
616 (rst-mode): Make sure `font-lock-defaults' is buffer local.
617 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
618
619 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
620
621 * calendar/icalendar.el
622 (icalendar-export-region): Export UID properly.
623
624 2012-05-29 Leo <sdl.web@gmail.com>
625 * calendar/icalendar.el (icalendar-import-format):
626 Add `icalendar-import-format-uid' (Bug#11525).
627 (icalendar-import-format-uid): New.
628 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
629 Export UID.
630
631 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
632
633 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
634 different alternative patterns.
635 (pcase-codegen): Be more careful to preserve identity.
636 (pcase--u1): Don't forget to mark vars as used.
637
638 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
639 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
640 (byte-compile-from-buffer): ...rather than here.
641
642 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
643 functions from byte-compile-function-environment.
644
645 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
646
647 * window.el (window-deletable-p): Avoid deleting the root window
648 of a frame with an active minibuffer.
649
650 2012-05-29 Martin Rudalics <rudalics@gmx.at>
651
652 * simple.el (choose-completion): Use quit-window (Bug#11567).
653
654 2012-05-29 Chong Yidong <cyd@gnu.org>
655
656 * whitespace.el (whitespace-cleanup): Fix usage of
657 whitespace-empty-at-bob-regexp (Bug#11492).
658
659 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
660
661 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
662 revert (Bug#11488).
663
664 2012-05-29 Juri Linkov <juri@jurta.org>
665
666 * isearch.el (isearch-mode-map): Bind `M-s _' to
667 `isearch-toggle-symbol'. Bind `M-s c' to
668 `isearch-toggle-case-fold'.
669 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
670 (isearch-forward): Add `M-s _' to the docstring.
671 (isearch-forward-symbol, isearch-toggle-case-fold)
672 (isearch-symbol-regexp): New functions. (Bug#11381)
673
674 2012-05-29 Juri Linkov <juri@jurta.org>
675
676 * isearch.el (isearch-word): Add docstring. (Bug#11381)
677 (isearch-occur, isearch-search-and-update): If `isearch-word' is
678 a function, call it to get the regexp.
679 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
680 property `isearch-message-prefix' instead of the string "word ".
681 (isearch-search-fun-default): For the case of `isearch-word',
682 return a lambda that calls re-search-forward/re-search-backward
683 with a regexp returned by `word-search-regexp' or by the function
684 in `isearch-word'.
685
686 2012-05-29 Juri Linkov <juri@jurta.org>
687
688 * isearch.el (isearch-search-fun-default): New function.
689 (isearch-search-fun): Move default part to the new function
690 `isearch-search-fun-default'.
691 (isearch-search-fun-function): Set the default value to
692 `isearch-search-fun-default'. (Bug#11381)
693
694 * comint.el (comint-history-isearch-end):
695 Use `isearch-search-fun-default'.
696 (comint-history-isearch-search): Use `isearch-search-fun-default'
697 and remove spacial case for `isearch-word'.
698 (comint-history-isearch-wrap): Remove spacial case for
699 `isearch-word'.
700
701 * hexl.el (hexl-isearch-search-function):
702 Use `isearch-search-fun-default'.
703
704 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
705 Use `word-search-regexp' for `isearch-word'.
706
707 * misearch.el (multi-isearch-search-fun):
708 Use `isearch-search-fun-default'.
709
710 * simple.el (minibuffer-history-isearch-search):
711 Use `isearch-search-fun-default' and remove spacial case for
712 `isearch-word'.
713 (minibuffer-history-isearch-wrap): Remove spacial case for
714 `isearch-word'.
715
716 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
717 Remove spacial case for `isearch-word'.
718 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
719
720 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
721
722 Decrease XEmacs incompatibilities.
723 * textmodes/flyspell.el (flyspell-check-pre-word-p):
724 Use `string-match'.
725 (flyspell-delete-region-overlays): Use alternative definition for
726 XEmacs.
727 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
728 (flyspell-word): Use `process-kill-without-query' if XEmacs.
729 (flyspell-mode-on): Use `interactive-p' if XEmacs.
730 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
731 `define-obsolete-face-alias' under XEmacs, but old method.
732
733 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
734 `with-no-warnings' definition or Emacs alias.
735 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
736 (ispell-word): Do not use `region-p' if XEmacs.
737
738 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
739
740 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
741 Check for `ispell-dictionary-base-alist' instead of full
742 `ispell-dictionary-alist'.
743 (ispell-init-process): Show spellchecker when starting new Ispell
744 process.
745
746 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
749 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
750
751 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
752
753 * version.el (motif-version-string, gtk-version-string)
754 (ns-version-string): Declare.
755
756 2012-05-27 Juri Linkov <juri@jurta.org>
757
758 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
759 after the `eval-defun-1' specialcaseing
760 like in `edebug-eval-defun' (bug#10181).
761
762 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
763 like in `eval-defun-1'.
764
765 2012-05-27 Eli Zaretskii <eliz@gnu.org>
766
767 * mail/sendmail.el (mail-yank-region):
768 Recognize rmail-yank-current-message in addition to insert-buffer.
769 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
770 a *mail* buffer created through rmail-start-mail with sendmail as
771 mail-user-agent.
772
773 2012-05-27 Chong Yidong <cyd@gnu.org>
774
775 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
776 Default to 256 (Bug#11267).
777
778 * help.el (describe-mode): Doc fix.
779
780 2012-05-26 Glenn Morris <rgm@gnu.org>
781
782 * w32-fns.el (w32-init-info): Remove.
783 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
784
785 * info.el (info-initialize): For self-contained NS builds, put the
786 included info/ directory at the front. (Bug#2791)
787
788 * paths.el (Info-default-directory-list): Make it a defcustom,
789 mainly so that we can use custom-initialize-delay.
790
791 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * subr.el (buffer-has-markers-at): Mark obsolete.
794
795 * subr.el (lambda): Use declare.
796
797 * emacs-lisp/lisp-mode.el (lambda):
798 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
799
800 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
801
802 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
803
804 2012-05-26 Glenn Morris <rgm@gnu.org>
805
806 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
807
808 2012-05-25 Glenn Morris <rgm@gnu.org>
809
810 * paths.el: Remove no-byte-compile.
811 * loadup.el: No need to load paths.el uncompiled.
812
813 * image.el (imagemagick-types-inhibit): Doc fix.
814
815 * version.el: Remove no-byte-compile and associated formatting.
816 * loadup.el: No need to load version.el uncompiled. AFAICS, this
817 is ancient code from when there was an "inc-vers.el".
818
819 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
820
821 * progmodes/gdb-mi.el: Minor style changes.
822 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
823 Turn into minor modes.
824 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
825 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
826 (gdb-shell): Remove unneeded let-binding.
827 (gdb-get-many-fields): Eliminate O(n²) behavior.
828
829 2012-05-25 Eli Zaretskii <eliz@gnu.org>
830
831 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
832 platforms that don't link in fontset.c.
833
834 2012-05-25 Juri Linkov <juri@jurta.org>
835
836 Use the same diff color scheme as in modern VCSes (bug#10181).
837
838 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
839 to avoid confusion with `diff-added' that now uses green colors.
840 (diff-removed): Use shades of red.
841 (diff-added): Use shades of green.
842 (diff-changed): Leave just the yellow color.
843 (diff-use-changed-face): New variable.
844 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
845 how to highlight context diff changes.
846 (diff-refine-change): Use shades of yellow.
847 (diff-refine-removed): New face that uses shades of red.
848 (diff-refine-added): New face that uses shades of green.
849 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
850 `diff-refine-removed' in the call to `smerge-refine-subst'
851 depending on the value of `diff-use-changed-face'.
852
853 * vc/smerge-mode.el (smerge-mine): Use shades of red.
854 (smerge-other): Use shades of green.
855 (smerge-base): Use shades of yellow.
856 (smerge-refined-change): Empty face.
857 (smerge-refined-removed): New face that uses shades of red.
858 (smerge-refined-added): New face that uses shades of green.
859 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
860 args `props-r' and `props-a', and use them. Doc fix.
861 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
862 on its value use different faces `smerge-refined-change',
863 `smerge-refined-removed', `smerge-refined-added' in the call to
864 `smerge-refine-subst'.
865
866 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
867 Add face condition `min-colors 88' with shades of red.
868 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
869 `min-colors 88' with shades of green.
870 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
871 `min-colors 88' with shades of yellow.
872
873 2012-05-24 Glenn Morris <rgm@gnu.org>
874
875 * paths.el (prune-directory-list, remote-shell-program): Move to...
876 * files.el (prune-directory-list, remote-shell-program): ...here.
877 For the latter, delay initialization, prefer ssh, just search PATH.
878
879 * paths.el (term-file-prefix): Move to faces.el (the only user).
880 * faces.el (term-file-prefix): Move here, make it a defcustom.
881
882 * paths.el (news-directory, news-path, news-inews-program):
883 Move to gnus/nnspool.el.
884
885 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
886
887 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
888 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
889 Make the latter a defcustom, with a delayed initialization.
890
891 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
892 These were deleted from Gnus itself late 2010.
893
894 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
895
896 * progmodes/which-func.el (which-func-ff-hook):
897 Check against user-error, not error.
898
899 * emacs-lisp/edebug.el (top): Do not load or set up loading of
900 cl-specs.el, which no longer exists.
901
902 2012-05-22 Glenn Morris <rgm@gnu.org>
903
904 * info.el (info-emacs-bug): New command.
905 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
906 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
907
908 2012-05-21 Glenn Morris <rgm@gnu.org>
909
910 * makefile.w32-in (update-subdirs-SH):
911 * Makefile.in (update-subdirs): Update for moved update-subdirs.
912
913 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
916
917 * progmodes/compile.el (compilation-error-regexp-alist-alist):
918 Simplify Maven regexp, and make sure the file can't start with a space
919 (bug#11517).
920
921 2012-05-21 Glenn Morris <rgm@gnu.org>
922
923 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
924 Scrap superfluous subshells.
925
926 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
929 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
930
931 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
932
933 * calc/calc.el (calc-ensure-consistent-units): New variable.
934
935 * calc/calc-units.el (math-consistent-units-p)
936 (math-check-unit-consistency): New functions.
937 (calc-quick-units, calc-convert-units):
938 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
939 is non-nil.
940 (calc-extract-units): Fix typo.
941
942 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
945
946 * textmodes/flyspell.el: Commenting style, plus code simplifications.
947 (flyspell-default-deplacement-commands): Don't spell check after
948 repeated window/frame switches (e.g. triggered by mouse-movement).
949 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
950 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
951 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
952 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
953 Remove unused vars.
954 (flyspell-get-casechars, flyspell-get-not-casechars):
955 Simplify; Don't bother removing a ] just to add it back.
956 * textmodes/ispell.el (ispell-program-name): Use executable-find.
957
958 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
959
960 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
961 New functions.
962 (math-function-table): Add support for more C functions.
963
964 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
965
966 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
967 (flyspell-debug-signal-word-checked): Protect delay handling for
968 otherchars against empty otherchars.
969
970 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
973 their respective macro declarations.
974 * skeleton.el (define-skeleton):
975 * progmodes/compile.el (define-compilation-mode):
976 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
977 (define-ibuffer-filter):
978 * emacs-lisp/generic.el (define-generic-mode):
979 * emacs-lisp/easy-mmode.el (define-minor-mode)
980 (define-globalized-minor-mode):
981 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
982 * emacs-lisp/byte-run.el (defsubst):
983 * custom.el (deftheme): Add doc-string metadata.
984
985 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
988
989 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
990
991 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
992
993 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
994 * emacs-lisp/cl-macs.el: Idem.
995 * emacs-lisp/cl-specs.el: Remove.
996
997 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 Minor renaming of internal CL functions and variables.
1000 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1001 (cl--position): Rename from cl-position.
1002 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1003 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1004 (cl--random-state): Rename from *random-state*.
1005
1006 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1009 parens around the arg list (bug#11499).
1010
1011 2012-05-17 Juri Linkov <juri@jurta.org>
1012
1013 * isearch.el (word-search-regexp, word-search-backward)
1014 (word-search-forward, word-search-backward-lax)
1015 (word-search-forward-lax): Move functions from search.c
1016 (bug#10145, bug#11381).
1017
1018 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1019
1020 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1021 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1022 normal word components.
1023
1024 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * minibuffer.el (completion--sifn-requote): Fix last change.
1027 (minibuffer-local-must-match-filename-map):
1028 Move define-obsolete-variable-alias before its var.
1029
1030 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1033
1034 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1035 behavior.
1036 (completion--string-equal-p): New function.
1037 (completion--twq-all): Use it to get better assertion failure data.
1038
1039 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1040 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1041 (shell--requote-argument): New functions.
1042 (shell-completion-vars): Use them.
1043 (shell--parse-pcomplete-arguments): Rename from
1044 shell-parse-pcomplete-arguments.
1045 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1046 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1047 Obey comint-file-name-quote-list.
1048
1049 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1050 (smie-indent-keyword): Use it.
1051
1052 2012-05-14 Stefan Merten <smerten@oekonux.de>
1053
1054 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1055
1056 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * net/rlogin.el (rlogin-mode-map): Fix last change.
1059
1060 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1061
1062 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1063 the following \r\n using a single `process-send-string', since the
1064 Lotus SMTP server refuses to accept any commands if they are sent
1065 with two `process-send-string's (Bug#11444).
1066
1067 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * shell.el (shell-parse-pcomplete-arguments):
1070 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1071
1072 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1073
1074 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1075 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1076 (image-transform-width, image-transform-fit-width): New functions.
1077 (image-transform-properties): Use them.
1078 (image-transform-check-size): New function.
1079 (image-toggle-display-image): Use it (for testing).
1080 (image-transform-set-rotation): Reduce angle mod 360.
1081 Delete obsolete comment.
1082
1083 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1084
1085 * image-mode.el: Fix scaling (bug#11399).
1086 (image-transform-resize): Doc fix.
1087 (image-transform-properties): Default scale is 1 and height should
1088 be an integer.
1089
1090 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
1091
1092 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1093 than hard-coding `car', to fix misbehavior when moving forward.
1094
1095 2012-05-13 Chong Yidong <cyd@gnu.org>
1096
1097 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1098 (tabulated-list-entries, tabulated-list-padding)
1099 (tabulated-list-sort-key): Make permanent-local.
1100
1101 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1102 (electric-buffer-list): Put electric buffer menu
1103 command descriptions in this docstring, instead of the docstring
1104 of electric-buffer-menu-mode. Code cleanups.
1105 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1106 Electric-buffer-menu-mode.
1107 (electric-buffer-update-highlight): Minor code cleanup.
1108
1109 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1110
1111 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1112 (Bug#11447)
1113
1114 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 Move define-obsolete-variable-alias before the var's definition.
1117 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1118 * tooltip.el (tooltip-hook):
1119 * textmodes/reftex-toc.el (reftex-toc-map):
1120 * textmodes/reftex-sel.el (reftex-select-label-map)
1121 (reftex-select-bib-map):
1122 * textmodes/reftex-index.el (reftex-index-map)
1123 (reftex-index-phrases-map):
1124 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1125 * progmodes/meta-mode.el (meta-mode-map):
1126 * novice.el (disabled-command-hook):
1127 * loadhist.el (unload-hook-features-list):
1128 * frame.el (blink-cursor):
1129 * files.el (find-file-not-found-hooks, write-file-hooks)
1130 (write-contents-hooks):
1131 * emulation/tpu-edt.el (GOLD-map):
1132 * emacs-lock.el (emacs-lock-from-exiting):
1133 * emacs-lisp/generic.el (generic-font-lock-defaults):
1134 * emacs-lisp/chart.el (chart-map):
1135 * dos-fns.el (register-name-alist):
1136 * dired-x.el (dired-omit-files-p):
1137 * desktop.el (desktop-enable):
1138 * cus-edit.el (custom-mode-hook):
1139 * buff-menu.el (buffer-menu-mode-hook):
1140 * bookmark.el (bookmark-read-annotation-text-func)
1141 (bookmark-exit-hooks):
1142 * allout.el (allout-mode-deactivate-hook)
1143 (allout-exposure-change-hook, allout-structure-added-hook)
1144 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1145 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1146 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1147 comes before the corresponding variable's definition.
1148
1149 2012-05-12 Chong Yidong <cyd@gnu.org>
1150
1151 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1152 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1153 (Buffer-menu-mode-map): Bind it.
1154 (Buffer-menu--pretty-name): Add a mouse-face property.
1155
1156 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1159 (prolog-upper-case-string, prolog-lower-case-string)
1160 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1161 (prolog-use-smie, prolog-smie-grammar): New vars.
1162 (prolog-smie-forward-token, prolog-smie-backward-token)
1163 (prolog-smie-rules): New funs.
1164 (prolog-comment-indent): Remove.
1165 (prolog-mode-variables): Use default comment indentation instead.
1166 Setup SMIE.
1167 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1168 (prolog-mode): Don't call them any more.
1169 (prolog-electric-colon, prolog-electric-dash)
1170 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1171
1172 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1173
1174 * minibuffer.el (completion--twq-all): Again, allow case differences.
1175
1176 * term.el: Move keymap initialization code to be more idiomatic.
1177 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1178 (term-terminal-menu): Move initialization into declaration.
1179 (term-escape-char): Let the user set it in her .emacs.
1180
1181 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1182 Provide SMIE-based indentation (not enabled by default yet).
1183 (sh-mode-map): Don't bind electric keys.
1184 Use electric-pair-mode instead of skeleton-pair.
1185 (sh-assignment-regexp): Fit within 80 columns.
1186 (sh-indent-supported): Specify actual shell name instead of boolean.
1187 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1188 (sh-maybe-here-document): Use it. Make obsolete.
1189 (sh-electric-here-document-mode) New minor mode.
1190 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1191 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1192 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1193 (sh-smie-rc-grammar, sh-use-smie): New vars.
1194 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1195 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1196 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1197 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1198 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1199 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1200 (sh-set-shell): Use smie-setup if requested.
1201
1202 * term.el (term-set-escape-char): Properly set term-escape-char.
1203 See http://stackoverflow.com/questions/10524656.
1204
1205 2012-05-10 Chong Yidong <cyd@gnu.org>
1206
1207 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1208 Use url-generic-parse-url, and handle host names and Windows
1209 filenames properly.
1210 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1211 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1212 URL schemes to work on.
1213 (ffap--toggle-read-only): New function.
1214 (ffap-read-only, ffap-read-only-other-window)
1215 (ffap-read-only-other-frame): Use it.
1216 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1217 necessary for ffap-url-unwrap-remote.
1218
1219 2012-05-10 Dave Abrahams <dave@boostpro.com>
1220
1221 * cus-start.el (create-lockfiles): Add it.
1222
1223 2012-05-09 Chong Yidong <cyd@gnu.org>
1224
1225 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1226 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1227
1228 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1229
1230 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1231
1232 2012-05-09 Chong Yidong <cyd@gnu.org>
1233
1234 * ansi-color.el (ansi-color-process-output): Check for validity of
1235 comint-last-output-start before using it. This avoids a bad
1236 interaction with gdb-mi's input/output buffer.
1237
1238 2012-05-09 Glenn Morris <rgm@gnu.org>
1239
1240 * files.el (dir-locals-read-from-file):
1241 Mention dir-locals in any error message.
1242
1243 2012-05-09 Chong Yidong <cyd@gnu.org>
1244
1245 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1246 package (Bug#11410).
1247
1248 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1249 variables into description.
1250
1251 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1252
1253 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1254 shell-delimiter-argument-list (bug#11348).
1255 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1256
1257 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1258
1259 * textmodes/rst.el: Silence byte-compiler warnings.
1260 (rst-re-alist, rst-reset-section-caches): Move around.
1261 (rst-re): Use `characterp', not `char-valid-p'.
1262 (font-lock-beg, font-lock-end): Declare.
1263
1264 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1265 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1266
1267 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1268
1269 2012-05-08 Glenn Morris <rgm@gnu.org>
1270
1271 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1272
1273 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * vc/log-edit.el: Add GNU coding standards highlighting.
1276 (log-edit-font-lock-gnu-style)
1277 (log-edit-font-lock-gnu-keywords): New vars.
1278 (log-edit-font-lock-keywords): New fun.
1279 (log-edit-mode): Don't fold case in font-lock.
1280 (log-edit-font-lock-keywords): Do not assume case-folding.
1281
1282 * imenu.el: Misc cleanup. Make docstrings out of comments.
1283 Use lexical-binding.
1284 (imenu--index-alist, imenu--last-menubar-index-alist)
1285 (imenu-menubar-modified-tick): Use defvar-local.
1286 (imenu--split-menu): Remove unused var.
1287 (imenu--cleanup-seen): Declare as global.
1288 (imenu--cleanup): Use dolist.
1289
1290 * subr.el (defvar-local): Add debug spec and doc-string position.
1291
1292 2012-05-08 Glenn Morris <rgm@gnu.org>
1293
1294 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1295 * language/english.el, language/georgian.el, language/greek.el:
1296 * language/japanese.el, language/khmer.el, language/korean.el:
1297 * language/lao.el, language/misc-lang.el, language/romanian.el:
1298 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1299 * language/thai.el, language/utf-8-lang.el:
1300 Remove no-byte-compile setting.
1301
1302 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1303
1304 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1305
1306 * progmodes/make-mode.el (makefile-browse):
1307 Remove unnecessary interactive. (Bug#11324)
1308
1309 2012-05-07 Glenn Morris <rgm@gnu.org>
1310
1311 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1312
1313 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1314
1315 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1316
1317 * loadup.el: Preload newcomment.el.
1318 * newcomment.el: Move autoload-only code to toplevel.
1319
1320 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1321 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1322 Handle new :right-align column property.
1323 (tabulated-list-print-col): Idem, plus use `display' text-property to
1324 try and preserve alignment for variable pitch fonts.
1325
1326 2012-05-07 Chong Yidong <cyd@gnu.org>
1327
1328 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1329 (tabulated-list-use-header-line): New var.
1330 (tabulated-list-init-header): Use it.
1331 (tabulated-list-print-fake-header): New function.
1332 (tabulated-list-print): Use it.
1333 (tabulated-list-sort-button-map): Add non-header-line commands.
1334 (tabulated-list-init-header): Add column name property to basic
1335 labels as well.
1336 (tabulated-list-col-sort): Handle non-header-line button case.
1337 (tabulated-list--sort-by-column-name): Fix a corner case.
1338
1339 * buff-menu.el (list-buffers--refresh):
1340 Handle Buffer-menu-use-header-line.
1341
1342 2012-05-06 Chong Yidong <cyd@gnu.org>
1343
1344 * buff-menu.el: Convert to Tabulated List mode.
1345 (Buffer-menu-buffer+size-width): Make obsolete.
1346 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1347 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1348 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1349 documentation into docstring of buffer-menu.
1350 (Buffer-menu-toggle-files-only): Add an informative message.
1351 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1352 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1353 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1354 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1355 (Buffer-menu-execute, Buffer-menu-select)
1356 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1357 (Buffer-menu-bury): Use Tabulated List machinery.
1358 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1359 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1360 Delete.
1361 (list-buffers--refresh): New function.
1362 (list-buffers-noselect): Use it.
1363 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1364 (Buffer-menu--pretty-file-name): New helper functions.
1365
1366 * loadup.el: Preload tabulated-list.
1367
1368 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1369 tabulated-list-sort-column.
1370 (tabulated-list-init-header): Add the initial aligning space even
1371 if tabulated-list-padding is zero.
1372
1373 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1374
1375 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1376 whose cdr is not a cons cell correctly (bug#11038).
1377
1378 2012-05-06 Chong Yidong <cyd@gnu.org>
1379
1380 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1381 Accept additional plist in column descriptors.
1382 (tabulated-list-init-header): Obey it.
1383 (tabulated-list-get-entry): New function.
1384 (tabulated-list-put-tag): Use it. Use string-width instead of
1385 length.
1386 (tabulated-list--column-number): New function.
1387 (tabulated-list-print): Use it.
1388 (tabulated-list-print-col): New function.
1389 Set `tabulated-list-column-name' property on each column's text.
1390 (tabulated-list-print-entry): Use it.
1391 (tabulated-list-delete-entry, tabulated-list-set-col):
1392 New functions.
1393 (tabulated-list-sort-column): New command (Bug#11337).
1394
1395 * buff-menu.el (list-buffers): Move C-x C-b binding from
1396 buff-menu.el to bindings.el.
1397
1398 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1399 :advertised-binding feature.
1400
1401 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1402
1403 * progmodes/compile.el (compilation-internal-error-properties):
1404 Calculate start position correctly when end-col is set but
1405 end-line is not (Bug#11382).
1406
1407 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1408
1409 * man.el (Man-unindent): Use text-property-default-nonsticky to
1410 prevent untabify from inheriting face properties (Bug#11408).
1411
1412 2012-05-05 Stefan Merten <smerten@oekonux.de>
1413
1414 * textmodes/rst.el: Major merge with upstream development up to
1415 Docutils SVN r7399 / rst.el V1.2.1.
1416
1417 Clarify maintainership and authors.
1418
1419 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1420 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1421 (rst-official-version, rst-official-cvs-rev, rst-version)
1422 (rst-package-emacs-version-alist): New functions and variables
1423 for version information.
1424
1425 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1426 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1427 (rst-mode-syntax-table, rst-mode): New and corrected functions
1428 and variables representing reStructuredText features.
1429
1430 (rst-re): New function for reStructuredText regexes. Use in
1431 many places.
1432
1433 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1434 (rst-mode-map): Rebind keys.
1435
1436 (rst-mode-lazy, rst-font-lock-keywords)
1437 (rst-font-lock-extend-region)
1438 (rst-font-lock-extend-region-internal)
1439 (rst-font-lock-extend-region-extend)
1440 (rst-font-lock-find-unindented-line-limit)
1441 (rst-font-lock-find-unindented-line-match)
1442 (rst-adornment-level, rst-font-lock-adornment-level)
1443 (rst-font-lock-adornment-match)
1444 (rst-font-lock-handle-adornment-pre-match-form)
1445 (rst-font-lock-handle-adornment-matcher): Major revision of
1446 font-locking. Integrate with other code. Use `jit-lock-mode'.
1447
1448 (rst-preferred-adornments, rst-adjust-hook)
1449 (rst-new-adornment-down, rst-preferred-bullets)
1450 (rst-preferred-bullets, rst-indent, rst-indent-width)
1451 (rst-indent-field, rst-indent-literal-normal)
1452 (rst-indent-literal-minimized, rst-indent-comment): Change,
1453 extend and improve customization.
1454
1455 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1456 (rst-normalize-cursor-position, rst-get-decoration)
1457 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1458 (rst-rstrip, rst-toc-insert-find-delete-contents)
1459 (rst-shift-fill-region, rst-compute-bullet-tabs)
1460 (rst-debug-print-tabs, rst-debug-mark-found)
1461 (rst-shift-region-guts, rst-shift-region-right)
1462 (rst-shift-region-left, rst-use-char-classes)
1463 (rst-font-lock-keywords-function)
1464 (rst-font-lock-indentation-point)
1465 (rst-font-lock-find-unindented-line-begin)
1466 (rst-font-lock-find-unindented-line-end)
1467 (rst-font-lock-find-unindented-line)
1468 (rst-font-lock-adornment-point, rst-font-lock-level)
1469 (rst-adornment-level-alist): Remove functions and variables.
1470
1471 (rst-compare-adornments, rst-get-adornment-match)
1472 (rst-suggest-new-adornment, rst-get-adornments-around)
1473 (rst-adornment-complete-p, rst-get-next-adornment)
1474 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1475 (rst-straighten-adornments): Standardize function names to
1476 use "adornment" instead of "decoration". Correct callers.
1477 Similar standardizing in many places.
1478
1479 (rst-update-section, rst-adjust, rst-promote-region)
1480 (rst-enumerate-region, rst-bullet-list-region)
1481 (rst-repeat-last-character): Correct use of `interactive'.
1482
1483 (rst-classify-adornment, rst-find-all-adornments)
1484 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1485 (rst-find-leftmost-column, rst-repeat-last-character):
1486 Refactor functions.
1487
1488 (rst-find-title-line, rst-reset-section-caches)
1489 (rst-get-adornments-around, rst-adjust-adornment-work)
1490 (rst-arabic-to-roman, rst-roman-to-arabic)
1491 (rst-insert-list-pos, rst-insert-list-new-item)
1492 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1493 New functions.
1494
1495 (rst-all-sections, rst-section-hierarchy)
1496 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1497 New variables.
1498
1499 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1500 configuration instead of only buffer. Change where necessary.
1501
1502 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1503 (rst-shift-region, rst-adaptive-fill): New functions for
1504 indentation and filling.
1505
1506 (rst-comment-line-break, rst-comment-indent)
1507 (rst-comment-insert-comment, rst-comment-region)
1508 (rst-uncomment-region): New functions for handling comments.
1509
1510 (rst-compile): Quote shell arguments.
1511
1512 (rst-compile-pdf-preview, rst-compile-slides-preview):
1513 Delete temporary files after use.
1514
1515 2012-05-05 Glenn Morris <rgm@gnu.org>
1516
1517 * calendar/cal-html.el: Optionally include holidays in the output.
1518 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1519 (cal-html-holidays): New option.
1520 (cal-html-css-default): Add holiday entry.
1521 (holiday-in-range): Autoload it.
1522 (cal-html-htmlify-entry): Add optional class argument.
1523 (cal-html-htmlify-list): Add optional holidays argument.
1524 (cal-html-insert-agenda-days): Include holidays in the output.
1525 (cal-html-one-month): Maybe include holidays.
1526
1527 * calendar/holidays.el (holiday-in-range):
1528 Move here from cal-tex-list-holidays.
1529 * calendar/cal-tex.el (cal-tex-list-holidays):
1530 Make it an obsolete alias for holiday-in-range. Update all callers.
1531
1532 2012-05-05 Chong Yidong <cyd@gnu.org>
1533
1534 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1535 Nextstep.
1536
1537 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1538
1539 * files.el (file-auto-mode-skip): New var.
1540 (set-auto-mode-1): Use it.
1541
1542 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * repeat.el: Use lexical-binding.
1545 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1546 (repeat-undo-count): Remove.
1547 (repeat):
1548 * progmodes/octave-mod.el (octave-abbrev-start):
1549 * progmodes/f90.el (f90-abbrev-start):
1550 * face-remap.el (text-scale-adjust):
1551 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1552
1553 * emacs-lisp/pcase.el (pcase--let*): New function.
1554 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1555 a bit more.
1556 (pcase--split-pred): Be more clever about ruling out overlap between
1557 a predicate and some constant pattern.
1558 (pcase--q1): Use `null' instead of (eq foo nil).
1559
1560 * subr.el (setq-local, defvar-local): New macros.
1561 (kbd): Redefine as an alias.
1562 (with-selected-window): Leave unrelated frames alone.
1563 (set-temporary-overlay-map): New function.
1564
1565 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * subr.el (user-error): New function.
1568 * window.el (switch-to-buffer):
1569 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1570 (smerge-match-conflict):
1571 * simple.el (previous-matching-history-element)
1572 (next-matching-history-element, goto-history-element, undo-more)
1573 (undo-start):
1574 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1575 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1576 (next-file, tags-loop-scan, list-tags, complete-tag):
1577 * progmodes/compile.el (compilation-loop):
1578 * mouse.el (mouse-minibuffer-check):
1579 * man.el (Man-bgproc-sentinel, Man-goto-page):
1580 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1581 (Info-history-forward, Info-follow-reference, Info-menu)
1582 (Info-extract-menu-item, Info-extract-menu-counting)
1583 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1584 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1585 (Info-next-reference, Info-prev-reference, Info-index)
1586 (Info-index-next, Info-follow-nearest-node)
1587 (Info-copy-current-node-name):
1588 * imenu.el (imenu--make-index-alist)
1589 (imenu-default-create-index-function, imenu-add-to-menubar):
1590 * files.el (basic-save-buffer, recover-file):
1591 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1592 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1593 (checkdoc-message-text, checkdoc-defun):
1594 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1595 * cus-edit.el (customize-changed-options, customize-rogue)
1596 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1597 (custom-variable-mark-to-reset-standard)
1598 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1599 (custom-file):
1600 * completion.el (check-completion-length):
1601 * comint.el (comint-search-arg)
1602 (comint-previous-matching-input-string-position)
1603 (comint-previous-matching-input)
1604 (comint-replace-by-expanded-history-before-point, comint-send-input)
1605 (comint-copy-old-input, comint-backward-matching-input)
1606 (comint-goto-process-mark, comint-set-process-mark):
1607 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1608 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1609
1610 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * dabbrev.el (dabbrev--ignore-case-p): New function.
1613 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1614 Use it.
1615
1616 * files.el (automount-dir-prefix): Mark as obsolete.
1617
1618 2012-05-04 Glenn Morris <rgm@gnu.org>
1619
1620 * patcomp.el, play/bruce.el: Move to obsolete/.
1621
1622 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1623
1624 Fix minor Y10k bugs.
1625 * arc-mode.el (archive-unixdate):
1626 * autoinsert.el (auto-insert-alist):
1627 * calc/calc-forms.el (math-this-year):
1628 * emacs-lisp/copyright.el (copyright-current-year)
1629 (copyright-update-year, copyright):
1630 * tar-mode.el (tar-clip-time-string):
1631 * time.el (display-time-update):
1632 Don't assume years have 4 digits.
1633
1634 2012-05-04 Chong Yidong <cyd@gnu.org>
1635
1636 * dos-w32.el (file-name-buffer-file-type-alist)
1637 (direct-print-region-use-command-dot-com):
1638 * ffap.el (ffap-menu-regexp):
1639 * find-file.el (ff-special-constructs):
1640 * follow.el (follow-debug):
1641 * forms.el (forms--debug):
1642 * iswitchb.el (iswitchb-all-frames):
1643 * ido.el (ido-all-frames):
1644 * emacs-lisp/timer.el (timer-max-repeats):
1645 * mail/feedmail.el (feedmail-mail-send-hook)
1646 (feedmail-mail-send-hook-queued):
1647 * mail/footnote.el (footnote-signature-separator):
1648 * mail/mailabbrev.el (mail-alias-separator-string)
1649 (mail-abbrev-mode-regexp):
1650 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1651 * progmodes/idlwave.el (idlwave-libinfo-file)
1652 (idlwave-default-completion-case-is-down)
1653 (idlwave-library-routines): Convert defvars to defcustoms.
1654
1655 * mail/rmail.el (rmail-decode-mime-charset):
1656 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1657 (idlwave-shell-fix-inserted-breaks)
1658 (idlwave-shell-activate-alt-keybindings)
1659 (idlwave-shell-use-breakpoint-glyph):
1660 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1661
1662 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1663
1664 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1665
1666 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1667
1668 * progmodes/verilog-mode.el (font-lock-keywords):
1669 Fix mis-highligting auto. Reported by Craig Barner.
1670 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1671 defines from global name space. Reported by Dan Dever.
1672 (verilog-auto-reset, verilog-auto-reset-widths)
1673 (verilog-auto-tieoff): Support using unbased numbers for
1674 AUTORESET and AUTOTIEOFF.
1675 (verilog-submit-bug-report): Update variable list.
1676 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1677 parenthesis from not matching. Reported by Michael Rytting.
1678 (verilog-auto-template-lint): Fix hash error when linting modules
1679 with no used templates.
1680 (verilog-warn, verilog-warn-error)
1681 (verilog-warn-fatal): When non-interactive report multiple
1682 warnings before exiting. Suggested by Brad Dobbie.
1683 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1684 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1685 to report unused template errors. Reported by Brad Dobbie.
1686 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1687 nets, bug438. Reported by Vns Blore.
1688 (verilog-auto-inout-module, verilog-auto-reg)
1689 (verilog-read-decls, verilog-read-sub-decls-sig)
1690 (verilog-signals-edit-wire-reg, verilog-signals-with):
1691 Fix passing of Verilog data types in ANSI input/output ports
1692 such as "output logic" into the AUTOs. Special case "wire" and
1693 "reg" for backwards compatibility presuming Verilog 2001.
1694 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1695 (verilog-preprocess): Fix replication of preprocess output.
1696 Reported by Brad Dobbie.
1697 (verilog-auto-inst-interfaced-ports):
1698 Create verilog-auto-inst-interfaced-ports, bug429.
1699 Reported by Julian Gorfajn.
1700 (verilog-after-save-font-hook)
1701 (verilog-before-save-font-hook): New variable.
1702 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1703 (verilog-save-font-mods): Wrap disabling fontification, reported
1704 by David Rogoff.
1705 (verilog-do-indent, verilog-pretty-declarations-auto)
1706 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1707 Reported by Pierre-David Pfister.
1708 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1709 of class declarations, bug292. Reported by Kevin Heilman.
1710 (verilog-read-decls): Fix 'parameter type' not appearing in
1711 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1712 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1713 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1714 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1715 Reported by David Kravitz.
1716
1717 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1718
1719 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1720 assignment with tests in ifs and for loops.
1721 (verilog-extended-complete-re, verilog-complete-reg): Change so
1722 that DPI inport functions don't look like fuction declarations.
1723 (verilog-pretty-expr): Don't line up assignment
1724 operations to the test and increment in if and for loops
1725 (verilog-extended-complete-re, verilog-complete-reg): Change so
1726 that DPI inport functions don't look like fuction declarations
1727
1728 2012-05-03 Kenichi Handa <handa@m17n.org>
1729
1730 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1731 decoding, and show a warning message without signaling an error
1732 (Bug#11282).
1733
1734 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * emacs-lisp/bytecomp.el
1737 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1738 since cconv.el might have introduced :fun-body, internal-make-closure,
1739 and friends for bytecomp to handle (bug#11391).
1740 * custom.el (defcustom): Avoid ((λ ..) ..).
1741
1742 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1745
1746 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1747
1748 * notifications.el (dbus-debug):
1749 * term/linux.el (gpm-mouse-enable):
1750 * term/screen.el (xterm-register-default-colors): Declare.
1751
1752 2012-05-02 Chong Yidong <cyd@gnu.org>
1753
1754 * cus-start.el (gc-cons-percentage, exec-suffixes)
1755 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1756 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1757 (make-cursor-line-fully-visible, void-text-area-pointer)
1758 (font-list-limit): Add customization data.
1759
1760 * allout.el (allout-exposure-change-functions)
1761 (allout-structure-added-functions)
1762 (allout-structure-deleted-functions)
1763 (allout-structure-shifted-functions): Rename abnormal hooks from
1764 *-hook, and convert to defcustoms.
1765 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1766 Convert to defcustoms.
1767 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1768
1769 * allout-widgets.el: Hook callers changed.
1770
1771 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1772
1773 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1774 the yanked message in preference to the default value of
1775 buffer-file-coding-system.
1776
1777 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1778
1779 * window.el (display-buffer--action-function-custom-type):
1780 Fix entry.
1781
1782 2012-05-02 Alan Mackenzie <acm@muc.de>
1783
1784 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1785
1786 2012-05-01 Glenn Morris <rgm@gnu.org>
1787
1788 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1789
1790 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1791
1792 * cus-edit.el (custom-variable-documentation): Simplify with format.
1793
1794 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1795 Stefan Monnier <monnier@iro.umontreal.ca>
1796
1797 * simple.el (suggest-key-bindings, execute-extended-command):
1798 Move from keyboard.c.
1799
1800 2012-05-01 Chong Yidong <cyd@gnu.org>
1801
1802 * follow.el: Eliminate advice.
1803 (set-process-filter, process-filter, sit-for): Advice deleted.
1804 (follow-mode-off-hook): Obsolete hook removed.
1805 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1806 Vars deleted.
1807 (follow-auto): Use a :set function.
1808 (follow-mode): Rewritten. Don't advise process filters.
1809 (follow-switch-to-current-buffer-all, follow-scroll-up)
1810 (follow-scroll-down): Assume follow-mode is bound.
1811 (follow-comint-scroll-to-bottom)
1812 (follow-align-compilation-windows): New functions.
1813 (follow--window-sorter): New function.
1814 (follow-all-followers): Use it to explicitly sort windows by their
1815 positions; don't make assumptions about next-window order.
1816 (follow-windows-start-end, follow-delete-other-windows-and-split)
1817 (follow-calc-win-start): Doc fix.
1818 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1819 vertical-motion unnecessarily.
1820 (follow-adjust-window): New function.
1821 (follow-post-command-hook): Use it.
1822 (follow-call-set-process-filter, follow-call-process-filter)
1823 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1824 (follow-stop-intercept-process-output, follow-generic-filter):
1825 Functions deleted.
1826 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1827 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1828 New functions, replacing advice on scroll-bar-* commands.
1829 (follow-mwheel-scroll): New function (Bug#4112).
1830
1831 * comint.el (comint-adjust-point): New function.
1832 (comint-postoutput-scroll-to-bottom): Use it.
1833 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1834
1835 2012-05-01 Glenn Morris <rgm@gnu.org>
1836
1837 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1838 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1839 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1840 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1841 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1842 Remove no-byte-compile setting.
1843
1844 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1847 all-completions code to not return a number in the last cdr.
1848
1849 2012-04-30 Leo Liu <sdl.web@gmail.com>
1850
1851 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1852 read-only error.
1853
1854 2012-04-29 Chong Yidong <cyd@gnu.org>
1855
1856 * follow.el (follow-calc-win-end): Rewrite to handle partial
1857 screen lines correctly (Bug#8390).
1858 (follow-avoid-tail-recenter): Minor cleanup.
1859
1860 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 Avoid the obsolete `assoc' package.
1863 * speedbar.el (speedbar-refresh): Avoid adelete.
1864 (speedbar-file-lists): Simplify and avoid aput.
1865 * man.el (Man--sections, Man--refpages): New vars, replacing
1866 Man-sections-alist and Man-refpages-alist.
1867 (Man-build-section-alist, Man-build-references-alist):
1868 Use them; avoid aput.
1869 (Man--last-section, Man--last-refpage): New vars.
1870 (Man-follow-manual-reference): Use them.
1871 Use the `default' arg of completing-read.
1872 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1873
1874 2012-04-27 Chong Yidong <cyd@gnu.org>
1875
1876 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1877
1878 * startup.el (x-apply-session-resources): New function.
1879
1880 * term/ns-win.el (ns-initialize-window-system):
1881 * term/w32-win.el (w32-initialize-window-system):
1882 * term/x-win.el (x-initialize-window-system): Use it to properly
1883 set menu-bar-mode and other vars from X resources, even if the
1884 initial frame is not a window-system frame (Bug#2299).
1885
1886 * subr.el (read-key): Avoid running filter function when setting
1887 up temporary tool bar entries (Bug#9922).
1888
1889 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1890
1891 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1892 (Bug#11344)
1893
1894 2012-04-27 Chong Yidong <cyd@gnu.org>
1895
1896 * select.el (xselect--encode-string): New function, split from
1897 xselect-convert-to-string.
1898 (xselect-convert-to-string): Use it.
1899 (xselect-convert-to-filename, xselect-convert-to-os)
1900 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1901 returned strings are properly encoded (Bug#11315).
1902
1903 2012-04-27 Chong Yidong <cyd@gnu.org>
1904
1905 * simple.el (delete-active-region): Move to killing custom group.
1906
1907 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1908
1909 * progmodes/which-func.el (which-func-current): Quote %
1910 characters for mode-line processing.
1911
1912 2012-04-27 Chong Yidong <cyd@gnu.org>
1913
1914 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1915 reaching eob (Bug#11286).
1916
1917 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1918
1919 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1920 (gdb): Make it buffer-local and init to zero.
1921 (gdb-control-commands-regexp): New variable.
1922 (gdb-send): Don't wrap in "-interpreter-exec console" if
1923 gdb-control-level is positive. Increment gdb-control-level
1924 whenever the command matches gdb-control-commands-regexp, and
1925 decrement it each time the command is "end". (Bug#11279)
1926
1927 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1928
1929 * window.el (adjust-window-trailing-edge, enlarge-window)
1930 (shrink-window, window-resize):
1931 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1932 windows (Bug#11276).
1933
1934 2012-04-27 Chong Yidong <cyd@gnu.org>
1935
1936 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1937 fix "missing prefix" warning. All callers changed.
1938
1939 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * emacs-lisp/assoc.el: Move to obsolete/.
1942
1943 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1944
1945 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1946
1947 * term/ns-win.el (ns-define-service):
1948 * progmodes/pascal.el (pascal-goto-defun):
1949 * progmodes/js.el (js--read-tab):
1950 * progmodes/etags.el (tags-lazy-completion-table):
1951 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1952 * emacs-lisp/ewoc.el (ewoc--wrap):
1953 * emacs-lisp/assoc.el (aput, adelete, amake):
1954 * doc-view.el (doc-view-convert-current-doc):
1955 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1956
1957 2012-04-26 Chong Yidong <cyd@gnu.org>
1958
1959 * image.el (image-type-from-buffer): Only return supported image
1960 type (Bug#9045).
1961
1962 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1963 value, for symmetry with diff-end-of-hunk.
1964 (diff-split-hunk, diff-find-source-location)
1965 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1966 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1967 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1968 compute the relevant hunk or file properly (Bug#6005).
1969 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1970
1971 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * vc/vc-mtn.el:
1974 * vc/vc-hg.el:
1975 * vc/vc-git.el:
1976 * vc/vc-dir.el:
1977 * vc/vc-cvs.el:
1978 * vc/vc-bzr.el:
1979 * vc/vc-arch.el:
1980 * vc/vc.el: Replace lexical-let by lexical-binding.
1981 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1982 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1983 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1984
1985 2012-04-26 Chong Yidong <cyd@gnu.org>
1986
1987 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1988 (diff-mode-shared-map): Bind it to / and [remap undo].
1989
1990 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1991 (ediff-window-setup-function): Use it as the default, to set up
1992 windows based on whether the current frame is graphical (Bug#2138).
1993 (ediff-choose-window-setup-function-automatically): Make obsolete.
1994
1995 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1996
1997 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1998
1999 * ffap.el: Remove old code for obsolete package.
2000 (ffap-complete-as-file-p): Remove.
2001
2002 Use completion-table-with-quoting for comint and pcomplete.
2003 * comint.el (comint--unquote&requote-argument)
2004 (comint--unquote-argument, comint--requote-argument): New functions.
2005 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2006 (comint-quote-filename): Use regexp-opt-charset.
2007 (comint--common-suffix, comint--common-quoted-suffix)
2008 (comint--table-subvert): Remove.
2009 (comint-unquote-function, comint-requote-function): New vars.
2010 (comint--complete-file-name-data): Use them with
2011 completion-table-with-quoting.
2012 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2013 * pcomplete.el (pcomplete-arg-quote-list)
2014 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2015 (pcomplete-unquote-argument-function): Default to non-nil.
2016 (pcomplete-unquote-argument): Simplify.
2017 (pcomplete--common-quoted-suffix): Remove.
2018 (pcomplete-requote-argument-function): New var.
2019 (pcomplete--common-suffix): New function.
2020 (pcomplete-completions-at-point): Use completion-table-with-quoting
2021 and completion-table-subvert.
2022
2023 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2024 (minibuffer--double-dollars): Preserve properties.
2025 (completion--sifn-requote): New function.
2026 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2027
2028 * minibuffer.el: Add support for completion of quoted/escaped data.
2029 (completion-table-with-quoting, completion-table-subvert): New funs.
2030 (completion--twq-try, completion--twq-all): New functions.
2031 (completion--nth-completion): New function.
2032 (completion-try-completion, completion-all-completions): Use it.
2033
2034 2012-04-25 Leo Liu <sdl.web@gmail.com>
2035
2036 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2037 Use compilation-message if available to find real filename.
2038
2039 2012-04-25 Chong Yidong <cyd@gnu.org>
2040
2041 * vc/diff-mode.el (diff-setup-whitespace): New function.
2042 (diff-mode): Use it.
2043
2044 * vc/diff.el (diff-sentinel):
2045 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2046 Whitespace mode variables based on diff style (Bug#8612).
2047
2048 2012-04-25 Leo Liu <sdl.web@gmail.com>
2049
2050 * progmodes/python.el (python-send-region): Add suffix .py to the
2051 temp file.
2052
2053 * files.el (auto-mode-alist): Use javascript-mode instead.
2054
2055 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2056
2057 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2058
2059 * soap-client.el (soap-resolve-references-for-sequence-type)
2060 (soap-resolve-references-for-array-type): Hack to prevent self
2061 references, see Bug#9.
2062 (soap-parse-envelope): Report the contents of the 'detail' node
2063 when receiving a fault reply.
2064 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2065
2066 * soap-inspect.el (soap-sample-value-for-simple-type)
2067 (soap-inspect-simple-type): New function.
2068
2069 * soap-client.el (soap-simple-type): New struct.
2070 (soap-default-xsd-types, soap-default-soapenc-types)
2071 (soap-decode-basic-type, soap-encode-basic-type):
2072 support unsignedInt and double basic types.
2073 (soap-resolve-references-for-simple-type)
2074 (soap-parse-simple-type, soap-encode-simple-type): New function.
2075 (soap-parse-schema): Parse xsd:simpleType declarations.
2076
2077 * soap-client.el (soap-default-xsd-types)
2078 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2079 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2080 the local name of "soapenc:Array".
2081 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2082 decoding integer, byte and anyURI xsd types.
2083
2084 2012-04-25 Chong Yidong <cyd@gnu.org>
2085
2086 * cus-edit.el (custom-buffer-create-internal): Update header text.
2087
2088 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2089
2090 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2091 settings on 'system-type', not on 'window-system'. On MS-Windows,
2092 set interactive-mode on in GDB.
2093
2094 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2095
2096 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2097 (ruby-syntax-propertize-regexp): Remove.
2098 (ruby-syntax-propertize-function): Split regexp into chunks.
2099 Match following code directly.
2100
2101 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2102
2103 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2104 (ruby-syntax-propertize-regexp): New function.
2105 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2106 by a special keyword.
2107
2108 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2109 (ruby-syntax-general-delimiters-goto-beg)
2110 (ruby-syntax-propertize-general-delimiters): New functions.
2111 (ruby-syntax-propertize-function): Use them to handle GDL.
2112 (ruby-font-lock-keywords): Move old handling of GDL...
2113 (ruby-font-lock-syntactic-keywords): .. to here.
2114 (ruby-calculate-indent): Adjust indentation for GDL.
2115
2116 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2117
2118 * notifications.el (top): Remove unneeded declarations.
2119 (notifications-specification-version): Change to "1.2".
2120 (notifications-interface, notifications-notify-method)
2121 (notifications-close-notification-method): Fix docstring.
2122 (notifications-get-capabilities-method): New defconst.
2123 (notifications-notify): Add :action-items, :resident and
2124 :transient hints. Change "image_data" to "image-data" and
2125 "image_path" to "image-path".
2126 (notifications-get-capabilities): New defun.
2127
2128 2012-04-24 Leo Liu <sdl.web@gmail.com>
2129
2130 * progmodes/python.el: Move hideshow setup to the end.
2131
2132 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2133
2134 * window.el (handle-select-window): Clear echo area since this is
2135 no more done by read_char (Bug#11304).
2136
2137 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2140 and `/ M' to filter-derived-mode.
2141 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2142 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2143 (ibuffer-mark-by-mode): Use default rather than initial-input.
2144 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2145
2146 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2147
2148 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2149 (ibuffer-filter-by-derived-mode): New filter.
2150 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2151
2152 2012-04-23 Andreas Politz <politza@fh-trier.de>
2153
2154 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2155
2156 2012-04-23 Chong Yidong <cyd@gnu.org>
2157
2158 * cus-edit.el (customize-apropos, customize-apropos-options):
2159 Disable matching of non-option variables (Bug#11176).
2160 (customize-option, customize-option-other-window)
2161 (customize-changed-options): Doc fix.
2162 (customize-apropos-options, customize-apropos-faces)
2163 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2164
2165 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2166 Fix word list splitting (Bug#11132).
2167 (apropos-symbol, apropos-keybinding, apropos-label)
2168 (apropos-property, apropos-function-button)
2169 (apropos-variable-button, apropos-misc-button): New faces.
2170 (apropos-symbol-face, apropos-keybinding-face)
2171 (apropos-label-face, apropos-property-face, apropos-match-face):
2172 Variables removed (Bug#8396).
2173 (apropos-library-button, apropos-format-plist, apropos-print)
2174 (apropos-print-doc, apropos-describe-plist): Callers changed.
2175
2176 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2177
2178 * net/xesam.el (xesam-mode-map): Use let-bound map in
2179 initialization. (Bug#11292)
2180
2181 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2182
2183 Preserve ispell session localwords when switching back to
2184 original buffer.
2185
2186 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2187 variable to hold buffer session localwords.
2188 (ispell-kill-ispell): add option 'clear to delete session
2189 localwords.
2190 (ispell-command-loop, ispell-change-dictionary)
2191 (ispell-buffer-local-words): Preserve session localwords when
2192 needed.
2193
2194 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2195 Preserve session localwords when needed.
2196
2197 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2198
2199 * ispell.el (ispell-insert-word) Remove unneeded function using
2200 obsolete `translation-table-for-input'.
2201 (ispell-word, ispell-process-line, ispell-complete-word):
2202 Use plain `insert' instead of removed `ispell-insert-word'.
2203
2204 2012-04-22 Chong Yidong <cyd@gnu.org>
2205
2206 * cus-edit.el (custom-variable-menu)
2207 (custom-variable-reset-saved, custom-face-menu)
2208 (custom-face-reset-saved): If there is no saved value, make the
2209 "reset-saved" operation bring back the default (Bug#9509).
2210 (custom-face-state): Properly detect themed faces.
2211
2212 * faces.el (face-spec-set): Stop supporting deprecated form of
2213 third arg.
2214
2215 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
2216
2217 Move functions from C to Lisp. Make non-blocking method calls
2218 the default. Implement further D-Bus standard interfaces.
2219
2220 * net/dbus.el (dbus-message-internal): Declare function.
2221 Remove unneeded function declarations.
2222 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2223 (dbus-message-type-method-return, dbus-message-type-error)
2224 (dbus-message-type-signal): Declare variables. Remove local
2225 definitions.
2226 (dbus-interface-dbus, dbus-interface-peer)
2227 (dbus-interface-introspectable, dbus-interface-properties)
2228 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2229 Adapt docstring.
2230 (dbus-interface-objectmanager): New defconst.
2231 (dbus-call-method, dbus-call-method-asynchronously)
2232 (dbus-send-signal, dbus-method-return-internal)
2233 (dbus-method-error-internal, dbus-register-service)
2234 (dbus-register-signal, dbus-register-method): New defuns, moved
2235 from dbusbind.c
2236 (dbus-call-method-handler, dbus-setenv)
2237 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2238 New defuns.
2239 (dbus-call-method-non-blocking): Make it an obsolete function.
2240 (dbus-unregister-object, dbus-unregister-service)
2241 (dbus-handle-event, dbus-register-property)
2242 (dbus-property-handler): Obey the new structure of
2243 `bus-registered-objects'.
2244 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2245 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2246 Use `dbus-call-method'.
2247
2248 2012-04-22 Chong Yidong <cyd@gnu.org>
2249
2250 * cus-edit.el (custom-commands, custom-reset-menu)
2251 (Custom-reset-standard): Tweak labels.
2252 (custom-reset-button-menu): Change default to t.
2253 (custom-buffer-create-internal): For the custom-reset-button-menu
2254 case, put the revert button first.
2255 (custom-group-subtitle): New face.
2256 (custom-group-value-create): Align docstring to a specific column.
2257
2258 * wid-edit.el (widget-documentation-link-add): Don't handle
2259 indentation in this function.
2260 (widget-documentation-string-indent-to): New function.
2261 (widget-documentation-string-value-create): Use it.
2262
2263 * autorevert.el (auto-revert):
2264 * epg-config.el (epg):
2265 * ibuffer.el (ibuffer):
2266 * mpc.el (mpc):
2267 * ses.el (ses):
2268 * eshell/eshell.el (eshell):
2269 * net/ange-ftp.el (ange-ftp):
2270 * progmodes/ebnf2ps.el (postscript):
2271 * progmodes/flymake.el (flymake):
2272 * progmodes/prolog.el (prolog):
2273 * progmodes/verilog-mode.el (verilog-mode):
2274 * progmodes/which-func.el (which-func):
2275 * term/xterm.el (xterm):
2276 * textmodes/picture.el (picture):
2277 * textmodes/tildify.el (tildify):
2278 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2279 customization buffers.
2280
2281 2012-04-22 Alan Mackenzie <acm@muc.de>
2282
2283 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2284 Adding a ) can hide the resulting (..) from searches. Fix it.
2285 Bound the backward search to the position of the existing (.
2286
2287 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2288
2289 * progmodes/verilog-mode.el (verilog-mode): Check whether
2290 which-func-modes is t before adding verilog-mode.
2291 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2292
2293 2012-04-21 Leo Liu <sdl.web@gmail.com>
2294
2295 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2296
2297 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2298
2299 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2300 filling of the last column of a table (Bug#5635).
2301 (woman-find-next-control-line): New arg, specifying an additional
2302 regexp component for the control line.
2303 (woman2-roff-buffer): Use it.
2304 (woman-break-table): New function.
2305 (woman2-TS): Use it.
2306
2307 2012-04-21 Chong Yidong <cyd@gnu.org>
2308
2309 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2310 (woman-horizontal-escapes, woman-negative-vertical-space)
2311 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2312 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2313
2314 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2315
2316 * minibuffer.el (completion-file-name-table): Complete user names.
2317
2318 2012-04-20 Leo Liu <sdl.web@gmail.com>
2319
2320 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2321 and pcase-let*.
2322
2323 2012-04-20 Chong Yidong <cyd@gnu.org>
2324
2325 * server.el (server-execute): Respect initial-buffer-choice if it
2326 is a string and there are no files to open (Bug#2825).
2327 (server-create-window-system-frame, server-create-tty-frame):
2328 Don't switch buffers here.
2329 (server-process-filter): Only try to open a window system frame if
2330 compiled with graphical support (Bug#8314).
2331
2332 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2333
2334 * battery.el (battery-echo-area-format): Display remaining time
2335 for sysfs backend too (Bug#11269).
2336 (battery-linux-sysfs): Fix conditional for the charge.
2337
2338 2012-04-20 Chong Yidong <cyd@gnu.org>
2339
2340 * progmodes/gdb-mi.el (gdb): Revert previous change.
2341 (gdb-inferior-io--init-proc): New function.
2342 (gdb-init-1): Use it.
2343 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2344 responsible for allocating a new pty and hooking it to gdb when
2345 the old pty gets an EIO due to process exit.
2346 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2347 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2348 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2349
2350 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2351
2352 * window.el (window-min-size, window-sizable, window-min-delta)
2353 (window-max-delta, window--resizable, window-resizable)
2354 (window-total-size, window-full-height-p, window-full-width-p)
2355 (window-in-direction, window--resize-mini-window, window-resize)
2356 (window--resize-child-windows-normal)
2357 (window--resize-child-windows, window--resize-siblings)
2358 (window--resize-this-window, adjust-window-trailing-edge)
2359 (enlarge-window, shrink-window): Doc fixes.
2360
2361 2012-04-20 Chong Yidong <cyd@gnu.org>
2362
2363 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2364 New function to call delete-process on the gdb-inferior buffer's pty.
2365 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2366 pty process (Bug#11273).
2367 (gdb-update): New arg to suppress talking to the gdb process.
2368 (gdb-done-or-error): Use it.
2369 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2370 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2371 sentinel not being called.
2372
2373 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2374
2375 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2376
2377 2012-04-20 Glenn Morris <rgm@gnu.org>
2378
2379 * net/network-stream.el (open-network-stream): Doc fix.
2380
2381 2012-04-20 Chong Yidong <cyd@gnu.org>
2382
2383 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2384
2385 2012-04-20 Alan Mackenzie <acm@muc.de>
2386
2387 Ensure searching for keywords is case sensitive.
2388
2389 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2390 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2391 (c-defun-name, c-mark-function, c-cpp-define-name)
2392 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2393 (c-context-line-break): Bind case-fold-search to nil.
2394
2395 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2396 Bind case-fold-search to nil.
2397
2398 2012-04-20 Chong Yidong <cyd@gnu.org>
2399
2400 * mail/sendmail.el (mail-bury): Call return action with the right
2401 Rmail buffer (Bug#11242).
2402
2403 * server.el (server-process-filter): Handle corner case where both
2404 tty and nowait options are present (Bug#11102).
2405
2406 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2407
2408 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2409 (top level): Put into the executable the ident-style '$Id:' tag on
2410 windows-nt as well.
2411
2412 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2413
2414 * electric.el (electric-indent-post-self-insert-function): Check that
2415 electric-indent-mode is enabled in current buffer.
2416
2417 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2418
2419 * imenu.el (imenu-progress-message): Restore; it is "used" in
2420 erc/erc-imenu.el and net/snmp-mode.el.
2421
2422 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2423
2424 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2425 (mouse-avoidance-nudge-mouse): Remove unused binding.
2426
2427 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2428
2429 * descr-text.el (describe-char):
2430 * progmodes/python.el (python-describe-symbol):
2431 Don't call `toggle-read-only', set `buffer-read-only'.
2432
2433 * imenu.el (imenu-default-goto-function): Mark unused args.
2434 (imenu-progress-message): Remove obsolete macro; all callers changed.
2435
2436 * subr.el (keymap-canonicalize): Remove unused binding.
2437 (read-passwd): Mark unused arg.
2438
2439 * tutorial.el (tutorial--display-changes): Remove unused binding.
2440 (tutorial--save-tutorial-to): Remove unused variable.
2441
2442 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2443 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2444 (package-generate-autoloads, package-menu--generate)
2445 (package-menu--find-upgrades): Remove unused bindings.
2446
2447 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2448 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2449 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2450 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2451 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2452 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2453 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2454 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2455 (cua-delete-char-rectangle): Mark unused args.
2456 (cua-align-rectangle): Remove unused binding.
2457
2458 * mail/rmail.el (compilation--message->loc)
2459 (epa--find-coding-system-for-mime-charset): Declare.
2460
2461 * net/dbus.el (dbus-register-service): Declare.
2462 (dbus-name-owner-changed-handler): Remove unused binding.
2463
2464 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2465 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2466 (nxml-scan-backward-within): Mark unused arg.
2467 (nxml-dynamic-markup-word): Remove unused binding.
2468
2469 * mouse.el (mouse-menu-major-mode-map):
2470 * emacs-lisp/authors.el (authors-scan-change-log)
2471 (authors-add-to-author-list):
2472 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2473 * emacs-lisp/smie.el (smie-auto-fill):
2474 * mail/sendmail.el (mail-bury):
2475 * mail/unrmail.el (unrmail):
2476 * net/tls.el (open-tls-stream):
2477 * textmodes/picture.el (picture-mouse-set-point):
2478 Remove unused bindings.
2479
2480 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2481
2482 * net/tramp.el (tramp-action-password): Let-bind
2483 `enable-recursive-minibuffers' to t.
2484
2485 2012-04-18 Sam Steingold <sds@gnu.org>
2486
2487 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2488 instead of 'string to accommodate values like [f11].
2489 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2490 * progmodes/gdb-mi.el: Likewise.
2491
2492 2012-04-18 Leo Liu <sdl.web@gmail.com>
2493
2494 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2495 current buffer.
2496 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2497 LOCAL is nil.
2498
2499 2012-04-18 Chong Yidong <cyd@gnu.org>
2500
2501 * simple.el (line-move): Use forward-line if in batch mode
2502 (Bug#11053).
2503
2504 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2505
2506 * files.el (after-find-file): Do not try to add a final newline if
2507 the buffer is read-only (Bug#11156).
2508
2509 2012-04-17 Richard Stallman <rms@gnu.org>
2510
2511 * mail/rmail.el (rmail-start-mail):
2512 Pass (rmail-mail-return...) for the return-action.
2513 Pass (rmail-yank-current-message...) for the yank-action.
2514 (rmail-yank-current-message): New function.
2515 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2516 (rmail-reply): Likewise.
2517 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2518
2519 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2520 buffer, not the last. Reject temp buffers. Use the rmail-mode
2521 buffer, not newbuf.
2522
2523 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2524
2525 * server.el (server-ensure-safe-dir): Simplify.
2526
2527 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2528
2529 * emacs-lisp/smie.el: Provide smarter auto-filling.
2530 (smie-auto-fill): New function.
2531 (smie-setup): Use it.
2532
2533 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2534
2535 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2536
2537 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2538 (comment-indent): Use it.
2539
2540 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
2541
2542 * ses.el: The overall change is to add cell renaming, that is
2543 setting fancy names for cell symbols other than name matching
2544 "\\`[A-Z]+[0-9]+\\'" regexp .
2545 (ses-localvars): Add ses--renamed-cell-symb-list.
2546 (ses-create-cell-variable): New defun.
2547 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2548 (ses-relocate-formula): Relocate formulas only for cells the
2549 symbols of which are not renamed, i.e. symbols whose names do not
2550 match regexp "\\`[A-Z]+[0-9]+\\'".
2551 (ses-relocate-all): Relocate values only for cells the symbols of
2552 which are not renamed.
2553 (ses-load): Create cells variables as the (ses-cell ...) are read,
2554 in order to check row col consistency with cell symbol name only
2555 for cells that are not renamed.
2556 (ses-replace-name-in-formula): New defun.
2557 (ses-rename-cell): New defun.
2558
2559 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2560
2561 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2562 New option (bug#11118).
2563 (perl-calculate-indent): Respect it.
2564
2565 2012-04-17 Glenn Morris <rgm@gnu.org>
2566
2567 * dired-aux.el (dired-mark-read-string): Doc fix.
2568
2569 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2570
2571 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2572 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2573
2574 2012-04-17 Glenn Morris <rgm@gnu.org>
2575
2576 * mouse.el (mouse-drag-track):
2577 * speedbar.el (speedbar-frame-mode):
2578 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2579
2580 2012-04-16 Leo Liu <sdl.web@gmail.com>
2581
2582 * progmodes/python.el: Trivial cleanup.
2583
2584 2012-04-16 Glenn Morris <rgm@gnu.org>
2585
2586 * vc/vc.el (vc-string-prefix-p):
2587 * vc/pcvs-util.el (cvs-string-prefix-p):
2588 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2589 * mpc.el (mpc-string-prefix-p):
2590 Make all of these into obsolete aliases for string-prefix-p.
2591 Update callers.
2592 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2593
2594 * textmodes/two-column.el: Move custom options to the start.
2595 (frame-width): Remove compat definition.
2596 (2C-associate-buffer, 2C-dissociate):
2597 Use with-current-buffer rather than save-excursion.
2598 (2C-dissociate): Force a mode-line update.
2599 (2C-autoscroll): Use ignore-errors.
2600
2601 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2602 Autoload trivia.
2603
2604 * emacs-lisp/cl-extra.el (*random-state*):
2605 Remove unnecessary declaration.
2606
2607 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2608
2609 * play/cookie1.el (cookie-snarf):
2610 Give an explicit error if input file cannot be read.
2611
2612 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2613
2614 * progmodes/perl-mode.el (c-macro-expand):
2615 Remove unnecessary autoload (it is in loaddefs.el).
2616
2617 * textmodes/picture.el (picture-desired-column)
2618 (picture-update-desired-column): Convert comments to doc-strings.
2619 (picture-substitute): Remove function.
2620 (picture-mode-map): Initialize in the defvar.
2621
2622 * woman.el: Remove eval-after-load for tar-mode.
2623 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2624 (woman-tar-extract-file): Autoload it.
2625
2626 * frame.el (automatic-hscrolling): Make this alias obsolete.
2627
2628 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2629
2630 * ispell.el (ispell-set-spellchecker-params): Post-process
2631 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2632 (ispell-dictionary-base-alist): Revert to original XEmacs
2633 friendly version for default. [:alpha:] will be added in
2634 `ispell-set-spellchecker-params' if needed
2635
2636 2012-04-16 Chong Yidong <cyd@gnu.org>
2637
2638 * image.el (imagemagick--extension-regexp): New variable.
2639 (imagemagick-register-types): Use it.
2640 (imagemagick-types-inhibit): Add :set function. Allow new value
2641 of t to inhibit all types.
2642
2643 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2644 so we can preload it.
2645
2646 * loadup.el (fboundp): Preload regexp-opt, needed by
2647 imagemagick-register-types.
2648
2649 2012-04-15 Chong Yidong <cyd@gnu.org>
2650
2651 * frame.el (scrolling): Remove nearly unused customization group.
2652
2653 * scroll-all.el (scroll-all-mode): Move to windows group.
2654
2655 2012-04-15 Chong Yidong <cyd@gnu.org>
2656
2657 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2658
2659 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2660
2661 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2662 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2663
2664 2012-04-15 Glenn Morris <rgm@gnu.org>
2665
2666 * simple.el (process-file-side-effects): Doc fix.
2667
2668 2012-04-15 Glenn Morris <rgm@gnu.org>
2669
2670 * international/mule-cmds.el (set-language-environment): Doc fix.
2671
2672 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2673
2674 * server.el (server-auth-key, server-generate-key): Doc fixes.
2675 (server-get-auth-key): Doc fix. Use `string-match-p'.
2676 (server-start): Reflow docstring.
2677
2678 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2679
2680 * server.el (server-generate-key): `called-interactively-p'
2681 requires a parameter.
2682
2683 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2684
2685 * server.el (server-auth-key): New variable.
2686 (server-generate-key, server-get-auth-key): New function.
2687 (server-start): Use the new variable and functions to allow
2688 setting a permanent server key (bug#9423).
2689
2690 2012-04-14 Leo Liu <sdl.web@gmail.com>
2691
2692 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2693
2694 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2695
2696 Spelling fixes.
2697 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2698 Emacs uses American spelling.
2699
2700 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2701
2702 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2703 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2704 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2705 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2706
2707 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * progmodes/which-func.el (which-func-modes): Change default.
2710
2711 2012-04-14 Kim F. Storm <storm@cua.dk>
2712
2713 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2714 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2715
2716 2012-04-14 Chong Yidong <cyd@gnu.org>
2717
2718 * custom.el (custom-theme-set-variables): Doc fix.
2719
2720 2012-04-14 Glenn Morris <rgm@gnu.org>
2721
2722 * international/mule.el (set-auto-coding-for-load): Doc fix.
2723
2724 2012-04-14 Alan Mackenzie <acm@muc.de>
2725
2726 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2727 imenu work again for Objective C Mode. Correct the *-index values,
2728 these having been disturbed by a previous change in 2011-08.
2729
2730 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2731 Correct two search limits.
2732
2733 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2736
2737 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2738
2739 * international/characters.el: Fix sorting.
2740
2741 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2742
2743 * international/characters.el: Add more missing Latin case pairs.
2744
2745 2012-04-14 Glenn Morris <rgm@gnu.org>
2746
2747 * files.el (dir-locals-set-class-variables): Doc fix.
2748
2749 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2750
2751 * international/characters.el: Add set-case-syntax-pair call for
2752 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2753 counterpart. (Bug#11209)
2754
2755 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2756
2757 2012-04-14 Glenn Morris <rgm@gnu.org>
2758
2759 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2760
2761 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2762
2763 * textmodes/ispell.el (ispell-dictionary-base-alist):
2764 Add data for Hebrew.
2765
2766 2012-04-14 Chong Yidong <cyd@gnu.org>
2767
2768 * net/rcirc.el (rcirc-cmd-quit):
2769 Revert 2012-03-18 change (Bug#11192).
2770
2771 2012-04-14 Glenn Morris <rgm@gnu.org>
2772
2773 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2774
2775 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2776
2777 * minibuffer.el (completion-in-region-mode-map):
2778 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2779
2780 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2781
2782 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2783
2784 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2785
2786 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2787 to allow `C-M-f' and `C-M-b' to move to the nearest path
2788 separator (bug#9511).
2789
2790 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2791
2792 * avoid.el: Require cl when compiling. And also move the
2793 `provide' to the end.
2794
2795 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2796
2797 * avoid.el (mouse-avoidance-banish-position): New variable.
2798 (mouse-avoidance-banish-destination): Use it (bug#10165).
2799
2800 2012-04-13 Leo Liu <sdl.web@gmail.com>
2801
2802 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2803
2804 2012-04-13 Ken Brown <kbrown@cornell.edu>
2805
2806 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2807 this is no longer needed now that cygstart understands file:// URLs.
2808 (browse-url-filename-alist): For the same reason, don't modify
2809 file:// URLs on Cygwin.
2810
2811 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2813 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2814 the region on shift if the binding is already shifted (bug#11221).
2815
2816 2012-04-12 Glenn Morris <rgm@gnu.org>
2817
2818 * mail/mailpost.el: Move to obsolete/.
2819
2820 2012-04-12 Drew Adams <drew.adams@oracle.com>
2821
2822 * imenu.el (imenu--generic-function): Ignore invisible definitions
2823 (bug#10123).
2824
2825 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2826
2827 * hexl.el (hexl-bits): New variable.
2828 (hexl-options): Mention the variable in the doc string.
2829 (hexl-rulerise, hexl-line-displen): New functions.
2830 (hexl-mode): Mention the new variable.
2831 (hexl-mode, hexl-current-address, hexl-current-address):
2832 Use the displen.
2833 (hexl-ascii-start-column): New function.
2834 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2835 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2836
2837 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2838
2839 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2840 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2841 the encoding, as expected by hunspell.
2842
2843 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2844
2845 * battery.el (battery--linux-sysfs-regexp): New const.
2846 (battery-status-function): Use it. Remove yeeloong special case.
2847 (battery-yeeloong-sysfs): Remove.
2848 (battery-echo-area-format): Remove yeeloong special case.
2849
2850 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2853 Reported by Noah Friedman.
2854
2855 * subr.el (read-passwd): Use read-string.
2856
2857 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2858
2859 * vcursor.el (vcursor-move): Increase the priority of the overlay
2860 (bug#9663).
2861
2862 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2863
2864 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2865 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2866
2867 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2868
2869 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2870 define-minor-mode (bug#10760).
2871
2872 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2873
2874 * progmodes/grep.el (rgrep): Tweak the find command line so
2875 that directories matching `grep-find-ignored-files' won't be
2876 pruned (bug#10351).
2877
2878 2012-04-11 Chong Yidong <cyd@gnu.org>
2879
2880 * startup.el (command-line): Remove support for long-obsolete
2881 variable font-lock-face-attributes.
2882
2883 2012-04-11 Glenn Morris <rgm@gnu.org>
2884
2885 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2886
2887 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * window.el (window--state-get-1): Obey window-point-insertion-type.
2890
2891 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2892
2893 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2894 to previous function when point is on the first character of a
2895 function. Take care of that in `narrow-to-defun' (bug#6157).
2896
2897 2012-04-11 Glenn Morris <rgm@gnu.org>
2898
2899 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2900 not just file-errors.
2901
2902 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2903 (vc-bzr-sha1): Use internal sha1.
2904
2905 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2908
2909 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2910
2911 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2912 that start in the middle of the line (bug#10496).
2913
2914 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2915
2916 * battery.el (battery-linux-proc-acpi): Only one battery is
2917 discharged at a time, but that seems to confuse battery.el when
2918 computing `rate-type' for the battery not being discharged
2919 (bug#10332).
2920
2921 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2924
2925 * international/quail.el: Use dolist and simplify.
2926 (quail-define-package, quail-update-keyboard-layout)
2927 (quail-define-rules): Use dolist.
2928 (quail-insert-kbd-layout, quail-get-translation): CSE.
2929
2930 * tmm.el: Use dolist, remove left over hook.
2931 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2932 Use dolist.
2933 (calendar-load-hook): Don't mess with it.
2934
2935 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2936 Use derived-mode-p. Run the diff asynchronously.
2937
2938 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2939
2940 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2941
2942 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2943
2944 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2945 (list-dynamic-libraries--loaded): New function.
2946 (list-dynamic-libraries--refresh): Use it.
2947
2948 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2949
2950 * progmodes/python.el (python-fill-paragraph):
2951 Make python-fill-region in a multiline string work when font-lock is
2952 disabled (bug#7018).
2953
2954 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2955
2956 * language/european.el (cp775): Add oem/legacy (en)coding on
2957 DOS/MS Windows for the Baltic languages. There are still plenty
2958 of texts written in this encoding/codepage (bug#6519).
2959
2960 2012-04-10 Glenn Morris <rgm@gnu.org>
2961
2962 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2963 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2964
2965 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2966
2967 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2968 next-line "n" and previous-line "p" in order to make recentf more
2969 consistent with ibuffer, dired or org-mode (bug#9387).
2970
2971 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2972
2973 * image.el (put-image): Return the overlay created instead of the
2974 optional input string (bug#7834). Note that this may break code
2975 that is (for some reason or other) depending on `put-image'
2976 returning the string.
2977
2978 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2979
2980 * simple.el (zap-to-char): Allow zapping using input methods
2981 (bug#1580).
2982
2983 * textmodes/fill.el (fill-region): Leave point and mark where they
2984 were before filling (bug#5399).
2985
2986 2012-04-09 Glenn Morris <rgm@gnu.org>
2987
2988 * version.el (emacs-bzr-get-version):
2989 Handle lightweight checkouts of local branches.
2990
2991 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2992
2993 * international/characters.el: Recover lost case pairs. (Bug#11209)
2994
2995 2012-04-09 Chong Yidong <cyd@gnu.org>
2996
2997 * custom.el (custom-variable-p): Return nil for non-symbol
2998 arguments instead of signaling an error.
2999 (user-variable-p): Obsolete alias for custom-variable-p.
3000
3001 * apropos.el (apropos-variable):
3002 * files-x.el (read-file-local-variable):
3003 * simple.el (set-variable):
3004 * woman.el (woman-mini-help):
3005 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3006
3007 2012-04-09 Glenn Morris <rgm@gnu.org>
3008
3009 * startup.el (normal-top-level): Don't look for leim-list.el
3010 in places where it will not be found. (Bug#910)
3011
3012 * international/mule-cmds.el (set-default-coding-systems):
3013 * files.el (normal-mode):
3014 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3015 This function was removed with ucs-tables.el in 2008.
3016
3017 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3018
3019 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3020 ispell-encoding8-command to "-i", without a trailing space.
3021 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3022 separate command-line arguments, to specify the encoding, since
3023 that's how hunspell expects it.
3024
3025 2012-04-08 Glenn Morris <rgm@gnu.org>
3026
3027 * loadup.el: Load bindings before cus-start.
3028 This reduces somewhat the number of "rogue" settings in emacs -Q.
3029
3030 2012-04-07 Glenn Morris <rgm@gnu.org>
3031
3032 * version.el (emacs-bzr-get-version): New function.
3033 (emacs-bzr-version): New variable.
3034 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3035 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3036
3037 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3038
3039 * international/uni-bidi.el, international/uni-category.el:
3040 * international/uni-combining.el, international/uni-decimal.el:
3041 * international/uni-decomposition.el, international/uni-digit.el:
3042 * international/uni-lowercase.el, international/uni-mirrored.el:
3043 * international/uni-name.el, international/uni-numeric.el:
3044 * international/uni-titlecase.el, international/uni-uppercase.el:
3045 Update for Unicode 6.1.
3046
3047 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3048
3049 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3050
3051 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3052
3053 * window.el (shrink-window): Mention the `window-min-height'
3054 variable in the doc string.
3055
3056 2012-04-05 Bastien Guerry <bzg@altern.org>
3057
3058 * color.el (color-lighten-name): Fix typo.
3059
3060 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3062 * server.el (server--on-display-p): New function.
3063 (server--on-display-p): Use it.
3064
3065 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3066
3067 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3068 (bug#11145).
3069
3070 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * comint.el (comint--common-quoted-suffix): Check string boundary
3073 before comparing (bug#11158).
3074 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3075
3076 2012-04-04 Chong Yidong <cyd@gnu.org>
3077
3078 * minibuffer.el (completion-extra-properties): Doc fix.
3079
3080 * subr.el (delayed-warnings-hook): Doc fix.
3081
3082 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3083
3084 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3085 selection (Bug#11159).
3086 (epa-insert-keys): Inform that the default public key will be
3087 exported if no key is selected.
3088
3089 2012-04-04 Richard Stallman <rms@gnu.org>
3090
3091 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3092
3093 2012-04-03 Chong Yidong <cyd@gnu.org>
3094
3095 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3096 mail-insert-file, not its obsolete alias mail-attach-file.
3097
3098 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3099
3100 * notifications.el (notifications-notify): Fix docstring.
3101
3102 2012-04-02 Glenn Morris <rgm@gnu.org>
3103
3104 * emacs-lisp/authors.el (authors-aliases): Another addition.
3105
3106 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3107
3108 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3109 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3110 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3111
3112 2012-04-01 Chong Yidong <cyd@gnu.org>
3113
3114 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3115 Handle root directory properly.
3116 (copy-directory): Caller changed.
3117
3118 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3119 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3120
3121 2012-03-31 Glenn Morris <rgm@gnu.org>
3122
3123 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3124
3125 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3126
3127 * calendar/calendar.el (calendar-window-list)
3128 (calendar-hide-window): Restore. (Bug#11140)
3129 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3130
3131 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3132
3133 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3134
3135 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3136 Check if file is a symlink (Bug#10489).
3137
3138 * files.el (copy-directory): Likewise.
3139
3140 2012-03-30 Chong Yidong <cyd@gnu.org>
3141
3142 * image.el (imagemagick-types-inhibit)
3143 (imagemagick-register-types): Doc fix.
3144
3145 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3146
3147 * ispell.el (ispell-get-extended-character-mode):
3148 Disable extended-char-mode for hunspell. hunspell does not support it
3149 and treats ~word as ordinary words in pipe mode.
3150
3151 2012-03-30 Glenn Morris <rgm@gnu.org>
3152
3153 * tutorial.el (help-with-tutorial): Ensure local variables don't
3154 happen to make the buffer read-only. (Bug#11127)
3155
3156 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3157
3158 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3159 (perl-calculate-indent): Return `noindent' in strings.
3160
3161 2012-03-28 Sam Steingold <sds@gnu.org>
3162
3163 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3164 instead of the broken adhockery which does not prevent calendar
3165 buffers from being displayed at random after exit.
3166 (calendar-window-list, calendar-hide-window): Remove the broken
3167 adhockery.
3168
3169 2012-03-28 Glenn Morris <rgm@gnu.org>
3170
3171 * replace.el (query-replace-map): Doc fix.
3172
3173 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3174
3175 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3176 contents. (Bug#11109)
3177
3178 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3181 (bug#11077).
3182 (avl-tree--check, avl-tree--check-node): New funs.
3183
3184 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3185
3186 * window.el (switch-to-visible-buffer): New option.
3187 (switch-to-prev-buffer, switch-to-next-buffer):
3188 Observe switch-to-visible-buffer. Make sure that checking for a window
3189 showing a buffer already is done on the same frame.
3190
3191 2012-03-27 Glenn Morris <rgm@gnu.org>
3192
3193 * startup.el (mail-host-address): Doc fix.
3194
3195 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3198 than 197 variables.
3199
3200 2012-03-26 Ami Fischman <ami@fischman.org>
3201
3202 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3203
3204 2012-03-26 Glenn Morris <rgm@gnu.org>
3205
3206 * files.el (save-buffers-kill-emacs): Doc fix.
3207
3208 * startup.el (normal-top-level, command-line, command-line-1):
3209 Give them doc strings.
3210
3211 2012-03-25 Eli Zaretskii <eliz@gnu.org>
3212
3213 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3214 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3215
3216 2012-03-25 Chong Yidong <cyd@gnu.org>
3217
3218 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3219 theme if it was previously enabled before (Bug#11031).
3220
3221 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3222 spec with custom-face-get-current-spec if its :shown-value is not
3223 determined yet (Bug#9337).
3224 (customize-create-theme, custom-theme-revert): Doc fixes.
3225
3226 * button.el (button-at): Minor addition to docstring.
3227
3228 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
3229
3230 * vc/vc.el (vc-merge): Fix a prompt.
3231
3232 2012-03-24 Chong Yidong <cyd@gnu.org>
3233
3234 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3235 point (Bug#9623).
3236
3237 * button.el (button-at): Minor addition to docstring.
3238
3239 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * newcomment.el (comment-choose-indent): No space after BOL.
3242
3243 2012-03-22 Sam Steingold <sds@gnu.org>
3244
3245 * window.el (switch-to-prev-buffer): Revert last patch because the
3246 bug turned out to be an advertised feature (Elisp manual 28.14).
3247
3248 2012-03-22 Glenn Morris <rgm@gnu.org>
3249
3250 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3251 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3252
3253 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3254
3255 * net/network-stream.el (network-stream-open-starttls): Make error
3256 message under Windows be less misleading.
3257
3258 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3259
3260 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3261 understands (bug#9942).
3262
3263 2012-03-22 Chong Yidong <cyd@gnu.org>
3264
3265 * simple.el (end-of-visible-line): Handle return value of
3266 next-single-property-change properly (Bug#9371).
3267
3268 2012-03-22 Kenichi Handa <handa@m17n.org>
3269
3270 * international/quail.el (quail-insert-kbd-layout): Fix previous
3271 change. To avoid unwanted bidi reordering, use
3272 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3273
3274 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3275
3276 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3277 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3278 (ruby-beginning-of-indent): Be more careful with the difference
3279 between word-boundary and symbol boundary.
3280 (ruby-mode-syntax-table): Make : a symbol constituent.
3281
3282 2012-03-21 Andreas Politz <politza@fh-trier.de>
3283
3284 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3285
3286 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * progmodes/etags.el (tags-completion-at-point-function):
3289 Improve last fix.
3290
3291 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3292
3293 2012-03-21 Sam Steingold <sds@gnu.org>
3294
3295 * progmodes/etags.el (tags-completion-at-point-function):
3296 Avoid the error when point is inside the pattern.
3297
3298 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3299
3300 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3301 line (Bug#10855).
3302
3303 2012-03-21 Drew Adams <drew.adams@oracle.com>
3304
3305 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3306
3307 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3308
3309 * ido.el (ido-set-current-directory, ido-read-internal)
3310 (ido-choose-completion-string, ido-completion-help): Handle nil
3311 value of ido-completion-buffer (Bug#11008).
3312
3313 2012-03-21 Sam Steingold <sds@gnu.org>
3314
3315 * window.el (switch-to-prev-buffer): Do not switch to a visible
3316 window previous buffer, just like with the frame previous buffers.
3317
3318 2012-03-21 Chong Yidong <cyd@gnu.org>
3319
3320 * faces.el (make-face, make-empty-face, copy-face):
3321 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3322 Doc fixes.
3323
3324 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3325
3326 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3327 (widget-complete): Remove broken use of it.
3328
3329 2012-03-20 Chong Yidong <cyd@gnu.org>
3330
3331 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3332 Use string-width and truncate-string-width to handle arbitrary
3333 characters.
3334
3335 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3336
3337 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3338 to draw rectangles, not squares. (Regression introduced by revno
3339 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3340
3341 2012-03-18 Chong Yidong <cyd@gnu.org>
3342
3343 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3344 it is not yet defined (for temacs).
3345
3346 2012-03-18 Leo Liu <sdl.web@gmail.com>
3347
3348 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3349
3350 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3351
3352 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3353 (ispell-choices-win-default-height, ispell-silently-savep)
3354 (ispell-dictionary-alist, ispell-encoding8-command)
3355 (ispell-check-version, ispell-aspell-find-dictionary)
3356 (ispell-valid-dictionary-list, ispell-words-keyword)
3357 (ispell-get-word, ispell-internal-change-dictionary)
3358 (ispell-region, ispell-skip-region-list)
3359 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3360 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3361 (ispell-message-text-end, ispell-message)
3362 (ispell-buffer-local-parsing): Doc fix.
3363
3364 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3365
3366 * htmlfontify.el: Add support for code block fontification for ODT
3367 export (Bug #9914).
3368 (hfy-optimisations): Define new option
3369 `body-text-only'
3370 (hfy-fontify-buffer): Honor above setting.
3371 (hfy-begin-span, hfy-end-span): New routines factored out form
3372 `hfy-fontify-buffer'.
3373 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3374 that permit insertion of custom tags.
3375 (hfy-fontify-buffer): Use above handlers.
3376 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3377 (hfy-face-to-css): Re-defined to be a variable.
3378 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3379 over multiple runs. This is made possible by having the caller let
3380 bind a special variable `hfy-user-sheet-assoc'.
3381 (htmlfontify-string): New defun.
3382 (hfy-compile-face-map): Make sure that the last char in the
3383 buffer is correctly fontified.
3384 (hfy-face-resolve-face): Whitespace only change.
3385
3386 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3387
3388 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3389 message more clear.
3390
3391 2012-03-16 Leo Liu <sdl.web@gmail.com>
3392
3393 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3394
3395 2012-03-16 Alan Mackenzie <acm@muc.de>
3396
3397 Further optimise the handling of large macros.
3398
3399 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3400 limit to a call of `c-literal-limits'.
3401 (c-determine-+ve-limit): New function.
3402 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3403 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3404 In CASE 5B, restrict a search limit to 500.
3405 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3406
3407 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3408 Restrict macro bounds to +-500 from after-change's BEG END.
3409
3410 2012-03-16 Leo Liu <sdl.web@gmail.com>
3411
3412 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3413
3414 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3415
3416 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3417 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3418
3419 2012-03-16 Glenn Morris <rgm@gnu.org>
3420
3421 * view.el (view-buffer, view-buffer-other-window)
3422 (view-buffer-other-frame): Doc fixes re special mode-class.
3423
3424 * subr.el (eval-after-load): If named feature is provided not from
3425 a file, run after-load forms. (Bug#10946)
3426
3427 * calendar/calendar.el (calendar-insert-at-column):
3428 Handle non-unit-width characters a bit better. (Bug#10978)
3429
3430 2012-03-15 Chong Yidong <cyd@gnu.org>
3431
3432 * emacs-lisp/ring.el (ring-extend): New function.
3433 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3434
3435 * comint.el (comint-read-input-ring)
3436 (comint-add-to-input-history): Grow comint-input-ring lazily.
3437
3438 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3439
3440 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3441 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3442
3443 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3444 (imenu-add-to-menubar): Don't add a redundant index.
3445 (imenu-update-menubar): Handle a dynamically composed keymap.
3446
3447 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3448
3449 * mail/sendmail.el (mail-encode-header):
3450 Bind rfc2047-encode-encoded-words to nil.
3451
3452 2012-03-13 Glenn Morris <rgm@gnu.org>
3453
3454 * calendar/calendar.el (calendar-string-spread):
3455 Handle non-unit-width characters a bit better. (Bug#10978)
3456
3457 2012-03-13 Leo Liu <sdl.web@gmail.com>
3458
3459 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3460 directory and file as argument (Bug#10822).
3461
3462 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3463
3464 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3465 For dynamically generated code, follow $PC.
3466 (gdb-disassembly-handler-custom): Handle no function name case.
3467
3468 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3469
3470 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3471 * emulation/ws-mode.el (ws-query-replace):
3472 * sort.el (sort-regexp-fields):
3473 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3474
3475 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * dabbrev.el: Fix cycle completion order (bug#10963).
3478 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3479 (dabbrev-completion): Don't use an obarray; provide
3480 a cycle-sort-function.
3481
3482 2012-03-12 Leo Liu <sdl.web@gmail.com>
3483
3484 * simple.el (kill-new): Use equal-including-properties for comparison.
3485 (kill-do-not-save-duplicates): Doc fix.
3486
3487 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3488
3489 * dabbrev.el: Fix cycle completion (bug#10963).
3490 Use lexical binding and wrap to 80 columns.
3491 (dabbrev-completion): Delay computing the list of completions.
3492
3493 2012-03-12 Kenichi Handa <handa@m17n.org>
3494
3495 * international/quail.el (quail-insert-kbd-layout): Surround each
3496 row by LRO and PDF instead of inserting many LRMs. Pad the left
3497 and right of each non-spacing marks. Insert invisible space
3498 between lower and upper characters to prevent composition.
3499
3500 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3501
3502 * minibuffer.el (minibuffer-complete): Don't get confused when the
3503 function is run twice via different commands (bug#10958).
3504 (complete-with-action): Fix docstring.
3505
3506 2012-03-12 Chong Yidong <cyd@gnu.org>
3507
3508 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3509 (nxml-completion-at-point-function): New function.
3510 (nxml-mode): Use it.
3511 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3512
3513 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3514 Load generated autoloads file before byte compiling (Bug#10970).
3515 (package--make-autoloads-and-compile): New helper fun.
3516
3517 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3518
3519 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3520
3521 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3522
3523 * autorevert.el (auto-revert-handler): Ensure, that
3524 file-readable-p is applied only for local files or in
3525 auto-revert-tail-mode.
3526
3527 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3528
3529 * server.el (server-eval-at): Handle non-tcp connections.
3530 Decode result string.
3531
3532 * server.el (server-msg-size): New constant.
3533 (server-reply-print): New function.
3534 (server-eval-and-print): Use it.
3535 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3536 Handle -print-nonl.
3537
3538 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3539
3540 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3541 (Bug#10987).
3542
3543 2012-03-11 Chong Yidong <cyd@gnu.org>
3544
3545 * simple.el (goto-line): Doc fix (Bug#9938).
3546
3547 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3548
3549 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3550 when finished (Bug#10963).
3551
3552 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3553
3554 * window.el (split-window-below): Fix bug in case where
3555 split-window-keep-point is nil (Bug#10971).
3556
3557 2012-03-11 Juri Linkov <juri@jurta.org>
3558
3559 * replace.el (replace-highlight): Set isearch-word to nil
3560 unconditionally. (Bug#10887)
3561
3562 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3563
3564 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3565 mairix-replace-illegal-chars; all callers changed. Don't remove
3566 ^, ~, and = characters: they are meaningful in mairix search specs.
3567 (mairix-widget-create-query): Add usage information about mairix
3568 search forms: negating words, searching for substrings, etc.
3569
3570 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3571
3572 * international/fontset.el (font-encoding-alist): Add an entry for
3573 ksx1001 (Bug#5667).
3574
3575 2012-03-10 Richard Stallman <rms@gnu.org>
3576
3577 * mail/sendmail.el (mail-encode-header):
3578 Set rfc2047-encode-encoded-words.
3579
3580 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3581
3582 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3583 view buffer means not swapped.
3584 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3585 (rmail-write-region-annotate): Error if real text has disappeared.
3586
3587 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3588
3589 2012-03-10 Chong Yidong <cyd@gnu.org>
3590
3591 * emulation/cua-rect.el (cua--init-rectangles):
3592 * emulation/cua-base.el (cua--init-keymaps):
3593 Add delete-forward-char to remappings (Bug#9666).
3594
3595 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3596
3597 * speedbar.el (speedbar-unhighlight-one-tag-line):
3598 Avoid unhighlighting due to frame switching (Bug#10275).
3599
3600 2012-03-10 Chong Yidong <cyd@gnu.org>
3601
3602 * minibuffer.el (completion-in-region, completion-help-at-point):
3603 Give the completion field overlay a high priority (Bug#6830).
3604
3605 * dired.el (dired-goto-file): Recognize absolute file name
3606 listings (Bug#7126).
3607 (dired-goto-file-1): New helper function.
3608 (dired-toggle-read-only): Inhibit warnings.
3609
3610 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3611
3612 * net/dbus.el (dbus-property-handler): Return empty array if
3613 there are no properties.
3614
3615 2012-03-09 Leo Liu <sdl.web@gmail.com>
3616
3617 * savehist.el (savehist-printable): Stricter check for string
3618 value (Bug#10937).
3619
3620 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3621
3622 * mail/smtpmail.el (smtpmail-send-it):
3623 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3624 valid mbox format.
3625
3626 2012-03-09 Glenn Morris <rgm@gnu.org>
3627
3628 * files.el (dir-locals-find-file):
3629 Don't check result is regular, readable.
3630 (dir-locals-read-from-file): Demote errors.
3631
3632 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3633
3634 * international/quail.el (quail-insert-kbd-layout):
3635 Insert invisible LRM characters before each character in a keyboard
3636 layout cell, to prevent their reordering by bidi display engine.
3637 For details, see the discussion in
3638 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3639
3640 2012-03-08 Alan Mackenzie <acm@muc.de>
3641
3642 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3643 the starting position; make it extend the marked region when
3644 invoked repeatedly - all under appropriate circumstances.
3645 Fixes bugs #5525, #10906.
3646
3647 2012-03-08 Glenn Morris <rgm@gnu.org>
3648
3649 * files.el (locate-dominating-file, dir-locals-find-file):
3650 Undo 2012-03-06 change.
3651
3652 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3653
3654 * international/quail.el (quail-help):
3655 Force bidi-paragraph-direction be left-to-right. See discussion in
3656 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3657 for the reason.
3658
3659 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3660
3661 Avoid superfluous registering of signals. (Bug#10807)
3662
3663 * notifications.el (notifications-on-action-object)
3664 (notifications-on-close-object): New defvars.
3665 (notifications-on-action-signal, notifications-on-closed-signal):
3666 Unregister the signal if not needed any longer.
3667 (notifications-notify): Register `notifications-action-signal' or
3668 `notifications-closed-signal', if :on-action or :on-close has been
3669 passed as argument.
3670
3671 2012-03-07 Chong Yidong <cyd@gnu.org>
3672
3673 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3674 non-X platforms.
3675
3676 2012-03-06 Glenn Morris <rgm@gnu.org>
3677
3678 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3679 (x-disown-selection-internal, x-get-selection-internal):
3680 Doc fix (add arglist signatures). (Bug#10783)
3681
3682 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3683
3684 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3685 Handle breakpoints with no "type".
3686
3687 2012-03-06 Glenn Morris <rgm@gnu.org>
3688
3689 * files.el (locate-dominating-file): Add optional predicate argument.
3690 (dir-locals-find-file): Make use of above change.
3691
3692 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3693
3694 * info.el (Info-insert-dir): Also try "dir.gz".
3695
3696 2012-03-06 Glenn Morris <rgm@gnu.org>
3697
3698 * files.el (dir-locals-find-file):
3699 Ignore non-readable or non-regular files. (Bug#10928)
3700
3701 * files.el (locate-dominating-file): Doc fix.
3702
3703 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3704
3705 * calendar/calendar.el (calendar-set-mode-line):
3706 `getenv' returns a string. (Bug#10951)
3707
3708 2012-03-05 Leo Liu <sdl.web@gmail.com>
3709
3710 * simple.el (backward-delete-char-untabify): Constrain point to
3711 field (Bug#10939).
3712
3713 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3714
3715 2012-03-05 Chong Yidong <cyd@gnu.org>
3716
3717 * simple.el (count-words): If called from Lisp, return the word
3718 count, for symmetry with `count-lines'. Arglist changed.
3719 (count-words--message): Args changed. Consolidate counting code
3720 from count-words and count-words-region.
3721 (count-words-region): Caller changed.
3722 (count-lines-region): Make it an obsolete alias.
3723
3724 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3725
3726 * saveplace.el (save-place-to-alist)
3727 (save-place-ignore-files-regexp): Allow value nil to disable this
3728 feature.
3729
3730 2012-03-04 Chong Yidong <cyd@gnu.org>
3731
3732 * faces.el (face-spec-reset-face): For the default face, reset the
3733 attributes to default values (Bug#10748).
3734
3735 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3736
3737 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3738 previous patch: Check `message-send-mail-function', and not the
3739 default function (bug#10897).
3740
3741 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3742
3743 * notifications.el (notifications-on-action-signal)
3744 (notifications-on-closed-signal): Check for unique service name of
3745 incoming event. Fix error in removing entry.
3746 (top): Register for signals with wildcard service name.
3747 (notifications-notify): Use daemon unique service name for map entries.
3748
3749 2012-03-04 Chong Yidong <cyd@gnu.org>
3750
3751 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3752
3753 2012-03-04 Glenn Morris <rgm@gnu.org>
3754
3755 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3756 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3757 (expand-abbrev, define-abbrev-table): Doc fixes.
3758
3759 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3760
3761 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3762 `message-default-send-mail-function' and not `send-mail-function'
3763 when doing the prompting for `sendmail-query-once' before sending
3764 in Message buffers (bug#10897).
3765
3766 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3767 This is inconsistent with all the other stream functions, which leave
3768 the setting up to the higher levels (if so wanted) (bug#10931).
3769
3770 2012-03-02 Alan Mackenzie <acm@muc.de>
3771
3772 Depessimize the handling of very large macros.
3773
3774 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3775 (c-macro-cache-syntactic): New variables to implement a one
3776 element macro cache.
3777 (c-invalidate-macro-cache): New function.
3778 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3779 Adapt to use the new cache.
3780 (c-state-safe-place): Use better the cache of safe positions.
3781 (c-state-semi-nonlit-pos-cache)
3782 (c-state-semi-nonlit-pos-cache-limit):
3783 New variables for...
3784 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3785 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3786 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3787 Use c-state-semi-safe-place.
3788
3789 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3790 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3791
3792 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3793
3794 * jka-compr.el (jka-compr-call-process):
3795 Apply `file-accessible-directory-p' only when the default directory is
3796 not remote.
3797
3798 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3799
3800 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3801 access of FILE2, if FILE1 does not exist.
3802
3803 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3804 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3805
3806 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3807 Add "PAGER=" to `process-environment'.
3808
3809 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3810
3811 * progmodes/sql.el: Bug fix
3812 (sql-get-login-ext): Save login values in globals.
3813 (sql-get-login): Use new version of `sql-get-login-ext'.
3814 (sql-interactive-mode): Set global `sql-connection' to nil.
3815 (sql-connect): Set global values for connection.
3816 (sql-product-interactive): Save global values as buffer local.
3817
3818 2012-02-29 Leo Liu <sdl.web@gmail.com>
3819
3820 * abbrev.el (define-abbrevs): Reset sys to nil.
3821
3822 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3823
3824 * files.el (file-equal-p): Rename from `files-equal-p'.
3825 Return nil when one or both files don't exist.
3826 (file-subdir-of-p): Now only top directory must exists,
3827 return nil if it doesn't.
3828 (copy-directory): No need to test with `file-subdir-of-p' after
3829 creating dir.
3830 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3831 to `file-equal-p'.
3832
3833 2012-02-28 Glenn Morris <rgm@gnu.org>
3834
3835 * shell.el (shell-mode):
3836 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3837 * play/landmark.el (landmark-font-lock-face-O):
3838 * play/handwrite.el (handwrite):
3839 * play/gomoku.el (gomoku-O):
3840 * net/browse-url.el (browse-url-browser-display):
3841 * international/mule.el (define-charset):
3842 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3843 * filesets.el (filesets-find-file-delay):
3844 * eshell/em-xtra.el (eshell-xtra):
3845 * eshell/em-unix.el (eshell-grep):
3846 * emulation/viper.el (viper-mode):
3847 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3848 * emacs-lisp/easymenu.el (easy-menu-define):
3849 * calendar/timeclock.el (timeclock-use-display-time):
3850 * bs.el (bs-mode):
3851 * bookmark.el (bookmark-save-flag):
3852 Doc fix (standardize possessive apostrophe usage).
3853
3854 2012-02-27 Chong Yidong <cyd@gnu.org>
3855
3856 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3857 Fix key-binding lookup for ESC key (Bug#9146).
3858
3859 * font-lock.el (font-lock-specified-p): Rename from
3860 font-lock-spec-present. Callers changed.
3861
3862 2012-02-27 Daniel Hackney <dan@haxney.org>
3863
3864 * emacs-lisp/package.el (package-compute-transaction):
3865 Handle holding a package version to t in package-load-list.
3866
3867 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3868
3869 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3870 (tramp-get-inode, tramp-get-device): Use cached values.
3871
3872 2012-02-26 Alan Mackenzie <acm@muc.de>
3873
3874 Check there is a font-lock specification before doing initial
3875 fontification.
3876
3877 * font-core.el (font-lock-mode): Move the conditional from
3878 :after-hook to font-lock-initial-fontify.
3879 (font-lock-default-function): Move the check for a specification
3880 to font-lock-spec-present.
3881
3882 * font-lock.el (font-lock-initial-fontify): Call ...
3883 (font-lock-spec-present): New function.
3884
3885 2012-02-26 Jim Blandy <jimb@red-bean.com>
3886
3887 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3888 (gdb-send): Apply it to the operand of the '-interpreter-exec
3889 console' command, so that we can pass arguments with (say) quotes
3890 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3891
3892 2012-02-26 Chong Yidong <cyd@gnu.org>
3893
3894 * help-fns.el (describe-function-1): Clarify description of
3895 remapping (Bug#10844).
3896
3897 * files.el (files-equal-p): Doc fix.
3898 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3899 and quit the loop once a mismatch is found.
3900
3901 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3902
3903 * bs.el (bs--show-with-configuration): Don't throw an error
3904 if the window cannot be split; otherwise, subsequent calls to
3905 bs-show fail, restoring a stale window config. (Bug#10882)
3906
3907 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3908
3909 * term/ns-win.el (global-map): Bind ns-drag-file to
3910 ns-find-file (Bug#5855, Bug#10050).
3911
3912 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3913
3914 * calendar/parse-time.el (parse-time-string): Allow extractor to
3915 return nil.
3916
3917 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3918
3919 * net/tramp.el (tramp-file-name-for-operation):
3920 Add `files-equal-p' and `file-subdir-of-p'.
3921
3922 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3923 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3924 Add COPY-CONTENTS argument.
3925
3926 2012-02-25 Chong Yidong <cyd@gnu.org>
3927
3928 Add custom groups for VC backends, for consistency with vc-bzr.
3929
3930 * vc/vc-arch.el (vc-arch):
3931 * vc/vc-cvs.el (vc-cvs):
3932 * vc/vc-git.el (vc-git):
3933 * vc/vc-hg.el (vc-hg):
3934 * vc/vc-mtn.el (vc-mtn):
3935 * vc/vc-rcs.el (vc-rcs):
3936 * vc/vc-sccs.el (vc-sccs):
3937 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3938 All relevant defcustoms reassigned.
3939
3940 2012-02-25 Chong Yidong <cyd@gnu.org>
3941
3942 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3943
3944 * term/x-win.el (x-initialize-window-system): Reduce default for
3945 x-selection-timeout to 5 seconds (Bug#8869).
3946
3947 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3948
3949 * files.el (files-equal-p, file-subdir-of-p): New functions.
3950 (copy-directory): Error when trying to copy a directory on itself.
3951 Add missing copy-contents arg to tramp handler.
3952 * dired-aux.el (dired-copy-file-recursive): Same.
3953 (dired-create-files): Modify destination when source is equal to
3954 dest when copying files.
3955 Return also when dest is a subdir of source. (Bug#10489)
3956
3957 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3958
3959 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3960 (Bug#10874)
3961
3962 2012-02-23 Alan Mackenzie <acm@muc.de>
3963
3964 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3965 parameter "after-hook:" to allow the expansion to run code after
3966 the execution of the mode hooks.
3967
3968 * font-lock.el (font-lock-initial-fontify): New function extracted
3969 from font-lock-mode-internal.
3970
3971 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3972 :after-hook.
3973
3974 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3977 (completion--cache-all-sorted-completions): New function.
3978 (completion-all-sorted-completions): Use it.
3979 (completion--do-completion, minibuffer-force-complete):
3980 Use it to re-instate the flush hook.
3981
3982 * icomplete.el (icomplete-completions): Replace last fix with a better
3983 one (bug#10850).
3984
3985 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3986
3987 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3988 when it might call us back infinitely (bug#10797).
3989
3990 2012-02-23 Glenn Morris <rgm@gnu.org>
3991
3992 * minibuffer.el (completion-category-overrides): Doc fix.
3993
3994 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3997 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3998
3999 2012-02-23 Glenn Morris <rgm@gnu.org>
4000
4001 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4002 (authors-obsolete-files-regexps, authors-ignored-files)
4003 (authors-ambiguous-files, authors-renamed-files-alist):
4004 Add more entries.
4005
4006 2012-02-23 Juri Linkov <juri@jurta.org>
4007
4008 * isearch.el (isearch-occur): Sync interactive spec with occur's
4009 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4010
4011 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4012
4013 2012-02-22 Juri Linkov <juri@jurta.org>
4014
4015 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4016 (ucs-insert): Doc fix. Check for hex digits in the string.
4017 Don't display `nil' in the error message. (Bug#10857)
4018
4019 2012-02-22 Alan Mackenzie <acm@muc.de>
4020
4021 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4022
4023 2012-02-22 Glenn Morris <rgm@gnu.org>
4024
4025 * ffap.el (ffap-c-path):
4026 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4027
4028 2012-02-22 Chong Yidong <cyd@gnu.org>
4029
4030 * custom.el (load-theme): Doc fix.
4031
4032 2012-02-22 Glenn Morris <rgm@gnu.org>
4033
4034 * dired-x.el (dired-guess-shell-alist-default):
4035 Remove escape sequences from nroff output. (Bug#172)
4036
4037 2012-02-21 Glenn Morris <rgm@gnu.org>
4038
4039 * vc/emerge.el (emerge-defvar-local):
4040 Set `permanent-local' property rather than unused `preserved'.
4041
4042 * textmodes/picture.el (picture-delete-char): New alias.
4043 (picture-mode-map): Use it. (Bug#10860)
4044 (picture-mode): Doc fix.
4045
4046 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4047
4048 * newcomment.el (uncomment-region-default): Remove unused binding.
4049
4050 2012-02-21 Glenn Morris <rgm@gnu.org>
4051
4052 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4053 (picture-self-insert, picture-tab-chars): Doc fix.
4054 (picture-mode-map): Fix C-a, C-e.
4055
4056 2012-02-20 Glenn Morris <rgm@gnu.org>
4057
4058 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4059
4060 2012-02-20 Leo Liu <sdl.web@gmail.com>
4061
4062 * icomplete.el (icomplete-completions): Check FROM arg before
4063 passing to substring (Bug#10850).
4064
4065 2012-02-19 Chong Yidong <cyd@gnu.org>
4066
4067 * comint.el: Require ansi-color.
4068 (comint-output-filter-functions): Add ansi-color-process-output.
4069
4070 * ansi-color.el: Don't set comint-output-filter-functions; it is
4071 now in the initial value defined in comint.el.
4072 (ansi-color-apply-face-function): New variable.
4073 (ansi-color-apply-on-region): Use it.
4074 (ansi-color-apply-overlay-face): New function.
4075
4076 * shell.el (shell): No need to require ansi-color.
4077 (shell-mode): Use ansi-color-apply-face-function to highlight
4078 color escapes using font-lock-face property (Bug#10835).
4079
4080 2012-02-19 Chong Yidong <cyd@gnu.org>
4081
4082 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4083 mode-line formats (Bug#10839).
4084
4085 2012-02-18 Glenn Morris <rgm@gnu.org>
4086
4087 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4088
4089 * mail/undigest.el (unforward-rmail-message): Doc fix.
4090
4091 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4092
4093 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4094
4095 * international/characters.el (script-list): Sync with the latest
4096 Unicode Character Database.
4097
4098 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4099
4100 * international/titdic-cnv.el: Remove duplicate coding tag.
4101 * language/cham.el: Likewise.
4102 * language/tai-viet.el: Likewise.
4103
4104 2012-02-18 Glenn Morris <rgm@gnu.org>
4105
4106 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4107 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4108 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4109 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4110 * calendar/holidays.el (holiday-bahai-holidays)
4111 (calendar-holidays, list-holidays):
4112 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
4113
4114 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4115
4116 * saveplace.el (save-place-ignore-files-regexp): New variable
4117 allowing for excluding files from saving their location of point.
4118 The default value matches the temporary commit message editing
4119 files from Git, SVN, Bazaar, and Mercurial.
4120 (save-place-to-alist): Use it.
4121
4122 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4123 Stefan Monnier <monnier@iro.umontreal.ca>
4124
4125 * newcomment.el (uncomment-region-default): Don't leave extra space
4126 when an arg is provided (bug#8150).
4127
4128 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4129
4130 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4131
4132 2012-02-17 Glenn Morris <rgm@gnu.org>
4133
4134 * net/socks.el: Require network-stream. (Bug#10599)
4135
4136 2012-02-17 Kenichi Handa <handa@m17n.org>
4137
4138 * international/charprop.el:
4139 * international/uni-name.el:
4140 * international/uni-old-name.el:
4141 * international/uni-comment.el: Regenerate.
4142
4143 2012-02-16 Glenn Morris <rgm@gnu.org>
4144
4145 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4146 Interactively in calendar buffer, give an error if not on a date.
4147
4148 2012-02-15 Glenn Morris <rgm@gnu.org>
4149
4150 * shell.el (shell-delimiter-argument-list):
4151 Revert 2011-02-17 change. (Bug#8027)
4152
4153 2012-02-15 Chong Yidong <cyd@gnu.org>
4154
4155 * minibuffer.el (completion-at-point-functions): Doc fix.
4156
4157 * custom.el (defcustom): Doc fix; note use of defvar.
4158
4159 2012-02-15 Glenn Morris <rgm@gnu.org>
4160
4161 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4162 Doc fixes.
4163
4164 2012-02-14 Glenn Morris <rgm@gnu.org>
4165
4166 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4167
4168 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4169
4170 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4171 way the ports list is computed.
4172 (smtpmail-query-smtp-server): Prompt the user for a port number if
4173 we can't connect to any of the standard ports (bug#10810).
4174
4175 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4176
4177 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4178
4179 2012-02-13 Glenn Morris <rgm@gnu.org>
4180
4181 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4182
4183 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4184
4185 * net/gnutls.el (gnutls-trustfiles): New variable.
4186 (gnutls-negotiate): Use it.
4187
4188 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4189
4190 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4191 does its stuff if Gnus is running.
4192
4193 2012-02-13 Alan Mackenzie <acm@muc.de>
4194
4195 Fix a loop in c-set-fl-decl-start.
4196
4197 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4198 c-backward-syntactic-ws actually moves backwards.
4199
4200 2012-02-13 Leo Liu <sdl.web@gmail.com>
4201
4202 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4203 beginning so that all \C-o chars are removed.
4204
4205 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4206
4207 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4208
4209 2012-02-12 Alan Mackenzie <acm@muc.de>
4210
4211 Fix infinite loop with long macros.
4212 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4213
4214 2012-02-12 Chong Yidong <cyd@gnu.org>
4215
4216 * window.el (display-buffer): Doc fix (Bug#10785).
4217
4218 2012-02-12 Glenn Morris <rgm@gnu.org>
4219
4220 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4221 (x-disown-selection-internal, x-get-selection-internal):
4222 Sync docs with the xselect.c versions.
4223
4224 * allout-widgets.el: Add missing license notice.
4225
4226 2012-02-11 Glenn Morris <rgm@gnu.org>
4227
4228 * select.el (x-get-selection-internal, x-own-selection-internal)
4229 (x-disown-selection-internal):
4230 * x-dnd.el (x-get-selection-internal): Update declarations.
4231
4232 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4233
4234 * window.el (window-sides-slots):
4235 * tool-bar.el (tool-bar-position):
4236 * term/xterm.el (xterm-extra-capabilities):
4237 * ses.el (ses-self-reference-early-detection):
4238 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4239 (verilog-auto-wire-type)
4240 (verilog-auto-delete-trailing-whitespace)
4241 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4242 (verilog-auto-tieoff-declaration):
4243 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4244 (sql-oracle-statement-starters, sql-oracle-scan-on):
4245 * progmodes/prolog.el (prolog-align-comments-flag)
4246 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4247 (prolog-left-indent-regexp, prolog-paren-indent-p)
4248 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4249 (prolog-types, prolog-mode-specificators)
4250 (prolog-determinism-specificators, prolog-directives)
4251 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4252 (prolog-electric-dot-flag)
4253 (prolog-electric-dot-full-predicate-template)
4254 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4255 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4256 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4257 (prolog-program-switches, prolog-prompt-regexp)
4258 (prolog-debug-on-string, prolog-debug-off-string)
4259 (prolog-trace-on-string, prolog-trace-off-string)
4260 (prolog-zip-on-string, prolog-zip-off-string)
4261 (prolog-use-standard-consult-compile-method-flag)
4262 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4263 (prolog-imenu-max-lines, prolog-info-predicate-index)
4264 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4265 (prolog-char-quote-workaround):
4266 * progmodes/cc-vars.el (c-defun-tactic):
4267 * net/tramp.el (tramp-encoding-command-interactive)
4268 (tramp-local-end-of-line):
4269 * net/soap-client.el (soap-client):
4270 * net/netrc.el (netrc-file):
4271 * net/gnutls.el (gnutls):
4272 * minibuffer.el (completion-category-overrides)
4273 (completion-cycle-threshold)
4274 (completion-pcm-complete-word-inserts-delimiters):
4275 * man.el (Man-name-local-regexp):
4276 * mail/feedmail.el (feedmail-display-full-frame):
4277 * international/characters.el (glyphless-char-display-control):
4278 * eshell/em-ls.el (eshell-ls-date-format):
4279 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4280 (lisp-lambda-list-keyword-parameter-indentation)
4281 (lisp-lambda-list-keyword-parameter-alignment):
4282 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4283 * dired-x.el (dired-omit-verbose):
4284 * cus-theme.el (custom-theme-allow-multiple-selections):
4285 * calc/calc.el (calc-highlight-selections-with-faces)
4286 (calc-lu-field-reference, calc-lu-power-reference)
4287 (calc-note-threshold):
4288 * battery.el (battery-mode-line-limit):
4289 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4290 (archive-7z-update):
4291 * allout.el (allout-prefixed-keybindings)
4292 (allout-unprefixed-keybindings)
4293 (allout-inhibit-auto-fill-on-headline)
4294 (allout-flattened-numbering-abbreviation):
4295 * allout-widgets.el (allout-widgets-auto-activation)
4296 (allout-widgets-icons-dark-subdir)
4297 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4298 (allout-widgets-theme-dark-background)
4299 (allout-widgets-theme-light-background)
4300 (allout-widgets-item-image-properties-emacs)
4301 (allout-widgets-item-image-properties-xemacs)
4302 (allout-widgets-run-unit-tests-on-load)
4303 (allout-widgets-time-decoration-activity)
4304 (allout-widgets-hook-error-post-time)
4305 (allout-widgets-track-decoration):
4306 Add missing :version tags to new defcustoms and defgroups.
4307
4308 * progmodes/sql.el (sql-ansi-statement-starters)
4309 (sql-oracle-statement-starters): Add custom type.
4310
4311 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4312 (prolog-system-version): Give it a type.
4313
4314 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4315
4316 * term/pc-win.el (x-select-text, x-selection-owner-p)
4317 (x-own-selection-internal, x-disown-selection-internal)
4318 (x-get-selection-internal): Sync doc strings and argument lists
4319 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4320
4321 2012-02-11 Leo Liu <sdl.web@gmail.com>
4322
4323 * progmodes/python.el (python-end-of-statement): Fix infinite
4324 loop. (Bug#10788)
4325
4326 2012-02-10 Glenn Morris <rgm@gnu.org>
4327
4328 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4329 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4330
4331 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4332
4333 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4334 about SMTP before checking the From header.
4335
4336 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4337 into own function for reuse by emacsbug.el.
4338
4339 2012-02-10 Leo Liu <sdl.web@gmail.com>
4340
4341 * subr.el (condition-case-unless-debug): Rename from
4342 condition-case-no-debug. All callers changed.
4343 (with-demoted-errors): Fix caller.
4344
4345 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4346 * nxml/rng-valid.el (rng-do-some-validation):
4347 * emacs-lisp/package.el (package-refresh-contents)
4348 (package-menu-execute):
4349 * desktop.el (desktop-create-buffer):
4350 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4351
4352 2012-02-10 Glenn Morris <rgm@gnu.org>
4353
4354 * textmodes/bibtex.el:
4355 Add missing :version tags for new/changed defcustoms.
4356
4357 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4358
4359 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4360
4361 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4362 (smtpmail-via-smtp): Use it, or fall back on the From address.
4363 (smtpmail-send-it): Ditto.
4364
4365 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4368 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4369 (byte-compile-tmp-var): New const.
4370 (byte-compile-defvar): Use it to minimize .elc size.
4371 Just use `defvar' rather than simulate it (bug#10761).
4372
4373 2012-02-09 Glenn Morris <rgm@gnu.org>
4374
4375 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4376
4377 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4378 Add :version tags.
4379
4380 * progmodes/compile.el (compilation-error-screen-columns)
4381 (compilation-first-column, compilation-filter-start): Doc fixes.
4382
4383 * vc/log-view.el (log-view-toggle-entry-display):
4384 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4385
4386 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4387 (report-emacs-bug-can-use-xdg-email):
4388 (report-emacs-bug-insert-to-mailer): Doc fixes.
4389 (report-emacs-bug): Message fix.
4390
4391 * net/browse-url.el (browse-url-can-use-xdg-open)
4392 (browse-url-xdg-open): Doc fixes.
4393
4394 * electric.el (electric-indent-mode, electric-pair-mode)
4395 (electric-layout-rules, electric-layout-mode): Doc fixes.
4396 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4397
4398 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4399
4400 * server.el (server-unselect-display): Don't inadvertently kill
4401 the current buffer. (Bug#10729)
4402
4403 2012-02-08 Glenn Morris <rgm@gnu.org>
4404
4405 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4406 (sql-list-table): Doc fixes.
4407
4408 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4409 Comment out (does nothing).
4410
4411 * completion.el (dynamic-completion-mode):
4412 * dirtrack.el (dirtrack-debug-mode):
4413 * electric.el (electric-layout-mode):
4414 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4415 * face-remap.el (text-scale-mode, buffer-face-mode):
4416 * iimage.el (iimage-mode):
4417 * image-mode.el (image-transform-mode):
4418 * minibuffer.el (completion-in-region-mode):
4419 * scroll-lock.el (scroll-lock-mode):
4420 * simple.el (next-error-follow-minor-mode):
4421 * tar-mode.el (tar-subfile-mode):
4422 * tooltip.el (tooltip-mode):
4423 * vcursor.el (vcursor-use-vcursor-map):
4424 * wid-browse.el (widget-minor-mode):
4425 * emulation/tpu-edt.el (tpu-edt-mode):
4426 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4427 * international/iso-ascii.el (iso-ascii-mode):
4428 * language/thai-util.el (thai-word-mode):
4429 * mail/supercite.el (sc-minor-mode):
4430 * net/goto-addr.el (goto-address-mode):
4431 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4432 * progmodes/cwarn.el (cwarn-mode):
4433 * progmodes/flymake.el (flymake-mode):
4434 * progmodes/glasses.el (glasses-mode):
4435 * progmodes/hideshow.el (hs-minor-mode):
4436 * progmodes/pascal.el (pascal-outline-mode):
4437 * textmodes/enriched.el (enriched-mode):
4438 * vc/smerge-mode.el (smerge-mode):
4439 Doc fixes (minor mode argument).
4440
4441 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4442
4443 * ls-lisp.el (ls-lisp-sanitize): New function.
4444 (ls-lisp-insert-directory): Use it to fix or remove any elements
4445 in file-alist with missing attributes. (Bug#4673)
4446
4447 2012-02-07 Alan Mackenzie <acm@muc.de>
4448
4449 Fix spurious recognition of c-in-knr-argdecl.
4450
4451 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4452 putative K&R region.
4453
4454 2012-02-07 Alan Mackenzie <acm@muc.de>
4455
4456 * progmodes/cc-engine.el (c-forward-objc-directive):
4457 Prevent looping in "#pragma mark @implementation".
4458
4459 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4460
4461 * notifications.el (notifications-on-closed-signal): Make `reason'
4462 optional. (Bug#10744)
4463
4464 2012-02-07 Glenn Morris <rgm@gnu.org>
4465
4466 * emacs-lisp/easy-mmode.el (define-minor-mode):
4467 Doc fixes for the macro and the mode it defines.
4468
4469 * image.el (imagemagick-types-inhibit): Doc fix.
4470
4471 * cus-start.el (imagemagick-render-type): Add it.
4472
4473 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4474
4475 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4476 Set the default at load time, too, so that `font-lock-fontify-buffer'
4477 can be called without setting up the entire mode first. This fixes
4478 a bug in `mm-inline-text' with C MIME parts.
4479
4480 2012-02-06 Chong Yidong <cyd@gnu.org>
4481
4482 * simple.el (list-processes--refresh): Delete exited processes
4483 (Bug#8094).
4484
4485 * comint.el (comint-next-prompt): next-single-char-property-change
4486 and prev-single-char-property-change never return nil (Bug#8657).
4487
4488 * custom.el (defcustom): Doc fix (Bug#9711).
4489
4490 2012-02-05 Chong Yidong <cyd@gnu.org>
4491
4492 * cus-edit.el (custom-variable-reset-backup): Quote the value
4493 before storing it in the customized-value property (Bug#6712).
4494 (custom-display): Add a customization type tag.
4495 (custom-buffer-create-internal): Improve tooltip message.
4496
4497 * wid-edit.el (widget-field-value-get): New optional arg to
4498 suppress trailing whitespace truncation.
4499 (character): Use it (Bug#2689).
4500
4501 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4502
4503 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4504 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4505
4506 2012-02-05 Chong Yidong <cyd@gnu.org>
4507
4508 * cus-edit.el (custom-variable-value-create): For mismatched
4509 types, show the current value (Bug#7600).
4510
4511 * custom.el (defcustom): Doc fix.
4512
4513 2012-02-05 Glenn Morris <rgm@gnu.org>
4514
4515 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4516
4517 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4518
4519 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4520 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4521 (pp-last-sexp): Use `looking-at-p'.
4522
4523 2012-02-04 Glenn Morris <rgm@gnu.org>
4524
4525 * files.el (revert-buffer):
4526 Doc fix (mention revert-buffer-in-progress-p).
4527
4528 * emacs-lisp/ert-x.el (ert-simulate-command):
4529 Check deferred-action-list (which is obsolete) is bound.
4530
4531 * subr.el (with-wrapper-hook): Doc fixes.
4532
4533 * simple.el (filter-buffer-substring-functions)
4534 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4535
4536 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4537
4538 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4539 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4540
4541 2012-02-04 Leo Liu <sdl.web@gmail.com>
4542
4543 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4544
4545 2012-02-04 Glenn Morris <rgm@gnu.org>
4546
4547 * image.el (image-extension-data): Add obsolete alias.
4548
4549 * isearch.el (isearch-update): Doc fix.
4550
4551 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4552
4553 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4554
4555 2012-02-03 Glenn Morris <rgm@gnu.org>
4556
4557 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4558 (image-animate-timeout): Doc fix.
4559
4560 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4561
4562 2012-02-02 Glenn Morris <rgm@gnu.org>
4563
4564 * server.el (server-auth-dir): Doc fix.
4565 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4566
4567 * subr.el (run-mode-hooks): Doc fix.
4568
4569 2012-02-02 Juri Linkov <juri@jurta.org>
4570
4571 * image-mode.el (image-toggle-display-image): Remove tautological
4572 `major-mode' from the `derived-mode-p' test.
4573
4574 2012-02-02 Kenichi Handa <handa@m17n.org>
4575
4576 * composite.el (compose-region): Cancel previous change.
4577
4578 2012-02-02 Kenichi Handa <handa@m17n.org>
4579
4580 * composite.el (compose-region, compose-string): Signal error for
4581 a null string component (Bug#6988).
4582
4583 2012-02-01 Chong Yidong <cyd@gnu.org>
4584
4585 * view.el (view-buffer-other-window, view-buffer-other-frame):
4586 Handle special modes like view-buffer (Bug#10650).
4587 (view-buffer): Simplify.
4588
4589 * frame.el (set-frame-font): Tweak meaning of third argument.
4590
4591 * dynamic-setting.el (font-setting-change-default-font):
4592 Use set-frame-font (Bug#9982).
4593
4594 2012-02-01 Glenn Morris <rgm@gnu.org>
4595
4596 * progmodes/compile.el (compilation-internal-error-properties):
4597 Respect compilation-first-column in the "*compilation*" buffer.
4598
4599 * emacs-lisp/easy-mmode.el (define-minor-mode):
4600 Relax :variable's test for a named function.
4601
4602 2012-01-31 Alan Mackenzie <acm@muc.de>
4603
4604 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4605 off by one error.
4606
4607 2012-01-31 Chong Yidong <cyd@gnu.org>
4608
4609 * frame.el (set-frame-font): New arg ALL-FRAMES.
4610
4611 * menu-bar.el (menu-set-font): Use set-frame-font.
4612
4613 * faces.el (face-spec-reset-face): Don't apply unspecified
4614 attribute values to the default face.
4615
4616 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4617
4618 * progmodes/cwarn.el (cwarn): Remove dead link.
4619 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4620 Remove * from defcustom docstrings.
4621 (turn-on-cwarn-mode): Make obsolete.
4622 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4623 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4624
4625 2012-01-31 Glenn Morris <rgm@gnu.org>
4626
4627 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4628 Fix :variable handling of mode a symbol not equal to modefun.
4629 Allow named functions to be used as the cdr of :variable.
4630
4631 2012-01-30 Glenn Morris <rgm@gnu.org>
4632
4633 * emacs-lisp/authors.el (authors-fixed-entries):
4634 Remove reference to deleted file rnewspost.el.
4635
4636 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4637
4638 * window.el (window-with-parameter): Remove unused variable `windows'.
4639 (window--side-check): Remove unused variable `code'.
4640 (window--resize-siblings): Remove unused variable `first'.
4641 (adjust-window-trailing-edge): Remove unused variable `failed'.
4642 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4643 Use `let', not `let*'.
4644 (balance-windows-2): Remove unused variable `found'.
4645 (window--state-put-2): Remove unused variable `splits'.
4646 (window-state-put): Remove unused variable `selected'.
4647 (same-window-p): Use `string-match-p'.
4648 (display-buffer-assq-regexp): Remove unused variable `value'.
4649 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4650 Mark argument ALIST as ignored.
4651 (pop-to-buffer): Remove unused variable `old-window'.
4652
4653 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4654
4655 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4656 and .lzma compressed files.
4657
4658 2012-01-29 Chong Yidong <cyd@gnu.org>
4659
4660 * frame.el (window-system-default-frame-alist): Doc fix.
4661
4662 * dynamic-setting.el (font-setting-change-default-font): Don't
4663 change the default face if SET-FONT argument is non-nil (Bug#9982).
4664
4665 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4666
4667 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4668
4669 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4670
4671 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4672 breakpoints in files outside current directory (Bug#6098).
4673
4674 2012-01-29 Chong Yidong <cyd@gnu.org>
4675
4676 * progmodes/python.el: Require ansi-color at top-level.
4677
4678 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4679 Define and use in Emacs Lisp mode (Bug#9360).
4680 (lisp-mode-abbrev-table): Add doc.
4681 (lisp-mode-variables): Don't set local-abbrev-table.
4682 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4683
4684 2012-01-28 Roland Winkler <winkler@gnu.org>
4685
4686 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4687
4688 2012-01-28 Roland Winkler <winkler@gnu.org>
4689
4690 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4691 (bibtex-set-dialect): Use it. Either set global values of
4692 dialect-dependent variables or bind these variables buffer-locally
4693 (Bug#10254).
4694 (bibtex-mode): Call bibtex-set-dialect via
4695 hack-local-variables-hook.
4696 (bibtex-dialect): Update docstring.
4697 Add safe-local-variable predicate.
4698 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4699 bibtex-set-dialect.
4700 (bibtex-mode-map): Define menu for each dialect.
4701 (bibtex-entry): Fix docstring.
4702
4703 2012-01-28 Chong Yidong <cyd@gnu.org>
4704
4705 * eshell/esh-arg.el (eshell-quote-argument): New function.
4706
4707 * eshell/esh-ext.el (eshell-invoke-batch-file):
4708 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4709 first arg to eshell-parse-command (Bug#10523).
4710
4711 2012-01-28 Drew Adams <drew.adams@oracle.com>
4712
4713 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4714 `default-directory' is non-nil.
4715
4716 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4717
4718 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4719 line that displays system-configuration-options. (Bug#9924)
4720
4721 2012-01-28 Drew Adams <drew.adams@oracle.com>
4722
4723 * descr-text.el (describe-char): Show information about POS, in
4724 addition to information about the character at POS. Improve and
4725 update the doc string. Change "code point" to "code point in
4726 charset", to avoid confusion with the character's Unicode code
4727 point shown above that. (Bug#10129)
4728
4729 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4730
4731 * descr-text.el (describe-char): Show the raw character, not only
4732 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4733 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4734 for the reasons.
4735
4736 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4737
4738 * emacs-lisp/package.el (package-install):
4739 Run package-refresh-contents if there is no archive yet (Bug#9798).
4740
4741 2012-01-28 Chong Yidong <cyd@gnu.org>
4742
4743 * emacs-lisp/package.el (package-maybe-load-descriptor):
4744 New function, split from package-maybe-load-descriptor.
4745 (package-maybe-load-descriptor): Use it.
4746 (package-download-transaction): Fully load required packages
4747 inside the loop, so that `require' calls work (Bug#10593).
4748 (package-install): No need to call package-initialize now.
4749
4750 2012-01-28 Chong Yidong <cyd@gnu.org>
4751
4752 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4753
4754 * tooltip.el (tooltip-mode): Doc fix.
4755 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4756
4757 * frame.el (set-cursor-color): Doc fix (Bug#352).
4758
4759 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4760 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4761
4762 * cus-edit.el (custom-buffer-create-internal): Fix search button
4763 action (Bug#10542).
4764 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4765
4766 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4767
4768 * dired.el (dired-mark-files-regexp):
4769 Include any subdirectory components. (Bug#10445)
4770
4771 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4772
4773 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4774 Handle [host]:port syntax. (Bug#10533)
4775
4776 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4777
4778 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4779
4780 2012-01-26 Glenn Morris <rgm@gnu.org>
4781
4782 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4783 * term.el (term-raw-escape-map): Use Control-X-prefix.
4784 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4785
4786 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4787
4788 * window.el (window-state-get, window--state-get-1): Don't deal
4789 with fixed-sizeness of windows. Simplify code.
4790
4791 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4792
4793 * window.el (window--state-get-1, window--state-put-2):
4794 Don't save and restore the mark.
4795
4796 2012-01-25 Chong Yidong <cyd@gnu.org>
4797
4798 * custom.el (custom-variable-p): Doc fix.
4799
4800 2012-01-25 Glenn Morris <rgm@gnu.org>
4801
4802 * dired.el (dired-goto-file): Handle some of the more common
4803 characters that `ls -b' escapes. (Bug#10596)
4804
4805 * progmodes/compile.el (compilation-next-error-function):
4806 Respect compilation-first-column in the "*compilation*" buffer.
4807 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4808
4809 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4810
4811 2012-01-24 Glenn Morris <rgm@gnu.org>
4812
4813 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4814
4815 2012-01-24 Julien Danjou <julien@danjou.info>
4816
4817 * color.el (color-rgb-to-hsl): Fix value computing.
4818 (color-hue-to-rgb): New function.
4819 (color-hsl-to-rgb): New function.
4820 (color-clamp, color-saturate-hsl, color-saturate-name)
4821 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4822 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4823
4824 2012-01-24 Glenn Morris <rgm@gnu.org>
4825
4826 * vc/vc-rcs.el (vc-rcs-create-tag):
4827 * vc/vc-sccs.el (vc-sccs-create-tag):
4828 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4829
4830 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4831
4832 * eshell/esh-util.el (eshell-read-hosts-file):
4833 Skip comment lines. (Bug#10549)
4834
4835 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4836
4837 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4838
4839 * subr.el (display-delayed-warnings): Doc fix.
4840 (collapse-delayed-warnings): New function to collapse identical
4841 adjacent warnings.
4842 (delayed-warnings-hook): Add it.
4843
4844 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4845
4846 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4847
4848 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4849 properties, when "login-as" is set.
4850
4851 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4852 (tramp-default-user-alist): Don't add "pscp".
4853 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4854 property "login-as", if set. (Bug#10530)
4855
4856 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4857
4858 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4859 "plink1" and "psftp". (Bug#10530)
4860
4861 2012-01-21 Kenichi Handa <handa@m17n.org>
4862
4863 * international/mule-cmds.el (prefer-coding-system): Show a
4864 warning message if the default value of file-name-coding-system
4865 was not changed.
4866
4867 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4868
4869 * windmove.el (windmove-reference-loc):
4870 Fix windmove-reference-loc miscalculation.
4871
4872 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4873
4874 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4875 default unit.
4876
4877 2012-01-21 Glenn Morris <rgm@gnu.org>
4878
4879 * international/mule.el (auto-coding-alist): Add .tbz.
4880
4881 * files.el (local-enable-local-variables): Doc fix.
4882 (inhibit-local-variables-regexps): Rename from
4883 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4884 Doc fix. Add some extensions from auto-coding-alist.
4885 (inhibit-local-variables-suffixes):
4886 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4887 (inhibit-local-variables-p):
4888 New function, extracted from set-auto-mode-1.
4889 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4890 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4891 (hack-local-variables): Doc fix. Make the mode-only case
4892 respect enable-local-variables and friends.
4893 Respect inhibit-local-variables-regexps for file-locals, but
4894 not for directory-locals.
4895 (set-visited-file-name):
4896 Take account of inhibit-local-variables-regexps.
4897 Whether it applies may change as the file name is changed.
4898 * jka-cmpr-hook.el (jka-compr-install):
4899 * jka-compr.el (jka-compr-uninstall):
4900 Update for inhibit-first-line-modes-suffixes name change.
4901
4902 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4903
4904 * help-macro.el (make-help-screen): Temporarily restore original
4905 binding for minor-mode-map-alist (Bug#10454).
4906
4907 2012-01-19 Julien Danjou <julien@danjou.info>
4908
4909 * color.el (color-name-to-rgb): Use the white color to find the max
4910 color component value and return correctly computed values.
4911 (color-name-to-rgb): Add missing float conversion for max value.
4912
4913 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4914
4915 * window.el (window--state-get-1, window-state-get): Do not use
4916 special state value for window-persistent-parameters.
4917 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4918 (window--state-put-2): Reset all window parameters to nil before
4919 assigning values of persistent parameters.
4920
4921 2012-01-18 Alan Mackenzie <acm@muc.de>
4922
4923 Eliminate sluggishness and hangs in fontification of "semicolon
4924 deserts".
4925
4926 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4927 Change value 10000 -> 3000.
4928 (c-state-safe-place): Reformulate so it doesn't stack up an
4929 infinite number of wrong entries in c-state-nonlit-pos-cache.
4930 (c-determine-limit-get-base, c-determine-limit): New functions to
4931 determine backward search limits disregarding literals.
4932 (c-find-decl-spots): Amend commenting.
4933 (c-cheap-inside-bracelist-p): New function which detects "={".
4934
4935 * progmodes/cc-fonts.el
4936 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4937 backward search.
4938 (c-font-lock-declarations): Fix an occurrence of point being
4939 undefined. Check additionally for point being in a bracelist or
4940 near a macro invocation without a semicolon so as to avoid a
4941 fruitless time consuming search for a declarator. Give a more
4942 precise search limit for declarators using the new
4943 c-determine-limit.
4944
4945 2012-01-18 Glenn Morris <rgm@gnu.org>
4946
4947 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4948 (set-auto-mode): Doc fixes.
4949
4950 2012-01-17 Glenn Morris <rgm@gnu.org>
4951
4952 * isearch.el (search-nonincremental-instead): Fix doc typo.
4953
4954 * dired.el (dired-insert-directory): Handle newlines in directory name.
4955 (dired-build-subdir-alist): Unescape newlines in directory name.
4956
4957 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4958
4959 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4960 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4961 (tramp-action-terminal): Use it. (Bug#10530)
4962
4963 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4966
4967 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4968
4969 * window.el (window-state-ignored-parameters): Remove variable.
4970 (window--state-get-1): Rename argument MARKERS to IGNORE.
4971 Handle persistent window parameters. Make copy of clone-of
4972 parameter only if requested. (Bug#10348)
4973 (window--state-put-2): Install a window parameter only if it has
4974 a non-nil value or an existing parameter shall be overwritten.
4975
4976 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4977
4978 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4979
4980 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4981
4982 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4983 don't pass the (nil) value of `upnode' to string-match.
4984
4985 2012-01-14 Chong Yidong <cyd@gnu.org>
4986
4987 * startup.el (command-line): Fix X resource class for cursorColor.
4988 Fix values recognized by the cursorBlink resource.
4989
4990 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4991
4992 * epg.el (epg--make-temp-file): Avoid permission race condition
4993 when running on old Emacs versions (bug#10403).
4994
4995 2012-01-14 Glenn Morris <rgm@gnu.org>
4996
4997 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4998
4999 2012-01-13 Alan Mackenzie <acm@muc.de>
5000
5001 Fix filling for when filladapt mode is enabled.
5002
5003 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5004 c-mask-paragraph, pass in `fill-paragraph' rather than
5005 `fill-region-as-paragraph'. (This is a reversion of a previous
5006 change.)
5007 * progmodes/cc-mode.el (c-basic-common-init):
5008 Make fill-paragraph-handle-comment buffer local and set it to nil.
5009
5010 2012-01-13 Glenn Morris <rgm@gnu.org>
5011
5012 * dired.el (dired-switches-escape-p): New function.
5013 (dired-insert-directory): Use dired-switches-escape-p.
5014 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5015
5016 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5017
5018 2012-01-12 Glenn Morris <rgm@gnu.org>
5019
5020 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5021 changes in adaptive-fill-regexp. (Bug#10276)
5022
5023 2012-01-11 Alan Mackenzie <acm@muc.de>
5024
5025 Fix Emacs bug #10463 - put `widen's around the critical spots.
5026
5027 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5028 widen around each invocation of c-state-pp-to-literal. Remove an
5029 unused let variable.
5030
5031 2012-01-11 Glenn Morris <rgm@gnu.org>
5032
5033 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5034 Doc fix.
5035
5036 2012-01-10 Chong Yidong <cyd@gnu.org>
5037
5038 * net/network-stream.el (network-stream-open-starttls):
5039 Avoid emitting a confusing error message when the server gives a bad
5040 response to the capability command.
5041
5042 2012-01-10 Glenn Morris <rgm@gnu.org>
5043
5044 * mail/unrmail.el (unrmail): Tweak previous change.
5045
5046 2012-01-09 Chong Yidong <cyd@gnu.org>
5047
5048 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5049
5050 2012-01-08 Alan Mackenzie <acm@muc.de>
5051
5052 Optimise font locking in long enum definitions.
5053
5054 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5055 arm to a cond form to handle enums.
5056 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5057 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5058
5059 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5060
5061 * files.el (move-file-to-trash): Preserve default file modes on error.
5062 (Bug#10401)
5063
5064 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5065
5066 * faces.el (set-face-attribute): Clarify the meaning of the nil
5067 frame (bug#10294).
5068
5069 * subr.el (with-selected-frame): Mention that the selected frame
5070 is restored (bug#9980).
5071
5072 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5073 (bug#9759).
5074
5075 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5076 (password-read): Don't autoload unused function.
5077
5078 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5079
5080 * progmodes/which-func.el (which-func-mode): Turn into a
5081 non-interactive function and mark as obsolete (bug#10428).
5082
5083 2012-01-06 Chong Yidong <cyd@gnu.org>
5084
5085 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5086 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5087 functions, along with 1 and -1.
5088
5089 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5090
5091 * time.el (display-time-load-average)
5092 (display-time-default-load-average): Doc fixes. See the thread
5093 starting at
5094 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5095 for the details.
5096
5097 2012-01-06 Glenn Morris <rgm@gnu.org>
5098
5099 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5100 has no messages. (Bug#10377)
5101
5102 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5103 than Info-edit. (Bug#10385)
5104
5105 * time.el (display-time-load-average, display-time-next-load-average):
5106 Doc fixes.
5107
5108 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5109 local setting of buffer-read-only to the input buffer. (Bug#10419)
5110
5111 * calendar/calendar.el (calendar-mode):
5112 Locally set scroll-margin to 0. (Bug#10379)
5113
5114 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5115
5116 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5117
5118 2012-01-05 Glenn Morris <rgm@gnu.org>
5119
5120 * eshell/em-unix.el (diff-no-select): Autoload it.
5121 (eshell/diff): Use diff-no-select. (Bug#10420)
5122
5123 2012-01-05 Chong Yidong <cyd@gnu.org>
5124
5125 * shell.el (shell-dynamic-complete-functions): Revert last change.
5126 (shell-command-completion-function): New function.
5127 (shell-completion-vars): Use it to implement
5128 shell-completion-execonly (Bug#10417).
5129
5130 * custom.el (enable-theme): Don't set custom-safe-themes.
5131
5132 * cus-theme.el (custom-theme-merge-theme):
5133 Ignore custom-enabled-themes and custom-safe-themes.
5134
5135 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5136
5137 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5138 first prompt in `sql-interacive-mode'.
5139 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5140 keywords.
5141 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5142 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5143 context of original buffer. Invoke `sql-login-hook'.
5144
5145 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5146
5147 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5148 letters in cite-prefix.
5149
5150 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5151
5152 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5153
5154 2012-01-03 Chong Yidong <cyd@gnu.org>
5155
5156 * shell.el (shell-dynamic-complete-functions):
5157 Put pcomplete-completions-at-point, so as to try
5158 comint-filename-completion first (Bug#10417).
5159
5160 2012-01-02 Richard Stallman <rms@gnu.org>
5161
5162 * battery.el (battery-status-function):
5163 Detect when to use battery-yeeloong-sysfs.
5164 (battery-echo-area-format): Add string for Yeeloong.
5165 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5166 (battery-yeeloong-sysfs): New function.
5167
5168 2012-01-02 Chong Yidong <cyd@gnu.org>
5169
5170 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5171 (dirtrack): Merge code for handling relative filenames in prompt
5172 from shell-dir-cookie-watcher.
5173 (dirtrack-debug-message): New arg to avoid excess format calls.
5174
5175 * shell.el (shell-dir-cookie-re): Variable deleted.
5176 (shell-dir-cookie-watcher): Function deleted.
5177 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5178 with dirtrack-mode.
5179
5180 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5181
5182 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5183 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5184 libgnutls-26.dll.
5185
5186 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5187
5188 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5189
5190 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5191
5192 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5193 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5194
5195 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5196
5197 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5198 also for alternative shells.
5199 (tramp-open-connection-setup-interactive-shell): Check, whether
5200 the shell is a busybox.
5201 (tramp-send-command): Don't suppress multiple prompts for
5202 busyboxes, it hurts.
5203
5204 2011-12-28 Chong Yidong <cyd@gnu.org>
5205
5206 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5207 (gdb-get-source-file): Move mode line update to
5208 gdb-get-source-file (Bug#10087).
5209
5210 2011-12-25 Chong Yidong <cyd@gnu.org>
5211
5212 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5213 gud-gdb-marker-filter without taking it as an argument.
5214 (gud-gdb-run-command-fetch-lines): Caller changed.
5215 (gud-gdb-completion-function): New variable.
5216 (gud-gdb-completion-at-point): Use it.
5217 (gud-gdb-completions-1): Split from gud-gdb-completions.
5218
5219 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5220 function as separate arguments.
5221 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5222 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5223 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5224 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5225 (gdb-stopped, def-gdb-auto-update-trigger)
5226 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5227 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5228 Callers changed.
5229 (gud-gdbmi-completions): New function.
5230 (gdb): Use it for generating the completion table.
5231
5232 2011-12-24 Alan Mackenzie <acm@muc.de>
5233
5234 Introduce a mechanism to widen the region used in context font
5235 locking. Use this to protect declarations from losing their contexts.
5236
5237 * progmodes/cc-langs.el (c-before-font-lock-functions):
5238 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5239 (c-before-context-fontification-functions): New defvar, a list of
5240 functions to be run just before context (etc.) font locking.
5241
5242 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5243 New, functionality extracted from
5244 c-neutralize-syntax-in-and-mark-CPP.
5245 (c-in-after-change-fontification): New variable.
5246 (c-after-change): Set c-in-after-change-fontification.
5247 (c-set-fl-decl-start): Rejig its interface, so it can be called
5248 from both after-change and context fontifying.
5249 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5250 New functions.
5251 (c-standard-font-lock-fontify-region-function): New variable.
5252 (c-font-lock-fontify-region): New function.
5253
5254 2011-12-24 Juri Linkov <juri@jurta.org>
5255
5256 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5257 (Bug#10348)
5258
5259 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5260
5261 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5262 existence of source file. (Bug#10325)
5263
5264 2011-12-23 Alan Mackenzie <acm@muc.de>
5265
5266 Fix unstable fontification inside templates.
5267
5268 * progmodes/cc-langs.el (c-before-font-lock-functions):
5269 Newly created from the singular version. The (c c++ objc) entry now
5270 additionally has c-set-fl-decl-start. The other languages (apart
5271 from AWK) have that as a single entry.
5272
5273 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5274 The functionality for "local" declarations has been extracted to
5275 c-set-fl-decl-start.
5276
5277 * progmodes/cc-mode.el (c-common-init, c-after-change):
5278 Changes due to pluralisation of c-before-font-lock-functions.
5279 (c-set-fl-decl-start): New function, extracted from
5280 c-font-lock-enclosing-decls and enhanced.
5281
5282 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5283
5284 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5285
5286 2011-12-22 Juri Linkov <juri@jurta.org>
5287
5288 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5289
5290 2011-12-22 Chong Yidong <cyd@gnu.org>
5291
5292 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5293
5294 2011-12-21 Drew Adams <drew.adams@oracle.com>
5295
5296 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5297
5298 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5299
5300 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5301
5302 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5303
5304 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5305 highlighting and support. Fix up comments for capitalization.
5306 (cfengine-mode-debug): New var.
5307 (cfengine3-mode): Change the modeline indicator to "CFE3".
5308 (cfengine3-font-lock-keywords): Improve defun highlighting.
5309 (cfengine2-actions): Rename from `cfengine-actions'.
5310 (cfengine2-font-lock-keywords): Rename from
5311 `cfengine-font-lock-keywords'.
5312 (cfengine2-imenu-expression): Rename from
5313 `cfengine-imenu-expression'.
5314 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5315 (cfengine2-beginning-of-defun): Rename from
5316 `cfengine-beginning-of-defun'.
5317 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5318 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5319 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5320 modeline indicator to "CFE2".
5321 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5322 (cfengine-mode-abbrevs): Mark obsolete.
5323
5324 2011-12-21 Chong Yidong <cyd@gnu.org>
5325
5326 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5327 filename argument.
5328
5329 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5330
5331 * window.el (window-normalize-buffer-to-display): Remove.
5332 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5333
5334 2011-12-19 Chong Yidong <cyd@gnu.org>
5335
5336 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5337 Don't signal an error in a predicate function; return non-nil.
5338 (vc-dir-mark-file): Move the error here.
5339 (vc-dir-mark-unmark): If acting on the region, keep going if one
5340 of the entries cannot be marked/unmarked.
5341 (vc-dir-mark-all-files): If current entry is a directory, mark
5342 only child files, as documented.
5343
5344 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5345
5346 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5347 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5348 addition.
5349
5350 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5351
5352 * term/ns-win.el (ns-get-selection-internal)
5353 (ns-store-selection-internal): Declare.
5354 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5355 Declare as obsolete.
5356 (ns-get-pasteboard, ns-paste-secondary):
5357 Use ns-get-selection-internal.
5358 (ns-set-pasteboard, ns-copy-including-secondary):
5359 Use ns-store-selection-internal.
5360
5361 2011-12-17 Chong Yidong <cyd@gnu.org>
5362
5363 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5364 (vc-deduce-fileset): Doc fix.
5365
5366 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5367
5368 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5369
5370 2011-12-13 Sam Steingold <sds@gnu.org>
5371
5372 * man.el (Man-getpage-in-background): When running under a
5373 window-system, ignore $MANWIDTH and $COLUMNS.
5374
5375 2011-12-15 Kenichi Handa <handa@m17n.org>
5376
5377 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5378 (setup-ethiopic-environment-internal): Comment out key-binding for
5379 ethio-toggle-punctuation.
5380
5381 2011-12-13 Alan Mackenzie <acm@muc.de>
5382
5383 Add the switch statement to AWK Mode.
5384
5385 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5386 "default" to the keywords regexp.
5387
5388 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5389 expression as the rest.
5390 (c-nonlabel-token-key): Allow string literals for AWK.
5391 Refactor for the other modes.
5392
5393 Large brace-block initialisation makes CC Mode slow: Fix.
5394 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5395 routines. Limit backward searching in c-font-lock-enclosing.decl.
5396
5397 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5398 pp-state and literal type in addition to the limits.
5399 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5400 (c-state-literal-at): Use the above new defun.
5401 (c-slow-in-literal, c-fast-in-literal): Remove.
5402 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5403
5404 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5405 being in a literal. Add a limit for backward searching.
5406
5407 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5408 c-slow-in-literal.
5409
5410 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5413
5414 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5415
5416 * window.el (delete-other-windows): Use correct frame in call to
5417 window-with-parameter.
5418
5419 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5420
5421 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5422 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5423 (makefile-gmake-statements, makefile-makepp-statements):
5424 Use it and add new makepp keywords.
5425 (makefile-makepp-font-lock-keywords): Add new patterns.
5426 (makefile-match-function-end): Match new [...] and [[...]].
5427
5428 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5429
5430 * ses.el (ses-call-printer-return, ses-cell-property-get)
5431 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5432 (ses-create-cell-variable, ses-reset-header-string)
5433 (ses-cell-set-formula, ses-repair-cell-reference-all)
5434 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5435 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5436 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5437 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5438 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5439 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5440 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5441 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5442 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5443 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5444 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5445 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5446
5447 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5448
5449 * ses.el: The overall change is to add cell renaming, that is
5450 setting fancy names for cell symbols other than name matching
5451 "\\`[A-Z]+[0-9]+\\'" regexp .
5452 (ses-create-cell-variable): New defun.
5453 (ses-relocate-formula): Relocate formulas only for cells the
5454 symbols of which are not renamed, i.e. symbols whose names do not
5455 match regexp "\\`[A-Z]+[0-9]+\\'".
5456 (ses-relocate-all): Relocate values only for cells the symbols of
5457 which are not renamed.
5458 (ses-load): Create cells variables as the (ses-cell ...) are read,
5459 in order to check row col consistency with cell symbol name only
5460 for cells that are not renamed.
5461 (ses-replace-name-in-formula): New defun.
5462 (ses-rename-cell): New defun.
5463
5464 2011-12-11 Chong Yidong <cyd@gnu.org>
5465
5466 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5467 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5468
5469 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5470
5471 * window.el (other-window): Fix docstring.
5472
5473 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5474
5475 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5476 `from' or `to' address before taking its substring.
5477 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5478 encoded name is chopped in the middle of the encoded string, and
5479 thus displayed encoded.
5480
5481 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5482
5483 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5484
5485 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5486
5487 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5488 to use texinfo-update-node and commands that call it if the
5489 Texinfo file uses @node lines without next/prev/up pointers.
5490 Correct outdated description about texinfo-master-menu.
5491 (texinfo-all-menus-update, texinfo-master-menu)
5492 (texinfo-update-node, texinfo-every-node-update)
5493 (texinfo-multiple-files-update): Doc fix. Warn against updating
5494 all the @node lines.
5495 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5496 argument is numeric. Explain better in the doc string what the
5497 function really does.
5498 (texinfo-insert-master-menu-list): Improve the error message
5499 displayed if there's no menu in the Top node.
5500 (Bug#2975) See also this thread:
5501 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5502
5503 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5504
5505 * speedbar.el (speedbar-supported-extension-expressions):
5506 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5507
5508 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5509
5510 * printing.el (pr-mode-alist):
5511 * simple.el (filter-buffer-substring-functions)
5512 (completion-list-insert-choice-function):
5513 * window.el (window-with-parameter, window-atom-root)
5514 (window-sides-slots, window-size-fixed, window-min-delta)
5515 (window-max-delta, window--resize-mini-window)
5516 (window--resize-child-windows-normal, window-tree)
5517 (delete-other-windows, quit-window, split-window)
5518 (display-buffer-record-window, special-display-buffer-names)
5519 (special-display-regexps, special-display-popup-frame)
5520 (same-window-p, split-window-sensibly)
5521 (display-buffer-overriding-action, display-buffer-alist)
5522 (display-buffer-base-action, display-buffer, switch-to-buffer)
5523 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5524 (fit-window-to-buffer, recenter-positions)
5525 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5526 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5527 and remove unneeded backslashes in docstrings.
5528
5529 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5532
5533 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5534 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5535 end in ".mk".
5536 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5537 when reading the makefile (bug#10116).
5538
5539 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5541 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5542 (bug#10116).
5543
5544 2011-12-06 Glenn Morris <rgm@gnu.org>
5545
5546 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5547
5548 2011-12-06 Chong Yidong <cyd@gnu.org>
5549
5550 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5551
5552 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5553
5554 * textmodes/table.el (table-shorten-cell): Fix typo.
5555
5556 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5557
5558 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5559
5560 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5561
5562 * descr-text.el (describe-char): Fix display of strong
5563 right-to-left characters and directional embeddings and overrides.
5564
5565 * simple.el (what-cursor-position): Fix display of codepoints of
5566 strong right-to-left characters.
5567
5568 2011-12-05 Chong Yidong <cyd@gnu.org>
5569
5570 * faces.el (read-color): Doc fix.
5571
5572 2011-12-05 Glenn Morris <rgm@gnu.org>
5573
5574 * align.el (align--set-marker): Add doc-string.
5575 Don't try to move something that is not a marker. (Bug#10216)
5576
5577 2011-12-04 Glenn Morris <rgm@gnu.org>
5578
5579 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5580 overly zealous deletion of trailing whitespace.
5581
5582 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5583
5584 * server.el (server-delete-client): On Windows, do not try to delete
5585 the only terminal.
5586 (server-process-filter): On Windows, treat requests for a tty frame as
5587 if they were for a GUI frame if the running server is in GUI mode.
5588
5589 2011-12-03 Glenn Morris <rgm@gnu.org>
5590
5591 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5592
5593 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5594
5595 * electric.el: Streamline electric-indent's hook.
5596 (electric-indent-chars): Revert to simple list.
5597 (electric-indent-functions): New var.
5598 (electric-indent-post-self-insert-function): Use it.
5599
5600 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5601 there's no inferior buffer (bug#10196).
5602 (prolog-consult-compile): Don't use toggle-read-only.
5603
5604 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5605
5606 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5607 interrupt. (Bug#10187)
5608
5609 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5612 (bug#9160).
5613
5614 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5615 (bug#10191).
5616
5617 2011-12-02 Juri Linkov <juri@jurta.org>
5618
5619 * info.el (Info-search): Display "end of manual" when Isearch
5620 reaches the end of single-file Info manual. (Bug#9918)
5621
5622 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5623
5624 * isearch.el (isearch-message-prefix): Run the input method part
5625 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5626
5627 2011-12-02 Juri Linkov <juri@jurta.org>
5628
5629 * isearch.el (isearch-occur): Use `word-search-regexp' for
5630 `isearch-word'.
5631 (isearch-search-and-update): Add condition for `isearch-word' and
5632 call `word-search-regexp'. (Bug#10145)
5633
5634 2011-12-01 Glenn Morris <rgm@gnu.org>
5635
5636 * eshell/em-hist.el (eshell-hist-initialize):
5637 Handle eshell-history-size nil and HISTSIZE set or unset.
5638 (eshell-history-file-name, eshell-history-size): Fix custom type.
5639
5640 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5643
5644 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5645
5646 * progmodes/verilog-mode.el (verilog-pretty-expr):
5647 Rework verilog-pretty-expr to handle new assignment operators in system
5648 verilog, such as += *= and the like.
5649 (verilog-assignment-operator-re): Regular expression to find the
5650 assigment operator in a verilog assignment.
5651 (verilog-assignment-operation-re): Regular expression to find an
5652 assignment statement for pretty-expr.
5653 (verilog-in-attribute-p): Query returns true if point is in an
5654 attribute context; used to skip these for expression line up from
5655 pretty-expr.
5656 (verilog-in-parameter-p): Query returns true if point is in an
5657 parameter definition context; used to skip these for expression
5658 line up from pretty-expr.
5659 (verilog-in-parenthesis-p): Query returns true if point is in a
5660 parenthetical expression, specifically ( ) but not [ ] or { };
5661 used by pretty-expr.
5662 (verilog-just-one-space): If there is no space, don't add one.
5663 (verilog-get-lineup-indent-2): Specifically skip just attribute
5664 contexts for expression lineup, rather than skipping all
5665 parenthetical expressions.
5666 (verilog-calculate-indent): Fix comment, and fix indent.
5667 (verilog-do-indent): Indent declarations in lists (suggested by
5668 Joachim Lechner).
5669 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5670 skeleton items.
5671 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5672 by Alain Mellan).
5673
5674 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5675
5676 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5677 parameters with embedded comments. Reported by Ray Stevens.
5678 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5679 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5680 Reported by Tim Holt.
5681 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5682 instantiated by upper module causing wrong expansion until AUTOed a
5683 second time. Reported by K C Buckenmaier.
5684 (verilog-diff-auto): Fix showing .* as a difference when
5685 `verilog-auto-star-save' off. Reported by Dan Dever.
5686 (verilog-auto-reset, verilog-read-always-signals)
5687 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5688 temporary signals in reset list if
5689 verilog-auto-reset-blocking-in-non is nil, and match assignment
5690 style to each signal's assignment type, bug381.
5691 Reported by Thomas Esposito.
5692 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5693 (verilog-uvm-statement-re): Support UVM indentation and
5694 highlighting, with old OVM keywords only.
5695 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5696 Support AUTOTIEOFF creating non-wire data types.
5697 Suggested by Jonathan Greenlaw.
5698 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5699 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5700 (verilog-inject-sense, verilog-read-inst-pins)
5701 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5702 Fix mismatching parenthesis inside commented out code when deleting
5703 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5704 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5705 non-numeric vector width. Reported by Alex Reed.
5706 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5707 detecting signals with parameter widths. Reported by Alex Reed.
5708 (verilog-auto-delete-trailing-whitespace):
5709 With `verilog-auto-delete-trailing-whitespace' remove trailing
5710 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5711 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5712 Fix verilog-scan-cache corruption when running user AUTO expansion
5713 hooks that call indentation routines.
5714 (verilog-simplify-range-expression): Fix typo ignoring lower case
5715 identifiers.
5716 (verilog-delete-auto): Fix delete-autos to also remove user created
5717 automatics, as long as they start with AUTO.
5718 (verilog-batch-diff-auto, verilog-diff-auto)
5719 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5720 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5721 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5722 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5723 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5724 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5725 is disabled and its cache will get corrupt, causing AUTOS not to
5726 expand. Instead use only -quick functions.
5727 (verilog-scan-region): Fix scanning over escaped quotes.
5728 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5729 (verilog-re-search-backward-quick)
5730 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5731 related functions now ignore strings, to fix misparsing of strings
5732 with magic comments embedded in them.
5733 (verilog-read-auto-template):
5734 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5735 Reported by Brad Dobbie.
5736 (verilog-read-auto-template):
5737 Fix 'verilog-auto-inst-template-numbers' with comments.
5738 Reported by Brad Dobbie.
5739 (verilog-auto-inst, verilog-auto-inst-param)
5740 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5741 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5742 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5743 debugging templates without merge conflicts, bug357.
5744 Reported by Brad Dobbie.
5745 (verilog-read-auto-template):
5746 Fix verilog-auto-inst-template-numbers with multiple templates.
5747 Reported by Brad Dobbie.
5748 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5749 abbrevs so user won't be asked to save.
5750 (verilog-read-auto-lisp-present): Fix to start at beginning of
5751 buffer in case called outside of verilog-auto.
5752 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5753 to "X-2". Reported by Matthew Myers.
5754 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5755 all inputs from module templates. Reported by Leith Johnson.
5756 (verilog-module-inside-filename-p): Fix locating programs as with
5757 modules.
5758 (verilog-auto-inst-port): Fix vl-width expressions when using
5759 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5760 (verilog-decls-get-regs, verilog-decls-get-signals,
5761 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5762 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5763 verilog-read-decls): Combine reg and wire structures into one var
5764 structure to represent SystemVerilog concepts.
5765 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5766 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5767 (verilog-auto-wire-type, verilog-insert-definition):
5768 Add verilog-auto-wire-type and AUTOLOGIC to support using
5769 SystemVerilog "logic" keyword instead of "wire"/"reg".
5770 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5771 to declares outputs that also have assignments (presumably in an
5772 ifdef or generate if so there's not a driver conflict).
5773 Reported by Matthew Myers.
5774 (verilog-auto-declare-nettype, verilog-insert-definition):
5775 Add verilog-auto-declare-nettype to fix declarations using
5776 `default_nettype none. Reported by Julian Gorfajn.
5777 (verilog-read-always-signals-recurse, verilog-read-decls)
5778 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5779 malformed end statement, bug325. Reported by Joshua Wise and
5780 Andrew Drake.
5781 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5782 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5783 when expanding .* in interfaces, bug320.
5784 Reported by Pierre-David Pfister.
5785 (verilog-read-module-name): Fix import statements between module
5786 name and open parenthesis, bug317.
5787 Reported by Pierre-David Pfister.
5788 (verilog-simplify-range-expression): Fix simplification of
5789 multiplications inside AUTOWIRE connections, bug303.
5790 (verilog-auto-inst-port): Support parameter expansion in
5791 multidimensional arrays.
5792 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5793 after "assert property". Reported by Julian Gorfajn.
5794 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5795 with multiplication, bug303.
5796 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5797 Reported by Jan Frode Lonnum.
5798
5799 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5800
5801 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5802 (hfy-shell-file-name, hfy-shell):
5803 * international/fontset.el (x-decompose-font-name): Fix typos.
5804
5805 2011-11-29 Ken Brown <kbrown@cornell.edu>
5806
5807 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5808 (gdb-version): Remove defvar.
5809 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5810 (gdb-gud-context-command, gdb-non-stop-handler)
5811 (gdb-current-context-command, gdb-stopped): Use it.
5812 (gdb-init-1): Enable pretty printing here.
5813 (gdb-non-stop-handler): Don't enable pretty-printing here.
5814 Check to see if the target supports non-stop mode; if not, turn off
5815 non-stop mode. Use the following.
5816 (gdb-check-target-async): New defun.
5817 (gud-watch, gdb-stopped): Fix whitespace.
5818 (gdb-get-source-file): Don't try to display the source file if
5819 `gdb-main-file' is nil.
5820
5821 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 * align.el: Try to generate fewer markers (bug#10047).
5824 (align--set-marker): New macro.
5825 (align-region): Use it.
5826
5827 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5830
5831 2011-11-29 Chong Yidong <cyd@gnu.org>
5832
5833 * indent.el (indent-for-tab-command, indent-according-to-mode):
5834 Doc fix.
5835 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5836
5837 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5838
5839 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5840 aware of remote file names. (Bug#10124)
5841
5842 2011-11-29 Chong Yidong <cyd@gnu.org>
5843
5844 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5845
5846 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * files.el (find-file): Don't use force-same-window (bug#10144).
5849 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5850 use pop-to-buffer if the selected window can't be used.
5851 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5852
5853 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5854
5855 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5856 special-mode-map.
5857
5858 2011-11-28 Chong Yidong <cyd@gnu.org>
5859
5860 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5861
5862 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5863
5864 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5865 gdb-get-source-file-list on gdb-create-source-file-list.
5866
5867 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5868
5869 * whitespace.el (whitespace-newline): Use a different foreground
5870 color for 16-color light-background displays.
5871
5872 2011-11-24 Chong Yidong <cyd@gnu.org>
5873
5874 * window.el (display-buffer--special-action): Doc fix.
5875
5876 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5877
5878 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5879 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5880 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5881 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5882 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5883 (avl-tree-stack-first):
5884 * emacs-lisp/cconv.el (cconv--analyse-use):
5885 * net/gnutls.el (gnutls-negotiate): Fix typos.
5886
5887 2011-11-24 Glenn Morris <rgm@gnu.org>
5888
5889 * lpr.el (lpr-windows-system, lpr-lp-system):
5890 * mail/binhex.el (binhex-begin-line):
5891 * progmodes/grep.el (grep-history, grep-find-history):
5892 * textmodes/flyspell.el:
5893 * vc/pcvs-defs.el (cvs-global-menu):
5894 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5895 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5896 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5897
5898 * net/tls.el: Fix case of "GnuTLS".
5899
5900 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5901
5902 * version.el (emacs-build-system): Give it a doc-string.
5903
5904 2011-11-24 Juri Linkov <juri@jurta.org>
5905
5906 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5907
5908 2011-11-24 Glenn Morris <rgm@gnu.org>
5909
5910 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5911 if called on a non-mime message just toggle the headers. (Bug#8006)
5912
5913 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5914
5915 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5916 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5917 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5918 (allout-rebullet-heading, allout-open-sibtopic)
5919 (allout-toggle-current-subtree-encryption)
5920 (allout-toggle-subtree-encryption, allout-encrypt-string)
5921 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5922 (allout-distinctive-bullets-string, allout-auto-activation):
5923 * window.el (window-normalize-buffer-to-display):
5924 * progmodes/verilog-mode.el (verilog-batch-indent):
5925 * textmodes/bibtex.el (bibtex-field-braces-opt)
5926 (bibtex-field-strings-opt):
5927 * vc/cvs-status.el (cvs-tree-merge):
5928 Fix typos.
5929
5930 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5931
5932 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5933 `non-essential' to t, in order to avoid remote connections.
5934
5935 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5936
5937 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5938 On MS-DOS and MS-Windows, compare with loaddefs.el
5939 case-insensitively.
5940
5941 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5942
5943 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5944
5945 2011-11-23 Glenn Morris <rgm@gnu.org>
5946
5947 * paths.el (rmail-file-name): Reformat the doc-string so that it
5948 is picked up.
5949
5950 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5951 (rmail-auto-file): Ignore case in the "special" field names,
5952 as mail-fetch-field does for all others.
5953
5954 * mail/rmail.el (rmail-forward):
5955 * mail/rmailkwd.el (rmail-set-label):
5956 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5957 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5958
5959 * mail/rmail.el (rmail-current-message): Doc fix.
5960
5961 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5962
5963 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5966
5967 2011-11-22 Glenn Morris <rgm@gnu.org>
5968
5969 * mail/rmailmm.el (test-rmail-mime-handler)
5970 (test-rmail-mime-bulk-handler)
5971 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5972
5973 2011-11-21 Juri Linkov <juri@jurta.org>
5974
5975 * calc/calc.el (calc-read-key-sequence):
5976 Let-bind `input-method-function' to nil. (Bug#10018)
5977
5978 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5979
5980 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5981 Tell the caller that the next line needs recomputation, even
5982 though it doesn't start a sexp (bug#10094).
5983
5984 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5985
5986 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5987
5988 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5989
5990 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5991 Use force-same-window.
5992
5993 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5994
5995 * descr-text.el (describe-char-unicode-data):
5996 * json.el (json-string-escape):
5997 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5998 (Footnote-unicode, Footnote-style-p):
5999 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6000
6001 2011-11-20 Chong Yidong <cyd@gnu.org>
6002
6003 * window.el (replace-buffer-in-windows): Restore interactive spec.
6004
6005 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6006
6007 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6008
6009 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6010 (byte-compile-global-not-obsolete-vars): New var.
6011 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6012 Use it.
6013 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6014
6015 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6016
6017 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6018 * progmodes/pascal.el (electric-pascal-equal):
6019 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6020 * xml.el (xml-substitute-special): Fix typos.
6021
6022 2011-11-20 Glenn Morris <rgm@gnu.org>
6023
6024 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6025 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6026 Doc fixes.
6027 (rmail-decode-mime-charset): Mark as obsolete.
6028
6029 * mail/rmailsum.el (rmail-message-regexp-p-1):
6030 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6031 Before using mime functions, check they are set. (Bug#10077)
6032
6033 2011-11-19 Juri Linkov <juri@jurta.org>
6034
6035 * info.el (Info-finder-find-node): Use `package--builtins' instead
6036 of `package-alist'. Use node names formed by the pattern "Keyword "
6037 and the keyword name.
6038
6039 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6040
6041 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6042
6043 2011-11-19 Juri Linkov <juri@jurta.org>
6044
6045 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6046 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6047 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6048 `old-history', `old-history-forward'. Add let-binding
6049 `window-selected'. Remove calls to `kill-buffer',
6050 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6051 before calling `Info-find-node', so `Info-find-node-2' will reread
6052 the Info file. Restore window positions only when `window-selected'
6053 is non-nil.
6054
6055 2011-11-19 Juri Linkov <juri@jurta.org>
6056
6057 * isearch.el (isearch-lazy-highlight-new-loop):
6058 Remove condition `(not isearch-error)'. (Bug#9918)
6059
6060 * misearch.el (multi-isearch-search-fun): Add condition
6061 `(not bound)' to ignore lazy-highlighting search.
6062 Add the search-failed message "end of multi" when the end of
6063 multi-sequence is reached. Uncapitalize the search-failed
6064 message "Repeat for next buffer".
6065
6066 * info.el (Info-search): Add the search-failed message
6067 "end of the manual" when the end of the manual is reached
6068 in Isearch mode.
6069
6070 2011-11-19 Juri Linkov <juri@jurta.org>
6071
6072 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6073 Use non-destructive `remove' instead of `delete' because
6074 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6075 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6076
6077 2011-11-19 Juri Linkov <juri@jurta.org>
6078
6079 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6080 to nil instead of binding `search-ring' and `regexp-search-ring'.
6081 (Bug#9185)
6082
6083 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6084
6085 * simple.el (line-move): Force movement by logical lines for any
6086 hscrolled window, not only when auto-hscroll-mode is on.
6087 (line-move-visual): Update doc string to that effect. (Bug#10076)
6088
6089 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6090
6091 * language/european.el (macintosh): Define as alias for mac-roman.
6092
6093 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6094
6095 * mail/rmailmm.el (rmail-mime-display-header)
6096 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6097 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6098 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6099 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6100 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6101 of a raw aref.
6102 (rmail-mime-entity-segment): To get past the tagline, move forward
6103 2 more lines, to account for the 2 empty lines that precede and
6104 follow the line with the buttons.
6105 (rmail-mime-update-tagline): Move one more line, to get past the
6106 empty line that follows the buttons in the tagline. (Bug#9520)
6107
6108 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6109
6110 * window.el (window-max-delta-1, window-min-delta-1)
6111 (window-min-size-1, window-state-get-1, window-state-put-1)
6112 (window-state-put-2): Use "window--" prefix.
6113
6114 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6115
6116 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6117 (smie-warning-count): New var.
6118 (smie-set-prec2tab): Use it.
6119 (smie-bnf->prec2): Improve warnings. Add docstring.
6120 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6121 (smie-bnf--set-class): New function.
6122 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6123 corner case.
6124
6125 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6126 (compilation-error-properties, compilation-move-to-column):
6127 Handle compilation-first-column while in the target buffer.
6128
6129 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6130 Don't hardcode point-min==1.
6131
6132 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6133 (eshell-rewrite-for-command): Remove workaround.
6134 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6135 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6136 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6137
6138 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6139
6140 2011-11-17 Glenn Morris <rgm@gnu.org>
6141
6142 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6143 Ignore buffer-local generated-autoload-file if it is the same
6144 as the global value. (Bug#10049)
6145
6146 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6147
6148 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6149 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6150 (reftex-toc-previous-heading, reftex-toc-max-level)
6151 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6152 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6153 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6154 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6155 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6156 (reftex-toc-rename-label, reftex-toc-visit-location)
6157 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6158 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6159 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6160 leaving "*toc*" only for references to the buffer.
6161
6162 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6163
6164 * window.el (window-resize, delete-window, split-window):
6165 Replace window-splits by window-combination-resize.
6166 * cus-start.el (window-splits): Replace by window-combination-resize.
6167
6168 2011-11-17 Glenn Morris <rgm@gnu.org>
6169
6170 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6171 Make bash entry derive from sh entry, not shell entry.
6172
6173 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6174
6175 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6176 properties of linked files. (Bug#9879)
6177
6178 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6179 local file name.
6180
6181 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6182
6183 * menu-bar.el (menu-bar-file-menu):
6184 * printing.el (pr-ps-utility):
6185 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6186 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6187 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6188 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6189 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6190 (icalendar--convert-cyclic-to-ical)
6191 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6192 (icalendar--convert-ical-to-diary)
6193 (icalendar--convert-recurring-to-diary)
6194 (icalendar--convert-non-recurring-all-day-to-diary)
6195 (icalendar-import-format-sample):
6196 * progmodes/idlw-shell.el (idlwave-shell-mode):
6197 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6198 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6199 (vhdl-ps-print-init): Fix typos.
6200
6201 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6202
6203 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6204 FSF and collapse date sequence, obscure author/maintainer email address
6205 better, remove extra version line, track relocation of author's webpage.
6206
6207 * progmodes/python.el (python-pdbtrack-input-prompt)
6208 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6209 regular python pdb prompts. Adjustments shamelessly taken exactly as
6210 suggested in EmacsWiki page (tiny change):
6211 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6212
6213 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6214
6215 * expand.el (expand-pos, expand-index, expand-point):
6216 Remove redundant info from docstring.
6217 (expand-add-abbrevs): Doc fix.
6218 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6219 (expand-sample-perl-mode-expand-list): Fix typos.
6220
6221 * net/dbus.el (dbus-event-member-name):
6222 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6223 * term/pc-win.el (msdos-create-frame-with-faces):
6224 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6225
6226 2011-11-16 Martin Rudalics <rudalics@gmx.at>
6227
6228 * window.el (split-window, window-state-get-1)
6229 (window-state-put-1, window-state-put-2): Rename occurrences of
6230 window-nest to window-combination-limit.
6231 * cus-start.el (window-nest): Rename to window-combination-limit.
6232
6233 2011-11-16 Chong Yidong <cyd@gnu.org>
6234
6235 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6236 regexp (Bug#10033).
6237
6238 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6241 `completing-read' will remove *Completions* and will preserve
6242 current-buffer for us.
6243 (tmm-add-prompt): Users of *Completions* will always (re)set its
6244 major mode.
6245 (tmm-old-comp-map): Remove.
6246
6247 2011-11-16 Glenn Morris <rgm@gnu.org>
6248
6249 * mail/rmailedit.el: Require rmailmm when compiling.
6250 (rmail-old-mime-state): New declaration.
6251 (rmail-edit-current-message): If editing a mime message,
6252 edit the "raw" message from the mbox buffer.
6253 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6254
6255 2011-11-15 Glenn Morris <rgm@gnu.org>
6256
6257 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6258 which wasn't being used. Add optional arg to force given state.
6259 (rmail-mime): Add optional arg to force given state.
6260
6261 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6262
6263 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6264 * frame.el (display-mm-dimensions-alist):
6265 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6266 (outline-move-subtree-down):
6267 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6268 (newsticker--treeview-do-get-node):
6269 * net/quickurl.el (quickurl-list-buffer-name):
6270 * progmodes/dcl-mode.el (dcl-mode):
6271 * progmodes/gdb-mi.el (gdb-mapcar*):
6272 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6273
6274 2011-11-15 Glenn Morris <rgm@gnu.org>
6275
6276 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6277 in a boolean sense, so just make it a boolean, and fix the doc.
6278 (rmail-show-mime-function, rmail-mime-feature)
6279 (rmail-require-mime-maybe): Doc fixes.
6280 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6281
6282 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6283
6284 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6285
6286 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6287 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6288 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6289 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6290
6291 2011-11-15 Glenn Morris <rgm@gnu.org>
6292
6293 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6294 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6295 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6296 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6297 (rmail-mime, rmail-show-mime): Doc fixes.
6298
6299 * term/ns-win.el (mode-line-frame-identification):
6300 Leave it alone. (Bug#10051)
6301
6302 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6303
6304 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6305 Handle empty buffers. (Bug#9978)
6306
6307 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6308
6309 * international/mule.el (define-charset):
6310 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6311 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6312 * progmodes/verilog-mode.el (verilog-backward-token):
6313 * textmodes/ispell.el (lookup-words):
6314 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6315
6316 2011-11-14 Glenn Morris <rgm@gnu.org>
6317
6318 * progmodes/executable.el
6319 (executable-make-buffer-file-executable-if-script-p):
6320 Handle file-modes returning nil.
6321
6322 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6323 message - not necessary, and causes problems. (Bug#9831)
6324
6325 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6326
6327 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6328
6329 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6330 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6331 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6332
6333 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6334
6335 * window.el (window-resize, delete-window): Use window-splits
6336 variable instead of function.
6337 (window-state-get-1, window-state-put-2, window-state-put):
6338 Don't deal with windows' splits status.
6339
6340 2011-11-12 Glenn Morris <rgm@gnu.org>
6341
6342 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6343 (apropos-documentation): Doc fixes.
6344
6345 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6346
6347 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6348 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6349
6350 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * electric.el (electric-indent-post-self-insert-function): Make it
6353 possible for a char to only indent in some circumstances.
6354 (electric-indent-mode): Simplify.
6355
6356 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6357
6358 * window.el (windows-with-parameter): Remove unused function.
6359 (windows-at-side): Rename to window-at-side-list.
6360 (window-check, window-atom-check, window-atom-check-1)
6361 (window-side-check, window-size-ignore, window-size-fixed-1)
6362 (window-in-direction-2): Prefix with "window--".
6363 (window-tree-1): Rename to window--subtree, fix doc-string.
6364
6365 2011-11-11 Glenn Morris <rgm@gnu.org>
6366
6367 * subr.el (eval-after-load): If FILE is already loaded,
6368 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6369
6370 2011-11-10 Glenn Morris <rgm@gnu.org>
6371
6372 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6373 Call svn via vc-svn-command rather than vc-do-command.
6374 (vc-svn-command): Add --non-interactive. (Bug#9993)
6375 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6376
6377 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6378 Add toggle-read-only. (Bug#7292)
6379 * files.el (toggle-read-only): Mention that it should only
6380 be used interactively. (Bug#10006)
6381
6382 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6383
6384 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6385 Adjust regexp for OCaml warnings.
6386
6387 * electric.el (electric-pair-post-self-insert-function): Let user
6388 turn it off buffer-locally (bug#9932).
6389
6390 * progmodes/python.el (python-beginning-of-statement):
6391 Rewrite (bug#2703).
6392
6393 * progmodes/compile.el: Better handle TABs (bug#9749).
6394 (compilation-internal-error-properties)
6395 (compilation-next-error-function): Obey the target buffer's
6396 compilation-error-screen-columns.
6397
6398 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6399
6400 * progmodes/meta-mode.el: Remove obsolete comments.
6401 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6402 Fix typos in docstrings.
6403
6404 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6405
6406 * window.el (window-size-fixed-p): Rewrite doc-string.
6407 (window-resizable-p): Rename to window--resizable-p. Update callers.
6408 (window--resizable): New function. Make all callers of
6409 window-resizable call window--resizable instead.
6410 (window-resizable): Rewrite in terms of window--resizable.
6411
6412 2011-11-08 Glenn Morris <rgm@gnu.org>
6413
6414 * progmodes/delphi.el (delphi-mode-syntax-table):
6415 Let define-derived-mode define a proper syntax table. (Bug#9994)
6416
6417 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6418
6419 * window.el: Stay away from defsubst.
6420 (window-list-no-nils): Remove.
6421 (window-state-get-1, window-state-get): Use backquote instead.
6422
6423 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6424
6425 * emacs-lisp/find-func.el (find-function-read):
6426 Fix incorrect use of default argument in `completing-read'.
6427
6428 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6429
6430 * window.el (display-buffer-function, special-display-function):
6431 Mention display-buffer-record-window but do not mention
6432 help-setup parameter in doc-strings.
6433 (window-min-delta): Fix doc-string typo.
6434
6435 2011-11-08 Chong Yidong <cyd@gnu.org>
6436
6437 * window.el (window-total-height, window-total-width): Doc fix.
6438 (window-body-size): Move from C.
6439 (window-body-height, window-body-width): Move to C.
6440
6441 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * window.el: Make special-display like display-buffer-alist (bug#9532).
6444 (display-buffer--special-action): New function, morphed
6445 from display-buffer--special.
6446 (display-buffer): Use it to handle special-display-buffers at higher
6447 priority (just after display-buffer-alist).
6448 (display-buffer-fallback-action, display-buffer--other-frame-action)
6449 (pop-to-buffer-same-window): Remove display-buffer--special.
6450
6451 2011-11-07 Glenn Morris <rgm@gnu.org>
6452
6453 * calendar/cal-menu.el (cal-menu-set-date-title):
6454 Do nothing if not in a calendar. (Bug#9976)
6455
6456 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * files.el (find-file): Always use selected-window.
6459
6460 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6461
6462 * window.el (window-combinations): Make WINDOW argument
6463 mandatory. Rewrite doc-string.
6464 (walk-window-subtree, window-atom-check, window-min-delta)
6465 (window-max-delta, window--resize-this-window)
6466 (window--resize-root-window-vertically, window-tree)
6467 (balance-windows, window-state-put): Rewrite doc-strings as to
6468 not mention the term "subwindow".
6469 (window--resize-subwindows-skip-p): Rename to
6470 window--resize-child-windows-skip-p.
6471 (window--resize-subwindows-normal): Rename to
6472 window--resize-child-windows-normal.
6473 (window--resize-subwindows): Rename to
6474 window--resize-child-windows.
6475 (window-or-subwindow-p): Rename to window--in-subtree-p.
6476
6477 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6478
6479 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6480 Ensure that mbox format messages end in two newlines (Bug#9974).
6481
6482 2011-11-06 Chong Yidong <cyd@gnu.org>
6483
6484 * window.el (window-combination-p): Function deleted; its
6485 side-effect is not used in any existing code.
6486 (window-combinations, window-combined-p): Call window-*-child
6487 directly.
6488
6489 2011-11-05 Chong Yidong <cyd@gnu.org>
6490
6491 * window.el (window-valid-p): Rename from window-any-p.
6492 (window-size-ignore, window-state-get): Callers changed.
6493 (window-normalize-window): Rename from window-normalize-any-window.
6494 New arg LIVE-ONLY, replacing window-normalize-live-window.
6495 (window-normalize-live-window): Delete.
6496 (window-combination-p, window-combined-p, window-combinations)
6497 (walk-window-subtree, window-atom-root, window-min-size)
6498 (window-sizable, window-sizable-p, window-size-fixed-p)
6499 (window-min-delta, window-max-delta, window-resizable)
6500 (window-resizable-p, window-full-height-p, window-full-width-p)
6501 (window-current-scroll-bars, window-point-1, set-window-point-1)
6502 (window-at-side-p, window-in-direction, window-resize)
6503 (adjust-window-trailing-edge, maximize-window, minimize-window)
6504 (window-deletable-p, delete-window, delete-other-windows)
6505 (record-window-buffer, unrecord-window-buffer)
6506 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6507 (quit-window, split-window, window-state-put)
6508 (set-window-text-height, fit-window-to-buffer)
6509 (shrink-window-if-larger-than-buffer): Callers changed.
6510
6511 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6512
6513 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6514 rfc2047-decode-string.
6515 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6516 warnings.
6517
6518 * window.el (window-body-height, window-body-width): Mention in
6519 the doc string that the return values are in frame's canonical
6520 units. (Bug#9949)
6521
6522 2011-11-03 Alan Mackenzie <acm@muc.de>
6523
6524 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6525 change in cc-engine.el.
6526
6527 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6528
6529 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6530
6531 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6532
6533 * window.el (quit-window): Call unrecord-window-buffer after
6534 showing another buffer in the window. (Bug#9937)
6535 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6536
6537 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6538
6539 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6540 Accept status with more than 9 shelves. (Bug#9935)
6541 Reported by Colin D Bennett <colin@gibibit.com>.
6542
6543 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6544
6545 * help.el (with-help-window): Don't reference
6546 temp-buffer-show-specifiers in doc-string.
6547
6548 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6549
6550 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6551 menu-item.
6552
6553 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6554
6555 * whitespace.el: New version 13.2.2.
6556 (whitespace-newline-mode): Disable properly. Reported by Sarah
6557 <EmacsWiki>.
6558
6559 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6560
6561 * net/newst-treeview.el: Remove "Time-stamp".
6562 (newsticker--group-manage-orphan-feeds): Do not call
6563 newsticker--treeview-tree-update.
6564 (newsticker-treeview-update, newsticker-treeview):
6565 Call newsticker--treeview-tree-update if necessary.
6566
6567 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6568
6569 * window.el (window-iso-combination-p, window-iso-combined-p)
6570 (window-iso-combinations): Remove "iso-" infix.
6571 Suggested by Chong Yidong.
6572 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6573 (window-max-delta-1, window-resize, window--resize-siblings)
6574 (window--resize-this-window, adjust-window-trailing-edge)
6575 (split-window, balance-windows-1)
6576 (shrink-window-if-larger-than-buffer):
6577 * calendar/calendar.el (calendar-generate-window):
6578 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6579
6580 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6583 in place (bug#9907).
6584 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6585 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6586 (eshell-structure-basic-command, eshell-rewrite-while-command)
6587 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6588 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6589 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6590 (eshell-do-pipelines-synchronously, eshell-eval-command):
6591 Use backquotes and prefer setq to set.
6592 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6593 (eshell-macrop): Use functionp.
6594 (eshell-do-eval): Handle multiple expressions in `while' body.
6595
6596 2011-10-30 Chong Yidong <cyd@gnu.org>
6597
6598 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6599 instead of set-mark (Bug#9810).
6600
6601 2011-10-30 Chong Yidong <cyd@gnu.org>
6602
6603 * window.el (split-window-below, split-window-right): Rename from
6604 split-window-above-each-other and split-window-side-by-side
6605 respectively. All callers changed.
6606 (split-window-sensibly, split-window-sensibly): Use them.
6607 (split-window-keep-point): Doc fix.
6608
6609 * isearch.el: Add isearch-scroll property to split-window-below
6610 and split-window-right.
6611
6612 * follow.el (follow-mode):
6613 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6614 * progmodes/ada-xref.el (ada-gdb-application):
6615 * emulation/vip.el (vip-buffer-in-two-windows):
6616 * image-dired.el (image-dired-dired-with-window-configuration):
6617 * dired-x.el (dired-do-find-marked-files):
6618 * dired.el (dired-pop-to-buffer):
6619 * bs.el (bs--show-with-configuration):
6620 * vc/emerge.el (emerge-setup-windows):
6621 * textmodes/two-column.el (2C-two-columns):
6622 * textmodes/reftex-toc.el (reftex-toc):
6623 * progmodes/gdb-mi.el (gdb-setup-windows):
6624 * progmodes/fortran.el (fortran-window-create):
6625 * net/newst-treeview.el (newsticker--treeview-window-init):
6626 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6627 * emulation/tpu-edt.el (tpu-gold-map):
6628 * emulation/crisp.el (crisp-mode-map):
6629 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6630
6631 2011-10-29 Chong Yidong <cyd@gnu.org>
6632
6633 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6634
6635 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6636
6637 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6638 forged Ispell output (Bug#7904).
6639
6640 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6641
6642 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6643
6644 * doc-view.el: Avoid ugly errors about not finding nil.
6645 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6646 (doc-view-dvipdf-program, doc-view-unoconv-program)
6647 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6648 Avoid nil or absolute file name as default value.
6649 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6650
6651 2011-10-28 Alan Mackenzie <acm@muc.de>
6652
6653 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6654
6655 2011-10-28 Alan Mackenzie <acm@muc.de>
6656
6657 Amend the handling of c-beginning/end-of-defun in nested declaration
6658 scopes.
6659
6660 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6661 cc-langs.el. Change it to a defcustom.
6662
6663 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6664 cc-vars.el.
6665
6666 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6667 Prevent "class foo : bar" being spuriously recognized as a label.
6668
6669 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6670 Add parameter `inclusive' (to include enclosing braces in the region).
6671 (c-widen-to-enclosing-decl-scope): New function.
6672 (c-while-widening-to-decl-block): New macro.
6673 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6674 outward for defun boundaries, and correspondingly change symbol
6675 `respect-enclosure' to `go-outward'.
6676 (c-declaration-limits): Change algorithm to report only the "innermost"
6677 defun's boundaries.
6678
6679 2011-10-28 Deniz Dogan <deniz@dogan.se>
6680
6681 * net/rcirc.el (rcirc-mode): Use hard newlines.
6682
6683 2011-10-28 Alan Mackenzie <acm@muc.de>
6684
6685 Amend to indent and fontify macros "which include their own semicolon"
6686 correctly, using the "virtual semicolon" mechanism.
6687
6688 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6689
6690 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6691 Recode to scan one line at a time rather than having \n and \r
6692 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6693 (c-forward-label): Amend for virtual semicolons.
6694 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6695
6696 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6697 of the new C macros.
6698
6699 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6700 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6701 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6702 (c-opt-cpp-macro-define): Make into a full language variable.
6703 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6704 AWK Mode (including \n, \r) removed, no longer needed.
6705
6706 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6707 Invoke c-make-macro-with-semi-re.
6708
6709 * progmodes/cc-vars.el (c-macro-with-semi-re):
6710 (c-macro-names-with-semicolon): New variables.
6711 (c-make-macro-with-semi-re): New function.
6712
6713 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * vc/log-edit.el: Fill empty field rather than adding new one.
6716 (log-edit-add-field): New function.
6717 (log-edit-insert-changelog): Use it.
6718
6719 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6720
6721 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6722
6723 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6726 (gdb--check-interpreter): New function.
6727 (gdb): Use it.
6728
6729 2011-10-27 Glenn Morris <rgm@gnu.org>
6730
6731 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6732 (least-positive-float, least-negative-float)
6733 (least-positive-normalized-float, least-negative-normalized-float)
6734 (float-epsilon, float-negative-epsilon):
6735 Remove unnecessary declarations.
6736
6737 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6738 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6739 (least-positive-float, least-negative-float)
6740 (least-positive-normalized-float, least-negative-normalized-float)
6741 (float-epsilon, float-negative-epsilon): Add doc-strings,
6742 based on those in cl.texi.
6743
6744 * files.el (set-visited-file-name): If the major-mode changed,
6745 reload the local variables. (Bug#9796)
6746
6747 2011-10-27 Chong Yidong <cyd@gnu.org>
6748
6749 * subr.el (change-major-mode-after-body-hook): New hook.
6750 (run-mode-hooks): Run it.
6751
6752 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6753 Use change-major-mode-before-body-hook.
6754
6755 * simple.el (fundamental-mode):
6756 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6757 change introducing fundamental-mode-hook.
6758
6759 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6760
6761 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6762
6763 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6764
6765 * ido.el (ido-file-name-all-completions-1): Do not require
6766 tramp.el explicitly. (Bug#7583)
6767
6768 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * progmodes/octave-mod.el:
6771 * progmodes/octave-inf.el: Update maintainer.
6772
6773 2011-10-26 Chong Yidong <cyd@gnu.org>
6774
6775 * subr.el (with-wrapper-hook): Rewrite doc.
6776
6777 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6778
6779 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6780 filenames "/method:foo:". (Bug#9793)
6781
6782 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6785 (bug#9865).
6786
6787 2011-10-24 Glenn Morris <rgm@gnu.org>
6788
6789 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6790
6791 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6792
6793 * notifications.el: Add the requirement of a running D-Bus session
6794 bus to the Commentary.
6795
6796 2011-10-24 Juri Linkov <juri@jurta.org>
6797
6798 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6799 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6800 (Bug#9364)
6801
6802 2011-10-24 Juri Linkov <juri@jurta.org>
6803
6804 * info.el (Info-following-node-name-re): Add newline to the list
6805 of allowed characters for leading space. (Bug#9824)
6806
6807 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6808
6809 * progmodes/octave-inf.el (inferior-octave-mode-map):
6810 Fix C-c C-h binding.
6811 * progmodes/octave-mod.el (octave-help): Remove.
6812
6813 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6814
6815 Sync with Tramp 2.2.3.
6816
6817 * net/tramp-cache.el (top): Pacify byte-compiler using
6818 `init-file-user' and `site-run-file'.
6819
6820 * net/trampver.el: Update release number.
6821
6822 2011-10-23 Chong Yidong <cyd@gnu.org>
6823
6824 * files.el (toggle-read-only): Remove obsolete comment about
6825 version control.
6826
6827 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6828 for toggle-read-only. Note that this hasn't called vc-next-action
6829 since 2008-05-02, though it wasn't documented at the time.
6830
6831 * vc/ediff-init.el (ediff-toggle-read-only-function):
6832 Use toggle-read-only.
6833
6834 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6835
6836 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6837 of c-parse-state.
6838
6839 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6840 correct faulty logical expression.
6841 (c-parse-state-state, c-record-parse-state-state):
6842 (c-replay-parse-state-state): New defvar/defuns.
6843 (c-debug-parse-state): Use new functions.
6844
6845 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6846
6847 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6848 last fix. Use window-in-direction correctly.
6849
6850 2011-10-21 Chong Yidong <cyd@gnu.org>
6851
6852 * progmodes/idlwave.el (idlwave-mode):
6853 * progmodes/vera-mode.el (vera-mode): No need to set
6854 require-final-newline; that's done in prog-mode.
6855 Suggested by Stefan Monnier.
6856
6857 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6858
6859 * mouse.el (mouse-drag-window-above)
6860 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6861 (mouse-drag-mode-line-1, mouse-drag-header-line)
6862 (mouse-drag-vertical-line-rightward-window): Remove.
6863 (mouse-drag-line): New function.
6864 (mouse-drag-mode-line, mouse-drag-header-line)
6865 (mouse-drag-vertical-line): Call mouse-drag-line.
6866 * window.el (window-at-side-p, windows-at-side): New functions.
6867
6868 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6869
6870 * tar-mode.el (tar-grind-file-mode):
6871 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6872
6873 2011-10-21 Chong Yidong <cyd@gnu.org>
6874
6875 * progmodes/idlwave.el (idlwave-mode):
6876 * progmodes/vera-mode.el (vera-mode):
6877 Use mode-require-final-newline.
6878
6879 2011-10-20 Glenn Morris <rgm@gnu.org>
6880
6881 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6882
6883 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6884
6885 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6886
6887 2011-10-20 Chong Yidong <cyd@gnu.org>
6888
6889 * emulation/cua-base.el (cua-mode):
6890 * mail/footnote.el (footnote-mode):
6891 * mail/mailabbrev.el (mail-abbrevs-mode):
6892 * net/xesam.el (xesam-minor-mode):
6893 * progmodes/bug-reference.el (bug-reference-mode):
6894 * progmodes/cap-words.el (capitalized-words-mode):
6895 * progmodes/compile.el (compilation-minor-mode)
6896 (compilation-shell-minor-mode):
6897 * progmodes/gud.el (gud-tooltip-mode):
6898 * progmodes/hideif.el (hide-ifdef-mode):
6899 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6900 * progmodes/subword.el (subword-mode):
6901 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6902 * progmodes/which-func.el (which-function-mode):
6903 * term/tvi970.el (tvi970-set-keypad-mode):
6904 * term/vt100.el (vt100-wide-mode):
6905 * textmodes/flyspell.el (flyspell-mode):
6906 * textmodes/ispell.el (ispell-minor-mode):
6907 * textmodes/nroff-mode.el (nroff-electric-mode):
6908 * textmodes/paragraphs.el (use-hard-newlines):
6909 * textmodes/refill.el (refill-mode):
6910 * textmodes/reftex.el (reftex-mode):
6911 * textmodes/rst.el (rst-minor-mode):
6912 * textmodes/sgml-mode.el (html-autoview-mode)
6913 (sgml-electric-tag-pair-mode):
6914 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6915 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6916 * emulation/crisp.el (crisp-mode):
6917 * emacs-lisp/eldoc.el (eldoc-mode):
6918 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6919 minor mode behavior.
6920
6921 2011-10-19 Juri Linkov <juri@jurta.org>
6922
6923 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6924 the list of hard-coded chars with escape-glyph face.
6925
6926 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6927
6928 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6929
6930 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6931
6932 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6933 running process.
6934
6935 2011-10-19 Glenn Morris <rgm@gnu.org>
6936
6937 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6938 Ignore ignored files. (Bug#9726)
6939
6940 2011-10-19 Chong Yidong <cyd@gnu.org>
6941
6942 Doc fix for minor modes, stating that an omitted argument enables
6943 the mode unconditionally when called from Lisp.
6944
6945 * abbrev.el (abbrev-mode):
6946 * allout.el (allout-mode):
6947 * autoinsert.el (auto-insert-mode):
6948 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6949 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6950 (global-auto-revert-mode):
6951 * battery.el (display-battery-mode):
6952 * composite.el (global-auto-composition-mode)
6953 (auto-composition-mode):
6954 * delsel.el (delete-selection-mode):
6955 * desktop.el (desktop-save-mode):
6956 * dired-x.el (dired-omit-mode):
6957 * dirtrack.el (dirtrack-mode):
6958 * doc-view.el (doc-view-minor-mode):
6959 * double.el (double-mode):
6960 * electric.el (electric-indent-mode, electric-pair-mode):
6961 * emacs-lock.el (emacs-lock-mode):
6962 * epa-hook.el (auto-encryption-mode):
6963 * follow.el (follow-mode):
6964 * font-core.el (font-lock-mode):
6965 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6966 * help.el (temp-buffer-resize-mode):
6967 * hilit-chg.el (highlight-changes-mode)
6968 (highlight-changes-visible-mode):
6969 * hi-lock.el (hi-lock-mode):
6970 * hl-line.el (hl-line-mode, global-hl-line-mode):
6971 * icomplete.el (icomplete-mode):
6972 * ido.el (ido-everywhere):
6973 * image-file.el (auto-image-file-mode):
6974 * image-mode.el (image-minor-mode):
6975 * iswitchb.el (iswitchb-mode):
6976 * jka-cmpr-hook.el (auto-compression-mode):
6977 * linum.el (linum-mode):
6978 * longlines.el (longlines-mode):
6979 * master.el (master-mode):
6980 * mb-depth.el (minibuffer-depth-indicate-mode):
6981 * menu-bar.el (menu-bar-mode):
6982 * minibuf-eldef.el (minibuffer-electric-default-mode):
6983 * mouse-sel.el (mouse-sel-mode):
6984 * msb.el (msb-mode):
6985 * mwheel.el (mouse-wheel-mode):
6986 * outline.el (outline-minor-mode):
6987 * paren.el (show-paren-mode):
6988 * recentf.el (recentf-mode):
6989 * reveal.el (reveal-mode, global-reveal-mode):
6990 * rfn-eshadow.el (file-name-shadow-mode):
6991 * ruler-mode.el (ruler-mode):
6992 * savehist.el (savehist-mode):
6993 * scroll-all.el (scroll-all-mode):
6994 * scroll-bar.el (scroll-bar-mode):
6995 * server.el (server-mode):
6996 * shell.el (shell-dirtrack-mode):
6997 * simple.el (auto-fill-mode, transient-mark-mode)
6998 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6999 (line-number-mode, column-number-mode, size-indication-mode)
7000 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7001 * strokes.el (strokes-mode):
7002 * time.el (display-time-mode):
7003 * t-mouse.el (gpm-mouse-mode):
7004 * tool-bar.el (tool-bar-mode):
7005 * tooltip.el (tooltip-mode):
7006 * type-break.el (type-break-mode-line-message-mode)
7007 (type-break-query-mode):
7008 * view.el (view-mode):
7009 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7010 (global-whitespace-mode, global-whitespace-newline-mode):
7011 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7012
7013 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7014 Fix autogenerated docstring.
7015
7016 2011-10-19 Juri Linkov <juri@jurta.org>
7017
7018 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7019 by checking environment variables "DESKTOP_SESSION" and
7020 "XDG_CURRENT_DESKTOP". (Bug#9779)
7021
7022 2011-10-19 Juri Linkov <juri@jurta.org>
7023
7024 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7025 (browse-url-chromium-program, browse-url-chromium-arguments):
7026 New defcustoms.
7027 (browse-url-default-browser): Check for `browse-url-chromium' and
7028 call `browse-url-chromium-program'.
7029 (browse-url-chromium): New command. (Bug#9779)
7030
7031 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7032
7033 * facemenu.el (list-colors-duplicates): On Windows, detect more
7034 duplicates by assuming that only colors matching "^System" are
7035 special "system colors". (Bug#9722)
7036
7037 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7038
7039 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7040 to distinguish the author from the committer.
7041
7042 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7043
7044 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7045
7046 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7047
7048 * international/mule.el (sgml-html-meta-auto-coding-function):
7049 Add support for detecting encoding in HTML5 specified only as
7050 <meta charset="UTF-8">. Implementation just makes http-equiv and
7051 content-type parts from HTML4 encoding string optional. (Bug#9716)
7052
7053 2011-10-18 Glenn Morris <rgm@gnu.org>
7054
7055 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7056
7057 2011-10-18 Chong Yidong <cyd@gnu.org>
7058
7059 * faces.el (cursor): Doc fix.
7060
7061 2011-10-17 Chong Yidong <cyd@gnu.org>
7062
7063 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7064
7065 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7066
7067 * dirtrack.el (dirtrack): Support shell buffers with path
7068 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7069
7070 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7071
7072 * json.el: Bump version to 1.3 and note change in History.
7073 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7074
7075 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7076
7077 * comint.el (comint-insert-input, comint-send-input)
7078 (comint-get-old-input-default, comint-backward-matching-input)
7079 (comint-next-prompt): Use nil instead of `input' for field property of
7080 past user input (bug#114).
7081
7082 * minibuffer.el (completion--replace): Inherit surrounding properties
7083 (bug#114).
7084 (minibuffer-complete-and-exit): Use it.
7085
7086 * comint.el (comint--table-subvert): Quote the all-completions output
7087 (bug#9160).
7088
7089 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7090
7091 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7092
7093 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7094 window on right of selected. (Bug#9350) Reword other window
7095 entries and separate them from frame entries.
7096
7097 2011-10-15 Glenn Morris <rgm@gnu.org>
7098
7099 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7100 Doc fixes.
7101
7102 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7103
7104 * net/network-stream.el (network-stream-open-starttls):
7105 Improve detection of failure due to lack of TLS support.
7106
7107 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7108 putting the input text in front and in bold.
7109
7110 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7111
7112 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7113
7114 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7115 empty buffer.
7116
7117 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7118 unread-command-events rather than pushing yet-another event.
7119
7120 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7121
7122 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7123 the explanation of the possible choices. Make the options passed
7124 to completing-read shorter.
7125
7126 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7127
7128 * textmodes/flyspell.el (flyspell-large-region): Make sure
7129 extended character mode is used if defined (Bug#1339).
7130
7131 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7132
7133 * simple.el (what-cursor-position): Fix the display of the
7134 character info for LRE, LRO, RLE, and RLO characters by appending
7135 an invisible PDF.
7136
7137 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7140 even in case of error; add debug spec; simplify data flow.
7141 (with-timeout-handler): Remove.
7142
7143 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7144
7145 Fix Bug#6019, Bug#9315.
7146
7147 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7148 complete `buffer-file-name', the local file name part could look
7149 remotely (for example on VMS).
7150
7151 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7152 `tramp-run-real-handler'.
7153 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7154 already quoted by '"'.
7155
7156 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7157 Let `file-name-handler-alist' be nil, the local file name part
7158 could look remotely (for example on VMS).
7159
7160 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7163 from here...
7164 (flyspell-post-command-hook): ...to here.
7165
7166 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7169 if not needed.
7170 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7171 using completion. Protect against "slow" callers.
7172 Remove the "message hack".
7173
7174 2011-10-11 Juri Linkov <juri@jurta.org>
7175
7176 * isearch.el (isearch-lazy-highlight-word): New variable.
7177 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7178 Use it. (Bug#9727)
7179
7180 2011-10-11 Glenn Morris <rgm@gnu.org>
7181
7182 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7183 like f90-previous-statement does.
7184
7185 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7186
7187 * eshell/eshell.el (eshell-command): History should be saved
7188 only in interactive use, to avoid error.
7189
7190 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7191
7192 * minibuffer.el (completion-file-name-table): Fix last change,
7193 i.e. ignore normal errors but not the other ones.
7194
7195 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7196
7197 * window.el (special-display-buffer-names)
7198 (special-display-regexps): Remove some remnants of earlier
7199 changes from doc-strings.
7200 (quit-windows-on): New function.
7201
7202 * vc/vc.el (vc-revert, vc-rollback):
7203 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7204 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7205 (Bug#6183) (Bug#7074) (Bug#7447)
7206
7207 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7208
7209 * window.el (frame-auto-hide-function): Add version tag.
7210 (Bug#9699)
7211
7212 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
7213
7214 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7215 condition.
7216
7217 2011-10-09 Leo Liu <sdl.web@gmail.com>
7218
7219 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7220 (Bug#9701)
7221
7222 2011-10-08 Glenn Morris <rgm@gnu.org>
7223
7224 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7225 before the first code statement zero indent. (Bug#9690)
7226
7227 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
7228
7229 * simple.el (count-words-region): Always count in the region.
7230 Report the number of lines and characters too.
7231 (count-words): New command, which counts in the buffer if the
7232 region is inactive, as count-words-region used to.
7233 (count-words--message): New function. Handle plurals.
7234 (count-lines-region): Make it an alias for count-words-region.
7235
7236 * bindings.el (esc-map): Replace count-lines-region with
7237 count-words-region.
7238
7239 2011-10-08 Martin Rudalics <rudalics@gmx.at>
7240
7241 * window.el (window--delete): Delete dedicated frame
7242 unconditionally when argument KILL is non-nil. (Bug#9699)
7243 (switch-to-buffer): Fix doc-string typo.
7244
7245 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7246
7247 * eshell/eshell.el (eshell-command): Avoid using hooks.
7248
7249 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7250
7251 * bindings.el ([M-left],[M-right]): Bind to left-word and
7252 right-word respectively.
7253
7254 2011-10-07 Glenn Morris <rgm@gnu.org>
7255
7256 * cus-start.el (debug-on-quit): Fix custom type.
7257
7258 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7259
7260 * subr.el (define-key-after): Clarify that the function is not
7261 useful for non-menu keymaps.
7262
7263 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7264
7265 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7266
7267 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7268 in current minibuffer (Fix bug with recursive minibuffers).
7269
7270 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7271
7272 * progmodes/gdb-mi.el (gdb): Doc fix.
7273
7274 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7275
7276 * window.el (frame-auto-hide-function): New option replacing
7277 frame-auto-delete. Suggested by Stefan Monnier.
7278 (window--delete): Call frame-auto-hide-function instead of
7279 investigating frame-auto-delete.
7280 (window-point-1, set-window-point-1): New functions.
7281 (window-in-direction, record-window-buffer, window-state-get-1)
7282 (display-buffer-record-window): Use window-point-1 instead of
7283 window-point.
7284 (set-window-buffer-start-and-point): Use set-window-point-1.
7285
7286 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7287
7288 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7289
7290 2011-10-05 Glenn Morris <rgm@gnu.org>
7291
7292 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7293 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7294
7295 2011-10-05 Leo Liu <sdl.web@gmail.com>
7296
7297 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7298 works with buffer object.
7299
7300 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * mpc.el (mpc-tool-bar-map): Add labels.
7303
7304 2011-10-04 Glenn Morris <rgm@gnu.org>
7305
7306 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7307
7308 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7309
7310 * window.el (window--delete): New function.
7311 (frame-auto-delete): Resuscitate option.
7312 (bury-buffer, replace-buffer-in-windows)
7313 (quit-window): Rewrite using window--delete.
7314 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7315 Pass display-buffer-mark-dedicated to window--display-buffer-2
7316 (Bug#9639).
7317
7318 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7319
7320 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7321 returns a list (bug#9554). Add remote file name completion.
7322 * comint.el (comint--table-subvert): Curry and get quote&unquote
7323 functions as arguments.
7324 (comint--complete-file-name-data): Adjust call accordingly.
7325 * pcomplete.el (pcomplete--table-subvert): Remove.
7326 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7327
7328 * minibuffer.el (completion-table-case-fold): Use currying.
7329 (completion--styles-type, completion--cycling-threshold-type):
7330 New constants.
7331 (completion-styles, completion-category-overrides)
7332 (completion-cycle-threshold): Use them.
7333 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7334 completion-table-case-fold.
7335
7336 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7337
7338 * minibuffer.el (completion-category-overrides): Fix type of styles
7339 and add more user friendly tags (bug#9660).
7340
7341 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7342
7343 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7344 (mule-input-method-string): New widget.
7345 (default-input-method, language-info-custom-alist): Use it.
7346
7347 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7348
7349 * pcomplete.el: Require comint.
7350 (pcomplete--common-suffix): Remove.
7351 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7352 (pcomplete--table-subvert): Sync with comint--table-subvert.
7353 (pcomplete--entries): Use comint-completion-file-name-table.
7354 * comint.el (comint-unquote-filename): Simplify.
7355 (comint-completion-file-name-table): New function (bug#9616).
7356 (comint--complete-file-name-data): Use it.
7357
7358 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7359 (pcmpl-gnu-tar-buffer): Remove.
7360 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7361 around. Make sure pcomplete-suffix-list is only changed temporarily.
7362 Don't look inside the tar's file if it's too large.
7363
7364 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7365
7366 * cus-edit.el (custom-mode-map):
7367 * epa.el (epa-key-list-mode-map):
7368 * man.el (Man-mode-map):
7369 * startup.el (splash-screen-keymap):
7370 * simple.el (special-mode-map): Use scroll-up-command and
7371 scroll-down-command.
7372
7373 * progmodes/idlw-help.el (idlwave-help-mode-map):
7374 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7375 * net/newst-plainview.el (newsticker-mode-map):
7376 * emulation/ws-mode.el (wordstar-mode-map):
7377 * emulation/vi.el (vi-com-map):
7378 * calc/calc-graph.el (calc-graph-show-dumb):
7379 * term/sun.el (terminal-init-sun):
7380 * term/ns-win.el (global-map):
7381 * progmodes/grep.el (grep-mode-map):
7382 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7383 * mail/rmail.el (rmail-mode-map):
7384 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7385
7386 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7387 custom-safe-themes as special.
7388
7389 2011-10-01 Julien Danjou <julien@danjou.info>
7390
7391 * notifications.el (notifications-notify): Fix docstring.
7392
7393 2011-10-01 Per Starbäck <per@starback.se>
7394
7395 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7396
7397 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7398
7399 * startup.el (command-line-1): Fix last fix by inserting
7400 initial-scratch-message into *scratch* before displaying it.
7401 (Bug#9605) and (Bug#9636)
7402
7403 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7404
7405 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7406 window is hscrolled, move by logical lines. (Bug#9607)
7407 (line-move-visual): Update the doc string to the above effect.
7408
7409 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7410
7411 * window.el (display-buffer-record-window): When WINDOW is the
7412 selected window use `point' instead of `window-point'. (Bug#9626)
7413
7414 * startup.el (command-line-1): Use insert-before-markers when
7415 inserting initial-scratch-message. (Bug#9605)
7416
7417 * help.el (help-window): Remove variable.
7418
7419 2011-09-29 Glenn Morris <rgm@gnu.org>
7420
7421 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7422
7423 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7424
7425 * descr-text.el (describe-char-categories): Accept category
7426 descriptions more than one line long.
7427
7428 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * simple.el (delete-trailing-whitespace): Fix last change.
7431
7432 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7433 Don't confuse "y => 3" as the beginning of a `y' operation.
7434
7435 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7436 object has more than 4 slots (bug#9613).
7437
7438 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7439
7440 * subr.el (with-output-to-temp-buffer):
7441 * net/quickurl.el (quickurl, quickurl-browse-url):
7442 Fix typos in docstrings.
7443
7444 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7445
7446 * minibuffer.el (completion-styles)
7447 (completion-category-overrides): Cross reference each other in doc
7448 strings.
7449
7450 2011-09-27 Glenn Morris <rgm@gnu.org>
7451
7452 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7453 to split-string. (Bug#9606)
7454
7455 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7456
7457 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7458 (bug#9615).
7459
7460 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7461
7462 * emacs-lisp/package.el (list-packages): Fix echo area message.
7463
7464 2011-09-27 Leo Liu <sdl.web@gmail.com>
7465
7466 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7467
7468 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7469
7470 * net/dbus.el (dbus-unregister-object): Don't release services for
7471 registered signals. (Bug#9581)
7472
7473 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7474
7475 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7476 function that picks between cfengine 2 and 3 support
7477 automatically. Update docs accordingly.
7478
7479 2011-09-22 Kenichi Handa <handa@m17n.org>
7480
7481 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7482 ZERO.
7483 (indian-itrans-v5-table-for-tamil): New variable.
7484 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7485
7486 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7487
7488 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7489 that's true if the current command involved collapsing of text.
7490 It's reset to false at the beginning of the next command.
7491 (allout-post-command-business): Move the cursor to the beginning
7492 of entry if the cursor is hidden and collapsing activity just
7493 happened.
7494
7495 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7496
7497 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7498 tracking (Bug#9541).
7499
7500 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7501
7502 * net/newst-reader.el (newsticker-html-renderer)
7503 (newsticker-show-news): Automatically load html rendering package
7504 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7505 because w3m-fill-column is let-bound" and the error "Symbol's value
7506 as variable is void: w3m-fill-column".
7507
7508 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7509
7510 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7511 Release services only if they are defined. (Bug#9581)
7512
7513 2011-09-23 Richard Stallman <rms@gnu.org>
7514
7515 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7516 distinguish start of paragraph from start of its text.
7517
7518 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7519
7520 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7521 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7522 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7523
7524 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7525
7526 * international/mule-diag.el (mule-diag): Insert a newline after
7527 each fontset description.
7528
7529 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7530
7531 * simple.el (delete-trailing-whitespace):
7532 Document last change; simplify.
7533
7534 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7535
7536 * simple.el (delete-trailing-whitespace): Also delete
7537 extra newlines at the end of the buffer.
7538
7539 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7540 (picture-newline): Use forward-line so as to ignore fields.
7541
7542 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * subr.el (with-wrapper-hook): Fix edebug spec.
7545
7546 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7547
7548 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7549 (bug#4538).
7550
7551 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7552
7553 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7554 Fix nasty bug using wrong cached values.
7555
7556 2011-09-23 Alan Mackenzie <acm@muc.de>
7557
7558 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7559
7560 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7561
7562 * window.el (pop-to-buffer): Ensure right window is selected if we
7563 chose another frame.
7564
7565 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7566
7567 * simple.el (what-cursor-position): Use get-char-property-change
7568 and next-single-char-property-change, to be able to show display
7569 properties that come from overlays as well as text properties.
7570
7571 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7572
7573 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7574
7575 * cmuscheme.el (run-scheme, switch-to-scheme):
7576 * cus-edit.el (customize-group, custom-buffer-create)
7577 (customize-browse):
7578 * info.el (info):
7579 * shell.el (shell):
7580 * mail/sendmail.el (mail):
7581 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7582
7583 2011-09-22 Richard Stallman <rms@gnu.org>
7584
7585 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7586 move back only to line beg, don't move back over blank lines.
7587
7588 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7589
7590 * files.el (copy-directory): Set directory attributes only in case
7591 they could be retrieved from the source directory. (Bug#9565)
7592
7593 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7594
7595 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7596 (hs-find-block-beginning, hs-hide-level-recursive):
7597 Ignore strings as well as comments. (Bug#9502)
7598
7599 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7600
7601 * progmodes/sql.el (sql-comint-postgres):
7602 Convert port number to a string. (Bug#9566)
7603
7604 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7605
7606 * window.el (quit-window): Undedicate window when switching to
7607 previous buffer. Reported by Thierry Volpiatto
7608 <thierry.volpiatto@gmail.com>.
7609 (special-display-popup-frame): When popping up a new frame reset
7610 its previous buffers to nil. Simplify code.
7611
7612 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7613
7614 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7615 and process filter, as done also in `shell-command'.
7616
7617 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7618
7619 * window.el (set-window-buffer-start-and-point):
7620 Call set-window-start with NOFORCE argument t.
7621 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7622 (quit-window): Reword doc-string. Handle new format of
7623 quit-restore parameter. Don't delete window if it has a
7624 previous buffer we can show instead of the present one.
7625 (display-buffer-record-window): Rewrite using a new format for
7626 the quit-restore window parameter
7627 (special-display-popup-frame, display-buffer-same-window)
7628 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7629 (display-buffer-pop-up-window, display-buffer-use-some-window):
7630 Adapt symbol passed to display-buffer-record-window.
7631 * help.el (help-window-setup): Handle new format of quit-restore
7632 parameter.
7633
7634 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * faces.el (face-list): Fix docstring (bug#9564).
7637
7638 * window.el (display-buffer--action-function-custom-type):
7639 Don't include internal functions in the Custom interface.
7640
7641 2011-09-20 Juri Linkov <juri@jurta.org>
7642
7643 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7644 (Info-forward-node, Info-backward-node, Info-next-preorder)
7645 (Info-last-preorder): Use it. (Bug#9528)
7646
7647 2011-09-20 Juri Linkov <juri@jurta.org>
7648
7649 * info.el (Info-last-preorder): Visit last menu item only when
7650 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7651
7652 2011-09-20 Julien Danjou <julien@danjou.info>
7653
7654 * password-cache.el (password-cache-remove): Remove entries even if the
7655 value is nil, so that password with a nil value (negative caching) is
7656 possible to invalidate.
7657
7658 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7659
7660 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7661 all whitespace around breakpoint. (Bug#9553)
7662 (f90-find-breakpoint): Only break at whitespace inside a comment.
7663
7664 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * minibuffer.el (completion-file-name-table): Keep track of errors.
7667 (completion-table-with-predicate): Handle the case where pred1 is nil.
7668 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7669
7670 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7671
7672 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7673 (debugger-return-value): Signal an error if the debugging context does
7674 not await any return value.
7675
7676 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7677 * image-mode.el (image-toggle-display-text)
7678 (image-toggle-display-image): Stay away from evil `intangible'.
7679
7680 2011-09-19 Leo Liu <sdl.web@gmail.com>
7681
7682 * replace.el (occur-revert-arguments): Make it permanent-local.
7683 (occur-mode): Don't call font-lock-defontify.
7684
7685 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7686
7687 * net/ldap.el (ldap-search-internal): Don't push empty search
7688 result (Bug#9508).
7689
7690 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7693
7694 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7695
7696 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7697 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7698
7699 2011-09-18 Juri Linkov <juri@jurta.org>
7700
7701 * buff-menu.el (Buffer-menu-mode-map):
7702 * dired.el (dired-mode-map):
7703 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7704 (lisp-interaction-mode-map):
7705 * emacs-lisp/package.el (package-menu-mode-map):
7706 * epa.el (epa-key-list-mode-map):
7707 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7708 (menu-bar-options-menu):
7709 * outline.el (outline-mode-menu-bar-map):
7710 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7711 * vc/vc-dir.el (vc-dir-menu-map):
7712 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7713 Capitalize non-function content words in menu item strings.
7714
7715 * dired.el (dired-mode-map): Add menu item for
7716 `image-dired-dired-toggle-marked-thumbs'.
7717
7718 2011-09-18 Juri Linkov <juri@jurta.org>
7719
7720 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7721 to `isearch-case-fold-search' and restore its original value
7722 after the `isearch-mode' call.
7723
7724 2011-09-18 Juri Linkov <juri@jurta.org>
7725
7726 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7727 because `zgrep' returns 1 for successful matches (bug#9226).
7728
7729 2011-09-18 Juri Linkov <juri@jurta.org>
7730
7731 * info.el (Info-extract-menu-node-name): Check the second match
7732 for empty string (second test-case of bug#9528).
7733 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7734 intermediate nodes to the history (first test-case of bug#9528).
7735
7736 2011-09-18 Juri Linkov <juri@jurta.org>
7737
7738 * info.el (Info-mode-syntax-table): New variable.
7739 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7740
7741 2011-09-18 Juri Linkov <juri@jurta.org>
7742
7743 * info.el (Info-file-supports-index-cookies):
7744 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7745 outputs one more line for long file names (bug#4142).
7746
7747 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7748
7749 * newcomment.el (comment-normalize-vars): If prompting for
7750 comment-start, set comment-start-skip too (Bug#8424).
7751
7752 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7753
7754 * icomplete.el: Fix previous fix of Bug#5849.
7755 (icomplete-mode): Don't set completion-show-inline-help.
7756 (icomplete-minibuffer-setup): Set completion-show-inline-help
7757 locally during icompletion.
7758
7759 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7760
7761 * woman.el (woman2-process-escapes): Don't delete unrecognized
7762 escapes (Bug#7843).
7763
7764 * files.el (inhibit-first-line-modes-regexps): Add image files.
7765 (hack-local-variables-prop-line): Return nil for malformed
7766 prop-lines (Bug#9044).
7767
7768 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7769
7770 * net/tramp.el (top): Don't require 'shell.
7771 (tramp-methods): Fix docstring.
7772 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7773 Return complete remote file name. Handle "smb" case.
7774 Use `tramp-tmpdir', if defined for the respective method.
7775 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7776
7777 * net/tramp-compat.el (top): Require 'shell.
7778
7779 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7780 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7781 `tramp-current-host'.
7782 (tramp-get-remote-tmpdir): Remove.
7783
7784 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7785 `tramp-tmpdir' entries.
7786 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7787 (tramp-smb-handle-file-attributes): Ignore errors.
7788 (tramp-smb-wait-for-output): Check also for process end.
7789
7790 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7791
7792 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7793 when sending QUIT (bug#9312).
7794
7795 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7796
7797 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7798 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7799 occur-mode-display-occurrence.
7800 (occur-edit-mode): Add usage message.
7801 (occur-cease-edit): New command.
7802 (occur-after-change-function): Use text properties to find the
7803 position of the prefix text.
7804 (occur-engine): Set stickiness of prefix text properties.
7805
7806 2011-09-17 Glenn Morris <rgm@gnu.org>
7807
7808 * progmodes/etags.el (complete-tag):
7809 Fix call to completion-in-region. (Bug#9526)
7810
7811 2011-09-17 Juri Linkov <juri@jurta.org>
7812
7813 * textmodes/ispell.el (ispell-word): Add to the error message
7814 the word, ispell program name and current dictionary (bug#9121).
7815 (ispell-tex-arg-end): Capitalize "error" in the error message.
7816
7817 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7818
7819 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7820 check. (Bug#4251)
7821
7822 2011-09-17 Juri Linkov <juri@jurta.org>
7823
7824 * window.el (window-safe-min-height, window-safe-min-width):
7825 Fix typos (followup to bug#9522).
7826
7827 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7828
7829 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7830
7831 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7832
7833 * simple.el (line-move): If goal-column is set, move by logical
7834 lines, not by display lines. (Bug#971)
7835 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7836 to reflect the above change.
7837
7838 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * image.el (imagemagick-register-types): Use regexp-opt.
7841
7842 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7843
7844 * window.el (display-buffer-base-action): Rename from
7845 display-buffer-default-action. Make default value empty.
7846 (display-buffer-overriding-action): Convert to defvar.
7847 (display-buffer-fallback-action): New var.
7848
7849 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7850
7851 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7852 declaration.
7853 (package--add-to-archive-contents): If there is a duplicate entry
7854 with an older version, remove it.
7855 (package-menu-mark-delete, package-menu-mark-install)
7856 (package-menu-mark-unmark): Make unused args optional.
7857 (package-menu-mark-obsolete-for-deletion):
7858 Use package-menu-get-status instead of a regexp search.
7859 (package-menu-get-status): Use tabulated-list-entry.
7860 (package-menu-mark-upgrades): New command.
7861 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7862 (package-menu-execute): Do installation before deletion.
7863 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7864 instead of checking major-mode.
7865 (package-menu--find-upgrades): New function.
7866
7867 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7868
7869 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7870 passwords in the log buffer.
7871 (smtpmail-process-filter): Update the process marker so that the
7872 "broken by peer" status message is inserted in the right place.
7873
7874 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7875
7876 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7877 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7878 bibtex-completion-at-point-function.
7879 (bibtex-completion-at-point-function): Use them.
7880
7881 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7882
7883 * mpc.el (mpc-constraints-tag-lookup): New function.
7884 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7885 also to browser "album|playlist".
7886
7887 2011-09-14 Juri Linkov <juri@jurta.org>
7888
7889 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7890 (isearch-edit-string): Use length of `isearch-string' when
7891 `isearch-fail-pos' returns nil.
7892 (isearch-message): Remove duplicate code and call
7893 `isearch-fail-pos' with arg `t'.
7894
7895 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7896
7897 * replace.el (occur-mode-goto-occurrence): Don't force using other
7898 window (Bug#9499).
7899
7900 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7901
7902 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7903
7904 * window.el (display-buffer-window): Remove.
7905 (display-buffer-record-window): Use help-setup window parameter
7906 instead of variable display-buffer-window.
7907 (display-buffer-function, special-display-buffer-names)
7908 (special-display-function): Mention help-setup parameter instead
7909 of display-buffer-window in doc-string.
7910 * help.el (help-window-setup): New argument help-window.
7911 Use help-window-setup parameter instead of display-buffer-window.
7912 Reword some messages.
7913 (with-help-window): Pass window used for displaying the buffer
7914 to help-window-setup. Don't set display-buffer-window.
7915
7916 2011-09-13 Glenn Morris <rgm@gnu.org>
7917
7918 * emacs-lisp/debug.el (debugger-make-xrefs):
7919 Preserve point. (Bug#9462)
7920
7921 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7922
7923 * window.el (window-deletable-p): Use next-frame.
7924
7925 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7926
7927 * window.el (window-auto-delete): Remove.
7928 (window-deletable-p): Remove argument FORCE. Don't deal with
7929 dedication and previous buffers.
7930 (switch-to-prev-buffer): Don't delete window.
7931 (delete-windows-on): Delete a window's frame if and only if the
7932 window is dedicated.
7933 (replace-buffer-in-windows): Delete buffer's window or frame if
7934 and only if window is dedicated.
7935 (quit-window): Handle quit-restore as before last change.
7936 (bury-buffer): Delete window only if window-deletable-p returns t.
7937
7938 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7939
7940 * window.el (window-deletable-p): Never delete the last frame on a
7941 given terminal.
7942
7943 2011-09-13 Glenn Morris <rgm@gnu.org>
7944
7945 * help.el (describe-key-briefly): Copy previous standard-output change.
7946
7947 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7948
7949 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7950
7951 2011-09-13 Glenn Morris <rgm@gnu.org>
7952
7953 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7954 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7955
7956 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7957
7958 * dired-aux.el (dired-mark-read-string): Don't return default
7959 value on empty input (Bug#9361).
7960 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7961 Omit initial minibuffer contents.
7962 (dired-do-chmod): Signal an error on empty input.
7963 (dired-mark-read-string): Don't return default on empty input.
7964
7965 * files.el (file-modes-symbolic-to-number): Doc fix.
7966
7967 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7968
7969 * international/mule-cmds.el (ucs-completions): Remove.
7970 (read-char-by-name): Use complete-with-action instead; add metadata.
7971
7972 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7973
7974 * window.el (display-buffer--action-function-custom-type)
7975 (display-buffer--action-custom-type): New vars.
7976 (display-buffer-alist, display-buffer-default-action)
7977 (display-buffer-overriding-action): Add defcustom types.
7978
7979 * frame.el (delete-other-frames): Doc fix (Bug#276).
7980
7981 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7982
7983 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7984
7985 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7986
7987 Change modes that used same-window-* vars to use switch-to-buffer.
7988
7989 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7990 Use switch-to-buffer.
7991
7992 * cus-edit.el (customize-group, custom-buffer-create)
7993 (customize-browse, custom-buffer-create-other-window):
7994 Use switch-to-buffer or switch-to-buffer-other-window.
7995
7996 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7997 (Info-prev, Info-up, Info-speedbar-goto-node)
7998 (info-display-manual): Use switch-to-buffer.
7999 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8000
8001 * mail/sendmail.el (mail): Use switch-to-buffer.
8002 (mail-recover): Use switch-to-buffer-other-window.
8003
8004 * cmuscheme.el (run-scheme, switch-to-scheme):
8005 * ielm.el (ielm):
8006 * shell.el (shell):
8007 * net/rlogin.el (rlogin):
8008 * net/telnet.el (telnet, rsh):
8009 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8010
8011 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8012
8013 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8014
8015 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8016
8017 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8018 so don't mention it (bug#9301).
8019 (dired-sort-toggle-or-edit): Clarify string further.
8020
8021 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8022 match `x', `w32' and `ns', like the manual says (bug#9029).
8023
8024 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8025 (process-kill-buffer-query-function): Mention the buffer name in
8026 the query.
8027
8028 * image-mode.el (image-next-line): The line parameter is mandatory
8029 (bug#9258).
8030
8031 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8032 which can be useful (bug#9301).
8033
8034 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8035
8036 * subr.el (match-string): Mention that the current buffer should
8037 be the same as the search was done in (bug#9282).
8038
8039 * facemenu.el: Disable the remove-* commands if the mark isn't
8040 active (bug#9162).
8041
8042 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8043
8044 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8045 of display-buffer.
8046 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8047
8048 * replace.el (occur-mode-goto-occurrence)
8049 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8050 and display-buffer.
8051
8052 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8053 display-buffer.
8054
8055 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8056 special-display and same-window variables.
8057 (mail-other-window): Use switch-to-buffer-other-window.
8058 (mail-other-frame): USe switch-to-buffer-other-frame.
8059
8060 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8061 Use display-buffer-other-frame.
8062 (gdb-display-gdb-buffer): Use pop-to-buffer.
8063
8064 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8065
8066 * progmodes/python.el: Don't set same-window-buffer-names.
8067
8068 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8069
8070 * window.el (display-buffer-alist): Add *Python*.
8071
8072 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8073
8074 * window.el (display-buffer-alist): Add entry for buffers
8075 previously handled same-window-*.
8076 (display-buffer-alist, display-buffer-default-action)
8077 (display-buffer-overriding-action): Mark as risky.
8078 (display-buffer-alist): Document action function changes.
8079 (display-buffer--same-window-action)
8080 (display-buffer--other-frame-action): New variables.
8081 (switch-to-buffer, display-buffer-other-frame): Use them.
8082 (display-buffer): Rename reuse-frame entry to reusable-frames.
8083 (display-buffer-reuse-selected-window): Function deleted.
8084 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8085 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8086 (display-buffer-special): New function.
8087 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8088 display-buffer-reuse-or-pop-window. Split off special-display
8089 part into display-buffer-special.
8090 (display-buffer-use-some-window): Don't perform any special
8091 pop-up-frames handling.
8092 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8093 (display-buffer--maybe-same-window): Rename from
8094 display-buffer-maybe-same-window.
8095
8096 * info.el: Don't set same-window-regexps.
8097 (info-setup): New function.
8098 (info-other-window, info): Call it.
8099
8100 * cus-edit.el: Don't set same-window-regexps.
8101 (customize-group): New argument.
8102 (customize-group-other-window): Use it.
8103 (customize-face, customize-face-other-window): Likewise.
8104 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8105
8106 * net/rlogin.el:
8107 * net/telnet.el:
8108 * progmodes/gud.el: Don't set same-window-regexps.
8109
8110 * cmuscheme.el:
8111 * ielm.el:
8112 * shell.el:
8113 * mail/sendmail.el:
8114 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8115
8116 2011-09-10 Juri Linkov <juri@jurta.org>
8117
8118 * isearch.el (isearch-edit-string): Remove obsolete mention of
8119 `C-w' (`isearch-yank-word-or-char') from docstring.
8120 (isearch-query-replace): Fix typo in docstring (bug#9466).
8121
8122 2011-09-10 Juri Linkov <juri@jurta.org>
8123
8124 * paren.el (show-paren-function): Don't show escaped parens.
8125 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8126
8127 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8128
8129 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8130 (mm-default-file-encoding): Remove autoload forms, they are
8131 replaced with autoload cookies in mml.el and mm-encode.el.
8132 (mail-add-attachment): New command.
8133 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8134 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8135 the doc string.
8136 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8137
8138 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8139
8140 * simple.el (count-words-region): Use buffer if there's no region
8141 (bug#9429).
8142
8143 2011-09-09 Juri Linkov <juri@jurta.org>
8144
8145 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8146 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8147 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8148
8149 2011-09-09 Alan Mackenzie <acm@muc.de>
8150
8151 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8152 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8153
8154 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8155
8156 Fix for Savannah bug#9392.
8157 * simple.el (mail-encode-mml): New defvar.
8158
8159 * mail/rmail.el (mail-encode-mml): Add a defvar.
8160 (rmail-enable-mime-composing): Default to t.
8161 (rmail-forward): Use MIME method of forwarding only if both
8162 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8163 Set mail-encode-mml non-nil if the MIME method was used.
8164
8165 * mail/sendmail.el (mml-to-mime): Add autoload form.
8166 (mail-encode-mml): Add a defvar.
8167 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8168 to nil.
8169 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8170 message through mml-to-mime, and reset mail-encode-mml to nil.
8171
8172 2011-09-09 Glenn Morris <rgm@gnu.org>
8173
8174 * woman.el (woman-if-body): When processing an .el block,
8175 do not delete the next .el block as well. (Bug#9447)
8176 (woman-special-characters): Add oq, cq, and hy characters.
8177
8178 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8179
8180 * window.el (window-deletable-p): Make sure window is live before
8181 invoking window-prev-buffers.
8182
8183 2011-09-08 Leo Liu <sdl.web@gmail.com>
8184
8185 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8186
8187 2011-09-08 Juri Linkov <juri@jurta.org>
8188
8189 * progmodes/compile.el (compilation-environment): Make it
8190 a defcustom (bug#8340).
8191
8192 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8193
8194 * window.el (frame-auto-delete): Rename to window-auto-delete.
8195 Make it control auto-deletion of windows and/or frames.
8196 (window-deletable-p): New argument FORCE. Rewrite conditions
8197 for deleting window/frame. (Bug#9419)
8198 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8199 Rewrite handling of case when window/frame can be deleted.
8200 (delete-windows-on): Call window-deletable-p with new FORCE
8201 argument t. (Bug#9456)
8202
8203 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8204
8205 * help-mode.el (help-mode): Restore autoload.
8206
8207 2011-09-07 Juri Linkov <juri@jurta.org>
8208
8209 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8210 `compilation-environment'. Set buffer-local
8211 `compilation-environment' to `thisenv' later after (funcall mode).
8212 (Bug#8340)
8213
8214 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8215 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8216 instead of replacing its value. (Bug#8340)
8217
8218 2011-09-07 Juri Linkov <juri@jurta.org>
8219
8220 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8221 based on text properties put by `grep-filter' instead of matching
8222 escape sequences.
8223 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8224 to the value of `grep-error-screen-columns' (bug#9438).
8225
8226 2011-09-07 Juri Linkov <juri@jurta.org>
8227
8228 * simple.el (next-error-highlight, next-error-highlight-no-select):
8229 Doc fix (bug#9432).
8230
8231 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8232
8233 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8234 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8235
8236 2011-09-07 Leo Liu <sdl.web@gmail.com>
8237
8238 * net/rcirc.el (rcirc-mode): Conditionally initialize
8239 rcirc-input-ring.
8240
8241 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8242
8243 * emacs-lisp/find-func.el (find-function-C-source): Only set
8244 find-function-C-source-directory after checking that we found a source
8245 file there (bug#9440).
8246
8247 2011-09-06 Alan Mackenzie <acm@muc.de>
8248
8249 * isearch.el (isearch-other-meta-char): Wherever a key list is
8250 unread, "unread" the prefix arg, too. This fixes bug #8901.
8251
8252 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8253
8254 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8255
8256 2011-09-05 Juri Linkov <juri@jurta.org>
8257
8258 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8259
8260 2011-09-05 Juri Linkov <juri@jurta.org>
8261
8262 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8263 keeping point where processing of grep matches begins, and
8264 continue to delete remaining escape sequences from the same point.
8265 (grep-filter): Make leading zero optional in "0?1;31m" because
8266 git-grep emits "\033[1;31m" escape sequences unlike expected
8267 "\033[01;31m" as GNU Grep does (bug#9408).
8268 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8269
8270 2011-09-05 Juri Linkov <juri@jurta.org>
8271
8272 * subr.el (y-or-n-p): Capitalize "yes".
8273
8274 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8275
8276 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8277 `tramp-cache-unload-hook' where appropriate.
8278 (tramp-methods): Rename `tramp-remote-sh' to
8279 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8280 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8281
8282 * net/tramp-sh.el (top): Don't require 'shell.
8283 (tramp-methods): Add `tramp-remote-shell' and
8284 `tramp-remote-shell-args' entries.
8285 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8286 (tramp-sh-handle-shell-command): Remove.
8287 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8288 Use `tramp-remote-shell'.
8289
8290 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8291
8292 * mail/sendmail.el (sendmail-query-once-function): Delete.
8293 (sendmail-query-once): Save directly to send-mail-function.
8294 Update message-send-mail-function too.
8295
8296 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8297
8298 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8299
8300 * progmodes/python.el (python-mode-map): Use correct function to
8301 start python interpreter from menu-bar (as reported by Geert
8302 Kloosterman).
8303 (inferior-python-mode-map): Fix typo.
8304 (python-shell-map): Remove.
8305
8306 2011-09-03 Deniz Dogan <deniz@dogan.se>
8307
8308 * net/rcirc.el (rcirc-print): Simplify code for
8309 rcirc-scroll-show-maximum-output. There is no need to walk
8310 through all windows to find the right one.
8311
8312 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8313
8314 * help.el (help-return-method): Doc fix.
8315
8316 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8317
8318 * window.el (window-deletable-p): Don't return a non-nil value
8319 when there's a buffer that was shown in the window before.
8320 (Bug#9419)
8321 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8322 Set window's previous buffers to nil.
8323
8324 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8325
8326 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8327 newline before and after the tag line, so it doesn't interfere
8328 with determining the paragraph direction of bidirectional text.
8329
8330 2011-09-03 Leo Liu <sdl.web@gmail.com>
8331
8332 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8333
8334 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8335
8336 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8337 (pop-to-buffer): Change interactive spec. Pass second argument
8338 directly to display-buffer.
8339 (display-buffer): Fix interactive spec. Use functionp to
8340 distinguish between a function and a list of functions.
8341
8342 * abbrev.el (edit-abbrevs):
8343 * arc-mode.el (archive-extract):
8344 * autoinsert.el (auto-insert):
8345 * bookmark.el (bookmark-bmenu-list):
8346 * files.el (find-file):
8347 * view.el (view-buffer):
8348 * progmodes/compile.el (compilation-goto-locus):
8349 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8350
8351 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8352
8353 * window.el (display-buffer-alist): Doc fix.
8354 (display-buffer): Add docstring. Don't treat
8355 display-buffer-default specially.
8356 (display-buffer-reuse-selected-window)
8357 (display-buffer-same-window, display-buffer-maybe-same-window)
8358 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8359 (display-buffer-pop-up-window)
8360 (display-buffer-reuse-or-pop-window)
8361 (display-buffer-use-some-window): New functions.
8362 (display-buffer-default-action): Use them.
8363 (display-buffer-default): Delete.
8364 (pop-to-buffer-1): Fix choice of actions.
8365
8366 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8367
8368 * minibuffer.el (completion--insert-strings): Don't get confused by
8369 completion entries that end with an LF char.
8370
8371 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8372
8373 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8374
8375 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8376
8377 * window.el (display-buffer): Restore interactive spec.
8378 (display-buffer-same-window, display-buffer-other-window):
8379 New functions.
8380 (pop-to-buffer-1): New function. Use the above.
8381 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8382 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8383
8384 * view.el (view-buffer-other-window, view-buffer-other-frame):
8385 Just use pop-to-buffer.
8386
8387 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8388
8389 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8390
8391 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8392
8393 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8394
8395 2011-08-31 Richard Stallman <rms@gnu.org>
8396
8397 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8398 of the separation of rmail-view-buffer from rmail-buffer.
8399 If you say no to "replace original", the decrypt is in the
8400 view buffer. If you say yes, the decrypt goes into the
8401 rmail buffer also.
8402
8403 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8404
8405 * window.el (display-buffer-window): Rewrite doc-string.
8406 (display-buffer-record-window): New function.
8407 (display-buffer-macro-specifiers)
8408 (display-buffer-even-window-sizes, display-buffer-set-height)
8409 (display-buffer-set-width, display-buffer-in-window)
8410 (display-buffer-reuse-window, display-buffer-split-specifiers)
8411 (display-buffer-side-specifiers, display-buffer-split-window-1)
8412 (display-buffer-split-window, display-buffer-split-atom-window)
8413 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8414 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8415 (display-buffer-other-window-means-other-frame)
8416 (display-buffer-normalize-special)
8417 (display-buffer-normalize-default)
8418 (display-buffer-normalize-argument)
8419 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8420 (display-buffer-normalize-specifiers, display-buffer-frame)
8421 (display-buffer-same-window, display-buffer-same-frame)
8422 (display-buffer-other-window)
8423 (display-buffer-same-frame-other-window)
8424 (display-buffer-other-frame, pop-to-buffer-same-window)
8425 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8426 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8427 (switch-to-buffer-same-frame)
8428 (switch-to-buffer-other-window-same-frame)
8429 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8430 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8431 (display-buffer-alist-set): Remove.
8432 (display-buffer-function, special-display-buffer-names)
8433 (special-display-regexps, special-display-function):
8434 In doc-string refer to display-buffer-window and quit-restore
8435 parameter.
8436 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8437 (special-display-frame-alist, special-display-popup-frame)
8438 (same-window-buffer-names, same-window-regexps, same-window-p)
8439 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8440 (split-window-preferred-function, split-height-threshold)
8441 (split-width-threshold, window-splittable-p)
8442 (split-window-sensibly, window--try-to-split-window)
8443 (window--frame-usable-p, even-window-heights)
8444 (window--even-window-heights, window--display-buffer-1)
8445 (window--display-buffer-2, display-buffer-other-frame):
8446 Restore old Emacs 23 code, order and doc-strings where applicable.
8447 (display-buffer-default, display-buffer-assq-regexp): New functions.
8448 (display-buffer-alist): Rewrite doc-string.
8449 (display-buffer-default-action)
8450 (display-buffer-overriding-action): New variables.
8451 (display-buffer, switch-to-buffer): Rewrite.
8452 (pop-to-buffer): Restore Emacs 23 behavior but use
8453 window-normalize-buffer-to-display.
8454 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8455 Restore Emacs 23 behavior but use
8456 window-normalize-buffer-to-switch-to.
8457 (pop-to-buffer-same-window): Rewrite.
8458 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8459 Rewrite using Emacs 23 options.
8460
8461 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8462
8463 * net/tramp.el (tramp-root-regexp): Remove.
8464 (tramp-completion-file-name-regexp-unified)
8465 (tramp-completion-file-name-regexp-separate)
8466 (tramp-completion-file-name-regexp-url): Don't use leading volume
8467 letter on win32 systems. (Bug#5303, Bug#9311)
8468 (tramp-drop-volume-letter): Simplify definition.
8469 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8470
8471 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8474 (bug#9356).
8475
8476 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8477
8478 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8479
8480 2011-08-29 Juri Linkov <juri@jurta.org>
8481
8482 * isearch.el (isearch-done): Don't display message "Mark saved"
8483 when arg `edit' is non-nil to prevent its flicker in the echo area.
8484
8485 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8486
8487 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8488 obsolete packages for deletion.
8489
8490 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8491
8492 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8493 (help-mode): Derive help-mode from special-mode. Don't invoke
8494 view-mode from help-mode.
8495 (help-xref-override-view-map): Remove.
8496 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8497 view-mode is not used anymore.
8498
8499 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8500
8501 * server.el (server-port): Doc fix.
8502
8503 * cus-theme.el (custom-theme-choose-mode): Inherit from
8504 special-mode (Bug#9124).
8505 (custom-theme-choose-mode-map): Add special-mode to parent.
8506
8507 2011-08-28 Alan Mackenzie <acm@muc.de>
8508
8509 * progmodes/cc-fonts.el
8510 (c-make-font-lock-BO-decl-search-function): New function.
8511 (c-basic-matchers-after - "Fontify the clauses after various
8512 keywords"): Extract the three keyword lists for the 3 erroneous
8513 constructs from the list of four, and use the new function above
8514 in place of an old one.
8515
8516 2011-08-28 Deniz Dogan <deniz@dogan.se>
8517
8518 * net/rcirc.el (rcirc-insert-prev-input)
8519 (rcirc-insert-next-input): Remove unused argument.
8520
8521 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8524
8525 2011-08-27 Alan Mackenzie <acm@muc.de>
8526
8527 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8528 handle function pointer parameters properly.
8529
8530 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8531
8532 * window.el (display-buffer-reuse-window): Fix case where
8533 selected window was reused with non-nil OTHER-WINDOW argument.
8534 (Bug#9381)
8535
8536 2011-08-27 Deniz Dogan <deniz@dogan.se>
8537
8538 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8539 oftc's NickServ messages.
8540
8541 2011-08-27 Glenn Morris <rgm@gnu.org>
8542
8543 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8544
8545 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8546
8547 * emacs-lisp/package.el (package-install): Call package-initialize
8548 if called interactively.
8549
8550 2011-08-26 Leo Liu <sdl.web@gmail.com>
8551
8552 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8553
8554 2011-08-25 Juri Linkov <juri@jurta.org>
8555
8556 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8557 `search-whitespace-regexp' (bug#9364).
8558
8559 2011-08-25 Juri Linkov <juri@jurta.org>
8560
8561 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8562 `regexp-search-ring' to their global values to protect from
8563 updating by `read-from-minibuffer' (bug#9185).
8564
8565 2011-08-25 Juri Linkov <juri@jurta.org>
8566
8567 * textmodes/ispell.el (ispell-command-loop): Add newline
8568 at the end of the "Use option `i'..." line.
8569
8570 2011-08-25 Juri Linkov <juri@jurta.org>
8571
8572 * battery.el (display-battery-mode): If `battery-status-function'
8573 or `battery-mode-line-format' is nil, display the message and set
8574 `display-battery-mode' to nil (bug#9363).
8575
8576 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8577
8578 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8579 bidi-string-mark-left-to-right; they are unnecessary now.
8580
8581 2011-08-25 Deniz Dogan <deniz@dogan.se>
8582
8583 * net/quickurl.el: Documentation typo fixes.
8584
8585 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8586
8587 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8588
8589 2011-08-25 Glenn Morris <rgm@gnu.org>
8590
8591 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8592
8593 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8594 (smtpmail-via-smtp): Handle nil response from smtp.
8595
8596 2011-08-24 Juri Linkov <juri@jurta.org>
8597
8598 * proced.el (proced-marked): Inherit from `error' instead of
8599 `font-lock-warning-face'.
8600
8601 * ibuffer.el (ibuffer-marked-face): Change default face from
8602 `font-lock-warning-face' to `warning'.
8603 (ibuffer-deletion-face): Change default face from
8604 `font-lock-type-face' to `error'.
8605
8606 * battery.el (battery-update): Use the face `error' instead of
8607 `font-lock-warning-face' (bug#6117).
8608
8609 2011-08-24 Juri Linkov <juri@jurta.org>
8610
8611 * faces.el (success): Change face color from "Green3" to
8612 "ForestGreen" on light background (bug#9353).
8613
8614 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8615
8616 * window.el (quit-window): Rename from quit-restore-window.
8617 Use same arglist as old quit-window.
8618 (frame-auto-delete): Doc fix.
8619
8620 * view.el (view-mode-exit): Use quit-window.
8621
8622 2011-08-24 Juri Linkov <juri@jurta.org>
8623
8624 * isearch.el (isearch-ring-adjust1): Start visiting previous
8625 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8626 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8627 for empty search string (when the last search string is reused
8628 automatically) to adjust the isearch ring to the last element and
8629 prepare the correct index for further M-p commands (bug#9185).
8630
8631 2011-08-24 Kenichi Handa <handa@m17n.org>
8632
8633 * international/ucs-normalize.el: If decomposition property of
8634 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8635 nil.
8636 (nfd, nfkd): Likewise.
8637
8638 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8641 from process filters aren't reliably transmitted to the surrounding
8642 accept-process-output.
8643 (mpc-proc-check): New function.
8644 (mpc-proc-sync): Use it (bug#8293)
8645
8646 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8649 Add compatibility functions (bug#9313).
8650
8651 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8652
8653 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8654
8655 * international/uni-bidi.el: Regenerate.
8656
8657 2011-08-23 Kenichi Handa <handa@m17n.org>
8658
8659 * international/charprop.el:
8660 * international/uni-bidi.el:
8661 * international/uni-category.el:
8662 * international/uni-combining.el:
8663 * international/uni-comment.el:
8664 * international/uni-decimal.el:
8665 * international/uni-decomposition.el:
8666 * international/uni-digit.el:
8667 * international/uni-lowercase.el:
8668 * international/uni-mirrored.el:
8669 * international/uni-name.el:
8670 * international/uni-numeric.el:
8671 * international/uni-old-name.el:
8672 * international/uni-titlecase.el:
8673 * international/uni-uppercase.el: Regenerate.
8674
8675 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8676
8677 * help.el (help-window-setup): Fix message displayed when other
8678 window is reused. (Bug#9341)
8679
8680 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8683 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8684
8685 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8686 Mark obsolete.
8687 * shell.el (shell-parse-pcomplete-arguments): New function.
8688 (shell-completion-vars): Use it instead (bug#9160).
8689
8690 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8691
8692 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8693 strings and comments (bug#9333).
8694
8695 * emacs-lisp/debug.el (debug-arglist): New function.
8696 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8697 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8698
8699 2011-08-22 Juri Linkov <juri@jurta.org>
8700
8701 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8702 Revert regexp that highlights output switches to its old
8703 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8704
8705 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8706 to check for empty output (bug#9226).
8707
8708 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8709
8710 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8711 symbol-constituent as the default, as that stops font-lock from
8712 working properly (Bug#8843).
8713
8714 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8715
8716 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8717 `coding-system-for-*' around the process open call to avoid
8718 auth-source side effects.
8719 (smtpmail-try-auth-methods): Expand the secret password.
8720 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8721 probe hangs.
8722
8723 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8724
8725 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8726
8727 * emacs-lisp/find-func.el (find-function-noselect): New arg
8728 lisp-only.
8729
8730 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8731 signal an error for built-in functions (Bug#6664).
8732
8733 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8734
8735 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8736 (smtpmail-try-auth-methods): Use it.
8737
8738 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8739
8740 * font-lock.el (font-lock-fontify-region)
8741 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8742 (font-lock-default-unfontify-buffer)
8743 (font-lock-default-fontify-region)
8744 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8745
8746 * progmodes/compile.el (compilation-error-properties):
8747 Fix confusion between file struct and message struct (Bug#9319).
8748 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8749 `ant' regexp.
8750
8751 * net/browse-url.el (browse-url-firefox): Don't call
8752 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8753
8754 2011-08-20 Glenn Morris <rgm@gnu.org>
8755
8756 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8757
8758 * tutorial.el (tutorial--default-keys): Update some default bindings.
8759
8760 * files.el (hack-local-variables): Fully ignore case for "mode:".
8761
8762 2011-08-20 Alan Mackenzie <acm@muc.de>
8763
8764 Resolve invalid use of a regexp in regexp-opt.
8765
8766 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8767 detection for a java annotation.
8768
8769 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8770 detection for a java annotation.
8771
8772 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8773 handling for java.
8774 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8775
8776 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8777
8778 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8779 (Bug#9274).
8780
8781 2011-08-20 Alan Mackenzie <acm@muc.de>
8782
8783 Fontify CPP expressions correctly when starting in the middle of
8784 such a construct. Mainly for when jit-lock etc. starts a chunk
8785 here.
8786
8787 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8788 variable.
8789 (c-make-font-lock-search-form): New function, extracted from
8790 c-make-font-lock-search-function.
8791 (c-make-font-lock-search-function): Use the above function.
8792 (c-make-font-lock-context-search-function): New function.
8793 (c-cpp-matchers): Enhance the preprocessor expression case with
8794 the above function
8795 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8796 which takes an expression.
8797
8798 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8799
8800 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8801
8802 * window.el (display-buffer-reuse-window)
8803 (display-buffer-pop-up-window): Don't reuse or split a side
8804 window.
8805
8806 2011-08-19 Glenn Morris <rgm@gnu.org>
8807
8808 * files.el (hack-local-variables-prop-line, hack-local-variables):
8809 Downcase "Mode:". (Bug#9331)
8810
8811 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8812
8813 * international/characters.el: Add L and R categories.
8814
8815 * subr.el (bidi-string-mark-left-to-right): Rename from
8816 string-mark-left-to-right. Use category search.
8817
8818 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8819
8820 2011-08-18 Juri Linkov <juri@jurta.org>
8821
8822 * faces.el (error, warning, success): New faces with definitions
8823 copied from old default values of `font-lock-warning-face',
8824 `compilation-warning', `compilation-info' (bug#6117).
8825
8826 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8827
8828 * progmodes/compile.el (compilation-error): Inherit from `error'.
8829 (compilation-warning): Inherit from `warning'.
8830 (compilation-info): Inherit from `success'.
8831
8832 * dired.el (dired-marked): Inherit from `warning'.
8833 (dired-flagged): Inherit from `error'.
8834
8835 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8836
8837 * mail/smtpmail.el (auth-source): Require to avoid problems with
8838 binding variables (bug#9298). Also clean up some unused
8839 autoloads.
8840
8841 * net/network-stream.el (network-stream-open-starttls):
8842 Support using starttls.el without using gnutls-cli.
8843
8844 2011-08-17 Juri Linkov <juri@jurta.org>
8845
8846 * progmodes/grep.el (rgrep): Handle the case when
8847 `grep-find-command' is a cons cell (bug#9278).
8848
8849 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8850
8851 * window.el (display-buffer-pop-up-frame): Run frame creation
8852 function with BUFFER current (as special-display-popup-frame
8853 does). Reported by Drew Adams.
8854
8855 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8856
8857 * epa-mail.el: Simplify GnuPG group expansion using
8858 epg-expand-group.
8859 (epa-mail-group-alist, epa-mail-group-modtime)
8860 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8861 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8862 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8863 Remove.
8864
8865 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8866
8867 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8868
8869 2011-08-16 Alan Mackenzie <acm@muc.de>
8870
8871 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8872 Correct, to avoid the inside of macros.
8873
8874 2011-08-16 Richard Stallman <rms@gnu.org>
8875
8876 * epa-mail.el: Handle GnuPG group definitions.
8877 (epa-mail-group-alist, epa-mail-group-modtime)
8878 (epa-mail-gnupg-conf-file): New variables.
8879 (epa-mail-parse-groups, epa-mail-sync-groups)
8880 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8881 (epa-mail-expand-recipients): New functions.
8882 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8883
8884 * mail/rmail.el (rmail-epa-decrypt): New command.
8885
8886 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8887 Don't bind buffer-read-only, just inhibit-read-only.
8888 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8889 (epa-decrypt-armor-in-region): Make error message clearer.
8890
8891 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8894 and "a2b" to "ab" for `prefix'.
8895
8896 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8897
8898 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8899 filter groups.
8900 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8901 Fourquet (Bug#8804).
8902
8903 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8904
8905 * startup.el (argi): Declare as global variable (bug#9275).
8906
8907 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8908
8909 * subr.el (string-mark-left-to-right): Search the entire string
8910 for RTL script, not just the terminating character. Doc fix.
8911
8912 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8915 New function.
8916 (js--regexp-literal, js-syntax-propertize-function): Remove.
8917 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8918 (js-mode-map): Don't rebind electric keys.
8919 (js-insert-and-indent): Remove.
8920 (js-mode): Setup electric-layout and electric-indent instead.
8921
8922 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8923
8924 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8925
8926 * epa.el (epa-progress-callback-function): Fix the logic of
8927 displaying progress.
8928 * epa-file.el (epa-file-insert-file-contents): Make progress
8929 display more user-friendly.
8930 (epa-file-write-region): Ditto.
8931
8932 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8933
8934 * subr.el (string-mark-left-to-right): New function.
8935
8936 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8937 Use string-mark-left-to-right.
8938 (list-buffers-noselect): Caller changed.
8939
8940 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8941 Use string-mark-left-to-right.
8942 (tabulated-list-print): Recenter after moving point.
8943
8944 2011-08-10 Juri Linkov <juri@jurta.org>
8945
8946 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8947 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8948 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8949
8950 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8951
8952 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8953 (Bug#7554).
8954
8955 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8956
8957 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8958 character. (Bug#6594)
8959
8960 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8961
8962 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8963 (image-dired--with-db-file): New macro.
8964 (image-dired-write-tags, image-dired-remove-tag)
8965 (image-dired-create-gallery-lists, image-dired-write-comments)
8966 (image-dired-get-comment, image-dired-mark-tagged-files)
8967 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8968 (image-dired-gallery-generate): Use insert-file-contents.
8969
8970 * time.el (display-time-world-list, display-time-world-display):
8971 * time-stamp.el (time-stamp-string):
8972 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8973 set-time-zone-rule (Bug#7337).
8974
8975 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8976
8977 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8978 (epg-error-to-string, epg-errors-to-string): New function.
8979 (epg-wait-for-completion): Reverse errors list.
8980 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8981 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8982 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8983 (epg-sign-keys, epg-generate-key-from-file)
8984 (epg-generate-key-from-string): Format errors by using
8985 epg-errors-to-string (bug#9255).
8986 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8987
8988 2011-08-07 Juri Linkov <juri@jurta.org>
8989
8990 * faces.el (list-faces-display): Remove extra angle bracket
8991 from `help-mode-map'.
8992
8993 * info.el (Info-history-toc-nodes): Doc fix.
8994
8995 * longlines.el (longlines-mode): Doc fix.
8996
8997 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9000 of statements and in a few more cases (bug#9183).
9001
9002 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9003 New functions.
9004 (cl-transform-lambda): Use them (bug#9239).
9005
9006 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9007
9008 * window.el (display-buffer-same-window)
9009 (display-buffer-same-frame, display-buffer-other-window)
9010 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9011 (pop-to-buffer-other-window)
9012 (pop-to-buffer-same-frame-other-window)
9013 (pop-to-buffer-other-frame): Make them defuns.
9014 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9015
9016 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * subr.el (make-composed-keymap): Move from C. Change calling
9019 convention, and improve docstring to bring attention to a subtle point.
9020 * minibuffer.el (completing-read-default): Adjust accordingly.
9021
9022 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9023
9024 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9025 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9026
9027 * net/trampver.el: Update release number.
9028
9029 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9032 "in" (bug#9190).
9033
9034 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9035
9036 * mail/sendmail.el (sendmail-query-once): Restore the current
9037 buffer after querying (bug#9074).
9038
9039 * dired.el (dired-flagged): Use different faces for marked and
9040 flagged files (bug#6117).
9041
9042 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9043 (bug#4433).
9044
9045 * ido.el (ido-mode): Switch off the message if called
9046 non-interactively.
9047
9048 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9049 before 587, since it appears that that's more likely to work for
9050 more people.
9051
9052 * cus-edit.el (custom-file): When running under emacs -q, always
9053 refuse to save the customizations, even if the .emacs file doesn't
9054 exist.
9055
9056 * info.el: Remove the `Info-beginning-of-buffer' function
9057 (bug#8325).
9058
9059 * net/network-stream.el (network-stream-open-starttls):
9060 Use `starttls-available-p' to see whether starttls.el can be used.
9061
9062 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9063
9064 * window.el (display-buffer-in-window): Don't set dedicated status
9065 of window here (Bug#9215).
9066 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9067 (display-buffer-pop-up-side-window)
9068 (display-buffer-in-side-window): Set dedicated status of window here.
9069
9070 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9071
9072 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9073 before binding generated-autoload-file.
9074
9075 2011-08-01 Deniz Dogan <deniz@dogan.se>
9076
9077 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9078
9079 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9080
9081 Sync with Tramp 2.2.2.
9082
9083 * net/trampver.el: Update release number.
9084
9085 2011-07-30 Juri Linkov <juri@jurta.org>
9086
9087 * dired-aux.el (dired-touch-initial): Remove function.
9088 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9089 current time, and `default' to the last modification time of the
9090 current marked file (bug#6887).
9091
9092 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9093
9094 * simple.el (goto-line): Use string-to-number to provide a
9095 numeric argument to read-number (bug#9163).
9096
9097 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9098
9099 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9100 connection process, it could be nil.
9101
9102 2011-07-27 Leo Liu <sdl.web@gmail.com>
9103
9104 Simplify url handling in rcirc-mode.
9105
9106 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9107 (rcirc-browse-url-at-mouse): Remove.
9108 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9109
9110 2011-07-26 Alan Mackenzie <acm@muc.de>
9111
9112 Fontify bitfield declarations properly.
9113
9114 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9115 (c-symbol-chars): Now exported as a lang variable.
9116 (c-not-primitive-type-keywords): New lang variable.
9117
9118 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9119 QT keyword "more" to prevent "more slots: ...." being spuriously
9120 parsed as a bitfield declaration.
9121
9122 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9123 Refactor and enhance to handle bitfield declarations.
9124 (c-punctuation-in): New function.
9125 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9126 declarations properly.
9127
9128 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9129
9130 * calendar/icalendar.el (icalendar--all-events): Take care of
9131 multiple vcalendars in a single file.
9132 (icalendar--convert-float-to-ical): Checkdoc fixes.
9133
9134 2011-07-25 Deniz Dogan <deniz@dogan.se>
9135
9136 * image.el (insert-image): Clarifying docstring.
9137
9138 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9139
9140 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9141 `tramp-send-command-and-check' if there is no error.
9142 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9143
9144 2011-07-22 Alan Mackenzie <acm@muc.de>
9145
9146 Prevent cc-langs.elc being loaded at run time.
9147
9148 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9149 cc-langs.
9150
9151 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9152 "(require 'cc-langs)". Quote a form so it will evaluate at
9153 (cc-mode's) compilation time.
9154
9155 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9156
9157 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9158 loading. (Bug#9114)
9159
9160 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9161
9162 * window.el (display-buffer-pop-up-window)
9163 (display-buffer-pop-up-side-window)
9164 (display-buffer-in-side-window): Call display-buffer-set-height
9165 and display-buffer-set-width after setting the new window's
9166 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9167
9168 2011-07-20 Sam Steingold <sds@gnu.org>
9169
9170 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9171 (etags-tags-included-tables): Call `convert-standard-filename' on
9172 the file names contained in TAGS so that windows Emacs can handle
9173 TAGS files created by cygwin ctags.
9174
9175 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9176
9177 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9178 which apparently didn't work.
9179
9180 2011-07-19 Roland Winkler <winkler@gnu.org>
9181
9182 * proced.el (proced-send-signal): For *Marked Processes* buffer
9183 put point at beginning of buffer.
9184
9185 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9186
9187 * proced.el (proced-format): Make header lines align with the text
9188 (bug#1779).
9189
9190 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9191
9192 * view.el (view-buffer): Allow running in `special' modes if we're
9193 visiting a file (bug#8615).
9194
9195 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9196
9197 * window.el (display-buffer-alist-of-strings-p)
9198 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9199 New functions.
9200 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9201 more accurately.
9202
9203 2011-07-18 Alan Mackenzie <acm@muc.de>
9204
9205 Fontify declarators properly when, e.g., a jit-lock chunk begins
9206 inside a declaration.
9207
9208 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9209
9210 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9211 New function.
9212 (c-complex-decl-matchers): Insert reference to
9213 c-font-lock-enclosing-decls.
9214
9215 * progmodes/cc-engine.el (c-backward-single-comment):
9216 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9217 to nil around calls to (forward-comment -1).
9218
9219 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9220
9221 * image.el (put-image): Doc typo fix.
9222
9223 * progmodes/etags.el (tags-search): Doc typo fix.
9224
9225 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9226 password if we get errors 550 to 554.
9227
9228 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9229
9230 * net/gnutls.el (gnutls-log-level): Remove.
9231
9232 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9233 indentation character (bug#6380).
9234
9235 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9236
9237 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9238 to clarify what the problem is (bug#4291).
9239
9240 * simple.el (current-kill): Clarify what
9241 `interprogram-paste-function' does (bug#7500).
9242 (auto-fill-mode): Document `auto-fill-function' in relation to
9243 `auto-fill-mode' (bug#2470).
9244
9245 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9246
9247 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9248 method if slot is read-only (bug#9035).
9249
9250 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9251
9252 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9253 * window.el (pop-to-buffer): Select window used even if it was
9254 selected before, see discussion of (Bug#8615), (Bug#6954).
9255 Pass argument NORECORD on to select-frame-set-input-focus.
9256
9257 2011-07-15 Glenn Morris <rgm@gnu.org>
9258
9259 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9260 Respect help-form.
9261
9262 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9263
9264 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9265 (gnutls-negotiate): Use it.
9266
9267 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9268
9269 * net/gnutls.el (gnutls-negotiate):
9270 Upcase `gnutls-algorithm-priority'.
9271
9272 2011-07-15 Glenn Morris <rgm@gnu.org>
9273
9274 * jka-compr.el (jka-compr-verbose): Move from here...
9275 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9276 Add missing :version tag.
9277 * info.el: No need to require jka-compr when compiling.
9278
9279 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9280
9281 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9282 (gnutls-negotiate): Use it.
9283
9284 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9285
9286 * info.el (Info-beginning-of-buffer): New command.
9287 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9288 announcing `b' as the key (bug#8325).
9289 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9290
9291 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9292
9293 * international/mule-cmds.el
9294 (describe-specified-language-support): Make the error message
9295 clearer (bug#8905).
9296
9297 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9298
9299 * isearch.el (isearch-barrier): Add a doc string, since it's
9300 mentioned in a function doc string (bug#8678).
9301
9302 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9303
9304 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9305 buffer argument (Bug#9083) and self-identifying label argument.
9306
9307 2011-07-15 Glenn Morris <rgm@gnu.org>
9308
9309 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9310
9311 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9312
9313 * man.el (Man-fontify-manpage): Fix message when formatting the
9314 man page (bug#7929).
9315
9316 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9317
9318 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9319 argument LRM; if non-nil, append an invisible LRM character to the
9320 buffer name.
9321 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9322 last argument non-nil, when formatting buffer names.
9323 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9324 paragraph direction.
9325
9326 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9327
9328 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9329 the man page name (bug#7929).
9330
9331 * image.el (put-image): Mention the `put-image' overlay property
9332 (bug#7834).
9333
9334 * scroll-bar.el (set-scroll-bar-mode): Mention that
9335 `scroll-bar-mode' lists the values (bug#7772).
9336
9337 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9338 command (bug#7729).
9339
9340 * rect.el (apply-on-rectangle): Return the point after the last
9341 operation.
9342 (string-rectangle): Go to the point after the last operation
9343 (bug#7522).
9344
9345 * printing.el (pr-toggle-region): Clarify the documentation
9346 slightly (bug#7493).
9347
9348 * time.el (display-time-update):
9349 Allow `display-time-mail-function' to return nil (bug#7158).
9350 Fix suggested by Detlev Zundel.
9351
9352 * vc/diff.el (diff): Clarify the order the file names are read
9353 (bug#7111).
9354
9355 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9356 the doc string (bug#7015).
9357
9358 * font-lock.el (font-lock-maximum-decoration): Mention what
9359 numeric levels mean (bug#6935).
9360
9361 * startup.el (initial-buffer-choice): Don't mention the `none'
9362 selection, which is against policy.
9363
9364 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9365
9366 * window.el (display-buffer-normalize-special):
9367 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9368
9369 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9370
9371 * subr.el (version<, version<=, version=): Mention "-CVS" and
9372 "-12345" alpha version numbers.
9373
9374 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9375
9376 * bindings.el: Add advertised binding for set-mark-command
9377 (Bug#5772).
9378
9379 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9380
9381 * bindings.el (mode-line-other-buffer):
9382 * bookmark.el (bookmark-bmenu-2-window):
9383 * bs.el (bs-cycle-next, bs-cycle-previous):
9384 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9385 switch-to-buffer.
9386
9387 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9388 Delete.
9389
9390 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9391
9392 * follow.el (follow-debug-message, follow-redisplay):
9393 * jka-cmpr-hook.el (with-auto-compression-mode):
9394 Fix typos in docstrings.
9395
9396 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9397
9398 * subr.el (with-silent-modifications): Clarify somewhat what the
9399 macro inhibits (bug#6525).
9400
9401 * simple.el (eval-expression): Note what it does if called
9402 interactively (bug#6495).
9403
9404 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9405
9406 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9407 Use pop-to-buffer buffer-or-name if it is nil.
9408
9409 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9410 Remove switch-to-buffer.
9411
9412 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9413
9414 * files.el (make-directory): Clarify that an error will be raised
9415 if there's an error (bug#6397).
9416
9417 * startup.el (initial-buffer-choice): Add `none' as a choice
9418 (bug#6234).
9419
9420 * subr.el (add-hook): Clarify section about buffer-local hooks
9421 (bug#6218).
9422
9423 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9424
9425 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9426
9427 * tabify.el (untabify): Preserve the current column so that point
9428 doesn't move (bug#6032).
9429
9430 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9431
9432 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9433 Rewrite to avoid awkward possessive "s" (bug#5986).
9434
9435 2011-07-13 Glenn Morris <rgm@gnu.org>
9436
9437 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9438 (dired-insert-directory): Give a message the first time
9439 if ls is found not to support --dired.
9440
9441 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9442
9443 * simple.el (toggle-truncate-lines): Clarify what is toggled
9444 (bug#5580). Text by Drew Adams.
9445
9446 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9447
9448 * simple.el (blink-matching-open): Make the error message from the
9449 last change less verbose.
9450
9451 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9452
9453 * font-lock.el (font-lock-comment-face): Use the high contrast
9454 "yellow" color for font-lock-comment-face on low color terminals
9455 using a dark background color (bug#4221).
9456
9457 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9458
9459 * dired.el (dired-insert-set-properties): Make the doc string
9460 reflect what it does now (bug#5325).
9461
9462 * simple.el (blink-matching-open): Say that we were unable to find
9463 the match within the limit, if we're limited (bug#5122).
9464
9465 * international/mule-cmds.el (prefer-coding-system): Add an
9466 example (bug#4869).
9467
9468 * progmodes/etags.el (tags-search): Document `file-list-form'
9469 (bug#4731).
9470
9471 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9472
9473 * net/browse-url.el (browse-url-default-browser)
9474 (browse-url-browser-function): Make the default browser choice a
9475 bit more logical (bug#4300). Also clean up the doc string.
9476
9477 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9478
9479 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9480 binary endings (bug#4440).
9481
9482 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9483
9484 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9485 which can be pretty annoying (bug#8971).
9486
9487 * jka-compr.el (jka-compr-verbose): New variable, and use
9488 throughout (bug#8971).
9489
9490 * info.el (Info-find-file): Fall back on the installation
9491 directory if we can't find the info node anywhere else.
9492
9493 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9494
9495 * vc/vc.el (vc-revert-file):
9496 Don't set file time-stamp in the past. (Bug#5181)
9497
9498 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9499
9500 * files.el (after-find-file): Give a better error message when
9501 trying to find a symlink that points to a file that doesn't exist
9502 (bug#4398).
9503
9504 * progmodes/cc-vars.el: Remove (probably) misleading comment
9505 (bug#4396).
9506
9507 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9508
9509 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9510
9511 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9512
9513 * mouse-sel.el: Hack restoring functionality, while keeping
9514 compatibility with 2010-07-03 changes to mouse selection.
9515 (mouse-sel-primary-overlay): New var.
9516 (mouse-sel-selection-alist): Use it.
9517 (mouse-sel-mode): Doc fix; remove points that are default features
9518 of mouse.el.
9519
9520 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9521
9522 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9523 Fix previous fix (bug#2490).
9524
9525 2011-07-12 Roland Winkler <winkler@gnu.org>
9526
9527 * textmodes/bibtex.el (bibtex-initialize):
9528 Use pop-to-buffer-same-window.
9529 (bibtex-search-entries): Fix interactive call.
9530
9531 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9532
9533 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9534 Fontise bytecomp Error lines more correctly (bug#2490).
9535 Fix suggested by Johan BockgĂ¥rd.
9536
9537 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9538
9539 * dired-x.el (dired-guess-default): Use `delete-dups'.
9540
9541 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9542
9543 * dired.el (dired-mark-prompt):
9544 * dired-aux.el (dired-read-shell-command): Doc fix.
9545
9546 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9547
9548 * mail/sendmail.el (sendmail-query-once):
9549 Use `customize-save-variable' unconditionally, now that it works under
9550 emacs -Q.
9551
9552 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9553
9554 * cus-edit.el (custom-file): Take an optional no-error variable.
9555 (customize-save-variable): Set the variable, and give a warning if
9556 running under "emacs -q".
9557
9558 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9559
9560 * loadhist.el (unload-feature-special-hooks):
9561 Add `auto-coding-functions', `fill-nobreak-predicate' and
9562 `find-directory-functions' (bug#5327).
9563
9564 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9565
9566 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9567
9568 * cus-edit.el (custom-guess-name-alist): -alist variables should
9569 use the `alist' type (bug#3120). Suggested by Drew Adams.
9570
9571 * printing.el: Add documentation to all the `pr-toggle-' commands.
9572
9573 2011-07-11 Leo Liu <sdl.web@gmail.com>
9574
9575 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9576 backends where it makes sense (bug#2623).
9577
9578 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9579
9580 * dired-x.el (dired-guess-default): Remove duplicate shell command
9581 entries (bug#2028).
9582 (dired-guess-default): Fix grammar in doc string (bug#2028).
9583 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9584
9585 * subr.el (remove-duplicates): New conveniency function.
9586
9587 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9588
9589 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9590 (bug#1526).
9591
9592 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9593
9594 * window.el (display-buffer-normalize-default): Don't invert
9595 meaning of even-window-heights. Reported by Eli Zaretskii
9596 <eliz@gnu.org>.
9597
9598 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9599
9600 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9601
9602 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9603
9604 * window.el (display-buffer): Fix arguments to
9605 display-buffer-reuse-window in last change.
9606
9607 * faces.el (link): Use a less saturated blue on light backgrounds.
9608
9609 * startup.el (fancy-startup-text, fancy-about-text)
9610 (fancy-startup-tail): Use font-lock faces, for background safety.
9611
9612 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9613
9614 * emulation/viper-cmd.el (viper-change-state-to-vi):
9615 Limit triggering of abbrev expansion (Bug#9038).
9616
9617 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9618
9619 * window.el (display-buffer-default-specifiers): Remove.
9620 (display-buffer-macro-specifiers): Remove default specifiers.
9621 (display-buffer-alist): Default to nil.
9622 (display-buffer-reuse-window): New optional argument other-window.
9623 (display-buffer-pop-up-window): Allow splitting internal
9624 windows. Check whether a live window was created.
9625 (display-buffer-other-window-means-other-frame)
9626 (display-buffer-normalize-arguments): Rename to
9627 display-buffer-normalize-argument and rewrite. Set the
9628 other-window specifier.
9629 (display-buffer-normalize-special): New function.
9630 (display-buffer-normalize-options): Rename to
9631 display-buffer-normalize-default and rewrite.
9632 (display-buffer-normalize-options-inhibit): Remove.
9633 (display-buffer-normalize-specifiers): Rewrite.
9634 (display-buffer): Process other-window specifier and call
9635 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9636 more faithfully.
9637 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9638 (display-buffer-alist-set): Don't handle 'unset default values.
9639 (display-buffer-in-window, display-buffer-alist-set):
9640 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9641 <tassilo@member.fsf.org>.
9642
9643 2011-07-09 Leo Liu <sdl.web@gmail.com>
9644
9645 * register.el (insert-register): Restore accidental change on
9646 2011-06-26. (Bug#9028)
9647
9648 2011-07-09 Glenn Morris <rgm@gnu.org>
9649
9650 * subr.el (remq): Handle the empty list. (Bug#9024)
9651
9652 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9653
9654 * mail/sendmail.el (send-mail-function): No longer delay custom
9655 initialization.
9656 * custom.el (custom-initialize-delay): Doc fix.
9657
9658 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9661
9662 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9663
9664 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9665 human-friendly prompt.
9666
9667 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9668
9669 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9670 provided by a particular plugin.
9671
9672 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9673
9674 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9675 save customizations (with "emacs -Q"), just set the variable
9676 instead of erroring out.
9677
9678 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9679
9680 2011-07-08 Juri Linkov <juri@jurta.org>
9681
9682 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9683 (archive-zip-update-case): Use 7z if found by `executable-find'.
9684 The order of searching the available programs is the same as in
9685 `archive-zip-extract' (bug#8968).
9686
9687 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9688
9689 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9690 (menu-bar-options-menu): Tweak descriptions.
9691
9692 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9693
9694 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9695 menu items into verb phrases (bug#1421). Also refill to fit under
9696 80 columns.
9697
9698 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9699
9700 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9701 (Info-read-node-name): Doc fix (Bug#1084).
9702
9703 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9704 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9705 (end-of-sexp, beginning-of-sexp)
9706 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9707 (forward-symbol, forward-same-syntax, word-at-point)
9708 (sentence-at-point): Doc fix (Bug#1144).
9709
9710 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9711
9712 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9713 should cover it (bug#1281).
9714
9715 * cus-edit.el (custom-show): Mark as obsolete.
9716
9717 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9718 negotiation fails, then possibly try again with a non-encrypted
9719 connection (bug#9017).
9720
9721 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9722 be used.
9723
9724 2011-07-07 Richard Stallman <rms@gnu.org>
9725
9726 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9727 property, and handle its changed format.
9728 Look for the correct line number.
9729 Use file's line contents (but not past first =) to find
9730 correct line in message.
9731
9732 2011-07-07 Kenichi Handa <handa@m17n.org>
9733
9734 * international/characters.el (build-unicode-category-table):
9735 Delete it.
9736 (unicode-category-table): Set it by unicode-property-table-internal.
9737
9738 * international/mule-cmds.el (char-code-property-alist): Move to
9739 to src/chartab.c.
9740 (get-char-code-property): Call unicode-property-table-internal to
9741 load a file. Call get-unicode-property-internal where necessary.
9742 (put-char-code-property): Call unicode-property-table-internal to
9743 load a file. Call put-unicode-property-internal where necessary.
9744 put-unicode-property-internal where necessary.
9745 (char-code-property-description):
9746 Call unicode-property-table-internal to load a file.
9747
9748 * international/charprop.el:
9749 * international/uni-bidi.el:
9750 * international/uni-category.el:
9751 * international/uni-combining.el:
9752 * international/uni-comment.el:
9753 * international/uni-decimal.el:
9754 * international/uni-decomposition.el:
9755 * international/uni-digit.el:
9756 * international/uni-lowercase.el:
9757 * international/uni-mirrored.el:
9758 * international/uni-name.el:
9759 * international/uni-numeric.el:
9760 * international/uni-old-name.el:
9761 * international/uni-titlecase.el:
9762 * international/uni-uppercase.el: Regenerate.
9763
9764 * loadup.el: Load international/charprop.el before
9765 international/characters.
9766
9767 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9768
9769 * window.el (next-buffer, previous-buffer): Signal an error if
9770 called from a minibuffer window.
9771
9772 * bindings.el: Revert 2011-07-04 change.
9773
9774 2011-07-06 Richard Stallman <rms@gnu.org>
9775
9776 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9777 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9778 Treat markers like ints.
9779 (rmail-mime-entity): Doc fix.
9780
9781 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9782
9783 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9784 defcustom again for backwards compatibility.
9785
9786 * simple.el (shell-command-on-region): Fill.
9787
9788 * dired-aux.el (dired-kill-line): Add a doc string.
9789
9790 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9791 to "\\sw\\|\\s_" (bug#358).
9792
9793 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9794 (dired-unmark-backward): Ditto.
9795 (dired-flag-backup-files): Ditto.
9796
9797 * dired-x.el (dired-mark-sexp): Ditto.
9798
9799 2011-07-06 Richard Stallman <rms@gnu.org>
9800
9801 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9802 (rmail-mime-entity): New arg TRUNCATED.
9803 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9804 New functions.
9805 (rmail-mime-save): Warn if entity is truncated.
9806 (rmail-mime-toggle-hidden): Likewise, for showing.
9807 (rmail-mime-process-multipart): Record when an entity is truncated.
9808
9809 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9810 if ENTITY is a string.
9811
9812 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9813
9814 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9815 of faces when `M-C-x'-ing their definitions (bug#8378).
9816 Also clean up the code slightly.
9817
9818 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9819 because that makes the colors go away.
9820
9821 * mail/sendmail.el (send-mail-function): Change the default to
9822 `sendmail-query-once'.
9823 (sendmail-query-once): Add an autoload cookie.
9824
9825 * net/network-stream.el (network-stream-open-starttls): Try using
9826 a plain connection even if the server offered STARTTLS, and we
9827 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9828 capability. This should make smtpmail.el work in slightly more
9829 configurations.
9830
9831 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9832
9833 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9834 New defun.
9835 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9836
9837 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9838
9839 * progmodes/sql.el: Version 3.0
9840 (sql-product-alist): Add product :completion-object,
9841 :completion-column, and :statement attributes.
9842 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9843 (sql-mode-syntax-table): Mark all punctuation.
9844 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9845 ansi keywords.
9846 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9847 (sql-mode-oracle-font-lock-keywords): Improve.
9848 (sql-oracle-show-reserved-words): New function for development.
9849 (sql-product-font-lock): Simplify for source code buffers.
9850 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9851 New functions.
9852 (sql-highlight-product): Set product specific syntax table.
9853 (sql-mode-map): Add statement movement functions.
9854 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9855 New variable.
9856 (sql-statement-regexp, sql-beginning-of-statement)
9857 (sql-end-of-statement, sql-signum): New functions.
9858 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9859 (sql-show-sqli-buffer): Bug fix.
9860 (sql-interactive-mode): Store connection data as buffer local.
9861 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9862 with sql-interactive-mode.
9863 (sql-save-connection): Save buffer local settings.
9864 (sql-connection-menu-filter): Change menu entry name.
9865 (sql-product-interactive): Bug fix.
9866 (sql-preoutput-hold): New variable.
9867 (sql-interactive-remove-continuation-prompt): Bug fixes.
9868 (sql-debug-redirect): New variable.
9869 (sql-str-literal): New function.
9870 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9871 Redesign.
9872 (sql-oracle-save-settings, sql-oracle-restore-settings)
9873 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9874 (sql-completion-object, sql-completion-column)
9875 (sql-completion-sqlbuf): New variables.
9876 (sql-build-completions-1, sql-build-completions)
9877 (sql-try-completion): New functions.
9878 (sql-read-table-name): Use them.
9879 (sql-contains-names): New buffer local variable.
9880 (sql-list-all, sql-list-table): Use it.
9881 (sql-oracle-completion-types): New variable.
9882 (sql-oracle-completion-object, sql-sqlite-completion-object)
9883 (sql-postgres-completion-object): New functions.
9884
9885 2011-07-06 Glenn Morris <rgm@gnu.org>
9886
9887 * window.el (pop-to-buffer): Doc fix.
9888
9889 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9890
9891 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9892
9893 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9894
9895 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9896
9897 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9898
9899 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9900
9901 * button.el (button): Inherit from link face. Suggested by Dan
9902 Nicolaescu.
9903
9904 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * progmodes/gdb-mi.el: Fit in 80 columns.
9907 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9908 switch-to-buffer.
9909
9910 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9911 if imenu is simply not configured (bug#8941).
9912
9913 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9914
9915 * allout.el (allout-post-undo-hook): New allout outline-change
9916 event hook to signal undo activity.
9917 (allout-post-command-business): Run allout-post-undo-hook if an
9918 undo just occurred.
9919 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9920 * allout-widgets.el (allout-widgets-after-undo-function):
9921 Ensure the integrity of the current item's decoration after it has been
9922 in the vicinity of an undo.
9923 (allout-widgets-mode): Include allout-widgets-after-undo-function
9924 on the new allout-post-undo-hook.
9925
9926 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9927
9928 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9929 Let define-derived-mode define it.
9930 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9931 cycles of abbrev-table inheritance (bug#8998).
9932
9933 2011-07-05 Roland Winkler <winkler@gnu.org>
9934
9935 * textmodes/bibtex.el: Add support for biblatex.
9936 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9937 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9938 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9939 (bibtex-entry-alist, bibtex-field-alist): New variables.
9940 (bibtex-entry-field-alist): Obsolete alias for
9941 bibtex-BibTeX-entry-alist.
9942 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9943 (bibtex-set-dialect): New command.
9944 (bibtex-entry-type, bibtex-entry-head)
9945 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9946 Bind via bibtex-set-dialect.
9947 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9948 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9949 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9950 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9951 Define via bibtex-set-dialect.
9952 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9953 Obey bibtex-no-opt-remove-re.
9954 (bibtex-vec-push, bibtex-vec-incr): New functions.
9955 (bibtex-format-entry, bibtex-field-list)
9956 (bibtex-print-help-message, bibtex-validate)
9957 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9958
9959 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9960
9961 * progmodes/compile.el (compilation-goto-locus):
9962 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9963 * bs.el (bs-cycle-next, bs-cycle-previous):
9964 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9965 * bindings.el (mode-line-other-buffer):
9966 * autoinsert.el (auto-insert):
9967 * arc-mode.el (archive-extract):
9968 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9969
9970 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9971
9972 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9973 Fix check of `emacs-lock-unlockable-modes'.
9974 Coerce true values of `emacs-lock--try-unlocking' to t.
9975
9976 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9977
9978 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9979 * emacs-lock.el: New file.
9980
9981 2011-07-05 Julien Danjou <julien@danjou.info>
9982
9983 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9984 than `boundp' to check if face is set.
9985
9986 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9987
9988 * register.el (registerv-make):
9989 * window.el (window-min-height): Fix typos in docstrings.
9990
9991 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9992
9993 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9994 Update doc string.
9995
9996 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9997
9998 * server.el (server-execute): Catch quit and call
9999 `server-return-error' to pass the error back to emacsclient and
10000 close the connection (bug#8942).
10001
10002 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10003
10004 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10005 insecure exception for current topic. Also note that auto-saves
10006 are handled differently.
10007
10008 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10009 State variables for tracking auto-save inhibition situation.
10010
10011 (allout-write-contents-hook-handler): Rename from
10012 'allout-write-file-hook-handler', and describe how it depends on
10013 write-contents-functions sensitivity to non-nil value to prevent
10014 file write.
10015
10016 (allout-auto-save-hook-handler): Remove. auto-save does not check
10017 this in individual buffers, only in the starting buffer, so this
10018 is not the right way for us to inhibit auto-save in a buffer
10019 according to its condition.
10020
10021 (allout-mode): Use new allout-write-contents-hook-handler, and
10022 only with write-contents-functions. Remove auto-save provisions -
10023 they're implemented elsewhere.
10024
10025 (allout-before-change-handler): If undo is in progress, note that
10026 for attention of allout-post-command-business.
10027
10028 (allout-post-command-business): If the command we're following was
10029 an undo, check for change in the status of encrypted items and
10030 adjust auto-save inhibitions accordingly.
10031
10032 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10033 according to whether there are or aren't any plain-text topics
10034 pending encryption.
10035
10036 (allout-inhibit-auto-save-info-for-decryption):
10037 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10038 if there are plain-text topics pending encryption.
10039
10040 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10041 buffer-saved-size and some allout state to not inhibit auto-saves
10042 if there are no longer any plain-text topics pending encryption.
10043
10044 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10045 No longer provide for exemption of the current topic.
10046
10047 2011-07-04 Juri Linkov <juri@jurta.org>
10048
10049 Add 7z operations to delete and save changed members (bug#8968).
10050 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10051 New defcustoms.
10052 (archive-7z-write-file-member): New function.
10053 (archive-7z-summarize): Fix the number of dashes in the
10054 listing output.
10055
10056 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10057
10058 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10059 (bug#8958).
10060
10061 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10062
10063 * bindings.el: Ignore next-buffer and previous-buffer in
10064 minibuffer-local-map.
10065
10066 * font-lock.el (font-lock-builtin-face): Change light background
10067 color to dark slate blue (Bug#6693).
10068
10069 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10070
10071 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10072
10073 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10074
10075 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10076 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10077 Add switch-to-buffer.
10078
10079 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10080
10081 * isearch.el (isearch-search-fun-function): Clarify further the
10082 meaning of the function returned.
10083
10084 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10085
10086 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10087
10088 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10089 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10090 Use it.
10091 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10092 `tramp-default-remote-path' does not exist.
10093 (tramp-send-command-and-read): New optional argument NOERROR.
10094 (tramp-open-connection-setup-interactive-shell)
10095 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10096 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10097 (tramp-process-sentinel): Flush also process' connection property.
10098 (tramp-sh-handle-start-file-process): Do not set process
10099 sentinel. It is done now ...
10100 (tramp-maybe-open-connection): ... here. (Bug#8929)
10101
10102 2011-07-04 MON KEY <monkey@sandpframing.com>
10103
10104 * play/animate.el (animate-string): Doc fixes and allow changing
10105 the buffer name (bug#5417).
10106
10107 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10108
10109 * play/animate.el (animation-buffer-name): Rename from *animate*.
10110
10111 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10112
10113 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10114 This is simpler and helps future-proof the code.
10115 (timer-until): Use time-subtract and float-time.
10116 (timer--time-less-p): Use time-less-p.
10117
10118 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10119
10120 * type-break.el (timep): Use the value of `float-time' to avoid a
10121 byte-compiler warning.
10122
10123 * server.el (server-eval-and-print): Return any result, even nil.
10124
10125 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10126
10127 * type-break.el: Accept time formats that the builtins accept.
10128 (timep, type-break-time-difference): Accept any format that
10129 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10130 This is simpler and helps future-proof the code.
10131 (type-break-time-difference): Round rather than ignoring
10132 subseconds components.
10133
10134 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10135
10136 * info.el (Info-apropos-matches): Make non-interactive, since it
10137 doesn't seem to do anything useful as a command (bug#8829).
10138
10139 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10140
10141 * frame.el (frame-background-mode, frame-set-background-mode):
10142 Move from faces.el.
10143 (frame-default-terminal-background): New function.
10144
10145 * custom.el (custom-push-theme): Don't record faces in `changed'
10146 theme; this doesn't work correctly for per-frame face settings.
10147 (disable-theme): Use face-set-after-frame-default to reset faces.
10148 (custom--frame-color-default): New function.
10149
10150 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10151
10152 * dired.el (dired-flagging-regexp): Remove unused variable
10153 (bug#8769).
10154
10155 2011-03-29 Kevin Ryde <user42@zip.com.au>
10156
10157 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10158 `perl-Test2' extend to match possible "fail #N" rep count
10159 (bug#8377).
10160
10161 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10162
10163 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10164 `smtpmail-via-smtp' now returns the error instead of nil.
10165
10166 * isearch.el (isearch-search-fun-function): Clarify the doc string
10167 (bug#8101).
10168
10169 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10170
10171 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10172 unnecessary spaces (bug#8987).
10173
10174 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10175
10176 * net/network-stream.el (open-network-stream): Use the
10177 :end-of-capability command thoughout.
10178
10179 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10180
10181 * net/network-stream.el (open-network-stream): Add the
10182 :end-of-capability command parameter, used by pop3.el.
10183
10184 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10185
10186 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10187
10188 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10189 for list)" (bug#6475).
10190
10191 * files.el (file-expand-wildcards): Ignore non-readable
10192 sub-directories while trying to find matches instead of signaling
10193 an error (bug#6297).
10194
10195 * man.el (Man-reference-regexp): Allow matching possible
10196 word-wrapped references (bug#6289).
10197
10198 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10199 for consistency with the other vc buffers (bug#6197).
10200 (vc-checkin): Ditto.
10201
10202 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10203
10204 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10205
10206 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10207
10208 * custom.el (defcustom): Clarify that :set is only used in the
10209 Customize user interface (bug#6089).
10210
10211 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10212 associated with a file, refuse to run instead of erroring out
10213 (bug#6084).
10214
10215 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10216 the doc string, since it appears that using `fill-column' always
10217 controls the width (bug#7845).
10218
10219 * simple.el (shell-command-on-region): Say where the error output
10220 went if `shell-command-default-error-buffer' is set (bug#6857).
10221
10222 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10223
10224 * allout.el (allout-yank-processing): Adjust cursor position for
10225 backwards-deleted space.
10226
10227 (allout-rebullet-heading): Register changes with
10228 allout-exposure-changed-hook, so the modified topic is properly
10229 decorated.
10230
10231 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10232
10233 * minibuffer.el (completion-in-region): Document PREDICATE
10234 (bug#7136).
10235
10236 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10237 of keyword/argument pairs (bug#6904).
10238
10239 * replace.el (multi-occur):
10240 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10241
10242 2011-07-02 Drew Adams <drew.adams@oracle.com>
10243
10244 * dired.el (dired-mark-if): Make the message about whether it's
10245 marking or unmarking clearer (bug#8523).
10246
10247 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10248
10249 * disp-table.el (display-table-print-array): New function.
10250 (describe-display-table): Use it to print the vectors more pretty
10251 (Bug#8859).
10252
10253 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10254
10255 * window.el (window-state-get-1): Don't assign clone numbers.
10256 Add clone-of item to list of window parameters.
10257 (window-state-put-2): Don't process clone numbers.
10258 (display-buffer-alist): Fix doc-string.
10259
10260 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10261
10262 * subr.el (remq): Don't allocate if it's not needed.
10263 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10264 (keymap--merge-bindings): New functions.
10265 (keymap-canonicalize): Use them to refine the canonicalization.
10266 * minibuffer.el (minibuffer-local-completion-map)
10267 (minibuffer-local-must-match-map): Move initialization from C.
10268 (minibuffer-local-filename-completion-map): Move initialization from C;
10269 don't inherit from anything here.
10270 (minibuffer-local-filename-must-match-map): Make obsolete.
10271 (completing-read-default): Use make-composed-keymap to combine
10272 minibuffer-local-filename-completion-map with either
10273 minibuffer-local-must-match-map or
10274 minibuffer-local-filename-completion-map.
10275
10276 2011-07-01 Glenn Morris <rgm@gnu.org>
10277
10278 * type-break.el (type-break-time-sum): Use dolist.
10279
10280 * textmodes/flyspell.el (flyspell-word-search-backward):
10281 Replace CL function.
10282
10283 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * mouse.el (mouse--strip-first-event): New function.
10286 (function-key-map): Use it to map fringe clicks to normal clicks
10287 by default.
10288
10289 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10290 (vc-bzr-revision-completion-table): Add support for annotate and date.
10291
10292 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10293 inherit from parent.
10294
10295 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10296
10297 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10298 (dired-show-file-type): Doc fixup (bug#8818).
10299
10300 * dired.el (dired-mode): Fix up the doc string as suggested by
10301 Drew Adams (bug#8817).
10302
10303 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10304 cookie, since the manual says that it should be possible to add
10305 this function to `find-file-hook' (bug#8709).
10306
10307 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10308
10309 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10310 here. Noted Ted Zlatanov as the maintainer.
10311 (cfengine-common-settings, cfengine-common-syntax): New functions
10312 to set up common things between `cfengine-mode' and
10313 `cfengine3-mode'.
10314 (cfengine3-mode): New mode.
10315 (cfengine3-defuns cfengine3-defuns-regex
10316 (cfengine3-class-selector-regex cfengine3-category-regex)
10317 (cfengine3-vartypes cfengine3-font-lock-keywords)
10318 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10319 (cfengine3-indent-line): Add from cfengine3.el.
10320
10321 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10322
10323 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10324
10325 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10326
10327 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10328
10329 * window.el (same-window-buffer-names, same-window-regexps)
10330 (same-window-p, special-display-frame-alist)
10331 (special-display-popup-frame, special-display-function)
10332 (special-display-buffer-names, special-display-regexps)
10333 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10334 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10335 (split-window-preferred-function, split-height-threshold)
10336 (split-width-threshold, even-window-heights)
10337 (display-buffer-mark-dedicated, window-splittable-p)
10338 (split-window-sensibly, window-safely-shrinkable-p):
10339 Un-obsolete.
10340 (display-buffer): Don't spread args with function specifier
10341 because special-display-popup-frame won't like it.
10342
10343 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10344
10345 Time-stamp simplifications and fixes.
10346 These improve accuracy slightly, and future-proof the code
10347 against some potential changes to current-time format.
10348
10349 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10350 by using time-since and float-time.
10351
10352 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10353 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10354 + NNN microseconds".
10355
10356 * type-break.el (type-break-time-sum): Rewrite using time-add.
10357
10358 * play/hanoi.el (hanoi-current-time-float): Remove.
10359 All uses replaced by float-time.
10360
10361 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10362 This yields a more-accurate answer.
10363 (rng-time-to-float): Remove; no longer needed.
10364
10365 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10366
10367 * calendar/timeclock.el (timeclock-seconds-to-time):
10368 Defalias to seconds-to-time, since they're the same thing.
10369
10370 * emacs-lisp/elp.el (elp-elapsed-time):
10371 * emacs-lisp/benchmark.el (benchmark-elapse):
10372 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10373
10374 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10375
10376 * window.el (bury-buffer): Don't iconify the only frame.
10377 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10378 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10379
10380 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10381
10382 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10383 Add mouse-yank-primary.
10384
10385 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10386
10387 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10388
10389 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10392 (find-library-name): Use it to find relative load names when provided
10393 absolute file name (bug#8803).
10394
10395 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10396
10397 * textmodes/flyspell.el (flyspell-word): Consider words that
10398 differ only in case as potential doublons (bug#5687).
10399
10400 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10401 Remove two rather uninteresting debugging-like messages to make
10402 debbugs.el more silent.
10403
10404 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10405 a password-like phrase.
10406
10407 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10408
10409 * progmodes/cc-guess.el: New file.
10410
10411 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10412
10413 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10414 derived from `c-basic-common-init'.
10415
10416 * progmodes/cc-mode.el (top-level): Require cc-guess.
10417 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10418
10419 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10420
10421 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10422
10423 2011-06-30 Alan Mackenzie <acm@muc.de>
10424
10425 * progmodes/cc-engine.el (c-guess-continued-construct):
10426 Correct the handling of template-args-cont, particularly for when font
10427 lock is disabled. Name this case as "CASE G".
10428
10429 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10430
10431 * allout.el (allout-yank-processing): Fix injection of extra space
10432 between bullet and non-whitespace character in first topic when
10433 pasting, ensuring that the actual spacing in the pasted topic
10434 following the bullet char is preserved. This extra space was
10435 causing pasted encrypted topics to get a decrypted status even
10436 when the content was actually still encrypted. Now the decryption
10437 status from before the paste is preserved.
10438
10439 (allout-flag-region): Set all allout overlays so they evaporate
10440 when reduced to zero length (evanescent), to prevent overlay
10441 leakage.
10442
10443 2011-06-30 Glenn Morris <rgm@gnu.org>
10444
10445 * w32-fns.el (w32-charset-info-alist): Declare.
10446
10447 * find-dired.el (find-grep-options): Simplify.
10448
10449 * term/ns-win.el (ns-set-resource): Declare.
10450
10451 * ses.el (row, col): Declare dynamic variables honestly.
10452
10453 * textmodes/reftex-parse.el (index-tags): Declare.
10454
10455 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10456
10457 * cus-edit.el (customize-push-and-save): New function.
10458
10459 * files.el (hack-local-variables-confirm): Use it.
10460
10461 * custom.el (load-theme): New arg NO-CONFIRM.
10462 Use customize-push-and-save (Bug#8720).
10463 (custom-enabled-themes): Doc fix.
10464
10465 * cus-theme.el (customize-create-theme)
10466 (custom-theme-merge-theme): Callers to load-theme changed.
10467
10468 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10469
10470 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10471 short URLs have at least one dot in them (bug #7614).
10472
10473 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10474 nil, because using a pty is apparently too slow (bug #895).
10475
10476 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10477
10478 * mail/sendmail.el (sendmail-query-once): New function.
10479 (sendmail-query-once-function): New variable.
10480
10481 2011-06-29 Glenn Morris <rgm@gnu.org>
10482
10483 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10484
10485 * ses.el (top-level): Require cl when compiling.
10486 (ses-set-localvars): Fix error statement.
10487 Call it at compile time to silence a storm of warnings.
10488
10489 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10490
10491 * window.el (normalize-live-buffer): Rename to
10492 window-normalize-buffer.
10493 (normalize-live-frame): Rename to window-normalize-frame.
10494 (normalize-any-window): Rename to window-normalize-any-window.
10495 (normalize-live-window): Rename to window-normalize-live-window.
10496 (make-window-atom): Rename to window-make-atom.
10497 (window-resize-reset): Rename to window--resize-reset.
10498 (window-resize-reset-1): Rename to window--resize-reset-1.
10499 (resize-mini-window): Rename to window--resize-mini-window.
10500 (resize-subwindows-skip-p): Rename to
10501 window--resize-subwindows-skip-p.
10502 (resize-subwindows-normal): Rename to
10503 window--resize-subwindows-normal.
10504 (resize-subwindows): Rename to window--resize-subwindows.
10505 (resize-other-windows): Rename to window--resize-siblings.
10506 (resize-this-window): Rename to window--resize-this-window.
10507 (resize-root-window): Rename to window--resize-root-window.
10508 (resize-root-window-vertically): Rename to
10509 window--resize-root-window-vertically.
10510 (normalize-buffer-to-display): Rename to
10511 window-normalize-buffer-to-display.
10512 (normalize-buffer-to-switch-to): Rename to
10513 window-normalize-buffer-to-switch-to.
10514 Correspondingly update all callers of the functions listed
10515 above.
10516 (display-buffer-alist, display-buffer-normalize-arguments)
10517 (display-buffer-normalize-options, display-buffer)
10518 (display-buffer-alist-set): Use "function" instead of
10519 "fun-with-args".
10520
10521 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10522
10523 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10524 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10525 debbugs.gnu.org. Mention acknowledgment email.
10526
10527 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10528
10529 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10530 buffer multibyteness, since it shouldn't matter.
10531
10532 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10533
10534 * window.el (display-buffer-in-side-window): Handle dedicated
10535 windows as in display-buffer-reuse-window.
10536 (display-buffer-normalize-alist): Use value of override
10537 specifier.
10538 (display-buffer-normalize-specifiers): Use value of
10539 other-window-means-other-frame specifier.
10540 (display-buffer-alist): Rewrite some texts in widgets.
10541 (display-buffer): Spread arguments when calling function
10542 specified by fun-with-args.
10543
10544 2011-06-28 Deniz Dogan <deniz@dogan.se>
10545
10546 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10547 Unnest `let'.
10548
10549 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10550 selectors (Bug#5732).
10551 (css-proprietary-nmstart-re): Use `regexp-opt'.
10552
10553 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10554
10555 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10556 (eshell-ls-date-format): New defcustom.
10557 (eshell-ls-file): Use it.
10558
10559 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10560
10561 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10562
10563 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10564
10565 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10566 (ange-ftp-make-tmp-name): New arg.
10567 (ange-ftp-file-local-copy): Use it.
10568
10569 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10570
10571 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10572 no-conversion (Bug#8870).
10573
10574 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10575
10576 * window.el (window-right, window-left, window-child)
10577 (window-child-count, window-last-child)
10578 (window-iso-combination-p, walk-window-tree-1)
10579 (window-atom-check-1, window-tree-1, delete-window)
10580 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10581 new naming conventions - window-vchild, window-hchild,
10582 window-next and window-prev are now called window-top-child,
10583 window-left-child, window-next-sibling and window-prev-sibling
10584 respectively.
10585 (resize-window-reset): Rename to window-resize-reset.
10586 (resize-window-reset-1): Rename to window-resize-reset-1.
10587 (resize-window): Rename to window-resize.
10588 (window-min-height, window-min-width)
10589 (resize-mini-window, resize-this-window, resize-root-window)
10590 (resize-root-window-vertically, adjust-window-trailing-edge)
10591 (enlarge-window, shrink-window, maximize-window)
10592 (minimize-window, delete-window, quit-restore-window)
10593 (split-window, balance-windows, balance-windows-area-adjust)
10594 (balance-windows-area, window-state-put-2)
10595 (display-buffer-even-window-sizes, display-buffer-set-height)
10596 (display-buffer-set-width, set-window-text-height)
10597 (fit-window-to-buffer): Rename all "resize-window" prefixed
10598 calls to use the "window-resize" prefix convention.
10599 (display-buffer-alist): Fix symbol for label specifier.
10600 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10601 corresponding specifier.
10602 Reported by Juanma Barranquero <lekktu@gmail.com>.
10603
10604 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10605
10606 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10607 convention.
10608 (ses-call-printer): Does not pass an empty string to formatter when the
10609 cell is empty to keep from barking printer Calc math-format-value.
10610
10611 2011-06-27 Richard Stallman <rms@gnu.org>
10612
10613 * battery.el (battery-mode-line-limit): New variable.
10614 (battery-update): Handle it.
10615
10616 * mail/rmailmm.el (rmail-mime-process-multipart):
10617 Handle truncated messages.
10618
10619 2011-06-27 Glenn Morris <rgm@gnu.org>
10620
10621 * progmodes/flymake.el (flymake-err-line-patterns):
10622 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10623
10624 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10625
10626 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10627 (ses--clean-!, ses--clean-_): New functions.
10628 (ses-range): Add configurability of readout order, and conversion
10629 to Calc vector.
10630
10631 * ses.el (ses-repair-cell-reference-all): New function.
10632 (ses-cell-symbol): Set macro as safe, so that it can be used in
10633 formulas.
10634
10635 * ses.el: Update cycle detection algorithm.
10636 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10637 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10638 (ses-set-localvars): New function.
10639 (ses-make-cell): Add property-list as a cell element.
10640 (ses-cell-property-get-fun, ses-cell-property-get)
10641 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10642 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10643 New functions.
10644 (ses-cell-property-set, ses-cell-property-pop)
10645 (ses-cell-property-get-handle): New macro.
10646 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10647 New aliases, used for code readability.
10648 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10649 cycle detection.
10650 (ses-self-reference-early-detection): New defcustom.
10651 (ses-formula-references): Robustify against self-referring cells.
10652 (ses-mode): Use ses-set-localvars.
10653 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10654 before lauching the update processing.
10655 (ses-initialize-Dijkstra-attempt): New function.
10656 (ses-recalculate-cell): Update for cycle detection based on
10657 Dijkstra algorithm.
10658
10659 * ses.el: Fix commenting and indenting convention.
10660
10661 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10662
10663 * bs.el (bs-cycle-next): Complete last change.
10664
10665 2011-06-27 Drew Adams <drew.adams@oracle.com>
10666
10667 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10668
10669 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10670
10671 * net/network-stream.el (network-stream-open-starttls):
10672 Don't re-get capabilities unless we've reestablished connection.
10673 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10674
10675 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10676 to binary to possibly avoid line encoding issues on Windows (among
10677 other things).
10678
10679 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10680
10681 * net/network-stream.el (open-network-stream): Return an :error
10682 saying what the problem was, if possible.
10683
10684 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10685 server.
10686
10687 * net/network-stream.el (network-stream-open-starttls): If we
10688 wanted to use STARTTLS, and the server offered it, but we weren't
10689 able to because we had no STARTTLS support, then close the connection.
10690 (open-network-stream): Return an :error element, if present.
10691
10692 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10693
10694 * hl-line.el (hl-line-sticky-flag): Doc fix.
10695 (global-hl-line-sticky-flag): New option (Bug#8323).
10696 (global-hl-line-highlight): Obey it.
10697
10698 * vc/vc.el (vc-revert-show-diff): Default to t.
10699
10700 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10701
10702 * allout-widgets.el (allout-widgets-post-command-business):
10703 Stop decorating intermediate isearch matches. They're not being
10704 undecorated when an isearch is continued past, and isearch
10705 automatically collapses them. This leads to "widget leaks", where
10706 decorated items accumulate in collapsed areas. Lines with lots of
10707 hidden widgets can slow down cursor travel, substantially.
10708 Too much complicated machinery would be needed to ensure undecoration,
10709 so we're doing without this nicety.
10710
10711 (allout-widgets-tally-string): Don't try to do a hash-table-count
10712 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10713 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10714 *Messages* when allout-widgets-maintain-tally is t.
10715
10716 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10717
10718 * window.el (display-buffer-normalize-argument): Rename to
10719 display-buffer-normalize-arguments. Handle special meaning of
10720 LABEL argument. Respect special-display-function when popping up
10721 a new frame. Fix code searching for a window showing the buffer
10722 on another frame.
10723 (display-buffer-normalize-specifiers):
10724 Call display-buffer-normalize-arguments.
10725 (display-buffer-in-window): Don't undedicate the window if its
10726 buffer remains the same.
10727 Reported by Drew Adams <drew.adams@oracle.com>.
10728 (display-buffer-alist): Add choice for same-window macro
10729 specfier.
10730 (display-buffer): Mention special meaning of LABEL argument in
10731 doc-string. Fix quoting. Don't pop up a new frame even as
10732 fallback.
10733
10734 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10735
10736 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10737 avoid deleting the current window in some cases (bug#8911).
10738
10739 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10740
10741 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10742 (Bug#8934)
10743
10744 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10745
10746 * net/network-stream.el (network-stream-open-starttls):
10747 Use built-in TLS support if `gnutls-available-p' is true.
10748 (network-stream-open-tls): Ditto.
10749
10750 2011-06-26 Leo Liu <sdl.web@gmail.com>
10751
10752 * register.el (registerv): New struct.
10753 (registerv-make): New function.
10754 (jump-to-register, describe-register-1, insert-register):
10755 Support the jump-func, print-func and insert-func slot of a registerv
10756 struct. (Bug#8415)
10757
10758 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10759
10760 * vc/vc.el (vc-revert-show-diff): New defcustom.
10761 (vc-diff-internal): New arg specifying diff buffer.
10762 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10763 reuse an existing *vc-diff* buffer (Bug#8927).
10764
10765 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10766
10767 2011-06-26 Glenn Morris <rgm@gnu.org>
10768
10769 * progmodes/f90.el (f90-critical-indent): New option.
10770 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10771 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10772 (f90-mode): Doc fix.
10773 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10774 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10775 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10776 (f90-match-end): Handle block, critical.
10777
10778 2011-06-25 Glenn Morris <rgm@gnu.org>
10779
10780 * calendar/diary-lib.el (diary-included-files): Doc fix.
10781 (diary-include-files): New function, extracted from
10782 diary-include-other-diary-files and diary-mark-included-diary-files.
10783 (diary-include-other-diary-files, diary-mark-included-diary-files):
10784 Just call diary-include-files.
10785 (diary-mark-entries): Reset diary-included-files on first call.
10786
10787 * calendar/diary-lib.el (diary-mark-entries)
10788 (diary-mark-included-diary-files):
10789 Visit included diary-files in temp buffers.
10790
10791 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10792 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10793 (f90-start-block-re, f90-imenu-generic-expression)
10794 (f90-looking-at-program-block-start, f90-no-block-limit):
10795 Add support for submodules.
10796
10797 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10798 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10799
10800 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10801
10802 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10803 buffer-file-type before setting its value, to avoid disastrous
10804 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10805
10806 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10807
10808 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10809
10810 * ses.el (ses-unload-function):
10811 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10812
10813 * proced.el (proced-unload-function):
10814 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10815
10816 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10817
10818 * server.el (server-create-window-system-frame): Add parameters arg.
10819 (server-process-filter): Doc fix. Handle frame-parameters.
10820
10821 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10822
10823 Fix bug#8730, bug#8781.
10824
10825 * loadhist.el (unload--set-major-mode): New function.
10826 (unload-feature): Use it.
10827
10828 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10829 (python-unload-function): New function.
10830
10831 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10832
10833 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10834
10835 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10836
10837 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10838 the candidates list.
10839
10840 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10841
10842 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10843
10844 2011-06-23 Richard Stallman <rms@gnu.org>
10845
10846 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10847 (rmail-variables): Set next-error-move-function.
10848 (rmail-what-message): Take argument POS.
10849 (rmail-next-error-move): New function.
10850
10851 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10854 messages for adjacent non-terminals.
10855
10856 2011-06-23 Richard Stallman <rms@gnu.org>
10857
10858 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10859 (rmail-show-message-1): Preserve buffer modified flag.
10860 (rmail-start-mail): Don't specify use of rmail-mail-return;
10861 that's done by mail-bury now.
10862 (rmail-mail-return): Handle arg NEWBUF.
10863
10864 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10865
10866 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10867 SIZE is a number.
10868
10869 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10870
10871 * window.el (get-lru-window, get-mru-window)
10872 (get-largest-window): Never return a minibuffer window.
10873 (display-buffer-pop-up-window): Fix a bug that could lead to
10874 reusing the minibuffer window.
10875 (display-buffer): Pass original specifier argument to
10876 display-buffer-function instead of the normalized one.
10877 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10878
10879 2011-06-22 Leo Liu <sdl.web@gmail.com>
10880
10881 * minibuffer.el (completing-read-function)
10882 (completing-read-default): Move from minibuf.c
10883
10884 2011-06-22 Richard Stallman <rms@gnu.org>
10885
10886 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10887 to Rmail even if not started by a special Rmail command.
10888
10889 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10890 Copy the buffer currently showing just one message.
10891
10892 2011-06-22 Roland Winkler <winkler@gnu.org>
10893
10894 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10895 (bibtex-clean-entry): First delete the old key so that a
10896 customized algorithm for generating the new key does not get
10897 confused by the old key.
10898 (bibtex-url): Obey regexp of first step.
10899 (bibtex-search-entries): Do not use add-to-list with local
10900 list-var.
10901
10902 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10903
10904 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10905 stored a user name, then query for the password first, instead of
10906 waiting for SMTP to give an error message and the trying again.
10907
10908 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10909
10910 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10911 BUFFER in call-process.
10912
10913 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10914
10915 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10916 QUIT twice.
10917 (smtpmail-try-auth-methods): Require user name and password from
10918 auth-source.
10919
10920 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10921
10922 * window.el (display-buffer-default-specifiers)
10923 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10924 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10925 (split-window): Normalize SIDE argument (Bug#8916).
10926
10927 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10928 (special-display-frame-alist, special-display-popup-frame):
10929 Remove duplicate declarations. These are now in window.el.
10930
10931 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10932
10933 * mail/smtpmail.el (smtpmail-via-smtp):
10934 Set :use-starttls-if-possible so that we always use STARTTLS if the
10935 server supports it. SMTP servers that support STARTTLS commonly
10936 require it.
10937
10938 * net/network-stream.el (network-stream-open-starttls): Support
10939 upgrading to STARTTLS always, even if we don't have built-in support.
10940 (open-network-stream): Add the :always-query-capabilities keyword.
10941
10942 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10943 upgrades with `open-network-stream', and rely solely on
10944 auth-source for all credentials. Big changes throughout the file,
10945 but in particular:
10946 (smtpmail-auth-credentials): Remove.
10947 (smtpmail-starttls-credentials): Remove.
10948 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10949 MAIL FROM, too.
10950
10951 * net/network-stream.el (network-stream-open-starttls):
10952 Provide support for client certificates both for external and built-in
10953 STARTTLS.
10954 (auth-source): Require.
10955 (open-network-stream): Document the :client-certificate keyword.
10956 (network-stream-certificate): Change cert-cert to cert and
10957 cert-key to key.
10958
10959 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10960
10961 * net/tramp-cache.el (top): Don't load the persistency file when
10962 "emacs -Q" has been called.
10963
10964 2011-06-21 Tim Harper <timcharper@gmail.com>
10965
10966 * term/ns-win.el (ns-initialize-window-system):
10967 Set application-specific `ApplePressAndHoldEnabled' system
10968 resource to NO as it is not yet supported by the NS port.
10969
10970 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10971
10972 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10973 (list-dynamic-libraries): ...not here.
10974
10975 2011-06-21 Leo Liu <sdl.web@gmail.com>
10976
10977 * subr.el (sha1): Implement sha1 using secure-hash.
10978
10979 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10980
10981 * window.el (display-buffer-alist): In default value do not
10982 enforce searching a window on any but the selected frame.
10983 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10984 (display-buffer-select-window): Remove function.
10985 (display-buffer-in-window): When a window on another frame gets
10986 reused, do not select it any more but just raise its frame if
10987 necessary (Bug#8851) and (Bug#8856).
10988 (display-buffer-normalize-options): Handle pop-up-frames related
10989 options more faithfully.
10990 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10991 window if it is on another frame.
10992 (display-buffer-alist, display-buffer-default-specifiers):
10993 Don't make new frame unsplittable by default.
10994 (display-buffer-normalize-argument): Fix doc-string typo and use
10995 'same-frame-other-window instead of 'other-window when associating
10996 with display-buffer-macro-specifiers.
10997
10998 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
10999
11000 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11001 New functions.
11002 (5x5-mode-map, 5x5-mode-menu): Bind them.
11003 (5x5-draw-grid): Tweak the solver's rendering.
11004
11005 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11006
11007 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11008 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11009
11010 2011-06-21 Drew Adams <drew.adams@oracle.com>
11011
11012 * menu-bar.el: Use function variable instead of switch-to-buffer.
11013 (menu-bar-select-buffer-function): New variable.
11014 (menu-bar-update-buffers): Use it (bug#8876).
11015
11016 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11017
11018 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11019 variable's status.
11020
11021 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11022
11023 * x-dnd.el (x-dnd-version-from-flags)
11024 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11025 and long as number (Bug#8899).
11026 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11027
11028 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11029
11030 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11031 (completion-try-completion, completion-all-completions): Compute the
11032 metadata argument if it's missing; make it optional (bug#8795).
11033
11034 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11035 (widget-complete): Use new :completion-function property.
11036 (widget-completions-at-point): New function.
11037 (default): Use :completion-function instead of :complete.
11038 (widget-default-completions): Rename from widget-default-complete;
11039 Rewrite.
11040 (widget-string-complete, widget-file-complete, widget-color-complete):
11041 Remove functions.
11042 (file, symbol, function, variable, coding-system, color):
11043 * international/mule-cmds.el (default-input-method, charset)
11044 (language-info-custom-alist):
11045 * cus-edit.el (face): Use new property :completions.
11046
11047 * progmodes/pascal.el (pascal-completions-at-point): New function.
11048 (pascal-mode): Use it.
11049 (pascal-mode-map): Use completion-at-point.
11050 (pascal-toggle-completions): Make obsolete.
11051 (pascal-complete-word, pascal-show-completions):
11052 * progmodes/octave-mod.el (octave-complete-symbol):
11053 Redefine as obsolete alias.
11054 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11055 Signal absence of completion info for old Octave,
11056 (inferior-octave-complete): Redefine as obsolete alias.
11057 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11058 (meta-completions-at-point): Rename from meta-complete-symbol and
11059 adapt it for use on completion-at-point-functions.
11060 (meta-common-mode): Use it.
11061 (meta-looking-at-backward, meta-match-buffer): Remove.
11062 (meta-complete-symbol): Redefine as obsolete alias.
11063 (meta-common-mode-map): Use completion-at-point.
11064 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11065 (makefile-mode-map): Use completion-at-point.
11066 (makefile-completions-at-point): Rename from makefile-complete and
11067 adapt it for use on completion-at-point-functions.
11068 (makefile-mode): Use it.
11069 (makefile-complete): Redefine as obsolete alias.
11070
11071 2011-06-20 Deniz Dogan <deniz@dogan.se>
11072
11073 * net/rcirc.el: Delete trailing whitespaces once and for all.
11074
11075 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11076
11077 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11078
11079 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11080
11081 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11082
11083 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11084
11085 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11086
11087 * window.el (display-buffer-other-window-means-other-frame):
11088 Call display-buffer-normalize-alist.
11089 (display-buffer-normalize-specifiers-1): Rename to
11090 display-buffer-normalize-argument. New argument other-frame.
11091 Rewrite.
11092 (display-buffer-normalize-specifiers-2): Rename to
11093 display-buffer-normalize-options.
11094 (display-buffer-normalize-alist-1): New function.
11095 (display-buffer-normalize-specifiers-3): Rename to
11096 display-buffer-normalize-alist.
11097 Call display-buffer-normalize-alist-1.
11098 (display-buffer-normalize-options-inhibit): New variable.
11099 (display-buffer-normalize-specifiers): Rewrite calling
11100 display-buffer-normalize-alist,
11101 display-buffer-normalize-argument, and
11102 display-buffer-normalize-options. Don't call the latter if
11103 display-buffer-normalize-options-inhibit is non-nil.
11104 (frame-auto-delete): New option.
11105 (window-deletable-p): Use frame-auto-delete.
11106 (window-list-no-nils, window-state-ignored-parameters)
11107 (window-state-get-1, window-state-get, window-state-put-list)
11108 (window-state-put-1, window-state-put-2, window-state-put):
11109 New functions.
11110 (display-buffer-normalize-options): Move special-display-p group
11111 after pop-up-frame group (Bug#8851) and (Bug#8856).
11112
11113 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11114
11115 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11116 groups (Bug#8776).
11117 (rx-submatch-n): New function.
11118 (rx): Document it.
11119
11120 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11121 (Bug#8768).
11122
11123 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11124
11125 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11126
11127 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11128 anytime existing face settings are present (Bug#8889).
11129
11130 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11131 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11132 Remove unused argument.
11133
11134 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11135
11136 * window.el (display-buffer-default-specifiers):
11137 Remove pop-up-frame. Add pop-up-window-min-height,
11138 pop-up-window-min-width, and another reuse-window specifier
11139 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11140 (display-buffer-normalize-specifiers-2):
11141 Handle split-height-threshold and split-width-threshold also when
11142 pop-up-windows is unset. Add a reuse-window specifier for the
11143 case popping up a new window fails.
11144 (special-display-popup-frame): Remove double quoting.
11145 (display-buffer-normalize-specifiers-1): Fix thinko.
11146
11147 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11148
11149 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11150 according to comint-completion-addsuffix.
11151
11152 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11153 (pcomplete-suffix-list): Mark as obsolete.
11154 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11155 pcomplete-seen in the closure.
11156 (pcomplete-comint-setup): Setup completion-at-point as well.
11157 (pcomplete--entries): New function.
11158 (pcomplete--env-regexp): New var.
11159 (pcomplete-entries): Rewrite to work with partial-completion and
11160 without relying on pcomplete-suffix-list.
11161 (pcomplete-pare-list): Remove, unused.
11162
11163 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11164
11165 * window.el (display-buffer-alist): Set pop-up-window-min-height
11166 and pop-up-window-min-width in default value. Reported by
11167 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11168 other-window-means-other-frame.
11169 (display-buffer-macro-specifiers): Comment out entry for
11170 other-window specifier.
11171 (display-buffer-other-window-means-other-frame): New function.
11172 (display-buffer-normalize-specifiers-1): New arguments
11173 buffer-name and label. Treat other-window case specially.
11174 (display-buffer-normalize-specifiers-2): Treat other-window case
11175 specially.
11176 (display-buffer-normalize-specifiers-3): New function.
11177 (display-buffer-normalize-specifiers):
11178 Call display-buffer-normalize-specifiers-3.
11179
11180 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11181
11182 * window.el (same-window-p): Fix two typos introduced when
11183 adding with-no-warnings.
11184 (display-buffer-normalize-specifiers-1): Don't check
11185 pop-up-frames for 'unset initialization.
11186 (display-buffer-normalize-specifiers-2): Major rewrite using
11187 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11188 (pop-up-frames, display-buffer-reuse-frames)
11189 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11190 Suggested by David Engster <deng@randomsample.de>.
11191 (even-window-heights): Initialize to 'unset.
11192 (display-buffer-alist-set): Handle new 'unset initializations.
11193 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11194 other window case.
11195
11196 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11197
11198 * window.el (display-buffer-normalize-specifiers-1):
11199 Respect current value of pop-up-frames for most reasonable values of
11200 second argument of display-buffer (Bug#8865).
11201 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11202 (switch-to-buffer-other-window-same-frame)
11203 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11204 Adams (Bug#8875).
11205 (display-buffer): Don't check noninteractive when calling
11206 display-buffer-pop-up-frame.
11207 (display-buffer-pop-up-frame): Never pop up a frame in
11208 noninteractive mode (Bug#8857).
11209 (enlarge-window, shrink-window): Don't report an error when the
11210 window can't be resized as requested (Bug#8862).
11211
11212 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11213
11214 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11215
11216 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11217
11218 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11219
11220 2011-06-15 Alan Mackenzie <acm@muc.de>
11221
11222 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11223 for declarators, disable knr checking to speed up for normal files.
11224 2: Refactor, replacing a sequence of nested if forms by a cond form.
11225
11226 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11227
11228 * net/network-stream.el (open-network-stream): Add the keyword
11229 :always-query-capabilities for the case where you want to force a
11230 `plain' network connection, but the protocol still requires the
11231 capabilitiy command (i.e., SMTP and EHLO).
11232
11233 * subr.el (process-live-p): Rename from `process-alive-p' for
11234 consistency with other `-live-p' functions.
11235
11236 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11237
11238 * window.el (same-window-buffer-names, same-window-regexps)
11239 (special-display-frame-alist, special-display-popup-frame)
11240 (special-display-function, special-display-buffer-names)
11241 (special-display-regexps, pop-up-frame-alist)
11242 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11243 (pop-up-windows, split-window-preferred-function)
11244 (split-height-threshold, split-width-threshold, even-window-heights)
11245 (display-buffer-mark-dedicated): Don't encourage the use of
11246 display-buffer-alist from Elisp code.
11247
11248 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11249
11250 * progmodes/python.el (python-mode): Derive from prog-mode.
11251 * progmodes/ps-mode.el (ps-mode):
11252 * progmodes/mixal-mode.el (mixal-mode):
11253 * progmodes/cfengine.el (cfengine-mode):
11254 * progmodes/ld-script.el (ld-script-mode): Likewise.
11255
11256 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11257
11258 * window.el (display-buffer-alist): Trim default value to avoid
11259 popping up a new frame (Bug#8857) or reusing an arbitrary window
11260 on another frame.
11261 (display-buffer): Do not fall back on popping up a new frame in
11262 batch mode (Bug#8857).
11263
11264 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11265
11266 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11267 (custom-theme-summary): New function.
11268 (customize-themes): Use it.
11269
11270 2011-06-13 Glenn Morris <rgm@gnu.org>
11271
11272 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11273
11274 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11275
11276 * help.el (help-window): Remove variable.
11277 (help-window-point-marker, temp-buffer-max-height)
11278 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11279 (help-print-return-message): Don't set help-window.
11280 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11281 (help-window-setup-finish): Remove.
11282 (help-window-display-message, help-window-setup)
11283 (with-help-window): Major rewrite based on new
11284 display-buffer-window variable.
11285
11286 * help-mode.el (help-mode-finish): Remove help-window related
11287 code.
11288
11289 * view.el (view-exits-all-viewing-windows): Remove reference to
11290 view-return-to-alist in doc-string.
11291 (view-return-to-alist): Make obsolete.
11292 (view-buffer): Call pop-to-buffer-same-window and remove
11293 undo-window code.
11294 (view-buffer-other-window): Call pop-to-buffer-other-window and
11295 simplify code. Ignore second argument.
11296 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11297 simplify code. Ignore second argument.
11298 (view-return-to-alist-update): Make obsolete.
11299 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11300 Rewrite using quit-restore window parameters.
11301 (view-mode-exit): Rename second argument to EXIT-ONLY.
11302 Rewrite using quit-restore-window.
11303 (View-exit, View-exit-and-edit, View-leave, View-quit)
11304 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11305 appropriate arguments.
11306 (view-end-message): Use quit-restore window parameter.
11307
11308 * window.el (display-buffer-function): Rewrite doc-string.
11309 (display-buffer-window, display-buffer-alist): New variables.
11310 (display-buffer-split-specifiers)
11311 (display-buffer-side-specifiers)
11312 (display-buffer-macro-specifiers): New constants.
11313 (display-buffer-even-window-sizes, display-buffer-set-height)
11314 (display-buffer-set-width, display-buffer-select-window)
11315 (display-buffer-in-window, display-buffer-reuse-window)
11316 (display-buffer-split-window-1, display-buffer-split-window)
11317 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11318 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11319 (display-buffer-in-side-window, normalize-buffer-to-display)
11320 (display-buffer-normalize-specifiers-1)
11321 (display-buffer-normalize-specifiers-2)
11322 (display-buffer-normalize-specifiers, display-buffer-frame):
11323 New functions.
11324 (display-buffer): Major rewrite.
11325 (display-buffer-other-window, display-buffer-other-frame)
11326 (pop-to-buffer, switch-to-buffer-other-window)
11327 (switch-to-buffer-other-frame): Rewrite.
11328 (display-buffer-same-window, display-buffer-same-frame)
11329 (display-buffer-same-frame-other-window)
11330 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11331 (pop-to-buffer-other-window)
11332 (pop-to-buffer-same-frame-other-window)
11333 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11334 (switch-to-buffer-other-window-same-frame): New functions.
11335 (same-window-p, special-display-p): Rewrite disabling warnings.
11336 Make obsolete.
11337 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11338 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11339 Make obsolete
11340 (same-window-buffer-names, same-window-regexps)
11341 (special-display-frame-alist, special-display-popup-frame)
11342 (special-display-function, special-display-buffer-names)
11343 (special-display-regexps, pop-up-frame-alist)
11344 (pop-up-frame-function, split-window-preferred-function)
11345 (split-height-threshold, split-width-threshold)
11346 (even-window-heights): Make obsolete.
11347
11348 2011-06-12 Glenn Morris <rgm@gnu.org>
11349
11350 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11351 Misc simplifications.
11352
11353 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11354
11355 * window.el (window-safely-shrinkable-p): Restore function which
11356 was inadvertently removed in change from 2011-06-11. Declare as
11357 obsolete.
11358
11359 * calendar/calendar.el (calendar-generate-window):
11360 Use window-iso-combined-p instead of combination of one-window-p and
11361 window-safely-shrinkable-p.
11362
11363 2011-06-12 Glenn Morris <rgm@gnu.org>
11364
11365 * progmodes/fortran.el (fortran-mode-syntax-table):
11366 * progmodes/f90.el (f90-mode-syntax-table):
11367 Set % to punctuation. (Bug#8820)
11368 (f90-find-tag-default): Remove, no longer needed.
11369
11370 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11371
11372 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11373
11374 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11375
11376 * image.el (image-animated-p): Return animation delay in seconds.
11377 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11378 (image-animate-timeout): Remove DELAY argument. Don't assume
11379 every subimage has the same delay; get it from image-animated-p.
11380 (image-animate): Caller changed.
11381
11382 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11383
11384 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11385 to ignored backtrace functions.
11386
11387 2011-06-11 Glenn Morris <rgm@gnu.org>
11388
11389 * calendar/appt.el (appt-disp-window-function): Doc fix.
11390 (appt-check): Handle overlapping appointments. (Bug#8337)
11391
11392 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11393
11394 * window.el (window-tree-1, window-tree): New functions, moving
11395 the latter to window.el.
11396 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11397 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11398 (bw-refresh-edges): Remove.
11399 (balance-windows-1, balance-windows-2): New functions.
11400 (balance-windows): Rewrite in terms of window tree functions,
11401 balance-windows-1 and balance-windows-2.
11402 (bw-adjust-window): Remove.
11403 (balance-windows-area-adjust): New function with functionality of
11404 bw-adjust-window but using resize-window.
11405 (set-window-text-height): Rewrite doc-string.
11406 Use normalize-live-window and resize-window.
11407 (enlarge-window-horizontally, shrink-window-horizontally):
11408 Rename argument to DELTA.
11409 (window-buffer-height): New function.
11410 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11411 Rewrite using new window resize routines.
11412 (kill-buffer-and-window, mouse-autoselect-window-select):
11413 Use ignore-errors instead of condition-case.
11414 (quit-window): Call delete-frame instead of delete-windows-on
11415 for the only buffer on frame.
11416
11417 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11418
11419 * loadup.el (top-level): Load window before files for the sake
11420 of replace-buffer-in-windows.
11421
11422 * files.el (read-buffer-to-switch)
11423 (switch-to-buffer-other-window)
11424 (switch-to-buffer-other-frame, display-buffer-other-frame):
11425 Move to window.el.
11426
11427 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11428 (previous-buffer): Move to window.el.
11429
11430 * bindings.el (unbury-buffer): Move to window.el.
11431
11432 * window.el (delete-other-windows-vertically): Move after
11433 definition of delete-other-windows.
11434 (other-window, delete-windows-on, replace-buffer-in-windows):
11435 Move here from window.c.
11436 (record-window-buffer, unrecord-window-buffer)
11437 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11438 (switch-to-next-buffer): New functions.
11439 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11440 from simple.el. Call switch-to-next-buffer.
11441 (previous-buffer): Move here from simple.el.
11442 Call switch-to-prev-buffer.
11443 (bury-buffer): Move here from buffer.c. Switch to previous
11444 buffer when window cannot be deleted.
11445 (unbury-buffer): Move here from bindings.el.
11446 (ctl-x-map): Move binding for other-window from window.c to
11447 here.
11448 (read-buffer-to-switch, switch-to-buffer-other-window)
11449 (switch-to-buffer-other-frame): Move here from files.el.
11450 (normalize-buffer-to-switch-to): New functions.
11451 (switch-to-buffer): Move here from buffer.c.
11452 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11453
11454 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11455
11456 * window.el (window-min-height, window-min-width): Move here
11457 from window.c. Add defcustoms and rewrite doc-strings.
11458 (resize-mini-window, resize-window): New functions.
11459 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11460 Move here from window.c.
11461 (maximize-window, minimize-window): New functions.
11462 (delete-window, delete-other-windows, split-window): Move here
11463 from window.c.
11464 (window-split-min-size): New function.
11465 (split-window-keep-point): Mention split-window-above-each-other
11466 instead of split-window-vertically.
11467 (split-window-above-each-other, split-window-vertically):
11468 Rename split-window-vertically to split-window-above-each-other
11469 and provide defalias for old definition.
11470 (split-window-side-by-side, split-window-horizontally):
11471 Rename split-window-horizontally to split-window-side-by-side
11472 and provide defalias for the old definition.
11473 (ctl-x-map): Move bindings for delete-window,
11474 delete-other-windows and enlarge-window here from window.c.
11475 Replace bindings for split-window-vertically and
11476 split-window-horizontally by bindings for
11477 split-window-above-each-other and split-window-side-by-side.
11478
11479 * cus-start.el (all): Remove entries for window-min-height and
11480 window-min-width. Add entries for window-splits and
11481 window-nest.
11482
11483 2011-06-09 Glenn Morris <rgm@gnu.org>
11484
11485 * calendar/appt.el (appt-mode-line): New function.
11486 (appt-check, appt-disp-window): Use it.
11487
11488 * files.el (hack-one-local-variable-eval-safep):
11489 Allow minor-modes with explicit +/-1 arguments.
11490
11491 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11492
11493 * term/xterm.el (xterm): Add defgroup.
11494 (xterm-extra-capabilities): Add defcustom to supply known xterm
11495 capabilities, skip querying them, or query them (default).
11496 (terminal-init-xterm): Use it.
11497 (terminal-init-xterm-modify-other-keys): New function to set up
11498 modifyOtherKeys support to simplify `terminal-init-xterm'.
11499
11500 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11501
11502 * window.el (resize-window-reset, resize-window-reset-1)
11503 (resize-subwindows-skip-p, resize-subwindows-normal)
11504 (resize-subwindows, resize-other-windows, resize-this-window)
11505 (resize-root-window, resize-root-window-vertically)
11506 (window-deletable-p, window-or-subwindow-p)
11507 (frame-root-window-p): New functions.
11508
11509 2011-06-09 Glenn Morris <rgm@gnu.org>
11510
11511 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11512 (ange-ftp-get-files): Use it.
11513
11514 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11515
11516 * mail/sendmail.el (mail-recover-1, mail-recover):
11517 * files.el (recover-file, recover-session):
11518 Handle dired-listing-switches not being just a single short option.
11519
11520 2011-06-09 Glenn Morris <rgm@gnu.org>
11521
11522 * calendar/appt.el (appt-display-message, appt-disp-window):
11523 Handle lists of appointments.
11524
11525 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11526
11527 * window.el (one-window-p): Move down in code.
11528 Rewrite doc-string.
11529 (window-current-scroll-bars): Rewrite doc-string.
11530 Normalize live window argument.
11531 (walk-windows, get-window-with-predicate, count-windows):
11532 Rewrite doc-string. Use window-list-1.
11533 (window-in-direction-2, window-in-direction, get-mru-window):
11534 New functions.
11535
11536 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11537
11538 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11539 Doc fix (Bug#8713).
11540
11541 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11542
11543 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11544
11545 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11546
11547 * loadhist.el (unload-feature-special-hooks):
11548 Add `comint-output-filter-functions'.
11549
11550 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11551
11552 * calendar/appt.el (appt-check): Move some initializations into the let.
11553
11554 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11555
11556 * window.el (window-height): Defalias to window-total-height.
11557 (window-width): Defalias to window-body-width.
11558
11559 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11560
11561 * image-mode.el (image-toggle-animation): New command.
11562 (image-mode-map): Bind it to RET.
11563 (image-mode): Update message.
11564 (image-toggle-display-image): Avoid a spurious cache flush.
11565 (image-transform-rotation): Doc fix.
11566 (image-transform-properties): Return quickly in the normal case.
11567 (image-animate-loop): Rename from image-animate-max-time.
11568
11569 * image.el (image-animate-max-time): Move to image-mode.el.
11570 (create-animated-image): Remove unnecessary function.
11571 (image-animate): Rename from image-animate-start. New arg.
11572 (image-animate-stop): Remove; just use image-animate-timer.
11573 (image-animate-timer): Use car-safe.
11574 (image-animate-timeout): Rename argument.
11575
11576 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11577
11578 * window.el (get-lru-window, get-largest-window): Move here from
11579 window.c. Rename first argument to ALL-FRAMES.
11580 Rephrase doc-strings.
11581 (get-buffer-window-list): Rewrite using window-list-1.
11582 Rephrase doc-string.
11583 (window-safe-min-height, window-safe-min-width): New constants.
11584 (window-size-ignore, window-min-size, window-min-size-1)
11585 (window-sizable, window-sizable-p, window-size-fixed-1)
11586 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11587 (window-max-delta-1, window-max-delta, window-resizable)
11588 (window-resizable-p, window-total-height, window-total-width)
11589 (window-body-width): New functions.
11590 (window-full-height-p, window-full-width-p): Rewrite using
11591 window-total-size.
11592 (window-body-height): Rewrite using window-body-size.
11593
11594 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11595
11596 * window.el (window-right, window-left, window-child)
11597 (window-child-count, window-last-child, window-any-p)
11598 (normalize-live-buffer, normalize-live-frame)
11599 (normalize-any-window, normalize-live-window)
11600 (window-iso-combination-p, window-iso-combined-p)
11601 (window-iso-combinations)
11602 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11603 (windows-with-parameter, window-with-parameter)
11604 (window-atom-root, make-window-atom, window-atom-check-1)
11605 (window-atom-check, window-side-check, window-check):
11606 New functions.
11607 (ignore-window-parameters, window-sides, window-sides-vertical)
11608 (window-sides-slots): New variables.
11609 (window-size-fixed): Move down in code. Minor doc-string fix.
11610
11611 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11612
11613 * comint.el (comint-dynamic-complete-as-filename)
11614 (comint-dynamic-complete-filename): Correctly call
11615 completion-in-region.
11616
11617 2011-06-05 Deniz Dogan <deniz@dogan.se>
11618
11619 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11620 in last change.
11621
11622 2011-06-05 Deniz Dogan <deniz@dogan.se>
11623
11624 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11625 (rcirc): Use it to prompt for encryption.
11626
11627 2011-06-05 Roland Winkler <winkler@gnu.org>
11628
11629 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11630 (bibtex-search-entries): New command bound to C-c C-a.
11631 (bibtex-display-entries): New function.
11632
11633 2011-06-05 Roland Winkler <winkler@gnu.org>
11634
11635 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11636 (bibtex-insert-kill): After yanking insert newline if necessary.
11637 (bibtex-initialize): Call bibtex-string-files-init only once.
11638 (bibtex-mode): Do not call easy-menu-add.
11639 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11640 (bibtex-yank): Set arg properly if nil.
11641
11642 2011-06-05 Roland Winkler <winkler@gnu.org>
11643
11644 * textmodes/bibtex.el (bibtex-search-entry-globally):
11645 New variable.
11646 (bibtex-search-entry): Use it.
11647
11648 2011-06-05 Roland Winkler <winkler@gnu.org>
11649
11650 * textmodes/bibtex.el (bibtex-entry-format): New option
11651 sort-fields.
11652 (bibtex-format-entry, bibtex-reformat): Honor this option.
11653 (bibtex-parse-entry): Return fields in proper order.
11654
11655 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11656
11657 * doc-view.el (doc-view-remove-if): Move computation of result out
11658 of `dolist' to silence misleading lexical-binding warning.
11659
11660 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11661
11662 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11663 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11664
11665 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11666
11667 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11668 "SunOS 5.10".
11669
11670 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11671
11672 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11673 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11674 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11675 (tramp-parse-putty):
11676 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11677 (tramp-completion-function-alist-ssh)
11678 (tramp-completion-function-alist-telnet)
11679 (tramp-completion-function-alist-su)
11680 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11681 cookie.
11682
11683 * net/tramp-ftp.el:
11684 * net/tramp-sh.el:
11685 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11686 load "tramp.el" `tramp-set-completion-function'.
11687
11688 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11689
11690 * shell.el: Require and use pcomplete.
11691 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11692 (shell-completion-vars): Set pcomplete-default-completion-function.
11693
11694 2011-06-04 Deniz Dogan <deniz@dogan.se>
11695
11696 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11697 `memq' (Bug#8799).
11698
11699 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11700
11701 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11702
11703 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11704
11705 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11706 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11707 * vc/log-view.el (log-view-beginning-of-defun):
11708 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11709 (smerge-refine-forward, smerge-refine-chopup-region):
11710 Silence warning for unused `dotimes' counter variables.
11711
11712 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11713
11714 * net/tramp.el (tramp-with-progress-reporter): Rename from
11715 with-progress-reporter. Use `declare'.
11716 * net/tramp-smb.el:
11717 * net/tramp-sh.el:
11718 * net/tramp-gvfs.el: Update all uses.
11719
11720 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11721
11722 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11723 buffer isn't killed before making it current.
11724
11725 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11726
11727 Silence various byte-compiler warnings.
11728 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11729 `access-type' and new obsolescence format.
11730 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11731 new format.
11732 (byte-compile-check-variable): New `access-type' argument.
11733 Only warn if the access-type is obsolete.
11734 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11735 (byte-compile-variable-set): Adjust callers.
11736 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11737 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11738 setting it as obsolete.
11739 * simple.el (minibuffer-completing-symbol):
11740 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11741 access as obsolete.
11742 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11743 obsolete yet.
11744 * international/quail.el (quail-mouse-choose-completion): Remove unused
11745 code referring to obsolete var.
11746 (quail-choose-completion-string): Remove.
11747 * server.el (server-clients-with, server-kill-buffer-query-function)
11748 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11749 * proced.el (proced-send-signal):
11750 * emacs-lisp/lisp.el (lisp-complete-symbol):
11751 Replace completion-annotate-function with completion-extra-properties.
11752
11753 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 * simple.el (goto-line): Use read-number.
11756 (overriding-map-is-bound): Remove.
11757 (saved-overriding-map): Change default.
11758 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11759 Take the map as argument.
11760 (universal-argument, negative-argument, digit-argument): Use it.
11761 (restore-overriding-map): Adjust.
11762 (do-auto-fill): Use fill-forward-paragraph.
11763 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11764
11765 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11766 (minibuffer-inactive-mode): New major mode.
11767 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11768 the *Messages* buffer" hack.
11769 (mouse-popup-menubar): Don't burp if the event is a normal key.
11770
11771 Miscellaneous tweaks.
11772 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11773 lexical scoping as in subr.el's dolist and dotimes.
11774 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11775 Silence compiler warning.
11776 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11777 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11778 * international/ccl.el (ccl-compile): Trivial simplification.
11779 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11780 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11781 `printflag' argument.
11782 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11783 Purecopy the whole obsolescence data.
11784
11785 2011-06-01 Leo Liu <sdl.web@gmail.com>
11786
11787 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11788 improve doc-string as suggested by Marco Pessotto
11789 <melmothx@gmail.com>.
11790 (rcirc-print): Fix last change.
11791
11792 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * minibuffer.el (complete-with-action): Return nil for the metadata and
11795 boundaries of non-functional tables.
11796 (completion-table-dynamic): Return nil for the metadata.
11797 (completion-table-with-terminator): Add default case, using
11798 complete-with-action.
11799 (completion--metadata): New function.
11800 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11801 to try and avoid pathological performance problems.
11802 (completion--embedded-envvar-table): Return `category' metadata.
11803
11804 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11805
11806 * subr.el (process-alive-p): New tiny convenience function.
11807
11808 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11809
11810 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11811 content but also its previous major mode.
11812
11813 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11814
11815 * emacs-lisp/debug.el (debug): Restore the previous content of the
11816 *Backtrace* buffer when we exit with C-M-c.
11817
11818 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11819
11820 * minibuffer.el: Add metadata method to completion tables.
11821 (completion-category-overrides): New defcustom.
11822 (completion-metadata, completion--field-metadata)
11823 (completion-metadata-get, completion--styles)
11824 (completion--cycle-threshold): New functions.
11825 (completion-try-completion, completion-all-completions):
11826 Add `metadata' argument to choose completion-styles.
11827 (completion--do-completion): Use metadata to choose cycling.
11828 (completion-all-sorted-completions): Use metadata for sorting.
11829 Remove :completion-cycle-penalty which is not needed any more.
11830 (completion--try-word-completion): Add `metadata' argument.
11831 (minibuffer-completion-help): Check metadata for annotation function
11832 and sorting.
11833 (completion-file-name-table): Return `category' metadata.
11834 (minibuffer-completing-file-name): Make obsolete.
11835 * simple.el (minibuffer-completing-symbol): Make obsolete.
11836 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11837 completion-try-completion.
11838
11839 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11840
11841 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11842
11843 2011-05-30 Leo Liu <sdl.web@gmail.com>
11844
11845 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11846 (rcirc-print): Decode all incoming messages (bug#8744).
11847 (rcirc-decode-coding-system): Allow value nil for automatic coding
11848 system detection.
11849
11850 2011-06-01 Glenn Morris <rgm@gnu.org>
11851
11852 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11853
11854 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11855
11856 * image.el (image-animate-max-time): Allow nil and t values.
11857 Default to nil.
11858 (create-animated-image): Doc fix.
11859 (image-animate-start): Remove second arg; just use
11860 image-animate-max-time.
11861 (image-animate-timeout): Doc fix. Args changed.
11862
11863 * image-mode.el (image-toggle-display-image): Ensure that the
11864 image spec passed to the animate timer is the same object as in
11865 the buffer's display property (Bug#6981).
11866 (image-transform-properties): Doc fix.
11867
11868 * image.el (image-animate-max-time): Default to nil.
11869
11870 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11871
11872 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11873 entire buffer list (Bug#8184).
11874
11875 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11876
11877 * image.el (imagemagick-types-inhibit)
11878 (imagemagick-register-types): Doc fix.
11879
11880 2011-05-29 Deniz Dogan <deniz@dogan.se>
11881
11882 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11883 default.
11884
11885 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11886
11887 * select.el: Don't perform clipboard-manager saving in hooks;
11888 leave the hooks empty.
11889
11890 2011-05-28 Leo Liu <sdl.web@gmail.com>
11891
11892 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11893 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11894 (occur-edit-mode): New major mode (Bug#8463).
11895 (occur-after-change-function): New function.
11896 (occur-engine): Give Occur tags a read-only property.
11897
11898 2011-05-28 Kevin Ryde <user42@zip.com.au>
11899
11900 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11901
11902 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11903
11904 * bindings.el (help-echo): Make the initial non-indicator dash
11905 empty on graphical terminals (Bug#7295).
11906
11907 * files.el (auto-mode-alist): Move config rule after the
11908 in-stripping one (Bug#8547).
11909
11910 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11911
11912 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11913 setting (Bug#8740).
11914
11915 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11916
11917 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11918 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11919 (Bug#8539).
11920
11921 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11922
11923 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11924
11925 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11926
11927 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11928 (hs-hide-block-at-point, hs-find-block-beginning)
11929 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11930 (Bug#8279).
11931
11932 2011-05-28 Glenn Morris <rgm@gnu.org>
11933
11934 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11935
11936 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11937
11938 * help-fns.el (describe-function-1): If the function is a derived
11939 major mode, print the parent mode.
11940
11941 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11942 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11943
11944 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11945
11946 * minibuffer.el (completion--capf-wrapper): Check applicability before
11947 returning non-nil for non-exclusive completion data.
11948 * progmodes/etags.el (tags-completion-at-point-function):
11949 * info-look.el (info-lookup-completions-at-point): Mark as
11950 non-exclusive.
11951 (info-complete): Adjust accordingly.
11952
11953 * info-look.el: Convert to lexical-binding and completion-at-point.
11954 (info-lookup-completions-at-point): New function.
11955 (info-complete): Use it and completion-in-region.
11956
11957 2011-05-28 Drew Adams <drew.adams@oracle.com>
11958
11959 * isearch.el: Let M-e start with point at the first mismatched char.
11960 (isearch-fail-pos): New function.
11961 (isearch-edit-string): Use it.
11962
11963 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11964
11965 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11966
11967 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11968
11969 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11970 traversal functions for avl-trees.
11971 (avl-tree--stack): New struct.
11972 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11973 (avl-tree-enter): Add optional `updatefun' arg.
11974 (avl-tree--do-enter): Add optional `updatefun' arg.
11975 Change return value.
11976 (avl-tree-delete): Add optional `test' and `nilflag' args.
11977 (avl-tree--do-delete): Add `test' and `nilflag' args.
11978 Change return value.
11979 (avl-tree-member): Add optional `nilflag'
11980 (avl-tree-member-p): New function.
11981 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11982 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11983 (avl-tree-stack-empty-p): New functions.
11984
11985 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11986 avl-tree--del-balance1 and make it work both ways.
11987 (avl-tree--del-balance2): Remove.
11988 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11989 make it work both ways.
11990 (avl-tree--enter-balance2): Remove.
11991 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11992 New macros.
11993 (avl-tree--mapc, avl-tree-map): Add direction argument.
11994
11995 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11996
11997 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11998
11999 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12000
12001 * select.el: Support clipboard managers with built-in function
12002 x-clipboard-manager-save, via delete-frame-functions and
12003 kill-emacs-hook.
12004 (xselect-convert-to-targets): Add MULTIPLE target to list.
12005 (xselect-convert-to-save-targets): New function.
12006
12007 2011-05-27 Kenichi Handa <handa@m17n.org>
12008
12009 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12010 let-binding rfc2047-encode-encoded-words to nil.
12011
12012 2011-05-27 Glenn Morris <rgm@gnu.org>
12013
12014 * mail/emacsbug.el: Don't require url-util.
12015
12016 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12017
12018 * files.el (set-auto-mode):
12019 Also respect mode: entries at the end of the file. (Bug#8586)
12020
12021 2011-05-26 Glenn Morris <rgm@gnu.org>
12022
12023 * files.el (hack-local-variables-prop-line, hack-local-variables):
12024 Downcase mode names, as seems to be traditional.
12025 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12026
12027 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12028 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12029
12030 2011-05-25 Julien Danjou <julien@danjou.info>
12031
12032 * textmodes/rst.el (rst-define-level-faces): Do not define face
12033 symbol if it is already defined.
12034
12035 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12036
12037 * play/5x5.el (5x5-new-game, 5x5-randomize):
12038 Reset 5x5-solver-output to nil when a new grid is cast.
12039 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12040 these debugging traces, as defmacro breaks the compiled code.
12041
12042 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12043
12044 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12045
12046 2011-05-24 Leo Liu <sdl.web@gmail.com>
12047
12048 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12049 (vc-bzr-sha1): Adapt.
12050
12051 * sha1.el: Remove. Function `sha1' is now builtin.
12052
12053 * bindings.el: Provide sha1 feature.
12054
12055 2011-05-24 Kenichi Handa <handa@m17n.org>
12056
12057 * mail/sendmail.el: Require `rfc2047'.
12058 (mail-insert-from-field): Do not perform RFC2047 encoding.
12059 (mail-encode-header): New function.
12060 (sendmail-send-it): Set buffer-file-coding-system of the work
12061 buffer to the return value of select-message-coding-system.
12062 Call mail-encode-header.
12063
12064 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12065
12066 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12067
12068 * mail/supercite.el (sc-default-cite-frame):
12069 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12070
12071 2011-05-24 Glenn Morris <rgm@gnu.org>
12072
12073 * progmodes/python.el (brm-menu): Declare.
12074
12075 * emulation/viper.el (viper-set-hooks): Declare.
12076
12077 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12078 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12079 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12080 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12081 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12082 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12083
12084 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12085
12086 Add an :exit-function for completion-at-point.
12087
12088 * minibuffer.el (completion--done): New fun.
12089 (completion--do-completion): Use it. New arg `expect-exact'.
12090 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12091 since completion--do-completion does it for us now.
12092 (minibuffer-force-complete): Use completion--done and
12093 completion--replace. Handle sole-completion case with more care.
12094 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12095 (completion-extra-properties): New var.
12096 (completion-annotate-function): Make obsolete.
12097 (minibuffer-completion-help): Adjust accordingly.
12098 Use completion-list-insert-choice-function.
12099 (completion-at-point, completion-help-at-point):
12100 Bind completion-extra-properties.
12101 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12102 * simple.el (completion-list-insert-choice-function): New var.
12103 (completion-setup-function): Preserve it.
12104 (choose-completion): Pay attention to it, shuffle the code a bit.
12105 (choose-completion-string): New arg `insert-function'.
12106
12107 * textmodes/bibtex.el: Convert to lexical binding.
12108 (bibtex-mode-map): Use completion-at-point.
12109 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12110 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12111 (bibtex-complete): Define as obsolete alias.
12112 (bibtex-complete-internal): Remove.
12113 (bibtex-format-entry): Remove unused sub-group in regexp.
12114 * shell.el (shell--command-completion-data)
12115 (shell-environment-variable-completion):
12116 * pcomplete.el (pcomplete-completions-at-point):
12117 * comint.el (comint--complete-file-name-data): Use :exit-function
12118 instead of completion-table-with-terminator so it also works for
12119 choose-completion.
12120
12121 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12124
12125 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12126 (bug#8710).
12127
12128 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12129
12130 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12131
12132 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12133 customization variable and implement: If non-nil, auto-fill will
12134 be inhibited while on topic's header line.
12135
12136 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12137
12138 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12139 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12140 always have a solution in grid size = 5 cases.
12141 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12142 (5x5-solver-output, 5x5-log-buffer): New vars.
12143 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12144 Make these variables buffer local to achieve 5x5 multi-session-ness.
12145 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12146 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12147 (5x5-solve-suggest): New funs.
12148 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12149 randomize a grid so that we ensure that there is always a solution.
12150 (5x5-make-random-grid): Allow other movement than flipping.
12151
12152 2011-05-23 Kevin Ryde <user42@zip.com.au>
12153
12154 * emacs-lisp/advice.el (ad-read-advised-function):
12155 Use `function-called-at-point' as the default, if it has
12156 advice and passes PREDICATE.
12157
12158 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12159
12160 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12161 byte-compile-lambda if it's actually a lambda.
12162
12163 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12164 Fix function quoting. Use backquote better.
12165
12166 2011-05-22 Yuanle Song <sylecn@gmail.com>
12167
12168 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12169 matching (Bug#8516).
12170
12171 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12172
12173 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12174 different face (Bug#8178).
12175
12176 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12177
12178 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12179 defface (Bug#8144).
12180
12181 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12182
12183 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12184 funcall as well (bug#8712). Warn when performing those conversions.
12185 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12186
12187 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12188
12189 2011-05-22 Glenn Morris <rgm@gnu.org>
12190
12191 * files.el (hack-local-variables-prop-line): Small simplifications.
12192 (hack-local-variables, hack-local-variables-prop-line):
12193 If MODE-ONLY, return the mode, rather than just `t'.
12194
12195 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12196
12197 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12198
12199 2011-05-21 Glenn Morris <rgm@gnu.org>
12200
12201 * files.el (hack-local-variables-prop-line, hack-local-variables):
12202 If only interested in the mode, don't bother doing the other stuff.
12203
12204 * image-mode.el (image-after-revert-hook):
12205 Redraw all frames on which the image is visible. (Bug#8567)
12206
12207 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12208
12209 * wid-edit.el (widget-checklist-match-inline):
12210 Fix 2011-04-19 change. (Bug#8649)
12211
12212 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12213
12214 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12215 Also allow singlespace after single-letter capitals followed by a dot.
12216
12217 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12218 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12219
12220 2011-05-20 Nix <nix@esperi.org.uk>
12221
12222 * files.el (basic-save-buffer-2):
12223 Fix handling of break-hardlink-on-save with non-existent files.
12224
12225 2011-05-19 Deniz Dogan <deniz@dogan.se>
12226
12227 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12228 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12229
12230 2011-05-19 Glenn Morris <rgm@gnu.org>
12231
12232 * progmodes/f90.el (f90-type-def-re):
12233 Handle "type, bind(c)". (Bug#8691)
12234
12235 * emacs-lisp/autoload.el (batch-update-autoloads):
12236 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12237
12238 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
12239
12240 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12241 property for the correct connection in case of multihops.
12242
12243 2011-05-18 Glenn Morris <rgm@gnu.org>
12244
12245 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12246 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12247
12248 Rationalize calendar handling of day and month abbrev-arrays.
12249 * calendar/calendar.el (calendar-customized-p): New function.
12250 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12251 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12252 Add :set function.
12253 (calendar-abbrev-length, calendar-day-abbrev-array)
12254 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12255 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12256 Elements may no longer be nil.
12257 (calendar-day-name, calendar-month-name):
12258 Update for changed nature of abbrev arrays.
12259 * calendar/diary-lib.el (diary-name-pattern):
12260 Update for changed nature of abbrev arrays.
12261 (diary-mark-entries-1): Update calendar-make-alist calls.
12262 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12263 * calendar/cal-html.el (cal-html-day-abbrev-array):
12264 Simply inherit from calendar-day-abbrev-array.
12265
12266 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12267
12268 * progmodes/grep.el (grep-mode): Disable default
12269 compilation-directory-matcher setting (bug#8684).
12270
12271 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12272
12273 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12274 instead of "head" and "tail". There were problems with SunOS 5.9,
12275 and it performs better.
12276
12277 2011-05-17 Glenn Morris <rgm@gnu.org>
12278
12279 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12280
12281 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12282 Replace obsolete function.
12283
12284 * shell.el (pcomplete-parse-arguments-function): Declare.
12285
12286 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12287 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12288 (appt-check): Doc fixes.
12289 (appt-disp-window-function, appt-delete-window-function):
12290 Remove needless special case in custom :type.
12291 (appt-display-count): Default to 0, not nil.
12292 (appt-check): Reset appt-display-count to 0, not nil.
12293
12294 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12295
12296 * progmodes/python.el (python-font-lock-keywords):
12297 Add the Python 3.X keyword "nonlocal" (bug#8639).
12298
12299 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12302
12303 2011-05-16 Kevin Ryde <user42@zip.com.au>
12304
12305 * info-look.el (makefile-automake-mode): New setups, looking in
12306 automake manual, then makefile-mode.
12307 (makefile-mode): Remove automake manual, have it just in
12308 makefile-automake-mode since there's various things different or
12309 not relevant to plain make.
12310 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12311 believe a hypothetical automake-mode would go to makefile-mode,
12312 not the other way around.
12313
12314 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12315
12316 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12317 hunk-end tags (Bug#8672).
12318
12319 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12320 vc-annotate-show-diff-revision-at-line (Bug#8671).
12321
12322 2011-05-14 Glenn Morris <rgm@gnu.org>
12323
12324 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12325 in the middle of an existing one with multiple authors. (Bug#8645)
12326 (change-log-font-lock-keywords): Also handle multiple author lines
12327 with leading tabs. (Bug#8644)
12328
12329 * calendar/appt.el (appt-check): Rename some local variables.
12330 Some simplification/reordering.
12331
12332 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12333 (feedmail-sendmail-f-doesnt-sell-me-out)
12334 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12335 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12336 (feedmail-queue-runner-message-sender): Set :version.
12337 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12338 (bbdb-dwim-net-address, vm-mail): Declare.
12339 (feedmail-binmail-gnulinuxish-template):
12340 Rename from feedmail-binmail-linuxish-template.
12341 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12342 Use insert-buffer-substring.
12343
12344 2011-05-14 Bill Carpenter <bill@carpenter.org>
12345
12346 * mail/feedmail.el (feedmail-patch-level): Increase.
12347 (feedmail-debug): New custom group.
12348 (feedmail-confirm-outgoing-timeout)
12349 (feedmail-sendmail-f-doesnt-sell-me-out)
12350 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12351 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12352 (feedmail-sender-line, feedmail-from-line)
12353 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12354 (feedmail-spray-this-address)
12355 (feedmail-spray-address-fiddle-plex-list)
12356 (feedmail-queue-use-send-time-for-date)
12357 (feedmail-queue-use-send-time-for-message-id)
12358 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12359 (feedmail-buffer-eating-function):
12360 Doc fixes.
12361 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12362 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12363 (feedmail-message-action-scroll-down): New functions.
12364 (feedmail-queue-directory, feedmail-queue-draft-directory):
12365 Use expand-file-name.
12366 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12367 Remove C-v help entry.
12368 (feedmail-queue-buffer-file-name): New variable.
12369 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12370 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12371 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12372 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12373 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12374 (feedmail-message-action-toggle-spray)
12375 (feedmail-run-the-queue-no-prompts)
12376 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12377 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12378 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12379 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12380 (feedmail-envelope-deducer, feedmail-fiddle-from)
12381 (feedmail-fiddle-sender, feedmail-default-date-generator)
12382 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12383 (feedmail-fiddle-spray-address)
12384 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12385 (feedmail-fiddle-list-of-fiddle-plexes)
12386 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12387 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12388 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12389 Change default. Doc fix.
12390 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12391 (feedmail-binmail-linuxish-template): New constant.
12392 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12393 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12394 (feedmail-send-it): Add debug call.
12395 Use feedmail-queue-buffer-file-name, and
12396 feedmail-send-it-immediately-wrapper.
12397 (feedmail-message-action-send): Add debug call.
12398 Use feedmail-send-it-immediately-wrapper.
12399 (feedmail-queue-express-to-queue): Add debug call.
12400 Run feedmail-queue-express-hook.
12401 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12402 (feedmail-message-action-help-blat):
12403 Rename from feedmail-queue-send-edit-prompt-help-first.
12404 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12405 Check line-endings. Handle errors better.
12406 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12407 Doc fix. Add debug call.
12408 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12409 Use feedmail-queue-send-edit-prompt-inner.
12410 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12411 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12412 from feedmail-queue-send-edit-prompt.
12413 (feedmail-queue-send-edit-prompt-help)
12414 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12415 (feedmail-tidy-up-slug): Add debug call.
12416 Respect feedmail-queue-slug-suspect-regexp.
12417 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12418 (feedmail-dump-message-to-queue): Add debug call.
12419 Expand queue-directory.
12420 (feedmail-dump-message-to-queue): Change message slightly.
12421 Use feedmail-say-chatter.
12422 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12423 (feedmail-send-it-immediately-wrapper): New function.
12424 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12425 Insert empty string rather than newline. Handle full-frame case.
12426 Use catch/throw. Use feedmail-say-chatter.
12427 (feedmail-fiddle-from): Try mail-host-address.
12428 (feedmail-default-message-id-generator): Doc fix.
12429 Bind system-time-locale. Handle missing end.
12430 (feedmail-fiddle-x-mailer): Add debug call.
12431 Handle feedmail-x-mailer-line being nil.
12432 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12433 Add debug call. Use buffer-substring-no-properties.
12434 (feedmail-say-debug, feedmail-say-chatter): New functions.
12435 (feedmail-find-eoh): Give an explicit error.
12436
12437 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12438
12439 * net/newst-treeview.el (newsticker-treeview-face): Change default
12440 family from helvetica to sans.
12441 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12442 etc/images/newsticker.
12443
12444 * net/newst-reader.el (newsticker-feed-face): Change default
12445 family from helvetica to sans.
12446
12447 * net/newst-plainview.el (newsticker-new-item-face)
12448 (newsticker-old-item-face, newsticker-immortal-item-face)
12449 (newsticker-obsolete-item-face, newsticker-date-face)
12450 (newsticker-statistics-face): Change default family from
12451 helvetica to sans.
12452 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12453 etc/images/newsticker.
12454
12455 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12456 (newsticker--process-auto-mark-filter-match): Tell user about
12457 auto-marking.
12458
12459 2011-05-13 Didier Verna <didier@xemacs.org>
12460
12461 Common Lisp indentation improvements on defmethod and lambda-lists.
12462 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12463 TODO entries.
12464 (lisp-lambda-list-keyword-parameter-indentation)
12465 (lisp-lambda-list-keyword-parameter-alignment)
12466 (lisp-lambda-list-keyword-alignment): New customizable user options.
12467 (lisp-indent-defun-method): Improve docstring.
12468 (extended-loop-p): Fix comment.
12469 (lisp-indent-lambda-list-keywords-regexp): New variable.
12470 (lisp-indent-lambda-list): New function.
12471 (lisp-indent-259): Use it.
12472 (lisp-indent-defmethod): Support for more than one
12473 method qualifier and properly indent methods lambda-lists.
12474 (defgeneric): Provide a missing common-lisp-indent-function property.
12475
12476 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12479 bounds for the empty string (bug#8667).
12480
12481 2011-05-13 Glenn Morris <rgm@gnu.org>
12482
12483 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12484
12485 * mail/sendmail.el (sendmail-program): Try executable-find first.
12486 (sendmail-send-it): `sendmail-program' cannot be unbound.
12487
12488 * calendar/appt.el (appt-make-list): Simplify.
12489 (appt-time-msg-list): Doc fix.
12490 (appt-check): Change mode-line message at the time of the appointment.
12491
12492 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12493
12494 * progmodes/ld-script.el (ld-script-keywords)
12495 (ld-script-builtins): Update keywords list.
12496
12497 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12498
12499 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12500
12501 * shell.el (shell-completion-vars): New function.
12502 (shell-mode):
12503 * simple.el (read-shell-command): Use it.
12504 (blink-matching-open): No need for " [...]" in minibuffer-message.
12505
12506 2011-05-12 Glenn Morris <rgm@gnu.org>
12507
12508 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12509 (appt-check): Simplify.
12510
12511 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12512
12513 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12514 literal "/dev/null".
12515
12516 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12517
12518 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12519 Fix typo.
12520
12521 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12522
12523 * progmodes/which-func.el (which-function):
12524 Use add-log-current-defun instead of add-log-current-defun-function,
12525 which might not be defined (Bug#8260).
12526
12527 2011-05-12 Glenn Morris <rgm@gnu.org>
12528
12529 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12530 Let byte-compile-initial-macro-environment always take precedence.
12531
12532 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12533
12534 * net/rcirc.el: Add support for SSL/TLS connections.
12535 (rcirc-server-alist): New field `encryption'.
12536 (rcirc): Check `encryption' settings.
12537 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12538 Merge make-local-variable into `set'.
12539 (rcirc--connection-open-p): New function.
12540 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12541 the process is not a network process (e.g. running gnutls-cli).
12542 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12543 Make rcirc-(en|de)code-coding-system local here.
12544 (rcirc-mode): Merge make-local-variable into `set'.
12545 (rcirc-parent-buffer): Make permanent buffer-local.
12546 (rcirc-multiline-minor-mode): Don't do it here.
12547 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12548 there's no server buffer.
12549
12550 2011-05-11 Glenn Morris <rgm@gnu.org>
12551
12552 * newcomment.el (comment-kill): Prefix "unused" local.
12553
12554 * term/w32console.el (get-screen-color): Declare.
12555
12556 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12557 Handle symbol elements of byte-compile-initial-macro-environment.
12558
12559 2011-05-10 Leo Liu <sdl.web@gmail.com>
12560
12561 * bookmark.el (bookmark-bmenu-mode-map):
12562 Bind bookmark-bmenu-search to `/'.
12563
12564 * mail/footnote.el: Convert to utf-8 encoding.
12565 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12566 (Footnote-unicode): New function.
12567 (footnote-style-alist): Add unicode style to the list.
12568 (footnote-style): Doc fix.
12569
12570 2011-05-10 Jim Meyering <meyering@redhat.com>
12571
12572 Fix doubled-word typos.
12573 * international/quail.el (quail-insert-kbd-layout): and and -> and
12574 * kermit.el: and and -> and
12575 * net/ldap.el (ldap-search-internal): to to -> to
12576 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12577 * progmodes/js.el (js-mode): and and -> and
12578 * textmodes/artist.el (artist-move-to-xy): at at -> at
12579 (artist-draw-region-trim-line-endings): if if -> if
12580 And Safetyc -> Safety.
12581 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12582
12583 2011-05-10 Glenn Morris <rgm@gnu.org>
12584 Stefan Monnier <monnier@iro.umontreal.ca>
12585
12586 * files.el (hack-one-local-variable-eval-safep):
12587 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12588
12589 2011-05-10 Glenn Morris <rgm@gnu.org>
12590
12591 * calendar/diary-lib.el (diary-list-entries-hook)
12592 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12593 (diary-nongregorian-marking-hook, diary-list-entries)
12594 (diary-include-other-diary-files, diary-mark-entries)
12595 (diary-mark-included-diary-files): Doc fixes.
12596
12597 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12598
12599 * misc.el: Require tabulated-list.el during compilation.
12600
12601 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12602
12603 * progmodes/compile.el (compilation-start):
12604 Run compilation-filter-hook for the async case too.
12605 (compilation-filter-hook): Doc fix.
12606
12607 2011-05-09 Deniz Dogan <deniz@dogan.se>
12608
12609 * wdired.el: Remove outdated installation comment. Fix usage
12610 comment.
12611
12612 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12613
12614 * misc.el: Implement new command `list-dynamic-libraries'.
12615 (list-dynamic-libraries--loaded-only-p): New variable.
12616 (list-dynamic-libraries--refresh): New function.
12617 (list-dynamic-libraries): New command.
12618
12619 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12620
12621 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12622 Fix the ant regexp to handle end-line and end-column info from jikes.
12623 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12624 higher priority to avoid clobbering by gnu.
12625
12626 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12627
12628 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12629 if the face has existing theme settings (Bug#8454).
12630
12631 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12632
12633 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12634 Only match variables declared via `my' or `our' (Bug#8261).
12635
12636 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12637 special file names `.' and `..' (Bug#8259).
12638
12639 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12640
12641 * progmodes/grep.el (grep-mode-font-lock-keywords):
12642 Remove buffer-changing entries.
12643 (grep-filter): New function.
12644 (grep-mode): Add it to compilation-filter-hook.
12645
12646 * progmodes/compile.el (compilation-filter-hook)
12647 (compilation-filter-start): New defvars.
12648 (compilation-filter): Call compilation-filter-hook prior to
12649 updating the process mark.
12650
12651 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12652
12653 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12654
12655 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12656
12657 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12658 mailclient-send-it even if window-system is nil. (Bug#8595)
12659
12660 * term/w32console.el (terminal-init-w32console):
12661 Call get-screen-color and use its output to set the frame
12662 background-mode. (Bug#8597)
12663
12664 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12665
12666 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12667 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12668 New functions.
12669 (defgeneric, eieio--defmethod): Use them.
12670 (eieio-defgeneric): Remove.
12671 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12672
12673 2011-05-07 Glenn Morris <rgm@gnu.org>
12674
12675 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12676 Use let rather than let*.
12677 (timeclock-find-discrep): Remove unused local.
12678
12679 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12680
12681 * calendar/appt.el (appt-time-msg-list): Doc fix.
12682
12683 2011-05-06 Noah Friedman <friedman@splode.com>
12684
12685 * apropos.el (apropos-print-doc): Only use
12686 emacs-lisp-docstring-fill-column when it is bound to an integer,
12687 per that variable's documentation.
12688
12689 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12690
12691 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12692 and warnings are not silently discarded (e.g. use -d instead of -P).
12693
12694 2011-05-06 Glenn Morris <rgm@gnu.org>
12695
12696 * calendar/appt.el (appt-message-warning-time): Doc fix.
12697 (appt-warning-time-regexp): New option.
12698 (appt-make-list): Respect appt-message-warning-time.
12699
12700 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12701 New options.
12702 (diary-add-to-list): Strip comments from the displayed string.
12703 (diary-mode): Set comment-start and comment-end.
12704
12705 * vc/diff-mode.el (smerge-refine-subst): Declare.
12706 (diff-refine-hunk): Don't require smerge-mode when compiling.
12707
12708 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12709
12710 * simple.el (list-processes): Return nil as the docstring says.
12711
12712 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12713
12714 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12715 to "".
12716 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12717 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12718 determining of binary transfer. (Bug#7383)
12719
12720 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12721
12722 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12723 Fix port computation bug. (Bug#8618)
12724
12725 2011-05-05 Glenn Morris <rgm@gnu.org>
12726
12727 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12728
12729 * simple.el (shell-dynamic-complete-functions)
12730 (comint-dynamic-complete-functions): Declare.
12731
12732 * net/network-stream.el (gnutls-negotiate):
12733 * simple.el (tabulated-list-print): Fix declarations.
12734
12735 * progmodes/gud.el (syntax-symbol, syntax-point):
12736 Remove unnecessary and incorrect declarations.
12737
12738 * emacs-lisp/check-declare.el (check-declare-scan):
12739 Handle byte-compile-initial-macro-environment in bytecomp.el
12740
12741 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12742
12743 Fix earlier half-done eieio-defmethod change (bug#8338).
12744 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12745 Streamline and change calling convention.
12746 (defmethod): Adjust accordingly and simplify.
12747 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12748 new eieio--defmethod.
12749 (slot-boundp): Minor CSE simplification.
12750
12751 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12752
12753 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12754 (glasses-make-readable): Use glasses-separate-capital-groups.
12755
12756 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12757
12758 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12759 (warning-series): Doc fix.
12760 (display-warning): Don't try to create the buffer if we just found it.
12761
12762 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12763
12764 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12765 (autoload-find-generated-file): New function.
12766 (generate-file-autoloads): Bind generated-autoload-file to
12767 buffer-file-name.
12768 (update-file-autoloads, update-directory-autoloads):
12769 Use autoload-find-generated-file. If called interactively, prompt for
12770 output file (Bug#7989).
12771 (batch-update-autoloads): Doc fix.
12772
12773 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12774
12775 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12776
12777 2011-05-04 Glenn Morris <rgm@gnu.org>
12778
12779 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12780 function, so it follows changes in calendar-date-style.
12781 (diary-fancy-date-matcher): New function.
12782 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12783 (diary-fancy-font-lock-fontify-region-function):
12784 Use diary-fancy-date-pattern as a function.
12785
12786 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12787 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12788
12789 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12790
12791 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12792 instead of positional arguments. Allow :keylist and :crlfiles
12793 arguments.
12794 (open-gnutls-stream): Call it.
12795
12796 * net/network-stream.el (network-stream-open-starttls): Adjust to
12797 call `gnutls-negotiate' with :process and :hostname arguments.
12798
12799 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12800
12801 * minibuffer.el (completion--message): New function.
12802 (completion--do-completion, minibuffer-complete)
12803 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12804 (completion--do-completion): Don't ignore completion-auto-help when in
12805 icomplete-mode.
12806
12807 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12808 internal encoding (e.g. tibetan zero is not whitespace).
12809 (global-whitespace-mode): Prefer save-current-buffer.
12810 (whitespace-trailing-regexp): Remove useless save-match-data.
12811 (whitespace-empty-at-bob-regexp): Minor simplification.
12812
12813 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12814
12815 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12816
12817 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12818
12819 * textmodes/ispell.el (ispell-add-per-file-word-list):
12820 Use `concat' to create string for insertion.
12821
12822 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12823
12824 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12825 Avoid open-line which runs post-self-insert-hook.
12826 (bibtex-fill-entry): Remove unused `end' var.
12827
12828 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12829
12830 * textmodes/ispell.el (ispell-add-per-file-word-list):
12831 Protect against `nil' value of `comment-start' (Bug#8579).
12832
12833 2011-05-03 Leo Liu <sdl.web@gmail.com>
12834
12835 * isearch.el (isearch-yank-pop): New command.
12836 (isearch-mode-map): Bind it to `M-y'.
12837 (isearch-forward): Mention it.
12838
12839 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12840
12841 * simple.el (minibuffer-complete-shell-command): Remove.
12842 (minibuffer-local-shell-command-map): Use completion-at-point.
12843 (read-shell-command): Setup completion vars here instead.
12844 (read-expression-map): Bind TAB to symbol completion.
12845
12846 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12847 error directly rather via storing it into `results'.
12848
12849 2011-05-02 Leo Liu <sdl.web@gmail.com>
12850
12851 * vc/diff.el: Fix description.
12852
12853 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12854
12855 * server.el (server-eval-at): New function.
12856
12857 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12858
12859 * net/network-stream.el (open-network-stream): Take a :nowait
12860 parameter and pass it on to `make-network-process'.
12861 (network-stream-open-plain): Ditto.
12862
12863 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12864
12865 * faces.el (face-spec-set-match-display): Don't match toolkit
12866 options on terminal frames.
12867
12868 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12869
12870 * progmodes/pascal.el: Use lexical binding.
12871 (pascal-mode-map): Remove author preferences.
12872
12873 * pcomplete.el (pcomplete-std-complete): Don't abuse
12874 completion-at-point.
12875
12876 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12877
12878 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12879 removing code that has been dead since 1991 or so.
12880
12881 * startup.el (command-line): When warning about "_emacs", use a
12882 delayed warning to allow the user to filter it out.
12883
12884 2011-04-28 Deniz Dogan <deniz@dogan.se>
12885
12886 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12887 user has not joined.
12888
12889 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12890
12891 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12892 aren't any completions at point.
12893
12894 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12895
12896 * subr.el (display-delayed-warnings): New function.
12897 (delayed-warnings-hook): New variable.
12898
12899 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12900
12901 * minibuffer.el (completion-at-point, completion-help-at-point):
12902 Don't presume that a given completion-at-point-function will always
12903 use the same calling convention.
12904
12905 * pcomplete.el (pcomplete-completions-at-point):
12906 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12907 pcomplete-seen is non-nil.
12908 (pcomplete-comint-setup): Also recognize the new comint/shell
12909 completion functions.
12910 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12911 pcomplete-seen is non-nil.
12912
12913 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12914
12915 * calendar/icalendar.el (diary-lib): Add require statement.
12916 (icalendar--create-uid): Read out a uid from a text-property on
12917 the first character in the entry. This allows for code to add its
12918 own uid to the entry.
12919 (icalendar--convert-float-to-ical): Add export of
12920 `diary-float'-entries save for those with the optional DAY
12921 argument.
12922
12923 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12924
12925 * subr.el (shell-quote-argument): Use alternate escaping strategy
12926 when we spot a variable reference in a string.
12927
12928 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12929
12930 * cus-start.el (all): Define customization for debug-on-event.
12931
12932 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12933
12934 * subr.el (shell-quote-argument): Escape correctly under Windows.
12935
12936 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12939
12940 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12941
12942 * net/tramp.el (tramp-process-actions): Add POS argument.
12943 Delete region between POS and (pos).
12944
12945 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12946 Use `nil' position in `tramp-process-actions' call.
12947 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12948
12949 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12950 position in `tramp-process-actions' call.
12951
12952 * net/trampver.el: Update release number.
12953
12954 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12955
12956 * custom.el (defcustom): Obey lexical-binding.
12957
12958 Fix octave-inf completion problems reported by Alexander Klimov.
12959 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12960 Inherit from octave-mode-syntax-table.
12961 (inferior-octave-mode): Set info-lookup-mode.
12962 (inferior-octave-completion-at-point): New function.
12963 (inferior-octave-complete): Use it and completion-in-region.
12964 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12965 comint-filename-completion.
12966 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12967 symbol elements which shouldn't be word elements.
12968 (octave-font-lock-keywords, octave-beginning-of-defun)
12969 (octave-function-header-regexp): Adjust regexps accordingly.
12970 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12971
12972 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12973
12974 * net/gnutls.el (gnutls-errorp): Declare before first use.
12975
12976 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12977
12978 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12979 verify-error, and verify-hostname-error parameters. Check whether
12980 default trustfile exists before going to use it. Add missing
12981 argument to gnutls-message-maybe call. Return value.
12982 Reported by Claudio Bley <claudio.bley@gmail.com>.
12983 (open-gnutls-stream): Add usage example.
12984
12985 * net/network-stream.el (network-stream-open-starttls): Give host
12986 parameter to `gnutls-negotiate'.
12987 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12988 * subr.el (shell-quote-argument): Escape correctly under Windows.
12989
12990 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12991
12992 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12993 Use correct match group (bug#8438).
12994
12995 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12996
12997 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12998 (package-menu--generate): New arg specifying packages to show.
12999 (package-menu-refresh, package-menu-execute, list-packages):
13000 Callers changed.
13001 (package-show-package-list): New function, replacing deleted
13002 package--list-packages (renamed because it is non-internal).
13003
13004 * finder.el (finder-list-matches): Use package-show-package-list
13005 instead of deleted package--list-packages.
13006
13007 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13008 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13009 (vc-annotate-mode-map): Bind it to RET.
13010
13011 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13012
13013 * progmodes/etags.el (next-file): Don't use set-buffer to change
13014 buffers (Bug#8478).
13015
13016 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13017
13018 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13019
13020 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13021 (apropos-accumulator): Doc fix.
13022 (apropos-function, apropos-macro, apropos-command)
13023 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13024 (apropos-plist): Add face property.
13025 (apropos-symbols-internal): Fix indentation.
13026 (apropos-print): Simplify help, and recognize apropos-multi-type.
13027 (apropos-print-doc): Use button-type-get to extract the button's
13028 face property. Fill docstring (Bug#8352).
13029
13030 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13031
13032 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13033
13034 * play/mpuz.el (mpuz-silent): Doc fix.
13035 (mpuz-mode-map): Use mapc.
13036 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13037 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13038 Fix typos in docstrings.
13039
13040 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13041 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13042
13043 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13044
13045 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13046
13047 * minibuffer.el (completion--do-completion): Avoid the "Next char
13048 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13049
13050 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13051 mouse-2 into unread-command-events, it is interpreted correctly.
13052
13053 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13054 (image-toggle-display): Doc fix.
13055
13056 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13057
13058 * textmodes/page.el (what-page): Use line-number-at-pos to
13059 calculate line number (Bug#6825).
13060
13061 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13062
13063 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13064 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13065 Pass argument NO-DEFAULT to `find-tag-interactive'.
13066
13067 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13068
13069 Lexical-binding cleanup.
13070
13071 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13072 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13073 * progmodes/ada-prj.el (ada-prj-initialize-values)
13074 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13075 (ada-prj-show-value):
13076 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13077 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13078 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13079 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13080 * progmodes/bug-reference.el (bug-reference-push-button):
13081 * progmodes/fortran.el (fortran-line-length):
13082 * progmodes/glasses.el (glasses-change):
13083 * progmodes/octave-mod.el (octave-fill-paragraph):
13084 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13085 (python-pdbtrack-grub-for-buffer, python-sentinel):
13086 * progmodes/sql.el (sql-save-connection):
13087 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13088 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13089 Mark unused parameters.
13090
13091 * progmodes/compile.el (compilation--flush-directory-cache)
13092 (compilation--flush-parse, compile-internal): Mark unused parameters.
13093 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13094 (compilation-next-error-function): Remove unused variable `timestamp'.
13095
13096 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13097 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13098
13099 * progmodes/dcl-mode.el (dcl-end-of-command):
13100 Remove unused variable `start'.
13101 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13102 (dcl-option-value-basic, dcl-option-value-offset)
13103 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13104 Mark unused parameters.
13105 (dcl-save-local-variable): Remove unused variable `val'.
13106 (mode): Declare.
13107
13108 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13109 Mark unused parameters.
13110 (delphi-ignore-changes): Move before first use.
13111 (delphi-charset-token-at): Remove unused variable `start'.
13112 (delphi-else-start): Remove unused variable `if-count'.
13113 (delphi-comment-block-start, delphi-comment-block-end):
13114 Remove unused variable `kind'.
13115 (delphi-indent-line): Remove unused variable `new-point'.
13116
13117 * progmodes/ebrowse.el (ebrowse-files-list)
13118 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13119 Mark unused parameters. Don't quote `lambda'.
13120 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13121 Don't quote `lambda'.
13122 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13123 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13124 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13125 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13126 Use `ignore-errors'.
13127 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13128 (ebrowse-view/find-file-and-search-pattern)
13129 (ebrowse-view/find-member-declaration/definition):
13130 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13131 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13132 Rename parameter PREFIX-ARG to PREFIX.
13133 (ebrowse-tags-read-name): Remove unused variables `start' and
13134 `member-info'.
13135 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13136 to `tags-file'.
13137
13138 * progmodes/etags.el (local-find-tag-hook): Declare.
13139 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13140 Mark unused parameters.
13141
13142 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13143 (executable-interpret): Mark unused parameter.
13144
13145 * progmodes/flymake.el (flymake-process-sentinel)
13146 (flymake-after-change-function)
13147 (flymake-create-temp-with-folder-structure)
13148 (flymake-get-include-dirs-dot): Mark unused parameters.
13149 (flymake-safe-delete-directory): Remove unused variable `err'.
13150
13151 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13152 (speedbar-timer-fn, speedbar-line-text)
13153 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13154 (speedbar-center-buffer-smartly): Declare functions.
13155 (gdb-find-watch-expression): Remove unused variable `array'.
13156 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13157 (gdb-starting): Mark unused parameters.
13158 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13159 (gdb-table-string): Remove unused variable `res'.
13160 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13161 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13162 (gdb-display-buffer): Remove unused variable `cur-size'.
13163
13164 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13165 allow lexical-binding compilation.
13166 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13167 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13168 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13169 Mark unused parameters.
13170 (gud-gdb-marker-filter): Remove unused variable `match'.
13171 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13172 lambda expressions and funcall them, instead of using `fset'.
13173
13174 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13175 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13176
13177 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13178 variable `header-beg'; use `let'.
13179
13180 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13181 `restart', `last-sexp' and `at-do'.
13182
13183 * progmodes/js.el (js--debug): Mark unused parameter.
13184 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13185 (js--splice-into-items): Remove unused variable `item'.
13186 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13187
13188 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13189 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13190 (makefile-complete): Remove unused variable `try'.
13191 (makefile-fill-paragraph, makefile-match-function-end):
13192 Mark unused parameters.
13193
13194 * progmodes/octave-inf.el (inferior-octave-complete):
13195 Remove unused variable `proc'.
13196 (inferior-octave-output-digest): Mark unused parameter.
13197
13198 * progmodes/perl-mode.el (perl-calculate-indent):
13199 Remove unused variable `err'.
13200
13201 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13202 (prolog-indent-line): Mark unused parameters.
13203 (prolog-indent-line): Remove unused variable `beg'.
13204
13205 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13206 (reporter-dont-compact-list): Declare.
13207
13208 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13209 Remove unused variable `char'.
13210 (sh-debug): Mark unused parameter.
13211 (sh-get-indent-info): Remove unused variable `start'.
13212 (sh-calculate-indent): Remove unused variable `var'.
13213
13214 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13215 (simula-electric-keyword): Remove unused variable `null'.
13216 (simula-search-backward, simula-search-forward): Remove unused
13217 variables `begin' and `end'.
13218
13219 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13220 Remove unused variable `pos'.
13221 (vera-electric-tab, vera-comment-uncomment-region):
13222 Mark unused parameters.
13223 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13224
13225 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
13226
13227 * emacs-lisp/package.el (package--builtins, package-alist)
13228 (package-load-descriptor, package-built-in-p, package-activate)
13229 (define-package, package-installed-p)
13230 (package-compute-transaction, package-buffer-info)
13231 (package--push): Doc fix. Distinguish more clearly between
13232 version strings and version lists.
13233
13234 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
13235
13236 Lexical-binding cleanup.
13237
13238 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13239 (5x5-make-mutate-best):
13240 * play/fortune.el (fortune-in-buffer):
13241 * play/gomoku.el (gomoku-init-display):
13242 * play/solitaire.el (solitaire, solitaire-do-check):
13243 * play/tetris.el (tetris-default-update-speed-function):
13244 Mark unused parameters.
13245
13246 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13247 (bubbles--shift): Remove unused variable `char-org'.
13248 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13249 (bubbles--show-images): Remove unused variable `char'.
13250
13251 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13252 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13253 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13254 (decipher-analyze-buffer): Use ?\s.
13255 (decipher-make-checkpoint): Remove unused variable `mapping'.
13256
13257 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13258
13259 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13260 Remove unused variable `result'; use `let'.
13261
13262 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13263 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13264 (gametree-children-shown-p, gametree-compute-reduced-score):
13265 Use `ignore-errors'.
13266
13267 * play/handwrite.el (ps-lpr-switches): Declare.
13268 (handwrite): Remove unused variables `pmin' and `lastp'.
13269
13270 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13271
13272 * play/landmark.el (landmark-init-display)
13273 (landmark-update-naught-weights): Mark unused parameters.
13274 (landmark-y): Remove unused variable `noise'. Simplify.
13275 (landmark-human-plays): Remove unused variable `score'.
13276
13277 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13278 (mpuz-try-proposal): Remove unused variable `game'.
13279
13280 * play/zone.el (life-patterns): Declare.
13281
13282 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13283
13284 * vc/vc.el (ediff-vc-internal): Declare function.
13285
13286 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 * shell.el: Use lexical-binding and std completion UI.
13289 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13290 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13291 comint-preoutput-filter-functions rather than on
13292 comint-output-filter-functions.
13293 (shell-command-completion, shell--command-completion-data)
13294 (shell-filename-completion, shell-environment-variable-completion)
13295 (shell-c-a-p-replace-by-expanded-directory): New functions.
13296 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13297 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13298 (shell-dynamic-complete-environment-variable): Use them.
13299 (shell-dynamic-complete-as-environment-variable)
13300 (shell-dynamic-complete-as-command): Remove.
13301 (shell-match-partial-variable): Match past point.
13302 * comint.el: Clean up use of completion-at-point-functions.
13303 (comint-completion-at-point): New function.
13304 (comint-mode): Use it completion-at-point-functions.
13305 (comint-dynamic-complete): Make it obsolete.
13306 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13307 (comint-c-a-p-replace-by-expanded-history): New function.
13308 (comint-dynamic-complete-functions)
13309 (comint-replace-by-expanded-history): Use it.
13310 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13311 termination strings. Try harder to avoid second try-completion.
13312 (completion-in-region-mode-map): Disable bindings that don't work yet.
13313
13314 * comint.el: Use lexical-binding. Require CL.
13315 (comint-dynamic-complete-functions): Use comint-filename-completion.
13316 (comint-completion-addsuffix): Tweak custom type.
13317 (comint-filename-completion, comint--common-suffix)
13318 (comint--common-quoted-suffix, comint--table-subvert)
13319 (comint--complete-file-name-data): New functions.
13320 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13321 (comint-dynamic-list-filename-completions): Use them.
13322 (comint-dynamic-simple-complete): Make obsolete.
13323
13324 * minibuffer.el (completion-in-region-mode):
13325 Keep completion-in-region-mode--predicate global.
13326 (completion-in-region--postch):
13327 Assume completion-in-region-mode--predicate is not null.
13328
13329 * progmodes/flymake.el (flymake-start-syntax-check-process):
13330 Obey `dir'. Simplify.
13331
13332 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13333 we're in VC after all.
13334
13335 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13336
13337 * vc/vc.el (vc-diff-build-argument-list-internal)
13338 (vc-version-ediff, vc-ediff): New commands.
13339 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13340
13341 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13344 add sanity check.
13345
13346 * obsolete/erc-hecomplete.el: Make obsolete.
13347 * obsolete/: Standardize obsolescence info in the header.
13348
13349 2011-04-20 Glenn Morris <rgm@gnu.org>
13350
13351 * calendar/solar.el (solar-horizontal-coordinates):
13352 Use the longitude argument rather than `calendar-longitude'.
13353 (solar-date-next-longitude): Remove unused locals.
13354
13355 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13356
13357 * whitespace.el: New version 13.2.1.
13358
13359 2011-04-20 felix <EmacsWiki> (tiny change)
13360
13361 * whitespace.el (global-whitespace-mode): Keep highlight when
13362 switching between major modes on a file.
13363
13364 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13365
13366 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13367 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13368 multi-line comments as well.
13369
13370 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13371
13372 Lexical-binding cleanup.
13373
13374 * arc-mode.el (archive-mode-revert):
13375 * cmuscheme.el (scheme-interactively-start-process):
13376 * custom.el (custom-initialize-delay):
13377 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13378 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13379 * emacs-lock.el (emacs-lock-clear-sentinel):
13380 * ezimage.el (defezimage):
13381 * follow.el (follow-avoid-tail-recenter):
13382 * fringe.el (set-fringe-mode-1):
13383 * generic-x.el (bat-generic-mode-compile):
13384 * help-mode.el (help-info-variable, help-do-xref)
13385 (help-mode-revert-buffer):
13386 * help.el (view-emacs-todo):
13387 * iswitchb.el (iswitchb-completion-help):
13388 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13389 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13390 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13391 * locate.el (locate-update):
13392 * longlines.el (longlines-encode-region)
13393 (longlines-after-change-function):
13394 * outline.el (outline-isearch-open-invisible):
13395 * ps-def.el (declare-function, charset-dimension, char-width)
13396 (encode-char):
13397 * ps-mule.el (ps-mule-plot-string):
13398 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13399 (recentf-edit-list-select, recentf-edit-list-validate)
13400 (recentf-open-files-action):
13401 * rect.el (delete-whitespace-rectangle-line)
13402 (rectangle-number-line-callback):
13403 * register.el (window-configuration-to-register)
13404 (frame-configuration-to-register):
13405 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13406 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13407 (xselect-convert-to-targets, xselect-convert-to-delete)
13408 (xselect-convert-to-filename, xselect-convert-to-charpos)
13409 (xselect-convert-to-lineno, xselect-convert-to-colno)
13410 (xselect-convert-to-os, xselect-convert-to-host)
13411 (xselect-convert-to-user, xselect-convert-to-class)
13412 (xselect-convert-to-name, xselect-convert-to-integer)
13413 (xselect-convert-to-atom, xselect-convert-to-identity):
13414 * subr.el (declare, ignore, process-kill-without-query)
13415 (text-clone-maintain):
13416 * terminal.el (te-get-char, te-tic-sentinel):
13417 * tool-bar.el (tool-bar-make-keymap):
13418 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13419 * type-break.el (type-break-mode, type-break-noninteractive-query):
13420 * view.el (View-back-to-mark):
13421 * wid-browse.el (widget-browse-action, widget-browse-widget)
13422 (widget-browse-widgets, widget-browse-sexp):
13423 * widget.el (define-widget-keywords):
13424 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13425 Mark unused parameters.
13426
13427 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13428 (align-areas): Remove unused variable `look'.
13429 (align-region): Remove unused variables `real-end' and `pos-list'.
13430
13431 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13432
13433 * bindings.el (mode-line-modified, mode-line-remote):
13434 Mark unused parameters.
13435 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13436
13437 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13438 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13439
13440 * comint.el (comint-history-isearch-pop-state)
13441 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13442 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13443 (comint-substitute-in-file-name): Doc fix.
13444
13445 * completion.el (cmpl-statistics-block): Mark unused parameter.
13446 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13447 (save-completions-to-file, load-completions-from-file):
13448 Remove unused local variable `e'.
13449
13450 * composite.el (compose-chars): Remove unused variable `len'.
13451 (lgstring-insert-glyph): Remove unused variable `g'.
13452 (compose-glyph-string): Remove unused variables `ascent',
13453 `descent', `lbearing' and `rbearing'.
13454 (compose-glyph-string-relative): Remove unused variables
13455 `lbearing', `rbearing' and `wadjust'.
13456 (compose-gstring-for-graphic): Remove unused variables `header',
13457 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13458 (compose-gstring-for-terminal): Remove unused variables `header'
13459 and `nchars'. Use `let', not `let*'.
13460
13461 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13462 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13463 (Custom-buffer-done, custom-buffer-create-internal)
13464 (custom-browse-visibility-action, custom-browse-group-tag-action)
13465 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13466 (widget-magic-mouse-down-action, custom-toggle-parent)
13467 (custom-add-parent-links, custom-toggle-hide-variable)
13468 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13469 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13470 (custom-face-menu-create, custom-variable-menu-create, get)
13471 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13472 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13473 (customize-apropos): Remove unused variable `tests'.
13474 (custom-group-value-create): Remove unused variable `hidden-p'.
13475 (sort-fold-case): Declare.
13476
13477 * cus-theme.el (custom-reset-standard-faces-list)
13478 (custom-reset-standard-variables-list): Declare.
13479 (customize-create-theme, custom-theme-revert, custom-theme-write)
13480 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13481 Mark unused parameters.
13482
13483 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13484
13485 * delim-col.el (delimit-columns-max): Move defvar before first use.
13486
13487 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13488 (describe-char): Don't quote `lambda'. Mark unused parameter.
13489
13490 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13491 (auto-insert): Declare.
13492 (desktop-restore-file-buffer): Rename desktop-* parameters;
13493 mark unused ones.
13494 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13495 (desktop-buffer): Rename desktop-* parameters.
13496
13497 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13498 (dframe-reposition-frame-xemacs, dframe-help-echo)
13499 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13500 Mark unused parameters.
13501
13502 * dired-aux.el (backup-extract-version-start, overwrite-query)
13503 (overwrite-backup-query, rename-regexp-query)
13504 (rename-non-directory-query): Declare.
13505 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13506 (dired-add-entry): Remove unused variable `orig-file-name'.
13507 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13508 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13509 `dired-copy-preserve-time' directly.
13510 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13511 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13512
13513 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13514 (dired-virtual-revert, dired-make-relative-symlink):
13515 Mark unused parameters.
13516 (manual-program): Declare.
13517 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13518 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13519 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13520
13521 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13522
13523 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13524
13525 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13526 Declare.
13527
13528 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13529
13530 * electric.el (Electric-command-loop): Rename parameter
13531 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13532
13533 * expand.el (expand-in-literal): Remove unused variable `here'.
13534
13535 * facemenu.el (facemenu-add-new-color):
13536 Remove unused variable `docstring'.
13537
13538 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13539 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13540 (face-attr-construct): Mark unused parameter. Doc fix.
13541 (read-color): Remove unused variable `hex-string'.
13542
13543 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13544 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13545 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13546 (display-buffer-other-frame): Remove unused variable `old-window'.
13547 (kill-buffer-hook): Declare.
13548 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13549 Mark unused parameters.
13550 (after-find-file): Pass 1 to `auto-save-mode', not t.
13551
13552 * files-x.el (auto-insert): Declare.
13553 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13554
13555 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13556 variable `buf'. Mark unused parameter.
13557 (find-lisp-insert-directory): Mark unused parameter.
13558
13559 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13560 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13561 (format-common-tail): Remove, unused.
13562 (format-deannotate-region): Remove unused variable `loc'.
13563 (format-annotate-region): Remove unused variable `p'.
13564 (format-annotate-single-property-change): Remove unused variables
13565 `default' and `tail'.
13566
13567 * forms.el (read-file-filter): Declare.
13568 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13569
13570 * frame.el (frame-creation-function-alist): Mark unused parameter.
13571 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13572
13573 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13574 Remove unused parameters.
13575 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13576 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13577
13578 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13579 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13580 (hfy-prepare-tag-map): Mark unused parameters.
13581 (htmlfontify-buffer): Use `called-interactively-p'.
13582
13583 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13584 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13585 (ibuffer-do-occur): Mark unused parameters.
13586 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13587 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13588
13589 * ibuffer.el: Don't quote `lambda'.
13590 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13591 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13592 Mark unused parameters.
13593
13594 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13595 (ido-completing-read): Mark unused parameters.
13596 (ido-copy-current-word): Mark unused parameters;
13597 remove unused variable `name'.
13598 (ido-sort-merged-list): Remove unused parameter `dirs'.
13599
13600 * ielm.el (ielm-input-sender): Mark unused parameter.
13601 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13602 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13603 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13604 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13605 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13606
13607 * image-dired.el (image-dired-display-thumbs): Remove unused
13608 variables `curr-file' and `count'.
13609 (image-dired-remove-tag): Remove unused variable `start'.
13610 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13611 variable `curr-file'
13612 (image-dired-rotate-original): Remove unused variable `temp-file'.
13613 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13614 Remove unused variable `file'.
13615 (image-dired-gallery-generate): Remove unused variable `curr'.
13616 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13617
13618 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13619
13620 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13621
13622 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13623
13624 * isearch.el (minibuffer-history-symbol): Declare.
13625 (isearch-edit-string): Remove unused variable `err'.
13626 (isearch-message-prefix, isearch-message-suffix):
13627 Mark unused parameters.
13628
13629 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13630
13631 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13632
13633 * makesum.el (double-column): Remove unused variable `cnt'.
13634
13635 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13636 (ido-ignore-item-temp-list): Declare.
13637
13638 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13639 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13640 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13641 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13642 `mouse-col-delta'.
13643
13644 * mouse-sel.el (mouse-extend-internal):
13645 Remove unused variable `orig-window-frame'.
13646
13647 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13648 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13649 Move declarations before first use.
13650 (pcomplete-opt): Mark unused parameters; doc fix.
13651
13652 * proced.el (proced-revert): Mark unused parameter.
13653 (proced-send-signal): Remove unused variable `err'.
13654
13655 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13656 Rename parameter PREFIX-ARG to ARG.
13657 (ps-basic-plot-string, ps-basic-plot-whitespace):
13658 Mark unused parameters.
13659
13660 * replace.el (replace-count): Define.
13661 (occur-revert-function): Mark unused parameters.
13662 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13663 (isearch-case-fold-search, isearch-string): Declare.
13664 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13665 bind `case-fold-search'. Remove unused variables `beg' and `end',
13666 and simplify.
13667 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13668 COUNT and bind `replace-count'.
13669 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13670 to COUNT.
13671
13672 * savehist.el (print-readably, print-string-length): Declare.
13673
13674 * shadowfile.el (shadow-expand-cluster-in-file-name):
13675 Remove unused variable `cluster'.
13676 (shadow-copy-file): Remove unused variable `i'.
13677 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13678 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13679 (shadow-define-literal-group, shadow-define-regexp-group)
13680 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13681
13682 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13683 (shell): Use `called-interactively-p'.
13684 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13685
13686 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13687 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13688 (delete-backward-char): Remove unused variable `ocol'.
13689 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13690 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13691 (event-apply-hyper-modifier, event-apply-shift-modifier)
13692 (event-apply-control-modifier, event-apply-meta-modifier):
13693 Mark unused parameters.
13694 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13695 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13696
13697 * speedbar.el (speedbar-ignored-directory-expressions)
13698 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13699 (speedbar-find-file, speedbar-dir-follow)
13700 (speedbar-directory-buttons-follow, speedbar-tag-find)
13701 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13702 (speedbar-buffers-line-directory, speedbar-buffer-click):
13703 Mark unused parameters.
13704 (speedbar-tag-file): Remove unused variable `mode'.
13705 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13706
13707 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13708
13709 * talk.el (talk): Remove unused variable `display'.
13710
13711 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13712 (tar-write-region-annotate): Mark unused parameter.
13713
13714 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13715 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13716 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13717 warning by another.
13718
13719 * time-stamp.el (time-stamp-string-preprocess):
13720 Remove unused variable `require-padding'.
13721
13722 * tree-widget.el (widget-glyph-enable): Declare.
13723 (tree-widget-action): Mark unused parameter.
13724
13725 * w32-fns.el (x-get-selection): Mark unused parameter.
13726 (autoload-make-program, generated-autoload-file): Declare.
13727
13728 * wdired.el (wdired-revert): Mark unused parameters.
13729 (wdired-xcase-word): Remove unused variable `err'.
13730
13731 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13732 (whitespace-help-scroll): Remove unused variable `data-help'.
13733
13734 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13735 (widget-image-insert, widget-after-change, default)
13736 (widget-default-format-handler, widget-default-notify)
13737 (widget-default-prompt-value, widget-info-link-action)
13738 (widget-url-link-action, widget-function-link-action)
13739 (widget-variable-link-action, widget-file-link-action)
13740 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13741 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13742 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13743 (widget-insert-button-action, widget-delete-button-action, visibility)
13744 (widget-documentation-link-action, widget-documentation-string-action)
13745 (widget-const-prompt-value, widget-regexp-match, symbol)
13746 (widget-coding-system-prompt-value)
13747 (widget-key-sequence-value-to-external, sexp)
13748 (widget-sexp-value-to-internal, character, vector, cons)
13749 (widget-choice-prompt-value, widget-boolean-prompt-value)
13750 (widget-color--choose-action): Mark unused parameters.
13751 (widget-item-match-inline, widget-choice-match-inline)
13752 (widget-checklist-match, widget-checklist-match-inline)
13753 (widget-group-match): Rename parameter VALUES to VALS.
13754 (widget-field-value-set): Remove unused variable `size'.
13755 (widget-color-action): Remove unused variables `value' and `start'.
13756
13757 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13758 variable `dir'. Doc fix.
13759 (windmove-find-other-window): Don't pass it.
13760
13761 * window.el (count-windows): Mark unused parameter.
13762 (bw-adjust-window): Remove unused variable `err'.
13763
13764 * woman.el (woman-file-name): Remove unused variable `default'.
13765 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13766 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13767 (global-font-lock-mode): Declare.
13768 (woman-decode-region): Mark unused parameter.
13769 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13770
13771 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13772 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13773 (x-dnd-handle-moz-url): Remove unused variable `title'.
13774 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13775
13776 * xml.el (xml-parse-tag, xml-parse-attlist):
13777 Remove unused variable `pos'.
13778
13779 2011-04-19 Glenn Morris <rgm@gnu.org>
13780
13781 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13782 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13783 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13784 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13785 * calendar/cal-html.el (cal-html-insert-minical):
13786 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13787 (calendar-mark-date-pattern):
13788 Prefix "unused" locals.
13789
13790 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13791 optional argument `style'.
13792
13793 * calendar/appt.el (appt-make-list):
13794 * calendar/cal-china.el (calendar-chinese-date-string):
13795 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13796 (diary-hebrew-yahrzeit):
13797 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13798 * calendar/calendar.el (calendar-generate-window):
13799 * calendar/time-date.el (time-to-days):
13800 Remove unused local variables.
13801
13802 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13803
13804 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13805 glyphless-char-display table.
13806 (tabulated-list-glyphless-char-display): New var.
13807
13808 2011-04-18 Sam Steingold <sds@gnu.org>
13809
13810 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13811 to acknowledgments.
13812
13813 2011-04-17 Glenn Morris <rgm@gnu.org>
13814
13815 * calendar/diary-lib.el (diary-sexp-entry):
13816 * calendar/holidays.el (holiday-sexp):
13817 Set debug-on-error rather than the removed stack-trace-on-error.
13818
13819 2011-04-16 Glenn Morris <rgm@gnu.org>
13820
13821 * progmodes/f90.el: Use lexical-binding.
13822 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13823
13824 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13825
13826 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13827 (mail-mode): Setup mailalias completion here instead.
13828 * mail/mailalias.el: Use lexical-binding.
13829 (pattern, mailalias-done): Declare dynamic.
13830 (mail-completion-at-point-function): New function, from mail-complete.
13831 (mail-complete): Use it.
13832 (mail-completion-expand): New function.
13833 (mail-get-names): Use it.
13834 (mail-directory, mail-directory-process, mail-directory-stream):
13835 Don't use `pattern' for lexically bound arg.
13836
13837 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13838
13839 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13840 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13841 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13842
13843 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13844 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13845 (byte-interactive-p): Define them again, for use when inlining
13846 old code.
13847
13848 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13849
13850 * loadup.el: Use `string-to-number', not `string-to-int'.
13851
13852 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13853
13854 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13855 gud-gdb-complete-command.
13856 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13857 (gud-gdb-completion-at-point): New function.
13858 (gud-gdb-completions): Remove.
13859
13860 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13861
13862 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13863 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13864 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13865 whether `executable-find' is bound.
13866
13867 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13868
13869 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13870
13871 * minibuffer.el (completion-in-region-mode-predicate)
13872 (completion-in-region-mode--predicate): New vars.
13873 (completion-in-region, completion-in-region--postch)
13874 (completion-in-region-mode): Use them.
13875 (completion--capf-wrapper): Also return the hook function.
13876 (completion-at-point, completion-help-at-point):
13877 Adjust and provide a predicate.
13878
13879 Preserve arg names for advice of subr and lexical functions (bug#8457).
13880 * help-fns.el (help-function-arglist): Consolidate the subr and
13881 new-byte-code cases. Add argument `preserve-names' to extract names
13882 from the docstring when needed.
13883 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13884 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13885 (ad-arglist): Use help-function-arglist's new arg.
13886 (ad-definition-type): Use cond.
13887
13888 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13889
13890 * autorevert.el (auto-revert-handler):
13891 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13892 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13893 Don't quote lambda.
13894
13895 * image-mode.el (image-transform-set-scale):
13896 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13897
13898 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13899
13900 * net/network-stream.el (network-stream-open-starttls): Only do
13901 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13902 Upgrades via gnutls-cli are too slow to be done opportunistically.
13903
13904 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13905
13906 * dframe.el (dframe-current-frame): Remove spurious quote.
13907
13908 2011-04-12 Glenn Morris <rgm@gnu.org>
13909
13910 * calendar/cal-tex.el (cal-tex-end-document):
13911 Try to automatically use latin1 input if needed.
13912
13913 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13914 Don't try to cons a mark onto an empty element.
13915
13916 2011-04-11 Leo Liu <sdl.web@gmail.com>
13917
13918 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13919 buffers.
13920 (ido-kill-buffer-at-head): Support killing virtual buffers.
13921
13922 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13923
13924 * minibuffer.el (completion-show-inline-help): New var.
13925 (completion--do-completion, minibuffer-complete)
13926 (minibuffer-force-complete, minibuffer-complete-word):
13927 Inhibit minibuffer messages if completion-show-inline-help is nil.
13928
13929 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13930 to avoid interference from inline help (Bug#5849).
13931
13932 2011-04-10 Leo Liu <sdl.web@gmail.com>
13933
13934 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13935 Fix typo.
13936
13937 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13938
13939 * image-mode.el (image-toggle-display-image): Signal an error if
13940 not in Image mode.
13941 (image-transform-mode, image-transform-resize)
13942 (image-transform-set-rotation): Doc fix.
13943 (image-transform-set-resize): Delete.
13944 (image-transform-set-scale, image-transform-fit-to-height)
13945 (image-transform-fit-to-width): Handle image-toggle-display-image
13946 and image-transform-resize directly.
13947
13948 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13949
13950 * doc-view.el (doc-view-fit-width-to-window)
13951 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13952 New functions for fitting the shown image to the Emacs window size.
13953 (doc-view-mode-map): Add bindings for the new functions.
13954
13955 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13956
13957 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13958 Fix typo in docstring.
13959
13960 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13961
13962 * files.el (file-size-human-readable): Produce one digit after
13963 decimal, like "ls -lh" does.
13964
13965 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13966 the file size representation.
13967
13968 * simple.el (list-processes): If async subprocesses are not
13969 available, error out with a clear error message.
13970
13971 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13972
13973 * help.el (help-form-show): New function, to be called from C.
13974 Put help-form output in a buffer named differently than *Help*.
13975
13976 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13977
13978 * files.el (file-size-human-readable): New function.
13979
13980 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13981 computing the representation inline. Don't require `cl'.
13982
13983 2011-04-08 Glenn Morris <rgm@gnu.org>
13984
13985 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13986
13987 * net/browse-url.el (browse-url-firefox):
13988 Test system-type, not system-configuration.
13989
13990 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13991 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13992 Use log-edit-empty-buffer-p. (Bug#7598)
13993
13994 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13995 (rlogin-mode-map): Initialize in the defvar.
13996 (rlogin): Use ignore-errors.
13997
13998 * replace.el (occur-mode-map): Some fixes for menu items.
13999
14000 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14001
14002 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14003
14004 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14005
14006 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14007 issuing unused warnings.
14008
14009 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14010 macro directly.
14011
14012 * simple.el: Lisp reimplement of list-processes. Based on an
14013 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14014 (process-menu-mode): New major mode.
14015 (list-processes--refresh, list-processes):
14016 (process-menu-visit-buffer): New functions.
14017
14018 * files.el (save-buffers-kill-emacs): Don't assume any return
14019 value of list-processes, which is undocumented anyway.
14020
14021 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14022
14023 * emacs-lisp/tabulated-list.el: New file.
14024
14025 * emacs-lisp/package.el: Use Tabulated List mode.
14026 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14027 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14028 table format using Tabulated List mode variables.
14029 (package--push): New macro, replacing package-list-maybe-add.
14030 (package-menu--generate): Use package--push. Renamed from
14031 package--generate-package-list.
14032 (package-menu-refresh, list-packages): Use it.
14033 (package-menu--print-info): Rename from package-print-package.
14034 Return insertion data instead of inserting it directly.
14035 (package-menu-describe-package, package-menu-execute):
14036 Use tabulated-list-get-id.
14037 (package-menu-mark-delete, package-menu-mark-install)
14038 (package-menu-mark-unmark, package-menu-backup-unmark)
14039 (package-menu-mark-obsolete-for-deletion):
14040 Use tabulated-list-put-tag.
14041 (package--list-packages, package-menu-revert)
14042 (package-menu-get-package, package-menu-get-version)
14043 (package-menu-sort-by-column): Functions deleted.
14044 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14045 (package-menu--status-predicate, package-menu--version-predicate)
14046 (package-menu--name-predicate)
14047 (package-menu--description-predicate): Handle arguments in the
14048 Tabulated List format.
14049 (package-list-packages-no-fetch): Call list-packages.
14050
14051 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14052
14053 * files.el (after-find-file-from-revert-buffer): Remove variable.
14054 (after-find-file): Don't bind it.
14055 (revert-buffer-in-progress-p): New variable.
14056 (revert-buffer): Bind it.
14057 Pass nil for `after-find-file-from-revert-buffer'.
14058
14059 * saveplace.el (save-place-find-file-hook): Use new variable
14060 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14061
14062 2011-04-06 Glenn Morris <rgm@gnu.org>
14063
14064 * Makefile.in (AUTOGEN_VCS): New variable.
14065 (autoloads): Use $AUTOGEN_VCS.
14066
14067 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14068 * calendar/calendar.el (calendar-mode-map):
14069 Check for toolkit scroll bars. (Bug#8305)
14070
14071 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14072
14073 * minibuffer.el (completion-in-region--postch)
14074 (completion-in-region-mode): Remove unnecessary messages.
14075
14076 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14077
14078 * font-lock.el (font-lock-refresh-defaults):
14079 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14080 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14081
14082 * info.el (Info-directory-list, Info-read-node-name-2)
14083 (Info-split-parameter-string): Doc fixes.
14084 (Info-virtual-nodes): Reflow docstring.
14085 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14086 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14087 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14088 Fix typos in docstrings.
14089 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14090 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14091 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14092 (Info-restore-desktop-buffer): Mark unused parameters.
14093 (Info-directory-find-file, Info-directory-find-node)
14094 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14095 (Info-virtual-index-find-node, Info-apropos-find-file)
14096 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14097 Mark unused parameters; fix typos in docstrings.
14098 (Info-virtual-index): Remove unused local variable `nodename'.
14099
14100 2011-04-05 Deniz Dogan <deniz@dogan.se>
14101
14102 * net/rcirc.el: Update my e-mail address.
14103 (rcirc-mode-map): Remove M-o binding.
14104
14105 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14106
14107 * startup.el (command-line): Save the cursor's theme-face
14108 directly, instead of using face-override-spec.
14109
14110 * custom.el (load-theme): Minor optimization in assigning faces.
14111
14112 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14113
14114 * help-fns.el (describe-variable): Complete all variables having
14115 documentation, including keywords.
14116 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14117
14118 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14119
14120 Convert to lexical-binding.
14121
14122 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14123 (bs--get-marked-string, bs--get-modified-string)
14124 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14125 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14126 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14127
14128 * ehelp.el (electric-help-execute-extended)
14129 (electric-help-ctrl-x-prefix):
14130 * hexl.el (hexl-revert-buffer-function):
14131 * linum.el (linum-after-change, linum-after-scroll):
14132 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14133
14134 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14135
14136 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14137
14138 * epa-dired.el:
14139 * epa-mail.el:
14140 * epa-hook.el:
14141 * epa-file.el:
14142 * epa.el:
14143 * epg.el: Use lexical binding.
14144
14145 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14146
14147 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14148
14149 * textmodes/flyspell.el (flyspell-word): Recognize default
14150 dictionary case for flyspell-mark-duplications-exceptions.
14151 Use regexp matching for languages.
14152 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14153 default dictionary (Bug#7926).
14154
14155 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14156
14157 * emacs-lisp/package.el (package--with-work-buffer):
14158 Recognize https URLs.
14159
14160 * net/network-stream.el: Move from gnus/proto-stream.el.
14161 Change prefix to network-stream throughout.
14162 (open-protocol-stream): Merge into open-network-stream, leaving
14163 open-protocol-stream as an alias. Handle nil BUFFER args.
14164
14165 * subr.el (open-network-stream): Move to net/network-stream.el.
14166
14167 2011-04-02 Glenn Morris <rgm@gnu.org>
14168
14169 * find-dired.el (find-exec-terminator): New option.
14170 (find-ls-option): Test for -ls support.
14171 (find-ls-subdir-switches): Test for -b in find-ls-option.
14172 (find-dired, find-grep-dired): Doc fixes.
14173 (find-dired): Use find-exec-terminator.
14174
14175 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14176 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14177 (find-name-arg): Remove purecopy.
14178
14179 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14180 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14181 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14182 accordingly. Don't add the null-device if not needed.
14183
14184 * files.el (save-some-buffers): Doc fix.
14185
14186 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14187
14188 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14189
14190 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14191
14192 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14193 Use `dolist' rather than `mapcar'.
14194
14195 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14196
14197 Add lexical binding.
14198
14199 * subr.el (apply-partially): Use new closures rather than CL.
14200 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14201 (dolist, dotimes): Use slightly different expansion for lexical code.
14202 (functionp): Move to C.
14203 (letrec): New macro.
14204 (with-wrapper-hook): Use it and apply-partially instead of CL.
14205 (eval-after-load): Preserve lexical-binding.
14206 (save-window-excursion, with-output-to-temp-buffer): Turn them
14207 into macros.
14208
14209 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14210
14211 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14212 than the arglist.
14213 (help-add-fundoc-usage): Don't add `Not documented'.
14214 (help-function-arglist): Handle closures, subroutines, and new
14215 byte-code-functions.
14216 (help-make-usage): Remove leading underscores.
14217 (describe-function-1): Handle closures.
14218 (describe-variable): Use special-variable-p for completion.
14219
14220 * files.el (lexical-binding): Declare safe.
14221
14222 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14223 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14224 (pcase): Add `let' pattern.
14225 Change memoization so it actually works.
14226 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14227 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14228 <let>: New case.
14229
14230 * emacs-lisp/macroexp.el: Use lexical binding.
14231 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14232 Don't convert ' to #' without checking that it's indeed quoting
14233 a lambda.
14234
14235 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14236 Use eval-sexp-add-defvars.
14237 (eval-sexp-add-defvars): New fun.
14238
14239 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14240
14241 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14242 Don't autoload.
14243 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14244 than the internal `byte-compile-lambda'.
14245 (defmethod): Don't hide code under quotes.
14246 (eieio-defmethod): New `code' argument.
14247
14248 * emacs-lisp/eieio-comp.el: Remove.
14249
14250 * emacs-lisp/edebug.el (edebug-eval-defun)
14251 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14252 (edebug-toggle): Avoid `eval'.
14253
14254 * emacs-lisp/disass.el (disassemble-internal): Handle new
14255 `closure' objects.
14256 (disassemble-1): Handle new byte codes.
14257
14258 * emacs-lisp/cl.el (pushnew): Silence warning.
14259
14260 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14261 (cl-byte-compile-throw): Remove.
14262 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14263
14264 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14265 closures.
14266
14267 * emacs-lisp/cconv.el: New file.
14268
14269 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14270 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14271 (byte-compile-initial-macro-environment):
14272 Handle declare-function here.
14273 (byte-compile--lexical-environment): New var.
14274 (byte-stack-ref, byte-stack-set, byte-discardN)
14275 (byte-discardN-preserve-tos): New lap codes.
14276 (byte-interactive-p): Don't use any more.
14277 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14278 New macros.
14279 (byte-compile-lapcode): Use them and handle new lap codes.
14280 (byte-compile-obsolete): Remove.
14281 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14282 (byte-compile-arglist-warn): Check late def of inlinable funs.
14283 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14284 since they should have been expanded by now.
14285 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14286 (byte-compile-from-buffer): Remove unused second arg.
14287 (byte-compile-preprocess): New function.
14288 (byte-compile-toplevel-file-form): New function to distinguish
14289 file-form calls from outside from file-form calls from hunk-handlers.
14290 (byte-compile-file-form): Simplify.
14291 (byte-compile-file-form-defsubst): Remove.
14292 (byte-compile-file-form-defmumble): Simplify now that
14293 byte-compile-lambda always returns a byte-code-function.
14294 (byte-compile): Preprocess.
14295 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14296 Remove, not used any more.
14297 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14298 (byte-compile-make-args-desc): New funs.
14299 (byte-compile-lambda): Handle lexical functions. Always return
14300 a byte-code-function.
14301 (byte-compile-reserved-constants): New var, to make up room for
14302 closed-over variables.
14303 (byte-compile-constants-vector): Obey it.
14304 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14305 (byte-compile-macroexpand-declare-function): New function.
14306 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14307 byte-code-functions.
14308 (byte-compile-form): Check obsolescence here.
14309 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14310 (byte-compile-variable-ref): Remove.
14311 (byte-compile-dynamic-variable-op): New fun.
14312 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14313 (byte-compile-variable-set): New funs.
14314 (byte-compile-discard): Add 2 args.
14315 (byte-compile-stack-ref, byte-compile-stack-set)
14316 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14317 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14318 macroexpand-all instead.
14319 (byte-compile-quote-form): Remove.
14320 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14321 (byte-compile-bind, byte-compile-unbind): New funs.
14322 (byte-compile-let): Handle let* and lexical binding.
14323 (byte-compile-let*): Remove.
14324 (byte-compile-catch, byte-compile-unwind-protect)
14325 (byte-compile-track-mouse, byte-compile-condition-case):
14326 Handle a new :fun-body form, used for lexical scoping.
14327 (byte-compile-save-window-excursion)
14328 (byte-compile-with-output-to-temp-buffer): Remove.
14329 (byte-compile-defun): Simplify.
14330 (byte-compile-stack-adjustment): New fun.
14331 (byte-compile-out): Use it.
14332 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14333
14334 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14335 handler any more.
14336
14337 * emacs-lisp/byte-opt.el: Use lexical binding.
14338 (byte-inline-lapcode): Remove (to bytecomp).
14339 (byte-compile-inline-expand): Pay attention to inlining to/from
14340 lexically bound code.
14341 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14342 any more.
14343 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14344 any more and don't call compiler-macros.
14345 (byte-compile-splice-in-already-compiled-code): Remove.
14346 (byte-code): Don't inline any more.
14347 (disassemble-offset): Receive `bytes' as argument rather than via
14348 dynamic scoping.
14349 (byte-compile-tag-number): Declare before first use.
14350 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14351 `return' even if make-spliceable.
14352 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14353 obsolete interactive-p.
14354 (byte-optimize-lapcode): Optimize new lap-codes.
14355 Don't trip up on new form of `byte-constant' lap code.
14356
14357 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14358
14359 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14360
14361 * custom.el (custom-initialize-default, custom-declare-variable):
14362 Use `defvar'.
14363
14364 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14365 New variables.
14366 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14367 (COMPILE_FIRST): Add macroexp and cconv.
14368 * makefile.w32-in: Mirror changes in Makefile.in.
14369
14370 * vc/cvs-status.el:
14371 * vc/diff-mode.el:
14372 * vc/log-edit.el:
14373 * vc/log-view.el:
14374 * vc/smerge-mode.el:
14375 * textmodes/bibtex-style.el:
14376 * textmodes/css.el:
14377 * startup.el:
14378 * uniquify.el:
14379 * minibuffer.el:
14380 * newcomment.el:
14381 * reveal.el:
14382 * server.el:
14383 * mpc.el:
14384 * emacs-lisp/smie.el:
14385 * doc-view.el:
14386 * dired.el:
14387 * abbrev.el: Use lexical binding.
14388
14389 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14390
14391 * info.el (info-display-manual): New function.
14392
14393 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14394
14395 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14396
14397 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14398
14399 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14400 an entry for that server in rcirc-authinfo. (Bug#8385)
14401
14402 2011-03-31 Glenn Morris <rgm@gnu.org>
14403
14404 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14405
14406 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14407
14408 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14409
14410 * progmodes/python.el (python-default-interpreter)
14411 (python-python-command-args, python-jython-command-args)
14412 (python-which-shell, python-which-args, python-which-bufname)
14413 (python-file-queue, python-comint-output-filter-function)
14414 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14415 variables and functions.
14416
14417 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14418
14419 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14420 (completion-in-region-mode): New minor mode.
14421 (completion-in-region): Use it.
14422 (completion-in-region--data, completion-in-region-mode-map): New vars.
14423 (completion-in-region--postch): New function.
14424 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14425 New vars.
14426 (completion--capf-wrapper): New function.
14427 (completion-at-point): Use it to track well-behavedness of
14428 hook functions.
14429 (completion-help-at-point): New command.
14430
14431 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14432
14433 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14434 syntax class to search for whitespace on a single line
14435 (Message-ID: <4D938140.4030905@redhat.com>).
14436
14437 2011-03-30 Leo Liu <sdl.web@gmail.com>
14438
14439 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14440 New commands.
14441 (edit-abbrevs-map): Bind them here.
14442 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14443
14444 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14445
14446 * allout.el (allout-hide-by-annotation, allout-flag-region):
14447 Reduce possibility of overlay leakage by making them volatile.
14448
14449 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14450 hash is not shared between buffers. Mode initialization is
14451 responsible for giving it a useful starting value.
14452 (allout-item-span): Reduce possibility of overlay leakage by
14453 making them volatile.
14454 (allout-widgets-count-buttons-in-region): Add diagnostic function
14455 for tracking down button overlay leaks.
14456
14457 2011-03-29 Leo Liu <sdl.web@gmail.com>
14458
14459 * ido.el (ido-read-internal): Use the default history var
14460 minibuffer-history if no HISTORY is specified.
14461
14462 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14463
14464 * net/imap.el (imap-shell-open, imap-process-connection-type):
14465 Use imap-process-connection-type for 'shell' streams as well as
14466 Kerberos, SSL, other subprocesses.
14467
14468 2011-03-28 Leo Liu <sdl.web@gmail.com>
14469
14470 * abbrev.el (abbrev-table-empty-p): New function.
14471 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14472 nonempty ones. (Bug#5937)
14473
14474 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14475
14476 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14477
14478 2011-03-27 Leo Liu <sdl.web@gmail.com>
14479
14480 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14481 for foreground and background colors.
14482 (ansi-color-make-color-map): Adapt.
14483
14484 2011-03-25 Leo Liu <sdl.web@gmail.com>
14485
14486 * midnight.el (midnight-time-float): Remove. Note it calculates
14487 the microsecond component incorrectly and seconds-to-time does the
14488 same job.
14489 Remove redundant (require 'timer).
14490
14491 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14492 (ido-completions): Remove unused arguments. (Bug#8329)
14493
14494 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14495
14496 * minibuffer.el (completion--flush-all-sorted-completions):
14497 Remove itself from hook.
14498 (completion-at-point): Let the functions perform the completion
14499 immediately and return nil or t.
14500 * comint.el (comint-dynamic-complete-functions): Now identical to
14501 completion-at-point-functions.
14502 (comint-dynamic-list-input-ring): Remove unused var `index'.
14503 (comint--match-partial-filename, comint--unquote&expand-filename):
14504 New funs, split from comint-match-partial-filename.
14505 (comint-dynamic-complete): Use completion-at-point.
14506 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14507
14508 2011-03-24 Drew Adams <drew.adams@oracle.com>
14509
14510 * thingatpt.el: Support `defun'.
14511
14512 2011-03-23 Leo Liu <sdl.web@gmail.com>
14513
14514 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14515
14516 * help-mode.el (help-mode-finish): Tweak regexp.
14517
14518 2011-03-23 Glenn Morris <rgm@gnu.org>
14519
14520 * eshell/esh-opt.el (eshell-eval-using-options):
14521 Do not bind unused local variable `eshell-option-stub'.
14522
14523 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14524
14525 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14526
14527 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14528 keymap variable in `with-no-warnings' to avoid a warning when the
14529 keymap has been already `defconst'ed.
14530
14531 2011-03-22 Leo Liu <sdl.web@gmail.com>
14532
14533 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14534 encode all chars in abbrevs; otherwise use emacs-mule or
14535 utf-8-emacs. (Bug#8308)
14536
14537 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14538
14539 * simple.el (backward-delete-char-untabify):
14540 Avoid warning about using `delete-backward-char'.
14541
14542 * image.el (image-type-file-name-regexps): Make it variable.
14543 `imagemagick-register-types' modifies it, and the user may want
14544 to add new extensions for known image types.
14545 (imagemagick-register-types): Throw error if not using ImageMagick.
14546
14547 2011-03-22 Leo Liu <sdl.web@gmail.com>
14548
14549 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14550 located before rcirc-prompt-end-marker.
14551 (rcirc-complete): Error if point is not after rcirc prompt.
14552 Handle the case when table is nil.
14553 (rcirc-user-authenticated): Define to fix compiler warning.
14554
14555 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14556
14557 * custom.el (custom--inhibit-theme-enable): Make it affect only
14558 custom-theme-set-variables and custom-theme-set-faces.
14559 (provide-theme): Ignore custom--inhibit-theme-enable.
14560 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14561 (custom-enabling-themes): Delete variable.
14562 (enable-theme): Accept only loaded themes as arguments.
14563 Ignore the special custom-enabled-themes variable.
14564 (custom-enabled-themes): Forbid themes from setting this.
14565 Eliminate use of custom-enabling-themes.
14566 (custom-push-theme): Quote "changed" custom var entry.
14567
14568 2011-03-21 Leo Liu <sdl.web@gmail.com>
14569
14570 * ido.el (ido-read-internal): Add ido-selected to history instead
14571 of user input.
14572
14573 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14574
14575 * subr.el (deferred-action-list, deferred-action-function):
14576 Mark obsolete.
14577
14578 2011-03-21 Leo Liu <sdl.web@gmail.com>
14579
14580 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14581 change on 2011-02-13 (bug#8309).
14582
14583 * minibuffer.el (read-file-name-function): Change default value.
14584 (read-file-name--defaults): Rename from read-file-name-defaults.
14585 (read-file-name-default): Rename from read-file-name.
14586 (read-file-name): Call read-file-name-function.
14587
14588 2011-03-21 Glenn Morris <rgm@gnu.org>
14589
14590 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14591 Doc fixes.
14592
14593 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14594
14595 * cus-theme.el: Add missing provide statement.
14596 (customize-create-theme): Extract theme value correctly.
14597 (custom-theme-visit-theme): Autoload.
14598 (customize-create-theme): Prompt before inserting default faces.
14599
14600 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14601
14602 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14603 units and musical notes.
14604
14605 2011-03-20 Leo Liu <sdl.web@gmail.com>
14606
14607 * ido.el (ido-read-internal): Use completing-read-default.
14608 (ido-completing-read): Fix compatibility with completing-read.
14609
14610 2011-03-20 Christian Ohler <ohler@gnu.org>
14611
14612 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14613 (ert-delete-all-tests): Use `called-interactively-p' rather than
14614 `interactive-p'.
14615 (ert--make-xrefs-region): Respect END.
14616
14617 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14618
14619 * dired-aux.el (dired-create-directory): Signal an error if the
14620 directory already exists (Bug#8246).
14621
14622 * facemenu.el (list-colors-display): Call list-faces-display
14623 inside with-help-window.
14624 (list-colors-print): Use display property to align the final
14625 column, instead of checking window-width.
14626
14627 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14628
14629 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14630 windows-nt systems.
14631 (emerge-protect-metachars): Quote correctly for ms-dos and
14632 windows-nt systems.
14633
14634 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14635
14636 * info.el (info-initialize): Replace all uses of `:' with
14637 path-separator for compatibility with non-Unix systems.
14638 Cache quoting of path-separator. (Bug#8258)
14639
14640 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14641
14642 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14643 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14644 (mouse-avoidance-mode): Fix typos in docstrings.
14645
14646 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14647
14648 * startup.el (package-subdirectory-regexp): Move from package.el.
14649 Omit \\` and \\', and let callers add them.
14650
14651 * emacs-lisp/package.el (package-strip-version)
14652 (package-load-all-descriptors): Add \\` and \\' to
14653 package-subdirectory-regexp before using it.
14654 (package-untar-buffer): New arg DIR; ensure that file untars only
14655 into this expected directory. Remove superfluous delete-region.
14656 (package-unpack): Caller changed.
14657 (package-tar-file-info): Use package-subdirectory-regexp.
14658
14659 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14660
14661 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14662 diff-mode-shared-map (bug#8284).
14663 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14664
14665 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14666
14667 * calendar/time-date.el (format-seconds): Use assoc instead of
14668 assoc-string, since assoc-string doesn't exist in XEmacs.
14669
14670 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14671
14672 * custom.el (custom-known-themes): Reflow docstring.
14673 (custom-theme-load-path): Fix typo in docstring.
14674 (load-theme): Fix typo in error message.
14675 (custom-available-themes, custom-variable-theme-value):
14676 Use `let', not `let*'.
14677
14678 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14679
14680 * calc/README: Mention inclusion of musical notes.
14681
14682 * calc/calc-units.el (calc-lu-quant): Rename from
14683 `calc-logunits-quantity'.
14684 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14685 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14686 (calc-db): Rename from `calc-dblevel'.
14687 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14688 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14689 (calc-np): Rename from `calc-nplevel'.
14690 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14691 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14692 (calc-lu-plus): Rename from `calc-logunits-add'.
14693 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14694 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14695 (calc-lu-minus): Rename from `calc-logunits-sub'.
14696 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14697 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14698 (calc-lu-times): Rename from `calc-logunits-mul'.
14699 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14700 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14701 (calc-lu-divide): Rename from `calc-logunits-div'.
14702 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14703 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14704
14705 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14706 functions being autoloaded.
14707
14708 * calc/calc.el (calc-lu-power-reference): Rename from
14709 `calc-logunits-power-reference'.
14710 (calc-lu-field-reference): Rename from
14711 `calc-logunits-field-reference'.
14712
14713 * calc/calc-help.el (calc-l-prefix-help):
14714 Mention musical note functions.
14715
14716 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14717
14718 * minibuffer.el (completion-all-sorted-completions):
14719 Use :completion-cycle-penalty text property if present.
14720
14721 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14722
14723 * allout.el (allout-yank-processing): Adjust for new rebulleting
14724 regime so bullet being yanked is used without prompting the user
14725 for a choice.
14726
14727 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14728
14729 * startup.el (command-line): Warn the user that _emacs is deprecated.
14730
14731 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14732
14733 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14734 (delphi-verbose, delphi-comment-face, delphi-string-face)
14735 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14736 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14737 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14738 (delphi-new-comment-line, delphi-font-lock-defaults)
14739 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14740 Fix typos in docstrings.
14741
14742 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14743
14744 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14745 Invert the roles of character and string values for INSTEAD, so a
14746 string is used for the more common case of a defaulting prompt.
14747
14748 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14749
14750 * progmodes/ruby-mode.el (ruby-backward-sexp):
14751 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14752 * play/gamegrid.el (gamegrid-make-face):
14753 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14754 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14755 * notifications.el (notifications-notify):
14756 * net/xesam.el (xesam-search-engines):
14757 * net/quickurl.el (quickurl-list-insert):
14758 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14759
14760 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14761
14762 * startup.el (command-line): Update package subdirectory regexp.
14763
14764 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14765
14766 * allout.el (allout-abbreviate-flattened-numbering)
14767 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14768
14769 * subr.el (read-char-choice): Only show the cursor after the prompt,
14770 not after the answer.
14771
14772 2011-03-15 Kevin Ryde <user42@zip.com.au>
14773
14774 * help-fns.el (variable-at-point): Skip leading quotes, if any
14775 (bug#8253).
14776
14777 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14778
14779 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14780 warning message.
14781
14782 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14783
14784 * shell.el (shell): When called interactively, offer to change the
14785 shell file name on remote hosts.
14786
14787 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14788
14789 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14790 integration for LDAP parameters. The host, base, user or binddn,
14791 and secret tokens can be specified in a netrc file, for instance.
14792 This is optional because an `auth-source' parameter must be
14793 specified in the search attributes.
14794
14795 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14796
14797 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14798
14799 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14802 into declaration. Remove redundant and harmful binding.
14803
14804 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14805
14806 * files.el (file-ownership-preserved-p): Pass `integer' as an
14807 explicit 2nd argument to `file-attributes'. If the file's owner
14808 is the Administrators group on Windows, and the current user is
14809 Administrator, consider that a match.
14810
14811 * server.el (server-ensure-safe-dir): Consider server directory
14812 safe on MS-Windows if its owner is the Administrators group while
14813 the current Emacs user is Administrator. Use `=' to compare
14814 numerical UIDs, since they could be integers or floats.
14815
14816 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14817
14818 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14819
14820 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14821
14822 Sync with Tramp 2.2.1.
14823
14824 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14825
14826 * net/trampver.el: Update release number.
14827
14828 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14829
14830 * progmodes/compile.el (compilation--previous-directory): Fix up
14831 various nil/dead-marker mismatches (bug#8014).
14832 (compilation-directory-properties, compilation-error-properties):
14833 Don't call it at a position past the one we're about to change.
14834
14835 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14836 Disable obsolescence warnings in the file that declares it.
14837
14838 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14839
14840 * allout-widgets.el (allout-widgets-tally):
14841 Initialize allout-widgets-tally as a hash table rather than nil to
14842 prevent mode-line redisplay warnings. Also, clarify the module
14843 description and fix a comment typo.
14844
14845 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14846
14847 * help-fns.el (describe-variable): Don't complete keywords.
14848 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14849
14850 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14851
14852 * emacs-lisp/package.el (package-version-join): Impose a standard
14853 string representation for pre/alpha/beta version lists.
14854 (package-unpack-single): Standardize the directory name by passing
14855 it through package-version-join.
14856 (package-strip-rcs-id): Accept any version string that does not
14857 signal an error in version-to-list.
14858
14859 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14860
14861 * simple.el (delete-trailing-whitespace): Return nil for the
14862 benefit of `write-file-functions'.
14863
14864 2011-03-10 Glenn Morris <rgm@gnu.org>
14865
14866 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14867
14868 * vc/vc-git.el (vc-git-program): New option.
14869 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14870 (vc-git--call): Use it.
14871
14872 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14873
14874 * cus-edit.el (Custom-newline): If no button at point, look
14875 for a subgroup button at start-of-line. (Bug#2298)
14876
14877 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14878
14879 2011-03-10 Julien Danjou <julien@danjou.info>
14880
14881 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14882 `cursor-type' is nil.
14883
14884 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14885
14886 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14887
14888 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14889
14890 * allout.el: Change so yank of distinctive-bullet items
14891 preserves the existing header prefix, rebulleting it if necessary,
14892 rather than replacing it. This is necessary for proper operation
14893 of cooperative addons like allout-widgets.
14894 (allout-make-topic-prefix, allout-rebullet-heading):
14895 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14896 value as alternate bullet to be used, instead of prompting the user
14897 for a bullet character.
14898
14899 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14900
14901 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14902 Do not use `tramp-file-name-port', because this returns also
14903 `tramp-default-port'.
14904
14905 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14906
14907 * net/rcirc.el (rcirc-handler-001): Remove useless
14908 with-rcirc-process-buffer.
14909 (rcirc-check-auth-status): Swap arguments to string-match.
14910
14911 2011-03-09 Glenn Morris <rgm@gnu.org>
14912
14913 * shell.el (shell-mode):
14914 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14915
14916 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14917 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14918
14919 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14920
14921 * emacs-lisp/package.el (package-refresh-contents)
14922 (package-menu-execute): Use condition-case-no-debug.
14923
14924 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14925
14926 * simple.el (shell-command-to-string): Use `process-file'.
14927
14928 * emacs-lisp/package.el (package-tar-file-info): Handle also
14929 remote files.
14930
14931 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14932 Use `equal' for upload base check.
14933
14934 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14935
14936 * textmodes/texinfo.el (texinfo-environments):
14937 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14938
14939 2011-03-08 Glenn Morris <rgm@gnu.org>
14940
14941 * cus-start.el (cursor-in-non-selected-windows):
14942 Fix :set quoting oddness. (Bug#8192)
14943
14944 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14945 in some setf expressions. (Bug#2159)
14946
14947 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14948
14949 * custom.el (custom-available-themes): Return themes in
14950 alphabetical order.
14951
14952 See ChangeLog.15 for earlier changes.
14953
14954 ;; Local Variables:
14955 ;; coding: utf-8
14956 ;; End:
14957
14958 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14959
14960 This file is part of GNU Emacs.
14961
14962 GNU Emacs is free software: you can redistribute it and/or modify
14963 it under the terms of the GNU General Public License as published by
14964 the Free Software Foundation, either version 3 of the License, or
14965 (at your option) any later version.
14966
14967 GNU Emacs is distributed in the hope that it will be useful,
14968 but WITHOUT ANY WARRANTY; without even the implied warranty of
14969 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14970 GNU General Public License for more details.
14971
14972 You should have received a copy of the GNU General Public License
14973 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.