* lisp/emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a4712e11
JB
12012-06-11 Johan Bockgård <bojohan@gnu.org>
2
3 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4 (pcase, pcase-let*, pcase-dolist): Use them.
5
82ad98e3
SM
62012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * emacs-lisp/pcase.el (pcase--let*): New function.
9 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10 (pcase--expand): Use macroexp-let².
11
f80efb86
SM
122012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
15 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
16 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
17 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
18 * emacs-lisp/derived.el: Use pcase instead of `cl'.
19 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
20
31ca4639 212012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 22
31ca4639
CY
23 * mail/rmail.el (rmail-yank-current-message): Leave point at
24 correct position. (Bug#11660)
94f0aa34 25
31ca4639 262012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 27
31ca4639 28 * allout-widgets.el: Fix code header.
9e1b8ec4 29
31ca4639 302012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 31
f80efb86
SM
32 * cus-edit.el (customize-changed-options-previous-release):
33 Bump to 24.1.
31ca4639 34
642b6d30
AS
352012-06-09 Andreas Schwab <schwab@linux-m68k.org>
36
37 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
38
4f5d2ba1
CY
392012-06-09 Chong Yidong <cyd@gnu.org>
40
41 * ebuff-menu.el (electric-buffer-list): Preserve header line.
42
e75852fd
MR
432012-06-09 Martin Rudalics <rudalics@gmx.at>
44
45 * window.el (special-display-popup-frame): Don't use
46 window--display-buffer (Bug#11651).
47
1e48e282
EZ
482012-06-09 Eli Zaretskii <eliz@gnu.org>
49
8a26b487
EZ
50 Fix parallel builds: make sure loaddefs.el is not being written
51 while Lisp files are compiled.
52 (compile): Don't depend on 'mh-autoloads'.
53 (compile-CMD, compile-SH): Depend on 'autoloads'.
54 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
55
1e48e282
EZ
56 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
57
6175e34b
CY
582012-06-09 Chong Yidong <cyd@gnu.org>
59
60 * face-remap.el (face-remap-add-relative, face-remap-set-base)
61 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
62 Doc fixes (Bug#11225).
63
d9857e53
SM
642012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
67 a function if there's a clear indication that it has a compiler-macro.
68 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
69 (macro-declarations-alist): Add arglist to declaration functions.
70 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
71 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
72 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
73 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
74 Also add autoload to find the compiler macro.
75 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
76 (cl--compiler-macro-member, cl--compiler-macro-assoc)
77 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
78 (cl--compiler-macro-get): New functions, replacing calls to
79 cl-define-compiler-macro.
80 (cl-typep) [compiler-macro]: Use macroexp-let².
81
f81298f8 822012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
83
84 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
85 string properly, fixes Bug#11473.
86
4b56d0fe
CY
872012-06-08 Chong Yidong <cyd@gnu.org>
88
89 * faces.el (set-face-attribute): Doc fix.
90 (modify-face): Don't use :bold and :italic.
91 (error, warning, success): Tweak definitions.
92
93 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
94 (custom-modified, custom-set, custom-changed, custom-themed)
95 (custom-saved, custom-button, custom-button-mouse)
96 (custom-button-pressed, custom-state, custom-comment-tag)
97 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
98 (custom-group-subtitle): Use new-style face specs.
99 (custom-invalid-face, custom-rogue-face, custom-modified-face)
100 (custom-set-face, custom-changed-face, custom-saved-face)
101 (custom-button-face, custom-button-pressed-face)
102 (custom-documentation-face, custom-state-face)
103 (custom-comment-face, custom-comment-tag-face)
104 (custom-variable-tag-face, custom-variable-button-face)
105 (custom-face-tag-face, custom-group-tag-face-1)
106 (custom-group-tag-face): Remove obsolete face alias.
107
108 * epa.el (epa-validity-high, epa-validity-medium)
109 (epa-validity-low, epa-mark, epa-field-name, epa-string)
110 (epa-field-name, epa-field-body):
111 * font-lock.el (font-lock-comment-face, font-lock-string-face)
112 (font-lock-keyword-face, font-lock-builtin-face)
113 (font-lock-function-name-face, font-lock-variable-name-face)
114 (font-lock-type-face, font-lock-constant-face):
115 * ido.el (ido-first-match, ido-only-match, ido-subdir)
116 (ido-virtual, ido-indicator, ido-incomplete-regexp):
117 * speedbar.el (speedbar-button-face, speedbar-file-face)
118 (speedbar-directory-face, speedbar-tag-face)
119 (speedbar-selected-face, speedbar-highlight-face)
120 (speedbar-separator-face):
121 * whitespace.el (whitespace-newline, whitespace-space)
122 (whitespace-hspace, whitespace-tab, whitespace-trailing)
123 (whitespace-line, whitespace-space-before-tab)
124 (whitespace-space-after-tab, whitespace-indentation)
125 (whitespace-empty):
126 * emulation/cua-base.el (cua-global-mark):
127 * eshell/em-prompt.el (eshell-prompt):
128 * net/newst-plainview.el (newsticker-new-item-face)
129 (newsticker-old-item-face, newsticker-immortal-item-face)
130 (newsticker-obsolete-item-face, newsticker-date-face)
131 (newsticker-statistics-face, newsticker-default-face):
132 * net/newst-reader.el (newsticker-feed-face)
133 (newsticker-extra-face, newsticker-enclosure-face):
134 * net/newst-treeview.el (newsticker-treeview-face)
135 (newsticker-treeview-new-face, newsticker-treeview-old-face)
136 (newsticker-treeview-immortal-face)
137 (newsticker-treeview-obsolete-face)
138 (newsticker-treeview-selection-face):
139 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
140 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
141 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
142 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
143 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
144 (nxml-outline-active-indicator, nxml-outline-ellipsis):
145 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
146 (mpuz-text):
147 * progmodes/vera-mode.el (vera-font-lock-number)
148 (vera-font-lock-function, vera-font-lock-interface):
149 * textmodes/table.el (table-cell): Use new-style face specs, and
150 don't use the old :bold and :italic attributes.
151
152 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
153 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
154 (ebrowse-member-class, ebrowse-progress): Likewise.
155 (ebrowse-tree-mark-face, ebrowse-root-class-face)
156 (ebrowse-file-name-face, ebrowse-default-face)
157 (ebrowse-member-attribute-face, ebrowse-member-class-face)
158 (ebrowse-progress-face): Remove obsolete faces.
159
160 * progmodes/flymake.el (flymake-errline, flymake-warnline):
161 Inherit from error and warning faces respectively.
162
163 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
164 Likewise.
f80efb86
SM
165 (flyspell-incorrect-face, flyspell-duplicate-face):
166 Remove obsolete aliases.
4b56d0fe 167
03310646
MA
1682012-06-08 Michael Albinus <michael.albinus@gmx.de>
169
170 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
171 Avoid infloop.
172
513749ee
SM
1732012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * startup.el (argv, argi): Make lexically scoped.
176 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
177 * emacs-lisp/cl-macs.el: Use lexical-binding.
178 Rename cl-bind-* to cl--bind-*.
179 * files.el: Don't require `cl' since it doesn't use it.
180 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
181
595ef4ad
JB
1822012-06-08 Juanma Barranquero <lekktu@gmail.com>
183
184 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
185 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
186 instead of calling external sort utility.
187 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
188
e9f66fcb
EZ
1892012-06-08 Eli Zaretskii <eliz@gnu.org>
190
191 * descr-text.el (describe-char): Mention how to insert the
192 character, if the current input method doesn't support it.
193 See the discussion in this thread for the details:
194 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
195
3d10db47
SS
1962012-06-08 Sam Steingold <sds@gnu.org>
197
198 * bindings.el (global-map): Bind XF86Forward to next-buffer and
199 XF86Back to previous-buffer.
200 (minibuffer-local-map): Bind them to next-history-element and
201 previous-history-element respectively.
202 * help-mode.el (help-mode-map): Bind them to help-go-forward and
203 help-go-back respectively.
204 * info.el (Info-mode-map): Bind them to Info-history-forward and
205 Info-history-back respectively.
206 These are the keys next to Up on the ThinkPad keyboard.
207
de7e2b36
SM
2082012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
211 * emacs-lisp/cl-macs.el: Provide itself.
212 (cl--labels-convert-cache): New var.
213 (cl--labels-convert): New function.
214 (cl-flet, cl-labels): New implementation with new semantics, relying on
215 lexical-binding.
216 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
217 (cl-closure-vars, cl--function-convert-cache)
218 (cl--function-convert): Move from cl-macs.el.
219 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
220 rename by removing the "cl-" prefix.
221 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
222
6fa6c4ae
SM
2232012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
226 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
227 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
228 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
229 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
230 (cl-hash-table-count): Add old compatibility aliases.
231
232 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
233 Use macroexpand-all-environment instead.
234 (cl--old-macroexpand): New var.
235 (cl--sm-macroexpand): New function.
236 (cl-symbol-macrolet): Use it during macro expansion.
237 (cl--function-convert-cache): New var.
238 (cl--function-convert): New function, extracted from
239 cl-macroexpand-all.
240 (cl-lexical-let): Use it.
241
242 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
243 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
244 (cl-member): Remove old alias.
245
246 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
247 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
248 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
249 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
250 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
251 (cl-macroexpand-cmacs): Remove var.
252 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
253 Use macroexpand-all instead.
254
4dd1c416
SM
2552012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
256
257 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
258 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
259 (macroexp-copyable-p): New functions and macros.
260 * emacs-lisp/edebug.el (edebug-unwrap):
261 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
262 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
263 (pcase--let*): Remove.
264 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
265 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
266 macroexp-const-p instead.
267 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
268
269 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
270 instead of "cl-" for internal definitions. Use macroexp-const-p.
271 (cl-old-bc-file-form): Remove var.
272 (cl-const-exprs-p): Remove fun.
273 (cl-labels, cl-macrolet): Use backquote.
274 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
275 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
276 (cl-define-setf-expander): Rename from cl-define-setf-method.
277 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
278
279 * international/mule-cmds.el: Don't require CL.
280 (view-hello-file): Don't use `letf'.
281
ed8bd4d7
SM
2822012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
283
7287f2f3
SM
284 * tmm.el (tmm-prompt): Use string-prefix-p.
285 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
286 (tmm-add-prompt): Use minibuffer-completion-help.
287 (tmm-delete-map): Remove.
288
ed8bd4d7
SM
289 * subr.el (kbd): Make it its own function.
290
7b4cdbf4
SM
2912012-06-07 Stefan Merten <smerten@oekonux.de>
292
293 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
294 Silence compiler warnings. Fix versions.
ed8bd4d7 295 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 296 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 297 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
298 (rst-package-emacs-version-alist): Correct Emacs version to
299 represent major merge with upstream.
ed8bd4d7 300 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 301
2b48d721
GM
3022012-06-06 Glenn Morris <rgm@gnu.org>
303
304 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
305 Only print environment variables if set.
306
fa779ab0
SM
3072012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
310 (macroexp--cons): Rename from maybe-cons.
311 (macroexp--accumulate): Rename from macroexp-accumulate.
312 (macroexp--all-forms): Rename from macroexpand-all-forms.
313 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
314 (macroexp--expand-all): Rename from macroexpand-all-1.
315
628299e0
SS
3162012-06-06 Sam Steingold <sds@gnu.org>
317
318 * calendar/calendar.el (calendar-in-read-only-buffer):
319 Call `special-mode' to enable the standard read-only keybindings.
320
b7bb5838
SM
3212012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
324 with "loading" messages (bug#11635).
325
dfb308ba
MA
3262012-06-06 Michael Albinus <michael.albinus@gmx.de>
327
328 * files.el (enable-remote-dir-locals): New option.
329 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
330
0372ee92
MA
331 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
332 Ensure, that the temp directory is local.
333
334 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
335 `temporary-file-directory'.
336
eed0bb91
MA
337 * progmodes/python.el (python-send-region): Ensure, that the
338 temporary file is created also in the remote case.
339
7a58f64d
GM
3402012-06-06 Glenn Morris <rgm@gnu.org>
341
f7dd4e98
GM
342 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
343 (vc-rcs-update-changelog): Use it.
344
276d5f5d
GM
345 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
346
7a58f64d
GM
347 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
348 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
349 (vc-sccs-diff): Replace use of the external vcdiff script.
350
daed4003
GM
3512012-06-05 Glenn Morris <rgm@gnu.org>
352
353 * ledit.el: Move to obsolete/.
354
48c455c7
SS
3552012-06-05 Sam Steingold <sds@gnu.org>
356
357 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
358 patch (Bug#11140).
359
57a7d507
SM
3602012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
361
d32926ff
SM
362 * emacs-list/cust-print.el: Move to obsolete.
363
53aacf21
SM
364 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
365 compiler-macro expansion.
366
57a7d507
SM
367 Add native compiler-macro support.
368 * emacs-lisp/macroexp.el (macroexpand-all-1):
369 Support compiler-macros directly. Properly follow aliases and apply
370 the compiler macros more thoroughly.
371 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
372 macroexpand now properly follows aliases.
373 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
374 (cl-compiler-macroexpand): Use new prop.
375 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
376
377 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
378
51a5f9d8
MR
3792012-06-05 Martin Rudalics <rudalics@gmx.at>
380
381 * window.el (get-lru-window, get-mru-window, get-largest-window):
382 New argument NOT-SELECTED to avoid picking the selected window.
383 (window--display-buffer-1, window--display-buffer-2): Replace by
384 new function window--display-buffer
385 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
386 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
387 Use window--display-buffer.
51a5f9d8
MR
388 (display-buffer-use-some-window): Remove temporary dedication
389 hack by calling get-lru-window and get-largest-window with
390 NOT-SELECTED argument non-nil. Call window--display-buffer.
391
08f9f738
GM
3922012-06-05 Glenn Morris <rgm@gnu.org>
393
394 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
395 Replace external vcdiff script.
396
e364a2b7
SM
3972012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
398
399 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
400
041df390
CY
4012012-06-04 Chong Yidong <cyd@gnu.org>
402
e364a2b7
SM
403 * image.el (imagemagick-types-inhibit): Revert last change.
404 Add INFO and M.
47b36b94 405 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 406
7c1898a7
SM
4072012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
408
409 * emacs-lisp/cl-lib.el: Rename from cl.el.
410 * emacs-lisp/cl.el: New compatibility file.
411 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
412 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
413 to obey the "cl-" prefix.
414 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
415
0c3461de
GM
4162012-06-03 Glenn Morris <rgm@gnu.org>
417
1e266c88
GM
418 * emacs-lisp/authors.el (authors-aliases): Addition.
419
0c3461de
GM
420 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
421 Fix :version.
422
d8a52e15
SM
4232012-06-03 Stefan Merten <smerten@oekonux.de>
424
425 * textmodes/rst.el: Add comments.
426 (rst-transition, rst-adornment): New faces.
427 (rst-adornment-faces-alist): Make default safe to reevaluate.
428 Fixes
429 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
430 Improve customization tags.
431 (rst-define-level-faces): Clarify meaning.
432
5205d6f6
CY
4332012-06-03 Chong Yidong <cyd@gnu.org>
434
435 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
436 (compilation-mode-line-run, compilation-mode-line-exit):
437 New faces.
5205d6f6
CY
438 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
439
757ee657
JD
4402012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
441
7c1898a7
SM
442 * progmodes/which-func.el (which-func-update-ediff-windows):
443 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 444
5f2c76c6
CY
4452012-06-03 Chong Yidong <cyd@gnu.org>
446
447 * bindings.el: Remove explicit help text from format-mode-line.
448 It is now supplied by mode-line-default-help-echo.
449 (mode-line-front-space, mode-line-end-spaces)
450 (mode-line-misc-info): New variables.
451 (mode-line-modes, mode-line-position): Move the default value to
452 the variable definition.
453 (mode-line-default-help-echo): New defcustom.
383f7350
CY
454 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
455 (mode-line-modified-help-echo): New functions.
456 (mode-line-mule-info, mode-line-modified): Use them.
457 (mode-line-eol-desc, propertized-buffer-identification):
458 Consistency fixes for help text.
cbe46e5f
CY
459 (mode-line-coding-system-map): Allow using mouse-3 to invoke
460 set-buffer-file-coding-system (Bug#289).
461 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 462
f2d6a3df
SM
4632012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * simple.el (execute-extended-command): Set real-this-command
466 (bug#11506).
467
37269466
CY
4682012-06-02 Chong Yidong <cyd@gnu.org>
469
470 Remove incorrect uses of "modeline" in comments, docstrings, and
471 function/variable names (Bug#10329).
472
473 * cus-edit.el (mode-line):
474 * dframe.el (dframe-mouse-hscroll):
475 * emacs-lisp/re-builder.el:
476 * emacs-lisp/easy-mmode.el (define-minor-mode):
477 * frame.el (set-frame-name):
478 * help.el (lookup-minor-mode-from-indicator):
479 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
480 * progmodes/cc-cmds.el (c-toggle-auto-newline)
481 (c-toggle-hungry-state):
482 * progmodes/antlr-mode.el (antlr-language-alist):
483 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
484 * progmodes/vhdl-mode.el (vhdl-mode):
485 * progmodes/which-func.el (which-func, which-func-cleanup-function):
486 * term/ns-win.el (ns-face-at-pos):
487 * term/sup-mouse.el (sup-mouse-report):
488 * textmodes/flyspell.el (flyspell-mode-line-string):
489 * textmodes/ispell.el (ispell-highlight-face):
490 * textmodes/reftex-global.el:
491 * vc/vc-arch.el (vc-arch-mode-line-string):
492 * vc/vc-cvs.el (vc-cvs-mode-line-string):
493 * vc/vc-git.el (vc-git-mode-line-string):
494 * vc/vc-hooks.el (vc-display-status)
495 (vc-default-mode-line-string):
496 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
497
498 * ansi-color.el (ansi-color-faces-vector): Change default faces.
499
500 * dired.el (dired-sort-set-mode-line): Rename from
501 dired-sort-set-modeline. All callers changed.
502
503 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
504 eshell-status-in-modeline.
505
506 * foldout.el (foldout-mode-line-string): Rename from
507 foldout-modeline-string. All callers changed.
508 (foldout-update-mode-line): Rename from foldout-update-modeline.
509
510 * subr.el (redraw-modeline): Make into obsolete alias.
511
512 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
513 timeclock-modeline-display. Make old name an alias.
514 (timeclock-update-mode-line): Likewise. All callers changed.
515 (timeclock-mode-line-display): No need to check before using
516 add-hook.
517 (timeclock-relative, timeclock-day-over-hook)
518 (timeclock-use-elapsed, timeclock-mode-string)
519 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
520
521 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
522 crisp-mode-modeline-string.
523
524 * play/solitaire.el (solitaire-build-mode-line): Rename from
525 solitaire-build-modeline. All callers changed.
526
527 * play/zone.el (zone-hiding-mode-line): Rename from
528 zone-hiding-modeline. All callers changed.
529 (zone): Remove unusued `modeline-hidden-level' property.
530
531 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
532 xscheme-modeline-initialize. All callers changed.
533
534 * strokes.el (strokes-lighter): Rename from
535 strokes-modeline-string.
536
537 * textmodes/sgml-mode.el (html-face-tag-alist)
538 (html-tag-face-alist): Use mode-line face instead of obsolete
539 alias modeline.
540
42152ee4
SM
5412012-06-02 Stefan Merten <smerten@oekonux.de>
542
543 * textmodes/rst.el: Always require `cl'.
4cf9b38d 544 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 545
95f520b5
CY
5462012-06-02 Chong Yidong <cyd@gnu.org>
547
548 * image.el (imagemagick-enabled-types): Rename from
549 imagemagick-types-enable. Add many more types.
550 (imagemagick-types-inhibit): Change default to nil.
551 (imagemagick-filter-types): Caller changed.
552
4a5f187a
SM
5532012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
554
03fef3e6
SM
555 * emacs-lisp/cl-macs.el: Use backquotes.
556 (cl-transform-function-property): Use eval-and-compile rather than
557 abusing `require'.
558 (defstruct): Use declare-function instead of with-no-warnings.
559
4a5f187a
SM
560 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
561 (byte-compile-output-docform): Re-add the print-circle bindings.
562 (byte-compile-fix-header): Use #$ just because it's shorter.
563 (byte-compile-output-file-form): Remove defun/defmacro.
564
bd56924f
MR
5652012-06-01 Martin Rudalics <rudalics@gmx.at>
566
567 * simple.el (choose-completion): Remove now obsolete binding for
568 owindow.
569
046e38ce
MA
5702012-06-01 Michael Albinus <michael.albinus@gmx.de>
571
572 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
573 in order to avoid "Stack overflow in regexp matcher".
574
32d72c2f
GM
5752012-05-31 Glenn Morris <rgm@gnu.org>
576
577 * image.el: For clarity, call imagemagick-register-types at
578 top-level, rather than relying on a custom :initialize.
579 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
580 (imagemagick-filter-types): New function. (Bug#7406)
581 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
582 If disabling support, remove elements altogether rather
583 than using an impossible regexp.
584 (imagemagick-types-inhibit): Give it the default init function.
585
dd41169b
SM
5862012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
587
4a5f187a
SM
588 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
589 Handle arbitrary file name lengths (Bug#11585).
dd41169b 590
efc00ab1 5912012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
592
593 * desktop.el (desktop-read): Clear previous and next buffers for
594 all windows and bury *Messages* buffer (bug#11556).
595
500fcedc
SM
5962012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 Add `declare' for `defun'. Align `defmacro's with it.
599 * emacs-lisp/easy-mmode.el (define-minor-mode)
600 (define-globalized-minor-mode): Don't autoload the var definitions.
601 * emacs-lisp/byte-run.el: Use lexical-binding.
602 (defun-declarations-alist, macro-declarations-alist): New vars.
603 (defmacro, defun): Use them.
604 (make-obsolete, define-obsolete-function-alias)
605 (make-obsolete-variable, define-obsolete-variable-alias):
606 Use `declare'.
607 (macro-declaration-function): Mark obsolete.
608 * emacs-lisp/autoload.el: Use lexical-binding.
609 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
610
6e8a1786
AM
6112012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
612
613 * textmodes/ispell.el (ispell-with-no-warnings):
614 Define as a macro.
500fcedc
SM
615 (ispell-kill-ispell, ispell-change-dictionary):
616 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
617 `interactive-p'.
618
61b108cc
SM
6192012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
620
621 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
622 (macro-declaration-function): Move var from C code.
623 (macro-declaration-function): Define function with defalias.
624 * emacs-lisp/macroexp.el (macroexpand-all-1):
625 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
626 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
627 defun/defmacro any more.
628 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
629 Provide fallback for unknown arglist.
630 (byte-compile-arglist-warn): Change calling convention.
631 (byte-compile-output-file-form): Move print-vars binding.
632 (byte-compile-output-docform): Simplify accordingly.
633 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
634 (byte-compile-defmacro-declaration): Remove.
635 (byte-compile-file-form-defmumble): Generalize to defalias.
636 (byte-compile-output-as-comment): Return byte-positions.
637 Simplify callers accordingly.
638 (byte-compile-lambda): Use `assert'.
639 (byte-compile-defun, byte-compile-defmacro): Remove.
640 (byte-compile-file-form-defalias):
641 Use byte-compile-file-form-defmumble.
642 (byte-compile-defalias-warn): Remove.
643
6d3f7c2f
SM
6442012-05-29 Stefan Merten <smerten@oekonux.de>
645
646 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 647 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
648
649 (rst-mode-abbrev-table): Merge definition.
650 (rst-mode): Make sure `font-lock-defaults' is buffer local.
651 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
652
6dbaa1c7
UJ
6532012-05-29 Ulf Jasper <ulf.jasper@web.de>
654
655 * calendar/icalendar.el
656 (icalendar-export-region): Export UID properly.
657
6582012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
659 * calendar/icalendar.el (icalendar-import-format):
660 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
661 (icalendar-import-format-uid): New.
662 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
663 Export UID.
664
6876a58d
SM
6652012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
668 different alternative patterns.
669 (pcase-codegen): Be more careful to preserve identity.
670 (pcase--u1): Don't forget to mark vars as used.
671
672 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
673 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
674 (byte-compile-from-buffer): ...rather than here.
675
676 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
677 functions from byte-compile-function-environment.
678
46b7967e
TN
6792012-05-29 Troels Nielsen <bn.troels@gmail.com>
680
681 * window.el (window-deletable-p): Avoid deleting the root window
682 of a frame with an active minibuffer.
683
69d565e2
MR
6842012-05-29 Martin Rudalics <rudalics@gmx.at>
685
686 * simple.el (choose-completion): Use quit-window (Bug#11567).
687
a149fa51
CY
6882012-05-29 Chong Yidong <cyd@gnu.org>
689
690 * whitespace.el (whitespace-cleanup): Fix usage of
691 whitespace-empty-at-bob-regexp (Bug#11492).
692
2b311310
AH
6932012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
694
695 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
696 revert (Bug#11488).
697
b9cb2387
JL
6982012-05-29 Juri Linkov <juri@jurta.org>
699
700 * isearch.el (isearch-mode-map): Bind `M-s _' to
701 `isearch-toggle-symbol'. Bind `M-s c' to
702 `isearch-toggle-case-fold'.
703 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
704 (isearch-forward): Add `M-s _' to the docstring.
705 (isearch-forward-symbol, isearch-toggle-case-fold)
706 (isearch-symbol-regexp): New functions. (Bug#11381)
707
d5e61c1c
JL
7082012-05-29 Juri Linkov <juri@jurta.org>
709
710 * isearch.el (isearch-word): Add docstring. (Bug#11381)
711 (isearch-occur, isearch-search-and-update): If `isearch-word' is
712 a function, call it to get the regexp.
713 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
714 property `isearch-message-prefix' instead of the string "word ".
715 (isearch-search-fun-default): For the case of `isearch-word',
716 return a lambda that calls re-search-forward/re-search-backward
717 with a regexp returned by `word-search-regexp' or by the function
718 in `isearch-word'.
719
8cbd80f7
JL
7202012-05-29 Juri Linkov <juri@jurta.org>
721
722 * isearch.el (isearch-search-fun-default): New function.
723 (isearch-search-fun): Move default part to the new function
724 `isearch-search-fun-default'.
725 (isearch-search-fun-function): Set the default value to
726 `isearch-search-fun-default'. (Bug#11381)
727
728 * comint.el (comint-history-isearch-end):
729 Use `isearch-search-fun-default'.
730 (comint-history-isearch-search): Use `isearch-search-fun-default'
731 and remove spacial case for `isearch-word'.
732 (comint-history-isearch-wrap): Remove spacial case for
733 `isearch-word'.
734
735 * hexl.el (hexl-isearch-search-function):
736 Use `isearch-search-fun-default'.
737
738 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
739 Use `word-search-regexp' for `isearch-word'.
740
741 * misearch.el (multi-isearch-search-fun):
742 Use `isearch-search-fun-default'.
743
744 * simple.el (minibuffer-history-isearch-search):
745 Use `isearch-search-fun-default' and remove spacial case for
746 `isearch-word'.
747 (minibuffer-history-isearch-wrap): Remove spacial case for
748 `isearch-word'.
749
750 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
751 Remove spacial case for `isearch-word'.
752 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
753
85c8c5b6
AM
7542012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
755
756 Decrease XEmacs incompatibilities.
757 * textmodes/flyspell.el (flyspell-check-pre-word-p):
758 Use `string-match'.
759 (flyspell-delete-region-overlays): Use alternative definition for
760 XEmacs.
761 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
762 (flyspell-word): Use `process-kill-without-query' if XEmacs.
763 (flyspell-mode-on): Use `interactive-p' if XEmacs.
764 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
765 `define-obsolete-face-alias' under XEmacs, but old method.
766
767 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
768 `with-no-warnings' definition or Emacs alias.
769 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
770 (ispell-word): Do not use `region-p' if XEmacs.
771
8cab9efc
AM
7722012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
773
774 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
775 Check for `ispell-dictionary-base-alist' instead of full
776 `ispell-dictionary-alist'.
777 (ispell-init-process): Show spellchecker when starting new Ispell
778 process.
779
fda91268
RZ
7802012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
783 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
784
694ea8e3
JB
7852012-05-27 Juanma Barranquero <lekktu@gmail.com>
786
787 * version.el (motif-version-string, gtk-version-string)
788 (ns-version-string): Declare.
789
e4d4f539
JL
7902012-05-27 Juri Linkov <juri@jurta.org>
791
792 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
793 after the `eval-defun-1' specialcaseing
794 like in `edebug-eval-defun' (bug#10181).
795
796 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
797 like in `eval-defun-1'.
798
33017faf 7992012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 800
fda91268
RZ
801 * mail/sendmail.el (mail-yank-region):
802 Recognize rmail-yank-current-message in addition to insert-buffer.
803 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
804 a *mail* buffer created through rmail-start-mail with sendmail as
805 mail-user-agent.
806
33017faf
GM
8072012-05-27 Chong Yidong <cyd@gnu.org>
808
809 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
810 Default to 256 (Bug#11267).
811
812 * help.el (describe-mode): Doc fix.
813
04188bb9
GM
8142012-05-26 Glenn Morris <rgm@gnu.org>
815
38264cc9
GM
816 * w32-fns.el (w32-init-info): Remove.
817 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
818
eb7afdad
GM
819 * info.el (info-initialize): For self-contained NS builds, put the
820 included info/ directory at the front. (Bug#2791)
821
04188bb9
GM
822 * paths.el (Info-default-directory-list): Make it a defcustom,
823 mainly so that we can use custom-initialize-delay.
824
a179e3f7
SM
8252012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
826
43416392
SM
827 * subr.el (buffer-has-markers-at): Mark obsolete.
828
a179e3f7 829 * subr.el (lambda): Use declare.
43416392 830
a179e3f7
SM
831 * emacs-lisp/lisp-mode.el (lambda):
832 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
833
34a008d9
AH
8342012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
835
836 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
837
0a3b289f
GM
8382012-05-26 Glenn Morris <rgm@gnu.org>
839
840 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
841
758c81e8
GM
8422012-05-25 Glenn Morris <rgm@gnu.org>
843
f9f334f0
GM
844 * paths.el: Remove no-byte-compile.
845 * loadup.el: No need to load paths.el uncompiled.
846
87eb79c2
GM
847 * image.el (imagemagick-types-inhibit): Doc fix.
848
758c81e8
GM
849 * version.el: Remove no-byte-compile and associated formatting.
850 * loadup.el: No need to load version.el uncompiled. AFAICS, this
851 is ancient code from when there was an "inc-vers.el".
852
e7e85dc0
SM
8532012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
854
855 * progmodes/gdb-mi.el: Minor style changes.
856 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
857 Turn into minor modes.
858 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
859 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
860 (gdb-shell): Remove unneeded let-binding.
861 (gdb-get-many-fields): Eliminate O(n²) behavior.
862
f31237a4
EZ
8632012-05-25 Eli Zaretskii <eliz@gnu.org>
864
865 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
866 platforms that don't link in fontset.c.
867
bc1b21bb
JL
8682012-05-25 Juri Linkov <juri@jurta.org>
869
870 Use the same diff color scheme as in modern VCSes (bug#10181).
871
872 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
873 to avoid confusion with `diff-added' that now uses green colors.
874 (diff-removed): Use shades of red.
875 (diff-added): Use shades of green.
876 (diff-changed): Leave just the yellow color.
877 (diff-use-changed-face): New variable.
878 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
879 how to highlight context diff changes.
880 (diff-refine-change): Use shades of yellow.
881 (diff-refine-removed): New face that uses shades of red.
882 (diff-refine-added): New face that uses shades of green.
883 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
884 `diff-refine-removed' in the call to `smerge-refine-subst'
885 depending on the value of `diff-use-changed-face'.
886
887 * vc/smerge-mode.el (smerge-mine): Use shades of red.
888 (smerge-other): Use shades of green.
889 (smerge-base): Use shades of yellow.
890 (smerge-refined-change): Empty face.
891 (smerge-refined-removed): New face that uses shades of red.
892 (smerge-refined-added): New face that uses shades of green.
893 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
894 args `props-r' and `props-a', and use them. Doc fix.
895 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
896 on its value use different faces `smerge-refined-change',
897 `smerge-refined-removed', `smerge-refined-added' in the call to
898 `smerge-refine-subst'.
899
900 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
901 Add face condition `min-colors 88' with shades of red.
902 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
903 `min-colors 88' with shades of green.
904 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
905 `min-colors 88' with shades of yellow.
906
6df9112c
GM
9072012-05-24 Glenn Morris <rgm@gnu.org>
908
ead5edc0
GM
909 * paths.el (prune-directory-list, remote-shell-program): Move to...
910 * files.el (prune-directory-list, remote-shell-program): ...here.
911 For the latter, delay initialization, prefer ssh, just search PATH.
912
f18b81e6
GM
913 * paths.el (term-file-prefix): Move to faces.el (the only user).
914 * faces.el (term-file-prefix): Move here, make it a defcustom.
915
ee2f89a6
GM
916 * paths.el (news-directory, news-path, news-inews-program):
917 Move to gnus/nnspool.el.
61a583ca 918
f8815e4c
GM
919 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
920
c8f3b42c
GM
921 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
922 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
923 Make the latter a defcustom, with a delayed initialization.
924
6df9112c
GM
925 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
926 These were deleted from Gnus itself late 2010.
927
5dadff36
JB
9282012-05-22 Juanma Barranquero <lekktu@gmail.com>
929
9e1701c6
JB
930 * progmodes/which-func.el (which-func-ff-hook):
931 Check against user-error, not error.
932
bd7239f5 933 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
934 cl-specs.el, which no longer exists.
935
3290526d
GM
9362012-05-22 Glenn Morris <rgm@gnu.org>
937
938 * info.el (info-emacs-bug): New command.
939 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
940 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
941
ff0c3cfb
GM
9422012-05-21 Glenn Morris <rgm@gnu.org>
943
944 * makefile.w32-in (update-subdirs-SH):
945 * Makefile.in (update-subdirs): Update for moved update-subdirs.
946
5814f126
SM
9472012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
948
a52c0aa0
SM
949 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
950
5814f126
SM
951 * progmodes/compile.el (compilation-error-regexp-alist-alist):
952 Simplify Maven regexp, and make sure the file can't start with a space
953 (bug#11517).
954
b847032c
GM
9552012-05-21 Glenn Morris <rgm@gnu.org>
956
957 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
958 Scrap superfluous subshells.
959
3858bfe7
SM
9602012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
961
962 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
963 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
964
d14b0029
JB
9652012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
966
967 * calc/calc.el (calc-ensure-consistent-units): New variable.
968
a52c0aa0
SM
969 * calc/calc-units.el (math-consistent-units-p)
970 (math-check-unit-consistency): New functions.
971 (calc-quick-units, calc-convert-units):
972 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
973 is non-nil.
d14b0029
JB
974 (calc-extract-units): Fix typo.
975
60c4db3a
SM
9762012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
977
77f3b62e
SM
978 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
979
60c4db3a
SM
980 * textmodes/flyspell.el: Commenting style, plus code simplifications.
981 (flyspell-default-deplacement-commands): Don't spell check after
982 repeated window/frame switches (e.g. triggered by mouse-movement).
983 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
984 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
985 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
986 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
987 Remove unused vars.
988 (flyspell-get-casechars, flyspell-get-not-casechars):
989 Simplify; Don't bother removing a ] just to add it back.
990 * textmodes/ispell.el (ispell-program-name): Use executable-find.
991
b1a10716
RS
9922012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
993
994 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
995 New functions.
bd7239f5 996 (math-function-table): Add support for more C functions.
b1a10716 997
3f1b25b5
AM
9982012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
999
1000 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1001 (flyspell-debug-signal-word-checked): Protect delay handling for
1002 otherchars against empty otherchars.
1003
b581bb5c
SM
10042012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1007 their respective macro declarations.
1008 * skeleton.el (define-skeleton):
1009 * progmodes/compile.el (define-compilation-mode):
1010 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1011 (define-ibuffer-filter):
1012 * emacs-lisp/generic.el (define-generic-mode):
1013 * emacs-lisp/easy-mmode.el (define-minor-mode)
1014 (define-globalized-minor-mode):
1015 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1016 * emacs-lisp/byte-run.el (defsubst):
1017 * custom.el (deftheme): Add doc-string metadata.
1018
70b8ef8f
SM
10192012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1022
b1198e17
SM
10232012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1024
9abdc45d
SM
1025 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1026
b1198e17
SM
1027 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1028 * emacs-lisp/cl-macs.el: Idem.
1029 * emacs-lisp/cl-specs.el: Remove.
1030
4735906a
SM
10312012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1032
1033 Minor renaming of internal CL functions and variables.
1034 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1035 (cl--position): Rename from cl-position.
1036 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1037 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1038 (cl--random-state): Rename from *random-state*.
1039
ac348012
SM
10402012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1041
1042 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1043 parens around the arg list (bug#11499).
1044
a0a79cde
JL
10452012-05-17 Juri Linkov <juri@jurta.org>
1046
1047 * isearch.el (word-search-regexp, word-search-backward)
1048 (word-search-forward, word-search-backward-lax)
1049 (word-search-forward-lax): Move functions from search.c
1050 (bug#10145, bug#11381).
1051
65034a51
AM
10522012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1053
1054 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1055 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1056 normal word components.
1057
1a72a195
SM
10582012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * minibuffer.el (completion--sifn-requote): Fix last change.
1061 (minibuffer-local-must-match-filename-map):
1062 Move define-obsolete-variable-alias before its var.
1063
fdb058c2
SM
10642012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1065
c41045e6
SM
1066 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1067
036dfb8b
SM
1068 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1069 behavior.
1070 (completion--string-equal-p): New function.
1071 (completion--twq-all): Use it to get better assertion failure data.
1072
2473256d
SM
1073 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1074 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1075 (shell--requote-argument): New functions.
1076 (shell-completion-vars): Use them.
1077 (shell--parse-pcomplete-arguments): Rename from
1078 shell-parse-pcomplete-arguments.
1079 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1080 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1081 Obey comint-file-name-quote-list.
1082
fdb058c2
SM
1083 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1084 (smie-indent-keyword): Use it.
1085
51fa99f1
SM
10862012-05-14 Stefan Merten <smerten@oekonux.de>
1087
1088 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1089
e18afed7 10902012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1091
1092 * net/rlogin.el (rlogin-mode-map): Fix last change.
1093
e18afed7 10942012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1095
1096 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1097 the following \r\n using a single `process-send-string', since the
1098 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1099 with two `process-send-string's (Bug#11444).
8633b1f4 1100
e18afed7 11012012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1102
fdb058c2
SM
1103 * shell.el (shell-parse-pcomplete-arguments):
1104 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1105
2d21d7f6
WJ
11062012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1107
e18afed7 1108 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1109 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1110 (image-transform-width, image-transform-fit-width): New functions.
1111 (image-transform-properties): Use them.
1112 (image-transform-check-size): New function.
1113 (image-toggle-display-image): Use it (for testing).
1114 (image-transform-set-rotation): Reduce angle mod 360.
1115 Delete obsolete comment.
1116
7102e6d0
WJ
11172012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1118
1119 * image-mode.el: Fix scaling (bug#11399).
1120 (image-transform-resize): Doc fix.
1121 (image-transform-properties): Default scale is 1 and height should
1122 be an integer.
1123
06bc5e6e
SM
11242012-05-13 Johan Bockgård <bojohan@gnu.org>
1125
1126 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1127 than hard-coding `car', to fix misbehavior when moving forward.
1128
0ae03b6a
CY
11292012-05-13 Chong Yidong <cyd@gnu.org>
1130
1131 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1132 (tabulated-list-entries, tabulated-list-padding)
1133 (tabulated-list-sort-key): Make permanent-local.
1134
1135 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1136 (electric-buffer-list): Put electric buffer menu
1137 command descriptions in this docstring, instead of the docstring
1138 of electric-buffer-menu-mode. Code cleanups.
1139 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1140 Electric-buffer-menu-mode.
1141 (electric-buffer-update-highlight): Minor code cleanup.
1142
205a7391
MA
11432012-05-13 Michael Albinus <michael.albinus@gmx.de>
1144
1145 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1146 (Bug#11447)
1147
e5bd0a28
SM
11482012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1149
1150 Move define-obsolete-variable-alias before the var's definition.
1151 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1152 * tooltip.el (tooltip-hook):
1153 * textmodes/reftex-toc.el (reftex-toc-map):
1154 * textmodes/reftex-sel.el (reftex-select-label-map)
1155 (reftex-select-bib-map):
1156 * textmodes/reftex-index.el (reftex-index-map)
1157 (reftex-index-phrases-map):
1158 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1159 * progmodes/meta-mode.el (meta-mode-map):
1160 * novice.el (disabled-command-hook):
1161 * loadhist.el (unload-hook-features-list):
1162 * frame.el (blink-cursor):
1163 * files.el (find-file-not-found-hooks, write-file-hooks)
1164 (write-contents-hooks):
1165 * emulation/tpu-edt.el (GOLD-map):
1166 * emacs-lock.el (emacs-lock-from-exiting):
1167 * emacs-lisp/generic.el (generic-font-lock-defaults):
1168 * emacs-lisp/chart.el (chart-map):
1169 * dos-fns.el (register-name-alist):
1170 * dired-x.el (dired-omit-files-p):
1171 * desktop.el (desktop-enable):
1172 * cus-edit.el (custom-mode-hook):
1173 * buff-menu.el (buffer-menu-mode-hook):
1174 * bookmark.el (bookmark-read-annotation-text-func)
1175 (bookmark-exit-hooks):
1176 * allout.el (allout-mode-deactivate-hook)
1177 (allout-exposure-change-hook, allout-structure-added-hook)
1178 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1179 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1180 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1181 comes before the corresponding variable's definition.
1182
ac59c2f6
CY
11832012-05-12 Chong Yidong <cyd@gnu.org>
1184
1185 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1186 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1187 (Buffer-menu-mode-map): Bind it.
1188 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1189
dee6c9a3
SM
11902012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1191
2171cea5
SM
1192 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1193 (prolog-upper-case-string, prolog-lower-case-string)
1194 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1195 (prolog-use-smie, prolog-smie-grammar): New vars.
1196 (prolog-smie-forward-token, prolog-smie-backward-token)
1197 (prolog-smie-rules): New funs.
1198 (prolog-comment-indent): Remove.
1199 (prolog-mode-variables): Use default comment indentation instead.
1200 Setup SMIE.
1201 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1202 (prolog-mode): Don't call them any more.
1203 (prolog-electric-colon, prolog-electric-dash)
1204 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1205
aa0382bd
SM
1206 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1207
dbacb4bd
SM
1208 * minibuffer.el (completion--twq-all): Again, allow case differences.
1209
13bdd94c
SM
1210 * term.el: Move keymap initialization code to be more idiomatic.
1211 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1212 (term-terminal-menu): Move initialization into declaration.
1213 (term-escape-char): Let the user set it in her .emacs.
1214
ff46c759
SM
1215 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1216 Provide SMIE-based indentation (not enabled by default yet).
1217 (sh-mode-map): Don't bind electric keys.
1218 Use electric-pair-mode instead of skeleton-pair.
1219 (sh-assignment-regexp): Fit within 80 columns.
1220 (sh-indent-supported): Specify actual shell name instead of boolean.
1221 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1222 (sh-maybe-here-document): Use it. Make obsolete.
1223 (sh-electric-here-document-mode) New minor mode.
1224 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1225 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1226 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1227 (sh-smie-rc-grammar, sh-use-smie): New vars.
1228 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1229 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1230 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1231 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1232 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1233 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1234 (sh-set-shell): Use smie-setup if requested.
1235
dee6c9a3
SM
1236 * term.el (term-set-escape-char): Properly set term-escape-char.
1237 See http://stackoverflow.com/questions/10524656.
1238
9f9aa044
CY
12392012-05-10 Chong Yidong <cyd@gnu.org>
1240
1241 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1242 Use url-generic-parse-url, and handle host names and Windows
1243 filenames properly.
1244 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1245 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1246 URL schemes to work on.
1247 (ffap--toggle-read-only): New function.
1248 (ffap-read-only, ffap-read-only-other-window)
1249 (ffap-read-only-other-frame): Use it.
1250 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1251 necessary for ffap-url-unwrap-remote.
1252
836d29b3
DA
12532012-05-10 Dave Abrahams <dave@boostpro.com>
1254
1255 * cus-start.el (create-lockfiles): Add it.
1256
00fd78ed
CY
12572012-05-09 Chong Yidong <cyd@gnu.org>
1258
1259 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1260 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1261
666b903b 12622012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1263
1264 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1265
666b903b 12662012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1267
1268 * ansi-color.el (ansi-color-process-output): Check for validity of
1269 comint-last-output-start before using it. This avoids a bad
1270 interaction with gdb-mi's input/output buffer.
1271
666b903b 12722012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1273
1274 * files.el (dir-locals-read-from-file):
1275 Mention dir-locals in any error message.
1276
666b903b 12772012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1278
1279 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1280 package (Bug#11410).
1281
f677562b
CY
1282 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1283 variables into description.
1284
666b903b 12852012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1286
1287 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1288 shell-delimiter-argument-list (bug#11348).
1289 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1290
b499d8d0
JB
12912012-05-09 Juanma Barranquero <lekktu@gmail.com>
1292
8f6b6da8
JB
1293 * textmodes/rst.el: Silence byte-compiler warnings.
1294 (rst-re-alist, rst-reset-section-caches): Move around.
1295 (rst-re): Use `characterp', not `char-valid-p'.
1296 (font-lock-beg, font-lock-end): Declare.
1297
4824146a
JB
1298 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1299 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1300
b499d8d0
JB
1301 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1302
ad89bb83
GM
13032012-05-08 Glenn Morris <rgm@gnu.org>
1304
1305 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1306
8bba5a75
SM
13072012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1308
49ed9c8e
SM
1309 * vc/log-edit.el: Add GNU coding standards highlighting.
1310 (log-edit-font-lock-gnu-style)
1311 (log-edit-font-lock-gnu-keywords): New vars.
1312 (log-edit-font-lock-keywords): New fun.
1313 (log-edit-mode): Don't fold case in font-lock.
1314 (log-edit-font-lock-keywords): Do not assume case-folding.
1315
07d00b56
SM
1316 * imenu.el: Misc cleanup. Make docstrings out of comments.
1317 Use lexical-binding.
1318 (imenu--index-alist, imenu--last-menubar-index-alist)
1319 (imenu-menubar-modified-tick): Use defvar-local.
1320 (imenu--split-menu): Remove unused var.
1321 (imenu--cleanup-seen): Declare as global.
1322 (imenu--cleanup): Use dolist.
1323
8bba5a75
SM
1324 * subr.el (defvar-local): Add debug spec and doc-string position.
1325
5075bdb5
GM
13262012-05-08 Glenn Morris <rgm@gnu.org>
1327
c052c904
GM
1328 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1329 * language/english.el, language/georgian.el, language/greek.el:
1330 * language/japanese.el, language/khmer.el, language/korean.el:
1331 * language/lao.el, language/misc-lang.el, language/romanian.el:
1332 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1333 * language/thai.el, language/utf-8-lang.el:
1334 Remove no-byte-compile setting.
1335
5075bdb5
GM
1336 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1337
06f679a7
AH
13382012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1339
1340 * progmodes/make-mode.el (makefile-browse):
1341 Remove unnecessary interactive. (Bug#11324)
1342
03794570
GM
13432012-05-07 Glenn Morris <rgm@gnu.org>
1344
af8630f4
GM
1345 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1346
03794570
GM
1347 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1348
f0809a9d
SM
13492012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1350
28be5ce7
SM
1351 * loadup.el: Preload newcomment.el.
1352 * newcomment.el: Move autoload-only code to toplevel.
1353
f0809a9d
SM
1354 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1355 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1356 Handle new :right-align column property.
1357 (tabulated-list-print-col): Idem, plus use `display' text-property to
1358 try and preserve alignment for variable pitch fonts.
1359
1241b724
CY
13602012-05-07 Chong Yidong <cyd@gnu.org>
1361
1362 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1363 (tabulated-list-use-header-line): New var.
1364 (tabulated-list-init-header): Use it.
1365 (tabulated-list-print-fake-header): New function.
1366 (tabulated-list-print): Use it.
1367 (tabulated-list-sort-button-map): Add non-header-line commands.
1368 (tabulated-list-init-header): Add column name property to basic
1369 labels as well.
1370 (tabulated-list-col-sort): Handle non-header-line button case.
1371 (tabulated-list--sort-by-column-name): Fix a corner case.
1372
f0809a9d
SM
1373 * buff-menu.el (list-buffers--refresh):
1374 Handle Buffer-menu-use-header-line.
1241b724 1375
e5f9458f
CY
13762012-05-06 Chong Yidong <cyd@gnu.org>
1377
1378 * buff-menu.el: Convert to Tabulated List mode.
1379 (Buffer-menu-buffer+size-width): Make obsolete.
1380 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1381 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1382 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1383 documentation into docstring of buffer-menu.
1384 (Buffer-menu-toggle-files-only): Add an informative message.
1385 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1386 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1387 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1388 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1389 (Buffer-menu-execute, Buffer-menu-select)
1390 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1391 (Buffer-menu-bury): Use Tabulated List machinery.
1392 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1393 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1394 Delete.
e5f9458f
CY
1395 (list-buffers--refresh): New function.
1396 (list-buffers-noselect): Use it.
1397 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1398 (Buffer-menu--pretty-file-name): New helper functions.
1399
1400 * loadup.el: Preload tabulated-list.
1401
1402 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1403 tabulated-list-sort-column.
1404 (tabulated-list-init-header): Add the initial aligning space even
1405 if tabulated-list-padding is zero.
1406
e129292c
CS
14072012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1408
1409 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1410 whose cdr is not a cons cell correctly (bug#11038).
1411
6632d361
CY
14122012-05-06 Chong Yidong <cyd@gnu.org>
1413
e129292c
CS
1414 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1415 Accept additional plist in column descriptors.
6632d361
CY
1416 (tabulated-list-init-header): Obey it.
1417 (tabulated-list-get-entry): New function.
1418 (tabulated-list-put-tag): Use it. Use string-width instead of
1419 length.
1420 (tabulated-list--column-number): New function.
1421 (tabulated-list-print): Use it.
e129292c
CS
1422 (tabulated-list-print-col): New function.
1423 Set `tabulated-list-column-name' property on each column's text.
6632d361 1424 (tabulated-list-print-entry): Use it.
e129292c
CS
1425 (tabulated-list-delete-entry, tabulated-list-set-col):
1426 New functions.
6632d361
CY
1427 (tabulated-list-sort-column): New command (Bug#11337).
1428
3cc99f68
CY
1429 * buff-menu.el (list-buffers): Move C-x C-b binding from
1430 buff-menu.el to bindings.el.
1431
1432 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1433 :advertised-binding feature.
1434
52b61776
TN
14352012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1436
1437 * progmodes/compile.el (compilation-internal-error-properties):
1438 Calculate start position correctly when end-col is set but
1439 end-line is not (Bug#11382).
1440
ebfe2597
WJ
14412012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1442
1443 * man.el (Man-unindent): Use text-property-default-nonsticky to
1444 prevent untabify from inheriting face properties (Bug#11408).
1445
6d3f7c2f
SM
14462012-05-05 Stefan Merten <smerten@oekonux.de>
1447
1448 * textmodes/rst.el: Major merge with upstream development up to
1449 Docutils SVN r7399 / rst.el V1.2.1.
1450
1451 Clarify maintainership and authors.
1452
1453 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1454 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1455 (rst-official-version, rst-official-cvs-rev, rst-version)
1456 (rst-package-emacs-version-alist): New functions and variables
1457 for version information.
1458
1459 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1460 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1461 (rst-mode-syntax-table, rst-mode): New and corrected functions
1462 and variables representing reStructuredText features.
1463
1464 (rst-re): New function for reStructuredText regexes. Use in
1465 many places.
1466
1467 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1468 (rst-mode-map): Rebind keys.
1469
1470 (rst-mode-lazy, rst-font-lock-keywords)
1471 (rst-font-lock-extend-region)
1472 (rst-font-lock-extend-region-internal)
1473 (rst-font-lock-extend-region-extend)
1474 (rst-font-lock-find-unindented-line-limit)
1475 (rst-font-lock-find-unindented-line-match)
1476 (rst-adornment-level, rst-font-lock-adornment-level)
1477 (rst-font-lock-adornment-match)
1478 (rst-font-lock-handle-adornment-pre-match-form)
1479 (rst-font-lock-handle-adornment-matcher): Major revision of
1480 font-locking. Integrate with other code. Use `jit-lock-mode'.
1481
1482 (rst-preferred-adornments, rst-adjust-hook)
1483 (rst-new-adornment-down, rst-preferred-bullets)
1484 (rst-preferred-bullets, rst-indent, rst-indent-width)
1485 (rst-indent-field, rst-indent-literal-normal)
1486 (rst-indent-literal-minimized, rst-indent-comment): Change,
1487 extend and improve customization.
1488
1489 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1490 (rst-normalize-cursor-position, rst-get-decoration)
1491 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1492 (rst-rstrip, rst-toc-insert-find-delete-contents)
1493 (rst-shift-fill-region, rst-compute-bullet-tabs)
1494 (rst-debug-print-tabs, rst-debug-mark-found)
1495 (rst-shift-region-guts, rst-shift-region-right)
1496 (rst-shift-region-left, rst-use-char-classes)
1497 (rst-font-lock-keywords-function)
1498 (rst-font-lock-indentation-point)
1499 (rst-font-lock-find-unindented-line-begin)
1500 (rst-font-lock-find-unindented-line-end)
1501 (rst-font-lock-find-unindented-line)
1502 (rst-font-lock-adornment-point, rst-font-lock-level)
1503 (rst-adornment-level-alist): Remove functions and variables.
1504
1505 (rst-compare-adornments, rst-get-adornment-match)
1506 (rst-suggest-new-adornment, rst-get-adornments-around)
1507 (rst-adornment-complete-p, rst-get-next-adornment)
1508 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1509 (rst-straighten-adornments): Standardize function names to
1510 use "adornment" instead of "decoration". Correct callers.
1511 Similar standardizing in many places.
1512
1513 (rst-update-section, rst-adjust, rst-promote-region)
1514 (rst-enumerate-region, rst-bullet-list-region)
1515 (rst-repeat-last-character): Correct use of `interactive'.
1516
1517 (rst-classify-adornment, rst-find-all-adornments)
1518 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1519 (rst-find-leftmost-column, rst-repeat-last-character):
1520 Refactor functions.
1521
1522 (rst-find-title-line, rst-reset-section-caches)
1523 (rst-get-adornments-around, rst-adjust-adornment-work)
1524 (rst-arabic-to-roman, rst-roman-to-arabic)
1525 (rst-insert-list-pos, rst-insert-list-new-item)
1526 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1527 New functions.
1528
1529 (rst-all-sections, rst-section-hierarchy)
1530 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1531 New variables.
1532
1533 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1534 configuration instead of only buffer. Change where necessary.
1535
1536 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1537 (rst-shift-region, rst-adaptive-fill): New functions for
1538 indentation and filling.
1539
1540 (rst-comment-line-break, rst-comment-indent)
1541 (rst-comment-insert-comment, rst-comment-region)
1542 (rst-uncomment-region): New functions for handling comments.
1543
1544 (rst-compile): Quote shell arguments.
1545
1546 (rst-compile-pdf-preview, rst-compile-slides-preview):
1547 Delete temporary files after use.
1548
a43f98b3
GM
15492012-05-05 Glenn Morris <rgm@gnu.org>
1550
48176e8b
GM
1551 * calendar/cal-html.el: Optionally include holidays in the output.
1552 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1553 (cal-html-holidays): New option.
1554 (cal-html-css-default): Add holiday entry.
1555 (holiday-in-range): Autoload it.
1556 (cal-html-htmlify-entry): Add optional class argument.
1557 (cal-html-htmlify-list): Add optional holidays argument.
1558 (cal-html-insert-agenda-days): Include holidays in the output.
1559 (cal-html-one-month): Maybe include holidays.
1560
a43f98b3
GM
1561 * calendar/holidays.el (holiday-in-range):
1562 Move here from cal-tex-list-holidays.
1563 * calendar/cal-tex.el (cal-tex-list-holidays):
1564 Make it an obsolete alias for holiday-in-range. Update all callers.
1565
fef9d149 15662012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1567
1568 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1569 Nextstep.
1570
248da2f4
RW
15712012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1572
1573 * files.el (file-auto-mode-skip): New var.
1574 (set-auto-mode-1): Use it.
1575
f95e9344
SM
15762012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1577
df96ab1e
SM
1578 * repeat.el: Use lexical-binding.
1579 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1580 (repeat-undo-count): Remove.
1581 (repeat):
1582 * progmodes/octave-mod.el (octave-abbrev-start):
1583 * progmodes/f90.el (f90-abbrev-start):
1584 * face-remap.el (text-scale-adjust):
1585 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1586
5342bb06
SM
1587 * emacs-lisp/pcase.el (pcase--let*): New function.
1588 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1589 a bit more.
1590 (pcase--split-pred): Be more clever about ruling out overlap between
1591 a predicate and some constant pattern.
1592 (pcase--q1): Use `null' instead of (eq foo nil).
1593
f95e9344
SM
1594 * subr.el (setq-local, defvar-local): New macros.
1595 (kbd): Redefine as an alias.
1596 (with-selected-window): Leave unrelated frames alone.
1597 (set-temporary-overlay-map): New function.
1598
71873e2b
SM
15992012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1600
1601 * subr.el (user-error): New function.
1602 * window.el (switch-to-buffer):
1603 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1604 (smerge-match-conflict):
1605 * simple.el (previous-matching-history-element)
1606 (next-matching-history-element, goto-history-element, undo-more)
1607 (undo-start):
1608 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1609 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1610 (next-file, tags-loop-scan, list-tags, complete-tag):
1611 * progmodes/compile.el (compilation-loop):
1612 * mouse.el (mouse-minibuffer-check):
1613 * man.el (Man-bgproc-sentinel, Man-goto-page):
1614 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1615 (Info-history-forward, Info-follow-reference, Info-menu)
1616 (Info-extract-menu-item, Info-extract-menu-counting)
1617 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1618 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1619 (Info-next-reference, Info-prev-reference, Info-index)
1620 (Info-index-next, Info-follow-nearest-node)
1621 (Info-copy-current-node-name):
1622 * imenu.el (imenu--make-index-alist)
1623 (imenu-default-create-index-function, imenu-add-to-menubar):
1624 * files.el (basic-save-buffer, recover-file):
1625 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1626 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1627 (checkdoc-message-text, checkdoc-defun):
1628 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1629 * cus-edit.el (customize-changed-options, customize-rogue)
1630 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1631 (custom-variable-mark-to-reset-standard)
1632 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1633 (custom-file):
1634 * completion.el (check-completion-length):
1635 * comint.el (comint-search-arg)
1636 (comint-previous-matching-input-string-position)
1637 (comint-previous-matching-input)
1638 (comint-replace-by-expanded-history-before-point, comint-send-input)
1639 (comint-copy-old-input, comint-backward-matching-input)
1640 (comint-goto-process-mark, comint-set-process-mark):
1641 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1642 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1643
8a61ee22
SM
16442012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1645
66408d1e
SM
1646 * dabbrev.el (dabbrev--ignore-case-p): New function.
1647 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1648 Use it.
1649
8a61ee22
SM
1650 * files.el (automount-dir-prefix): Mark as obsolete.
1651
3c74813a
GM
16522012-05-04 Glenn Morris <rgm@gnu.org>
1653
1654 * patcomp.el, play/bruce.el: Move to obsolete/.
1655
0bfcf5c5
PE
16562012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1657
1658 Fix minor Y10k bugs.
1659 * arc-mode.el (archive-unixdate):
1660 * autoinsert.el (auto-insert-alist):
1661 * calc/calc-forms.el (math-this-year):
1662 * emacs-lisp/copyright.el (copyright-current-year)
1663 (copyright-update-year, copyright):
1664 * tar-mode.el (tar-clip-time-string):
1665 * time.el (display-time-update):
1666 Don't assume years have 4 digits.
1667
78f3273a
CY
16682012-05-04 Chong Yidong <cyd@gnu.org>
1669
1670 * dos-w32.el (file-name-buffer-file-type-alist)
1671 (direct-print-region-use-command-dot-com):
1672 * ffap.el (ffap-menu-regexp):
1673 * find-file.el (ff-special-constructs):
1674 * follow.el (follow-debug):
1675 * forms.el (forms--debug):
1676 * iswitchb.el (iswitchb-all-frames):
1677 * ido.el (ido-all-frames):
1678 * emacs-lisp/timer.el (timer-max-repeats):
1679 * mail/feedmail.el (feedmail-mail-send-hook)
1680 (feedmail-mail-send-hook-queued):
1681 * mail/footnote.el (footnote-signature-separator):
1682 * mail/mailabbrev.el (mail-alias-separator-string)
1683 (mail-abbrev-mode-regexp):
1684 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1685 * progmodes/idlwave.el (idlwave-libinfo-file)
1686 (idlwave-default-completion-case-is-down)
1687 (idlwave-library-routines): Convert defvars to defcustoms.
1688
1689 * mail/rmail.el (rmail-decode-mime-charset):
1690 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1691 (idlwave-shell-fix-inserted-breaks)
1692 (idlwave-shell-activate-alt-keybindings)
1693 (idlwave-shell-use-breakpoint-glyph):
1694 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1695
f7ae6719
SM
16962012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1697
1698 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1699
47086495
WS
17002012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1701
1702 * progmodes/verilog-mode.el (font-lock-keywords):
1703 Fix mis-highligting auto. Reported by Craig Barner.
1704 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1705 defines from global name space. Reported by Dan Dever.
1706 (verilog-auto-reset, verilog-auto-reset-widths)
1707 (verilog-auto-tieoff): Support using unbased numbers for
1708 AUTORESET and AUTOTIEOFF.
1709 (verilog-submit-bug-report): Update variable list.
1710 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1711 parenthesis from not matching. Reported by Michael Rytting.
1712 (verilog-auto-template-lint): Fix hash error when linting modules
1713 with no used templates.
1714 (verilog-warn, verilog-warn-error)
1715 (verilog-warn-fatal): When non-interactive report multiple
1716 warnings before exiting. Suggested by Brad Dobbie.
1717 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1718 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1719 to report unused template errors. Reported by Brad Dobbie.
1720 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1721 nets, bug438. Reported by Vns Blore.
1722 (verilog-auto-inout-module, verilog-auto-reg)
1723 (verilog-read-decls, verilog-read-sub-decls-sig)
1724 (verilog-signals-edit-wire-reg, verilog-signals-with):
1725 Fix passing of Verilog data types in ANSI input/output ports
1726 such as "output logic" into the AUTOs. Special case "wire" and
1727 "reg" for backwards compatibility presuming Verilog 2001.
1728 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1729 (verilog-preprocess): Fix replication of preprocess output.
1730 Reported by Brad Dobbie.
1731 (verilog-auto-inst-interfaced-ports):
1732 Create verilog-auto-inst-interfaced-ports, bug429.
1733 Reported by Julian Gorfajn.
1734 (verilog-after-save-font-hook)
1735 (verilog-before-save-font-hook): New variable.
1736 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1737 (verilog-save-font-mods): Wrap disabling fontification, reported
1738 by David Rogoff.
1739 (verilog-do-indent, verilog-pretty-declarations-auto)
1740 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1741 Reported by Pierre-David Pfister.
1742 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1743 of class declarations, bug292. Reported by Kevin Heilman.
1744 (verilog-read-decls): Fix 'parameter type' not appearing in
1745 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1746 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1747 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1748 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1749 Reported by David Kravitz.
1750
17512012-05-03 Michael McNamara <mac@mail.brushroad.com>
1752
1753 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1754 assignment with tests in ifs and for loops.
1755 (verilog-extended-complete-re, verilog-complete-reg): Change so
1756 that DPI inport functions don't look like fuction declarations.
1757 (verilog-pretty-expr): Don't line up assignment
1758 operations to the test and increment in if and for loops
1759 (verilog-extended-complete-re, verilog-complete-reg): Change so
1760 that DPI inport functions don't look like fuction declarations
1761
2e51d4b5
KH
17622012-05-03 Kenichi Handa <handa@m17n.org>
1763
1764 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1765 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1766 (Bug#11282).
1767
2bd785a2
SM
17682012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1769
1770 * emacs-lisp/bytecomp.el
1771 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1772 since cconv.el might have introduced :fun-body, internal-make-closure,
1773 and friends for bytecomp to handle (bug#11391).
1774 * custom.el (defcustom): Avoid ((λ ..) ..).
1775
99d27583
SM
17762012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1779
55a71479
JB
17802012-05-02 Juanma Barranquero <lekktu@gmail.com>
1781
1782 * notifications.el (dbus-debug):
1783 * term/linux.el (gpm-mouse-enable):
1784 * term/screen.el (xterm-register-default-colors): Declare.
1785
7b97c764
CY
17862012-05-02 Chong Yidong <cyd@gnu.org>
1787
2bc356d7
CY
1788 * cus-start.el (gc-cons-percentage, exec-suffixes)
1789 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1790 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1791 (make-cursor-line-fully-visible, void-text-area-pointer)
1792 (font-list-limit): Add customization data.
1793
7b97c764
CY
1794 * allout.el (allout-exposure-change-functions)
1795 (allout-structure-added-functions)
1796 (allout-structure-deleted-functions)
1797 (allout-structure-shifted-functions): Rename abnormal hooks from
1798 *-hook, and convert to defcustoms.
5d3385a0
JB
1799 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1800 Convert to defcustoms.
7b97c764
CY
1801 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1802
1803 * allout-widgets.el: Hook callers changed.
1804
90207a15 18052012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1806
1807 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1808 the yanked message in preference to the default value of
1809 buffer-file-coding-system.
1810
90207a15 18112012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1812
5d3385a0
JB
1813 * window.el (display-buffer--action-function-custom-type):
1814 Fix entry.
d9558cad 1815
90207a15 18162012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1817
1818 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1819
d80ac57b
GM
18202012-05-01 Glenn Morris <rgm@gnu.org>
1821
976f7668
GM
1822 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1823
beb83b5a
GM
1824 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1825
d80ac57b
GM
1826 * cus-edit.el (custom-variable-documentation): Simplify with format.
1827
b593d6a9
AH
18282012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1829 Stefan Monnier <monnier@iro.umontreal.ca>
1830
1831 * simple.el (suggest-key-bindings, execute-extended-command):
1832 Move from keyboard.c.
1833
782fbf2a
CY
18342012-05-01 Chong Yidong <cyd@gnu.org>
1835
1836 * follow.el: Eliminate advice.
1837 (set-process-filter, process-filter, sit-for): Advice deleted.
1838 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1839 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1840 Vars deleted.
782fbf2a
CY
1841 (follow-auto): Use a :set function.
1842 (follow-mode): Rewritten. Don't advise process filters.
1843 (follow-switch-to-current-buffer-all, follow-scroll-up)
1844 (follow-scroll-down): Assume follow-mode is bound.
1845 (follow-comint-scroll-to-bottom)
1846 (follow-align-compilation-windows): New functions.
1847 (follow--window-sorter): New function.
1848 (follow-all-followers): Use it to explicitly sort windows by their
1849 positions; don't make assumptions about next-window order.
1850 (follow-windows-start-end, follow-delete-other-windows-and-split)
1851 (follow-calc-win-start): Doc fix.
1852 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1853 vertical-motion unnecessarily.
1854 (follow-adjust-window): New function.
1855 (follow-post-command-hook): Use it.
1856 (follow-call-set-process-filter, follow-call-process-filter)
1857 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1858 (follow-stop-intercept-process-output, follow-generic-filter):
1859 Functions deleted.
1860 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1861 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1862 New functions, replacing advice on scroll-bar-* commands.
87233a14 1863 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1864
1865 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1866 (comint-postoutput-scroll-to-bottom): Use it.
1867 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1868
290af740
GM
18692012-05-01 Glenn Morris <rgm@gnu.org>
1870
1871 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1872 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1873 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1874 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1875 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1876 Remove no-byte-compile setting.
1877
6eac8dc9
SM
18782012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1881 all-completions code to not return a number in the last cdr.
1882
9cc7819c
LL
18832012-04-30 Leo Liu <sdl.web@gmail.com>
1884
1885 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1886 read-only error.
1887
c93b886f
CY
18882012-04-29 Chong Yidong <cyd@gnu.org>
1889
1890 * follow.el (follow-calc-win-end): Rewrite to handle partial
1891 screen lines correctly (Bug#8390).
1892 (follow-avoid-tail-recenter): Minor cleanup.
1893
8b6c19f4
SM
18942012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 Avoid the obsolete `assoc' package.
1897 * speedbar.el (speedbar-refresh): Avoid adelete.
1898 (speedbar-file-lists): Simplify and avoid aput.
1899 * man.el (Man--sections, Man--refpages): New vars, replacing
1900 Man-sections-alist and Man-refpages-alist.
1901 (Man-build-section-alist, Man-build-references-alist):
1902 Use them; avoid aput.
1903 (Man--last-section, Man--last-refpage): New vars.
1904 (Man-follow-manual-reference): Use them.
1905 Use the `default' arg of completing-read.
1906 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1907
c5bb7569
CY
19082012-04-27 Chong Yidong <cyd@gnu.org>
1909
d1d2e2e8
CY
1910 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1911
15cd8efd
CY
1912 * startup.el (x-apply-session-resources): New function.
1913
1914 * term/ns-win.el (ns-initialize-window-system):
1915 * term/w32-win.el (w32-initialize-window-system):
1916 * term/x-win.el (x-initialize-window-system): Use it to properly
1917 set menu-bar-mode and other vars from X resources, even if the
1918 initial frame is not a window-system frame (Bug#2299).
1919
c5bb7569
CY
1920 * subr.el (read-key): Avoid running filter function when setting
1921 up temporary tool bar entries (Bug#9922).
1922
a8e7d6d7 19232012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1924
1925 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1926 (Bug#11344)
1927
a8e7d6d7 19282012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1929
1930 * select.el (xselect--encode-string): New function, split from
1931 xselect-convert-to-string.
1932 (xselect-convert-to-string): Use it.
1933 (xselect-convert-to-filename, xselect-convert-to-os)
1934 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1935 returned strings are properly encoded (Bug#11315).
1936
a8e7d6d7 19372012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1938
1939 * simple.el (delete-active-region): Move to killing custom group.
1940
a8e7d6d7 19412012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1942
1943 * progmodes/which-func.el (which-func-current): Quote %
1944 characters for mode-line processing.
1945
578c1d4b 19462012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1947
1948 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1949 reaching eob (Bug#11286).
1950
a8e7d6d7 19512012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1952
1953 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1954 (gdb): Make it buffer-local and init to zero.
1955 (gdb-control-commands-regexp): New variable.
1956 (gdb-send): Don't wrap in "-interpreter-exec console" if
1957 gdb-control-level is positive. Increment gdb-control-level
1958 whenever the command matches gdb-control-commands-regexp, and
1959 decrement it each time the command is "end". (Bug#11279)
1960
a8e7d6d7 19612012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1962
1963 * window.el (adjust-window-trailing-edge, enlarge-window)
1964 (shrink-window, window-resize):
1965 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1966 windows (Bug#11276).
1967
b3608390
CY
19682012-04-27 Chong Yidong <cyd@gnu.org>
1969
1970 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1971 fix "missing prefix" warning. All callers changed.
b3608390 1972
797e6e88
SM
19732012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * emacs-lisp/assoc.el: Move to obsolete/.
1976
e95a67dc
SM
19772012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1978
657c21e4 1979 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1980
1981 * term/ns-win.el (ns-define-service):
1982 * progmodes/pascal.el (pascal-goto-defun):
1983 * progmodes/js.el (js--read-tab):
1984 * progmodes/etags.el (tags-lazy-completion-table):
1985 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1986 * emacs-lisp/ewoc.el (ewoc--wrap):
1987 * emacs-lisp/assoc.el (aput, adelete, amake):
1988 * doc-view.el (doc-view-convert-current-doc):
1989 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1990
cb3e7ae0
CY
19912012-04-26 Chong Yidong <cyd@gnu.org>
1992
dce04f7f
CY
1993 * image.el (image-type-from-buffer): Only return supported image
1994 type (Bug#9045).
1995
cb3e7ae0
CY
1996 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1997 value, for symmetry with diff-end-of-hunk.
1998 (diff-split-hunk, diff-find-source-location)
1999 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2000 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2001 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2002 compute the relevant hunk or file properly (Bug#6005).
2003 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2004
0d42eb3e
SM
20052012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2006
2007 * vc/vc-mtn.el:
2008 * vc/vc-hg.el:
2009 * vc/vc-git.el:
2010 * vc/vc-dir.el:
2011 * vc/vc-cvs.el:
2012 * vc/vc-bzr.el:
2013 * vc/vc-arch.el:
2014 * vc/vc.el: Replace lexical-let by lexical-binding.
2015 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2016 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2017 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2018
f08ae1c9
CY
20192012-04-26 Chong Yidong <cyd@gnu.org>
2020
8b71081d
CY
2021 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2022 (diff-mode-shared-map): Bind it to / and [remap undo].
2023
f08ae1c9
CY
2024 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2025 (ediff-window-setup-function): Use it as the default, to set up
2026 windows based on whether the current frame is graphical (Bug#2138).
2027 (ediff-choose-window-setup-function-automatically): Make obsolete.
2028
2029 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2030
ef24141c
SM
20312012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2032
cc356a5d
SM
2033 * ffap.el: Remove old code for obsolete package.
2034 (ffap-complete-as-file-p): Remove.
2035
b4ff4f1f
SM
2036 Use completion-table-with-quoting for comint and pcomplete.
2037 * comint.el (comint--unquote&requote-argument)
2038 (comint--unquote-argument, comint--requote-argument): New functions.
2039 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2040 (comint-quote-filename): Use regexp-opt-charset.
2041 (comint--common-suffix, comint--common-quoted-suffix)
2042 (comint--table-subvert): Remove.
2043 (comint-unquote-function, comint-requote-function): New vars.
2044 (comint--complete-file-name-data): Use them with
2045 completion-table-with-quoting.
2046 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2047 * pcomplete.el (pcomplete-arg-quote-list)
2048 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2049 (pcomplete-unquote-argument-function): Default to non-nil.
2050 (pcomplete-unquote-argument): Simplify.
2051 (pcomplete--common-quoted-suffix): Remove.
2052 (pcomplete-requote-argument-function): New var.
2053 (pcomplete--common-suffix): New function.
2054 (pcomplete-completions-at-point): Use completion-table-with-quoting
2055 and completion-table-subvert.
2056
79c4eeb4
SM
2057 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2058 (minibuffer--double-dollars): Preserve properties.
2059 (completion--sifn-requote): New function.
2060 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2061
ef24141c
SM
2062 * minibuffer.el: Add support for completion of quoted/escaped data.
2063 (completion-table-with-quoting, completion-table-subvert): New funs.
2064 (completion--twq-try, completion--twq-all): New functions.
2065 (completion--nth-completion): New function.
2066 (completion-try-completion, completion-all-completions): Use it.
2067
784e7d6e
LL
20682012-04-25 Leo Liu <sdl.web@gmail.com>
2069
dd2ac746
SM
2070 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2071 Use compilation-message if available to find real filename.
784e7d6e 2072
07875ee7
CY
20732012-04-25 Chong Yidong <cyd@gnu.org>
2074
2075 * vc/diff-mode.el (diff-setup-whitespace): New function.
2076 (diff-mode): Use it.
2077
2078 * vc/diff.el (diff-sentinel):
2079 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2080 Whitespace mode variables based on diff style (Bug#8612).
2081
5055880d
LL
20822012-04-25 Leo Liu <sdl.web@gmail.com>
2083
daf75653
LL
2084 * progmodes/python.el (python-send-region): Add suffix .py to the
2085 temp file.
2086
5055880d
LL
2087 * files.el (auto-mode-alist): Use javascript-mode instead.
2088
db9b177b
AH
20892012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2090
ef24141c 2091 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2092
2093 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2094 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2095 references, see Bug#9.
ef24141c 2096 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2097 when receiving a fault reply.
ef24141c 2098 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2099
2100 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2101 (soap-inspect-simple-type): New function.
db9b177b 2102
ef24141c 2103 * soap-client.el (soap-simple-type): New struct.
db9b177b 2104 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2105 (soap-decode-basic-type, soap-encode-basic-type):
2106 support unsignedInt and double basic types.
db9b177b 2107 (soap-resolve-references-for-simple-type)
ef24141c
SM
2108 (soap-parse-simple-type, soap-encode-simple-type): New function.
2109 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2110
2111 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2112 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2113 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2114 the local name of "soapenc:Array".
2115 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2116 decoding integer, byte and anyURI xsd types.
2117
1fc6097b
CY
21182012-04-25 Chong Yidong <cyd@gnu.org>
2119
2120 * cus-edit.el (custom-buffer-create-internal): Update header text.
2121
afc6df87
EZ
21222012-04-25 Eli Zaretskii <eliz@gnu.org>
2123
2124 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2125 settings on 'system-type', not on 'window-system'. On MS-Windows,
2126 set interactive-mode on in GDB.
2127
dfbd787f
SM
21282012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2131 (ruby-syntax-propertize-regexp): Remove.
2132 (ruby-syntax-propertize-function): Split regexp into chunks.
2133 Match following code directly.
2134
85222d44
DG
21352012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2136
51a8ea2a
DG
2137 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2138 (ruby-syntax-propertize-regexp): New function.
2139 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2140 by a special keyword.
2141
85222d44
DG
2142 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2143 (ruby-syntax-general-delimiters-goto-beg)
2144 (ruby-syntax-propertize-general-delimiters): New functions.
2145 (ruby-syntax-propertize-function): Use them to handle GDL.
2146 (ruby-font-lock-keywords): Move old handling of GDL...
2147 (ruby-font-lock-syntactic-keywords): .. to here.
2148 (ruby-calculate-indent): Adjust indentation for GDL.
2149
b613912b
MA
21502012-04-24 Michael Albinus <michael.albinus@gmx.de>
2151
b5380639
MA
2152 * notifications.el (top): Remove unneeded declarations.
2153 (notifications-specification-version): Change to "1.2".
e43042fe 2154 (notifications-interface, notifications-notify-method)
b613912b
MA
2155 (notifications-close-notification-method): Fix docstring.
2156 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2157 (notifications-notify): Add :action-items, :resident and
2158 :transient hints. Change "image_data" to "image-data" and
2159 "image_path" to "image-path".
b613912b
MA
2160 (notifications-get-capabilities): New defun.
2161
257440aa
LL
21622012-04-24 Leo Liu <sdl.web@gmail.com>
2163
2164 * progmodes/python.el: Move hideshow setup to the end.
2165
b1bac16e
MR
21662012-04-24 Martin Rudalics <rudalics@gmx.at>
2167
2168 * window.el (handle-select-window): Clear echo area since this is
2169 no more done by read_char (Bug#11304).
2170
d81bd059
SM
21712012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2174 and `/ M' to filter-derived-mode.
2175 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2176 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2177 (ibuffer-mark-by-mode): Use default rather than initial-input.
2178 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2179
c4cf6d91
IA
21802012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2181
2182 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2183 (ibuffer-filter-by-derived-mode): New filter.
2184 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2185
7511ded8
CY
21862012-04-23 Andreas Politz <politza@fh-trier.de>
2187
2188 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2189
775c916b
CY
21902012-04-23 Chong Yidong <cyd@gnu.org>
2191
2192 * cus-edit.el (customize-apropos, customize-apropos-options):
2193 Disable matching of non-option variables (Bug#11176).
2194 (customize-option, customize-option-other-window)
2195 (customize-changed-options): Doc fix.
2196 (customize-apropos-options, customize-apropos-faces)
2197 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2198
2199 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2200 Fix word list splitting (Bug#11132).
46c71e23
CY
2201 (apropos-symbol, apropos-keybinding, apropos-label)
2202 (apropos-property, apropos-function-button)
2203 (apropos-variable-button, apropos-misc-button): New faces.
2204 (apropos-symbol-face, apropos-keybinding-face)
2205 (apropos-label-face, apropos-property-face, apropos-match-face):
2206 Variables removed (Bug#8396).
2207 (apropos-library-button, apropos-format-plist, apropos-print)
2208 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2209
2df41f9c
MA
22102012-04-23 Michael Albinus <michael.albinus@gmx.de>
2211
2212 * net/xesam.el (xesam-mode-map): Use let-bound map in
2213 initialization. (Bug#11292)
2214
da00640a
AM
22152012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2216
2217 Preserve ispell session localwords when switching back to
2218 original buffer.
2219
2220 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2221 variable to hold buffer session localwords.
2222 (ispell-kill-ispell): add option 'clear to delete session
2223 localwords.
2224 (ispell-command-loop, ispell-change-dictionary)
2225 (ispell-buffer-local-words): Preserve session localwords when
2226 needed.
2227
2228 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2229 Preserve session localwords when needed.
2230
f621ccf5
AM
22312012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2232
2233 * ispell.el (ispell-insert-word) Remove unneeded function using
2234 obsolete `translation-table-for-input'.
ef24141c
SM
2235 (ispell-word, ispell-process-line, ispell-complete-word):
2236 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2237
c2d1019e
CY
22382012-04-22 Chong Yidong <cyd@gnu.org>
2239
2240 * cus-edit.el (custom-variable-menu)
2241 (custom-variable-reset-saved, custom-face-menu)
2242 (custom-face-reset-saved): If there is no saved value, make the
2243 "reset-saved" operation bring back the default (Bug#9509).
2244 (custom-face-state): Properly detect themed faces.
2245
eeddc531
CY
2246 * faces.el (face-spec-set): Stop supporting deprecated form of
2247 third arg.
2248
dcbf5805
MA
22492012-04-22 Michael Albinus <michael.albinus@gmx.de>
2250
2251 Move functions from C to Lisp. Make non-blocking method calls
2252 the default. Implement further D-Bus standard interfaces.
2253
ef24141c
SM
2254 * net/dbus.el (dbus-message-internal): Declare function.
2255 Remove unneeded function declarations.
dcbf5805
MA
2256 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2257 (dbus-message-type-method-return, dbus-message-type-error)
2258 (dbus-message-type-signal): Declare variables. Remove local
2259 definitions.
2260 (dbus-interface-dbus, dbus-interface-peer)
2261 (dbus-interface-introspectable, dbus-interface-properties)
2262 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2263 Adapt docstring.
2264 (dbus-interface-objectmanager): New defconst.
2265 (dbus-call-method, dbus-call-method-asynchronously)
2266 (dbus-send-signal, dbus-method-return-internal)
2267 (dbus-method-error-internal, dbus-register-service)
2268 (dbus-register-signal, dbus-register-method): New defuns, moved
2269 from dbusbind.c
2270 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2271 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2272 New defuns.
dcbf5805
MA
2273 (dbus-call-method-non-blocking): Make it an obsolete function.
2274 (dbus-unregister-object, dbus-unregister-service)
2275 (dbus-handle-event, dbus-register-property)
2276 (dbus-property-handler): Obey the new structure of
2277 `bus-registered-objects'.
2278 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2279 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2280 Use `dbus-call-method'.
2281
cf20dee0
CY
22822012-04-22 Chong Yidong <cyd@gnu.org>
2283
2284 * cus-edit.el (custom-commands, custom-reset-menu)
2285 (Custom-reset-standard): Tweak labels.
2286 (custom-reset-button-menu): Change default to t.
2287 (custom-buffer-create-internal): For the custom-reset-button-menu
2288 case, put the revert button first.
2289 (custom-group-subtitle): New face.
2290 (custom-group-value-create): Align docstring to a specific column.
2291
2292 * wid-edit.el (widget-documentation-link-add): Don't handle
2293 indentation in this function.
2294 (widget-documentation-string-indent-to): New function.
2295 (widget-documentation-string-value-create): Use it.
2296
2297 * autorevert.el (auto-revert):
2298 * epg-config.el (epg):
2299 * ibuffer.el (ibuffer):
2300 * mpc.el (mpc):
2301 * ses.el (ses):
2302 * eshell/eshell.el (eshell):
2303 * net/ange-ftp.el (ange-ftp):
2304 * progmodes/ebnf2ps.el (postscript):
2305 * progmodes/flymake.el (flymake):
2306 * progmodes/prolog.el (prolog):
2307 * progmodes/verilog-mode.el (verilog-mode):
2308 * progmodes/which-func.el (which-func):
2309 * term/xterm.el (xterm):
2310 * textmodes/picture.el (picture):
2311 * textmodes/tildify.el (tildify):
2312 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2313 customization buffers.
2314
583e23bd
AM
23152012-04-22 Alan Mackenzie <acm@muc.de>
2316
2317 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2318 Adding a ) can hide the resulting (..) from searches. Fix it.
2319 Bound the backward search to the position of the existing (.
2320
7dd51bf1
JB
23212012-04-21 Juanma Barranquero <lekktu@gmail.com>
2322
2323 * progmodes/verilog-mode.el (verilog-mode): Check whether
2324 which-func-modes is t before adding verilog-mode.
2325 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2326
d64a438f
LL
23272012-04-21 Leo Liu <sdl.web@gmail.com>
2328
7dd51bf1 2329 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2330
081e8d65
MV
23312012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2332
2333 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2334 filling of the last column of a table (Bug#5635).
2335 (woman-find-next-control-line): New arg, specifying an additional
2336 regexp component for the control line.
2337 (woman2-roff-buffer): Use it.
2338 (woman-break-table): New function.
2339 (woman2-TS): Use it.
2340
23412012-04-21 Chong Yidong <cyd@gnu.org>
2342
2343 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2344 (woman-horizontal-escapes, woman-negative-vertical-space)
2345 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2346 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2347
ed571ccb
SM
23482012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * minibuffer.el (completion-file-name-table): Complete user names.
2351
39773899
LL
23522012-04-20 Leo Liu <sdl.web@gmail.com>
2353
2354 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2355 and pcase-let*.
2356
de6ff46d
CY
23572012-04-20 Chong Yidong <cyd@gnu.org>
2358
2359 * server.el (server-execute): Respect initial-buffer-choice if it
2360 is a string and there are no files to open (Bug#2825).
2361 (server-create-window-system-frame, server-create-tty-frame):
2362 Don't switch buffers here.
2d0e8e61
CY
2363 (server-process-filter): Only try to open a window system frame if
2364 compiled with graphical support (Bug#8314).
de6ff46d 2365
54071013
DN
23662012-04-20 Dan Nicolaescu <dann@gnu.org>
2367
2368 * battery.el (battery-echo-area-format): Display remaining time
2369 for sysfs backend too (Bug#11269).
2370 (battery-linux-sysfs): Fix conditional for the charge.
2371
f30d612a
CY
23722012-04-20 Chong Yidong <cyd@gnu.org>
2373
c07a4c0b 2374 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2375 (gdb-inferior-io--init-proc): New function.
2376 (gdb-init-1): Use it.
2377 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2378 responsible for allocating a new pty and hooking it to gdb when
2379 the old pty gets an EIO due to process exit.
2380 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2381 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2382 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2383
2116e93c
EZ
23842012-04-20 Eli Zaretskii <eliz@gnu.org>
2385
2386 * window.el (window-min-size, window-sizable, window-min-delta)
2387 (window-max-delta, window--resizable, window-resizable)
2388 (window-total-size, window-full-height-p, window-full-width-p)
2389 (window-in-direction, window--resize-mini-window, window-resize)
2390 (window--resize-child-windows-normal)
2391 (window--resize-child-windows, window--resize-siblings)
2392 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2393 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2394
c07a4c0b 23952012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2396
ef24141c
SM
2397 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2398 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2399 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2400 pty process (Bug#11273).
2401 (gdb-update): New arg to suppress talking to the gdb process.
2402 (gdb-done-or-error): Use it.
2403 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2404 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2405 sentinel not being called.
2406
2407 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2408
d02766ab
CY
2409 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2410
c07a4c0b 24112012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2412
2413 * net/network-stream.el (open-network-stream): Doc fix.
2414
c07a4c0b 24152012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2416
2417 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2418
c07a4c0b 24192012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2420
2421 Ensure searching for keywords is case sensitive.
2422
2423 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2424 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2425 (c-defun-name, c-mark-function, c-cpp-define-name)
2426 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2427 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2428
ef24141c
SM
2429 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2430 Bind case-fold-search to nil.
f0f6bc35 2431
c07a4c0b 24322012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2433
2434 * mail/sendmail.el (mail-bury): Call return action with the right
2435 Rmail buffer (Bug#11242).
2436
9a864fa2
CY
2437 * server.el (server-process-filter): Handle corner case where both
2438 tty and nowait options are present (Bug#11102).
2439
539aa513
EZ
24402012-04-20 Eli Zaretskii <eliz@gnu.org>
2441
2442 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2443 (top level): Put into the executable the ident-style '$Id:' tag on
2444 windows-nt as well.
539aa513 2445
cfc7d5da
SM
24462012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * electric.el (electric-indent-post-self-insert-function): Check that
2449 electric-indent-mode is enabled in current buffer.
2450
5b01685c
JB
24512012-04-19 Juanma Barranquero <lekktu@gmail.com>
2452
2453 * imenu.el (imenu-progress-message): Restore; it is "used" in
2454 erc/erc-imenu.el and net/snmp-mode.el.
2455
4d6769e1
JB
24562012-04-19 Juanma Barranquero <lekktu@gmail.com>
2457
2458 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2459 (mouse-avoidance-nudge-mouse): Remove unused binding.
2460
2461 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2462
2463 * descr-text.el (describe-char):
2464 * progmodes/python.el (python-describe-symbol):
2465 Don't call `toggle-read-only', set `buffer-read-only'.
2466
2467 * imenu.el (imenu-default-goto-function): Mark unused args.
2468 (imenu-progress-message): Remove obsolete macro; all callers changed.
2469
2470 * subr.el (keymap-canonicalize): Remove unused binding.
2471 (read-passwd): Mark unused arg.
2472
2473 * tutorial.el (tutorial--display-changes): Remove unused binding.
2474 (tutorial--save-tutorial-to): Remove unused variable.
2475
2476 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2477 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2478 (package-generate-autoloads, package-menu--generate)
2479 (package-menu--find-upgrades): Remove unused bindings.
2480
2481 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2482 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2483 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2484 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2485 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2486 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2487 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2488 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2489 (cua-delete-char-rectangle): Mark unused args.
2490 (cua-align-rectangle): Remove unused binding.
2491
2492 * mail/rmail.el (compilation--message->loc)
2493 (epa--find-coding-system-for-mime-charset): Declare.
2494
2495 * net/dbus.el (dbus-register-service): Declare.
2496 (dbus-name-owner-changed-handler): Remove unused binding.
2497
2498 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2499 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2500 (nxml-scan-backward-within): Mark unused arg.
2501 (nxml-dynamic-markup-word): Remove unused binding.
2502
2503 * mouse.el (mouse-menu-major-mode-map):
2504 * emacs-lisp/authors.el (authors-scan-change-log)
2505 (authors-add-to-author-list):
2506 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2507 * emacs-lisp/smie.el (smie-auto-fill):
2508 * mail/sendmail.el (mail-bury):
2509 * mail/unrmail.el (unrmail):
2510 * net/tls.el (open-tls-stream):
2511 * textmodes/picture.el (picture-mouse-set-point):
2512 Remove unused bindings.
2513
8c8fc5df
MA
25142012-04-19 Michael Albinus <michael.albinus@gmx.de>
2515
2516 * net/tramp.el (tramp-action-password): Let-bind
2517 `enable-recursive-minibuffers' to t.
2518
a77b0ac9
SS
25192012-04-18 Sam Steingold <sds@gnu.org>
2520
2521 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2522 instead of 'string to accommodate values like [f11].
2523 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2524 * progmodes/gdb-mi.el: Likewise.
2525
12a106a9
LL
25262012-04-18 Leo Liu <sdl.web@gmail.com>
2527
2528 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2529 current buffer.
2530 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2531 LOCAL is nil.
2532
bc6494ef
CY
25332012-04-18 Chong Yidong <cyd@gnu.org>
2534
2535 * simple.el (line-move): Use forward-line if in batch mode
2536 (Bug#11053).
2537
c09c46b2
CS
25382012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2539
2540 * files.el (after-find-file): Do not try to add a final newline if
2541 the buffer is read-only (Bug#11156).
2542
5f6530ea
RS
25432012-04-17 Richard Stallman <rms@gnu.org>
2544
2545 * mail/rmail.el (rmail-start-mail):
2546 Pass (rmail-mail-return...) for the return-action.
2547 Pass (rmail-yank-current-message...) for the yank-action.
2548 (rmail-yank-current-message): New function.
2549 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2550 (rmail-reply): Likewise.
2551 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2552
2553 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2554 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2555 buffer, not newbuf.
2556
197b6f3c
JB
25572012-04-17 Juanma Barranquero <lekktu@gmail.com>
2558
2559 * server.el (server-ensure-safe-dir): Simplify.
2560
2311d8e5 25612012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2562
2311d8e5
GM
2563 * emacs-lisp/smie.el: Provide smarter auto-filling.
2564 (smie-auto-fill): New function.
2565 (smie-setup): Use it.
98fb480e 2566
2311d8e5
GM
2567 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2568
25692012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2570
2571 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2572 (comment-indent): Use it.
2573
2311d8e5 25742012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2575
2576 * ses.el: The overall change is to add cell renaming, that is
2577 setting fancy names for cell symbols other than name matching
2578 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2579 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2580 (ses-create-cell-variable): New defun.
2311d8e5 2581 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2582 (ses-relocate-formula): Relocate formulas only for cells the
2583 symbols of which are not renamed, i.e. symbols whose names do not
2584 match regexp "\\`[A-Z]+[0-9]+\\'".
2585 (ses-relocate-all): Relocate values only for cells the symbols of
2586 which are not renamed.
2587 (ses-load): Create cells variables as the (ses-cell ...) are read,
2588 in order to check row col consistency with cell symbol name only
2589 for cells that are not renamed.
2590 (ses-replace-name-in-formula): New defun.
2591 (ses-rename-cell): New defun.
4bdf2ad2 2592
fc72b15c
PO
25932012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2594
2595 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2596 New option (bug#11118).
2597 (perl-calculate-indent): Respect it.
2598
12e10e61
GM
25992012-04-17 Glenn Morris <rgm@gnu.org>
2600
2601 * dired-aux.el (dired-mark-read-string): Doc fix.
2602
30009afd
DA
26032012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2604
2605 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2606 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2607
41f03f4d
GM
26082012-04-17 Glenn Morris <rgm@gnu.org>
2609
2610 * mouse.el (mouse-drag-track):
2611 * speedbar.el (speedbar-frame-mode):
2612 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2613
f45f90f3
LL
26142012-04-16 Leo Liu <sdl.web@gmail.com>
2615
2616 * progmodes/python.el: Trivial cleanup.
2617
94ee8db5
GM
26182012-04-16 Glenn Morris <rgm@gnu.org>
2619
121b8917
GM
2620 * vc/vc.el (vc-string-prefix-p):
2621 * vc/pcvs-util.el (cvs-string-prefix-p):
2622 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2623 * mpc.el (mpc-string-prefix-p):
2624 Make all of these into obsolete aliases for string-prefix-p.
2625 Update callers.
2626 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2627
1197ecfa
GM
2628 * textmodes/two-column.el: Move custom options to the start.
2629 (frame-width): Remove compat definition.
2630 (2C-associate-buffer, 2C-dissociate):
2631 Use with-current-buffer rather than save-excursion.
2632 (2C-dissociate): Force a mode-line update.
2633 (2C-autoscroll): Use ignore-errors.
2634
099e7202
GM
2635 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2636 Autoload trivia.
2637
bf350d6a
GM
2638 * emacs-lisp/cl-extra.el (*random-state*):
2639 Remove unnecessary declaration.
2640
0e829eab
GM
2641 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2642
e3ad7552
GM
2643 * play/cookie1.el (cookie-snarf):
2644 Give an explicit error if input file cannot be read.
2645
68892d27
GM
2646 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2647
20f0c46d
GM
2648 * progmodes/perl-mode.el (c-macro-expand):
2649 Remove unnecessary autoload (it is in loaddefs.el).
2650
5a0978ce
GM
2651 * textmodes/picture.el (picture-desired-column)
2652 (picture-update-desired-column): Convert comments to doc-strings.
2653 (picture-substitute): Remove function.
2654 (picture-mode-map): Initialize in the defvar.
2655
6b955486
GM
2656 * woman.el: Remove eval-after-load for tar-mode.
2657 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2658 (woman-tar-extract-file): Autoload it.
2659
94ee8db5
GM
2660 * frame.el (automatic-hscrolling): Make this alias obsolete.
2661
177eca34
AM
26622012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2663
2664 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2665 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2666 (ispell-dictionary-base-alist): Revert to original XEmacs
2667 friendly version for default. [:alpha:] will be added in
2668 `ispell-set-spellchecker-params' if needed
177eca34 2669
c505aaeb
CY
26702012-04-16 Chong Yidong <cyd@gnu.org>
2671
2672 * image.el (imagemagick--extension-regexp): New variable.
2673 (imagemagick-register-types): Use it.
2674 (imagemagick-types-inhibit): Add :set function. Allow new value
2675 of t to inhibit all types.
2676
2677 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2678 so we can preload it.
2679
2680 * loadup.el (fboundp): Preload regexp-opt, needed by
2681 imagemagick-register-types.
2682
60efac0f
CY
26832012-04-15 Chong Yidong <cyd@gnu.org>
2684
2685 * frame.el (scrolling): Remove nearly unused customization group.
2686
2687 * scroll-all.el (scroll-all-mode): Move to windows group.
2688
5dd1713e
CY
26892012-04-15 Chong Yidong <cyd@gnu.org>
2690
2691 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2692
e6fd457e
CY
26932012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2694
2695 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2696 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2697
e153c136
GM
26982012-04-15 Glenn Morris <rgm@gnu.org>
2699
2700 * simple.el (process-file-side-effects): Doc fix.
2701
e6fd457e 27022012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2703
2704 * international/mule-cmds.el (set-language-environment): Doc fix.
2705
3603c3b1
JB
27062012-04-14 Juanma Barranquero <lekktu@gmail.com>
2707
2708 * server.el (server-auth-key, server-generate-key): Doc fixes.
2709 (server-get-auth-key): Doc fix. Use `string-match-p'.
2710 (server-start): Reflow docstring.
2711
e6de100c
LI
27122012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2713
2714 * server.el (server-generate-key): `called-interactively-p'
2715 requires a parameter.
2716
29734c21
MN
27172012-04-14 Michal Nazarewicz <mina86@mina86.com>
2718
2719 * server.el (server-auth-key): New variable.
75f1671a 2720 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2721 (server-start): Use the new variable and functions to allow
2722 setting a permanent server key (bug#9423).
2723
d65c9521
LL
27242012-04-14 Leo Liu <sdl.web@gmail.com>
2725
2726 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2727
5ae255c7
PE
27282012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2729
2730 Spelling fixes.
2731 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2732 Emacs uses American spelling.
2733
d5e6342e
JB
27342012-04-14 Juanma Barranquero <lekktu@gmail.com>
2735
2736 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2737 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2738 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2739 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2740
ab036cd7
SM
27412012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 * progmodes/which-func.el (which-func-modes): Change default.
2744
35dc09a1 27452012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2746
2747 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2748 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2749
35dc09a1 27502012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2751
2752 * custom.el (custom-theme-set-variables): Doc fix.
2753
35dc09a1 27542012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2755
2756 * international/mule.el (set-auto-coding-for-load): Doc fix.
2757
35dc09a1 27582012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2759
35dc09a1
GM
2760 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2761 imenu work again for Objective C Mode. Correct the *-index values,
2762 these having been disturbed by a previous change in 2011-08.
57f845ee 2763
0de3da9f
AM
2764 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2765 Correct two search limits.
2766
35dc09a1 27672012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2768
2769 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2770
35dc09a1 27712012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2772
2773 * international/characters.el: Fix sorting.
2774
35dc09a1 27752012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2776
2777 * international/characters.el: Add more missing Latin case pairs.
2778
35dc09a1 27792012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2780
2781 * files.el (dir-locals-set-class-variables): Doc fix.
2782
35dc09a1 27832012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2784
3f1b5bf8
EZ
2785 * international/characters.el: Add set-case-syntax-pair call for
2786 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2787 counterpart. (Bug#11209)
2788
9f847f41
EZ
2789 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2790
35dc09a1 27912012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2792
2793 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2794
35dc09a1 27952012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2796
35dc09a1
GM
2797 * textmodes/ispell.el (ispell-dictionary-base-alist):
2798 Add data for Hebrew.
e2627d21 2799
35dc09a1 28002012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2801
35dc09a1
GM
2802 * net/rcirc.el (rcirc-cmd-quit):
2803 Revert 2012-03-18 change (Bug#11192).
5c14e333 2804
35dc09a1 28052012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2806
2807 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2808
35dc09a1 28092012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2810
4517fe3a
SM
2811 * minibuffer.el (completion-in-region-mode-map):
2812 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2813
b472a594
VD
28142012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2815
2816 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2817
09b95ce3
MY
28182012-04-13 Masatake YAMATO <yamato@redhat.com>
2819
2820 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2821 to allow `C-M-f' and `C-M-b' to move to the nearest path
2822 separator (bug#9511).
2823
4b63a9ca
LI
28242012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2825
2826 * avoid.el: Require cl when compiling. And also move the
2827 `provide' to the end.
2828
7b55b8bf
TV
28292012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2830
2831 * avoid.el (mouse-avoidance-banish-position): New variable.
2832 (mouse-avoidance-banish-destination): Use it (bug#10165).
2833
adedaa1f
LL
28342012-04-13 Leo Liu <sdl.web@gmail.com>
2835
2836 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2837
70e74021
KB
28382012-04-13 Ken Brown <kbrown@cornell.edu>
2839
2840 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2841 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2842 (browse-url-filename-alist): For the same reason, don't modify
2843 file:// URLs on Cygwin.
2844
e75e89ba
SM
28452012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2846
2847 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2848 the region on shift if the binding is already shifted (bug#11221).
2849
82f289a4
GM
28502012-04-12 Glenn Morris <rgm@gnu.org>
2851
2852 * mail/mailpost.el: Move to obsolete/.
2853
d333dc4c
DA
28542012-04-12 Drew Adams <drew.adams@oracle.com>
2855
2856 * imenu.el (imenu--generic-function): Ignore invisible definitions
2857 (bug#10123).
2858
0d15b5ba
VD
28592012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2860
2861 * hexl.el (hexl-bits): New variable.
2862 (hexl-options): Mention the variable in the doc string.
75f1671a 2863 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2864 (hexl-mode): Mention the new variable.
75f1671a
JB
2865 (hexl-mode, hexl-current-address, hexl-current-address):
2866 Use the displen.
0d15b5ba
VD
2867 (hexl-ascii-start-column): New function.
2868 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2869 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2870
64a440db
AM
28712012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2872
2873 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2874 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2875 the encoding, as expected by hunspell.
2876
6decb6c2
SM
28772012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * battery.el (battery--linux-sysfs-regexp): New const.
2880 (battery-status-function): Use it. Remove yeeloong special case.
2881 (battery-yeeloong-sysfs): Remove.
2882 (battery-echo-area-format): Remove yeeloong special case.
2883
088be6fb
SM
28842012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2885
6622e416
SM
2886 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2887 Reported by Noah Friedman.
2888
088be6fb
SM
2889 * subr.el (read-passwd): Use read-string.
2890
b49f886e
LMI
28912012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2892
2893 * vcursor.el (vcursor-move): Increase the priority of the overlay
2894 (bug#9663).
2895
a63067fc
DD
28962012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2897
2898 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2899 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2900
ac3cf14a
WS
29012012-04-11 William Stevenson <yhvh2000@gmail.com>
2902
2903 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2904 define-minor-mode (bug#10760).
2905
c4fc691b 29062012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2907
4d6769e1 2908 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2909 that directories matching `grep-find-ignored-files' won't be
2910 pruned (bug#10351).
2911
af23e2e5
CY
29122012-04-11 Chong Yidong <cyd@gnu.org>
2913
2914 * startup.el (command-line): Remove support for long-obsolete
2915 variable font-lock-face-attributes.
2916
ab7ce8c1
GM
29172012-04-11 Glenn Morris <rgm@gnu.org>
2918
2919 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2920
de8c03dc
SM
29212012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * window.el (window--state-get-1): Obey window-point-insertion-type.
2924
050cc68b
LB
29252012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2926
2927 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2928 to previous function when point is on the first character of a
75f1671a 2929 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2930
a38c310c
GM
29312012-04-11 Glenn Morris <rgm@gnu.org>
2932
effed0c2
GM
2933 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2934 not just file-errors.
2935
a38c310c
GM
2936 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2937 (vc-bzr-sha1): Use internal sha1.
2938
0221e323
SM
29392012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2942
43956923
SG
29432012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2944
2945 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2946 that start in the middle of the line (bug#10496).
2947
6a8c9eaf
DN
29482012-04-10 Dan Nicolaescu <dann@gnu.org>
2949
2950 * battery.el (battery-linux-proc-acpi): Only one battery is
2951 discharged at a time, but that seems to confuse battery.el when
2952 computing `rate-type' for the battery not being discharged
2953 (bug#10332).
2954
1930bf5d
SM
29552012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2a718f6f
SM
2957 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2958
599430d0
SM
2959 * international/quail.el: Use dolist and simplify.
2960 (quail-define-package, quail-update-keyboard-layout)
2961 (quail-define-rules): Use dolist.
2962 (quail-insert-kbd-layout, quail-get-translation): CSE.
2963
a2754b6c
SM
2964 * tmm.el: Use dolist, remove left over hook.
2965 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2966 Use dolist.
2967 (calendar-load-hook): Don't mess with it.
2968
1930bf5d
SM
2969 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2970 Use derived-mode-p. Run the diff asynchronously.
2971
9f67961c
LMI
29722012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2973
2974 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2975
2a8ce227
JB
29762012-04-10 Juanma Barranquero <lekktu@gmail.com>
2977
2978 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2979 (list-dynamic-libraries--loaded): New function.
2980 (list-dynamic-libraries--refresh): Use it.
2981
8f33b5f8
NW
29822012-04-10 Nathan Weizenbaum <nweiz@google.com>
2983
1930bf5d
SM
2984 * progmodes/python.el (python-fill-paragraph):
2985 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2986 disabled (bug#7018).
2987
b12f0439
L
29882012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2989
1930bf5d 2990 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2991 DOS/MS Windows for the Baltic languages. There are still plenty
2992 of texts written in this encoding/codepage (bug#6519).
b12f0439 2993
57c3bd01
GM
29942012-04-10 Glenn Morris <rgm@gnu.org>
2995
2996 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2997 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2998
6c3eab30
FA
29992012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3000
1930bf5d 3001 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3002 next-line "n" and previous-line "p" in order to make recentf more
3003 consistent with ibuffer, dired or org-mode (bug#9387).
3004
24d78a88
LMI
30052012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3006
bc72b5d9
LMI
3007 * image.el (put-image): Return the overlay created instead of the
3008 optional input string (bug#7834). Note that this may break code
3009 that is (for some reason or other) depending on `put-image'
3010 returning the string.
3011
bd2dba5a
LMI
3012 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3013
74beb59f
LMI
3014 * simple.el (zap-to-char): Allow zapping using input methods
3015 (bug#1580).
3016
24d78a88
LMI
3017 * textmodes/fill.el (fill-region): Leave point and mark where they
3018 were before filling (bug#5399).
3019
263f20cd
GM
30202012-04-09 Glenn Morris <rgm@gnu.org>
3021
3022 * version.el (emacs-bzr-get-version):
3023 Handle lightweight checkouts of local branches.
3024
58d1f797
AS
30252012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3026
263f20cd 3027 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3028
b4d3bc10
CY
30292012-04-09 Chong Yidong <cyd@gnu.org>
3030
3031 * custom.el (custom-variable-p): Return nil for non-symbol
3032 arguments instead of signaling an error.
3033 (user-variable-p): Obsolete alias for custom-variable-p.
3034
3035 * apropos.el (apropos-variable):
3036 * files-x.el (read-file-local-variable):
3037 * simple.el (set-variable):
3038 * woman.el (woman-mini-help):
3039 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3040
fd06db5d
GM
30412012-04-09 Glenn Morris <rgm@gnu.org>
3042
e5fcdb5e
GM
3043 * startup.el (normal-top-level): Don't look for leim-list.el
3044 in places where it will not be found. (Bug#910)
3045
fd06db5d
GM
3046 * international/mule-cmds.el (set-default-coding-systems):
3047 * files.el (normal-mode):
3048 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3049 This function was removed with ucs-tables.el in 2008.
3050
b39bb7e1
EZ
30512012-04-08 Eli Zaretskii <eliz@gnu.org>
3052
3053 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3054 ispell-encoding8-command to "-i", without a trailing space.
3055 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3056 separate command-line arguments, to specify the encoding, since
3057 that's how hunspell expects it.
3058
5c5b8e23
GM
30592012-04-08 Glenn Morris <rgm@gnu.org>
3060
3061 * loadup.el: Load bindings before cus-start.
3062 This reduces somewhat the number of "rogue" settings in emacs -Q.
3063
a1ed8b05
GM
30642012-04-07 Glenn Morris <rgm@gnu.org>
3065
3066 * version.el (emacs-bzr-get-version): New function.
dfae128a 3067 (emacs-bzr-version): New variable.
a1ed8b05
GM
3068 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3069 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3070
b142f158
EZ
30712012-04-07 Eli Zaretskii <eliz@gnu.org>
3072
dfae128a
GM
3073 * international/uni-bidi.el, international/uni-category.el:
3074 * international/uni-combining.el, international/uni-decimal.el:
3075 * international/uni-decomposition.el, international/uni-digit.el:
3076 * international/uni-lowercase.el, international/uni-mirrored.el:
3077 * international/uni-name.el, international/uni-numeric.el:
3078 * international/uni-titlecase.el, international/uni-uppercase.el:
3079 Update for Unicode 6.1.
b142f158 3080
9078ead6
EZ
30812012-04-07 Eli Zaretskii <eliz@gnu.org>
3082
3083 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3084
f23d2c7d
LMI
30852012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3086
3087 * window.el (shrink-window): Mention the `window-min-height'
3088 variable in the doc string.
3089
0a0a3573
BG
30902012-04-05 Bastien Guerry <bzg@altern.org>
3091
3092 * color.el (color-lighten-name): Fix typo.
3093
e5248ac9
SM
30942012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * server.el (server--on-display-p): New function.
3097 (server--on-display-p): Use it.
3098
b4243e22
GV
30992012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3100
3101 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3102 (bug#11145).
3103
305d9f44
SM
31042012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * comint.el (comint--common-quoted-suffix): Check string boundary
3107 before comparing (bug#11158).
3108 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3109
3d439cd1
CY
31102012-04-04 Chong Yidong <cyd@gnu.org>
3111
321cc491
CY
3112 * minibuffer.el (completion-extra-properties): Doc fix.
3113
3d439cd1
CY
3114 * subr.el (delayed-warnings-hook): Doc fix.
3115
2d562c0f
DU
31162012-04-04 Daiki Ueno <ueno@unixuser.org>
3117
3118 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3119 selection (Bug#11159).
3120 (epa-insert-keys): Inform that the default public key will be
3121 exported if no key is selected.
3122
4443f204
RS
31232012-04-04 Richard Stallman <rms@gnu.org>
3124
3125 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3126
529c06b6
CY
31272012-04-03 Chong Yidong <cyd@gnu.org>
3128
3129 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3130 mail-insert-file, not its obsolete alias mail-attach-file.
3131
66b907dc
MA
31322012-04-03 Michael Albinus <michael.albinus@gmx.de>
3133
3134 * notifications.el (notifications-notify): Fix docstring.
3135
c0ea195d
GM
31362012-04-02 Glenn Morris <rgm@gnu.org>
3137
3138 * emacs-lisp/authors.el (authors-aliases): Another addition.
3139
5ca64e00
MA
31402012-04-02 Michael Albinus <michael.albinus@gmx.de>
3141
3142 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3143 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3144 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3145
42ee526b
CY
31462012-04-01 Chong Yidong <cyd@gnu.org>
3147
3148 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3149 Handle root directory properly.
3150 (copy-directory): Caller changed.
3151
3152 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3153 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3154
0b021094
GM
31552012-03-31 Glenn Morris <rgm@gnu.org>
3156
40f86458
GM
3157 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3158
7019c177
GM
3159 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3160
a1daddd6
GM
3161 * calendar/calendar.el (calendar-window-list)
3162 (calendar-hide-window): Restore. (Bug#11140)
3163 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3164
0b021094
GM
3165 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3166
40311efc
TV
31672012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3168
3169 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3170 Check if file is a symlink (Bug#10489).
3171
3172 * files.el (copy-directory): Likewise.
3173
5319014e
CY
31742012-03-30 Chong Yidong <cyd@gnu.org>
3175
3176 * image.el (imagemagick-types-inhibit)
3177 (imagemagick-register-types): Doc fix.
3178
935d1290
AM
31792012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3180
ef24141c
SM
3181 * ispell.el (ispell-get-extended-character-mode):
3182 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3183 and treats ~word as ordinary words in pipe mode.
935d1290 3184
61c6e8fd
GM
31852012-03-30 Glenn Morris <rgm@gnu.org>
3186
3187 * tutorial.el (help-with-tutorial): Ensure local variables don't
3188 happen to make the buffer read-only. (Bug#11127)
3189
81fdff00
SM
31902012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3192 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3193 (perl-calculate-indent): Return `noindent' in strings.
3194
6e7a6ec0
SS
31952012-03-28 Sam Steingold <sds@gnu.org>
3196
3197 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3198 instead of the broken adhockery which does not prevent calendar
3199 buffers from being displayed at random after exit.
3200 (calendar-window-list, calendar-hide-window): Remove the broken
3201 adhockery.
3202
fee88ca0
GM
32032012-03-28 Glenn Morris <rgm@gnu.org>
3204
3205 * replace.el (query-replace-map): Doc fix.
3206
38de3354
AS
32072012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3208
3209 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3210 contents. (Bug#11109)
3211
b973155e
SM
32122012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3215 (bug#11077).
3216 (avl-tree--check, avl-tree--check-node): New funs.
3217
dcb6e7b3
MR
32182012-03-27 Martin Rudalics <rudalics@gmx.at>
3219
3220 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3221 (switch-to-prev-buffer, switch-to-next-buffer):
3222 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3223 showing a buffer already is done on the same frame.
3224
b4fa35fa
GM
32252012-03-27 Glenn Morris <rgm@gnu.org>
3226
3227 * startup.el (mail-host-address): Doc fix.
3228
f9210e18
SM
32292012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3232 than 197 variables.
3233
c0bf7753
AF
32342012-03-26 Ami Fischman <ami@fischman.org>
3235
3236 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3237
33da7b16
GM
32382012-03-26 Glenn Morris <rgm@gnu.org>
3239
02243d9d
GM
3240 * files.el (save-buffers-kill-emacs): Doc fix.
3241
33da7b16
GM
3242 * startup.el (normal-top-level, command-line, command-line-1):
3243 Give them doc strings.
3244
e5a69fd0
EZ
32452012-03-25 Eli Zaretskii <eliz@gnu.org>
3246
3247 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3248 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3249
9a69676a
CY
32502012-03-25 Chong Yidong <cyd@gnu.org>
3251
4125cb8b
CY
3252 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3253 theme if it was previously enabled before (Bug#11031).
3254
dd470960
CY
3255 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3256 spec with custom-face-get-current-spec if its :shown-value is not
3257 determined yet (Bug#9337).
4125cb8b 3258 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3259
9a69676a
CY
3260 * button.el (button-at): Minor addition to docstring.
3261
6e7e90fa
SL
32622012-03-24 Simon Leinen <simon.leinen@gmail.com>
3263
3264 * vc/vc.el (vc-merge): Fix a prompt.
3265
f06e2758
CY
32662012-03-24 Chong Yidong <cyd@gnu.org>
3267
3268 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3269 point (Bug#9623).
3270
6e7e90fa
SL
3271 * button.el (button-at): Minor addition to docstring.
3272
b9d0879b
SM
32732012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3274
3275 * newcomment.el (comment-choose-indent): No space after BOL.
3276
e71cebb3
SS
32772012-03-22 Sam Steingold <sds@gnu.org>
3278
3279 * window.el (switch-to-prev-buffer): Revert last patch because the
3280 bug turned out to be an advertised feature (Elisp manual 28.14).
3281
335aff35
GM
32822012-03-22 Glenn Morris <rgm@gnu.org>
3283
3284 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3285 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3286
c676576a
LMI
32872012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3288
3289 * net/network-stream.el (network-stream-open-starttls): Make error
3290 message under Windows be less misleading.
3291
126f3d39
LW
32922012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3293
3294 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3295 understands (bug#9942).
3296
64fee311
CY
32972012-03-22 Chong Yidong <cyd@gnu.org>
3298
3299 * simple.el (end-of-visible-line): Handle return value of
3300 next-single-property-change properly (Bug#9371).
3301
a640d29a
KH
33022012-03-22 Kenichi Handa <handa@m17n.org>
3303
3304 * international/quail.el (quail-insert-kbd-layout): Fix previous
3305 change. To avoid unwanted bidi reordering, use
3306 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3307
39675016
DG
33082012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3309
3310 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3311 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3312 (ruby-beginning-of-indent): Be more careful with the difference
3313 between word-boundary and symbol boundary.
3314 (ruby-mode-syntax-table): Make : a symbol constituent.
3315
0a6934fc 33162012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3317
3d008e4f
SM
3318 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3319
0a6934fc
SM
33202012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3321
af67c9d7
SM
3322 * progmodes/etags.el (tags-completion-at-point-function):
3323 Improve last fix.
3324
1acad97c
SM
3325 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3326
e298b5da
SS
33272012-03-21 Sam Steingold <sds@gnu.org>
3328
3329 * progmodes/etags.el (tags-completion-at-point-function):
3330 Avoid the error when point is inside the pattern.
3331
91d82a70
JY
33322012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3333
3334 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3335 line (Bug#10855).
3336
69188b79
CY
33372012-03-21 Drew Adams <drew.adams@oracle.com>
3338
3339 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3340
99fc91fe
AK
33412012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3342
3343 * ido.el (ido-set-current-directory, ido-read-internal)
3344 (ido-choose-completion-string, ido-completion-help): Handle nil
3345 value of ido-completion-buffer (Bug#11008).
3346
087bbb4c
SS
33472012-03-21 Sam Steingold <sds@gnu.org>
3348
3349 * window.el (switch-to-prev-buffer): Do not switch to a visible
3350 window previous buffer, just like with the frame previous buffers.
3351
fb5b8aca
CY
33522012-03-21 Chong Yidong <cyd@gnu.org>
3353
3354 * faces.el (make-face, make-empty-face, copy-face):
3355 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3356 Doc fixes.
3357
dc9924b8
SM
33582012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3359
3360 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3361 (widget-complete): Remove broken use of it.
3362
f0bcceb9
CY
33632012-03-20 Chong Yidong <cyd@gnu.org>
3364
dc9924b8
SM
3365 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3366 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3367 characters.
3368
ee52ebf3
TH
33692012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3370
3371 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3372 to draw rectangles, not squares. (Regression introduced by revno
3373 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3374
4c5779ab
CY
33752012-03-18 Chong Yidong <cyd@gnu.org>
3376
3377 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3378 it is not yet defined (for temacs).
3379
15360934
LL
33802012-03-18 Leo Liu <sdl.web@gmail.com>
3381
dc9924b8 3382 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3383
d9a8eb66
EZ
33842012-03-17 Eli Zaretskii <eliz@gnu.org>
3385
3386 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3387 (ispell-choices-win-default-height, ispell-silently-savep)
3388 (ispell-dictionary-alist, ispell-encoding8-command)
3389 (ispell-check-version, ispell-aspell-find-dictionary)
3390 (ispell-valid-dictionary-list, ispell-words-keyword)
3391 (ispell-get-word, ispell-internal-change-dictionary)
3392 (ispell-region, ispell-skip-region-list)
3393 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3394 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3395 (ispell-message-text-end, ispell-message)
3396 (ispell-buffer-local-parsing): Doc fix.
3397
f02ff80d
J
33982012-03-13 Jambunathan K <kjambunathan@gmail.com>
3399
3400 * htmlfontify.el: Add support for code block fontification for ODT
3401 export (Bug #9914).
3402 (hfy-optimisations): Define new option
3403 `body-text-only'
3404 (hfy-fontify-buffer): Honor above setting.
3405 (hfy-begin-span, hfy-end-span): New routines factored out form
3406 `hfy-fontify-buffer'.
3407 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3408 that permit insertion of custom tags.
3409 (hfy-fontify-buffer): Use above handlers.
3410 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3411 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3412 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3413 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3414 bind a special variable `hfy-user-sheet-assoc'.
3415 (htmlfontify-string): New defun.
3416 (hfy-compile-face-map): Make sure that the last char in the
3417 buffer is correctly fontified.
3418 (hfy-face-resolve-face): Whitespace only change.
3419
9ac7a13f
EZ
34202012-03-17 Eli Zaretskii <eliz@gnu.org>
3421
3422 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3423 message more clear.
3424
e2b5bdd7
LL
34252012-03-16 Leo Liu <sdl.web@gmail.com>
3426
3427 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3428
2e492df3
AM
34292012-03-16 Alan Mackenzie <acm@muc.de>
3430
3431 Further optimise the handling of large macros.
3432
3433 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3434 limit to a call of `c-literal-limits'.
3435 (c-determine-+ve-limit): New function.
dc9924b8
SM
3436 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3437 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3438 In CASE 5B, restrict a search limit to 500.
3439 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3440
3441 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3442 Restrict macro bounds to +-500 from after-change's BEG END.
3443
50e94f0c
LL
34442012-03-16 Leo Liu <sdl.web@gmail.com>
3445
3446 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3447
6f09f6ed
AH
34482012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3449
3450 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3451 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3452
c7e73d51
GM
34532012-03-16 Glenn Morris <rgm@gnu.org>
3454
da986230
GM
3455 * view.el (view-buffer, view-buffer-other-window)
3456 (view-buffer-other-frame): Doc fixes re special mode-class.
3457
0835f01e
GM
3458 * subr.el (eval-after-load): If named feature is provided not from
3459 a file, run after-load forms. (Bug#10946)
3460
c7e73d51
GM
3461 * calendar/calendar.el (calendar-insert-at-column):
3462 Handle non-unit-width characters a bit better. (Bug#10978)
3463
3f2eafd1
CY
34642012-03-15 Chong Yidong <cyd@gnu.org>
3465
3466 * emacs-lisp/ring.el (ring-extend): New function.
3467 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3468
3469 * comint.el (comint-read-input-ring)
3470 (comint-add-to-input-history): Grow comint-input-ring lazily.
3471
103af3fe
SM
34722012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3473
663b1677
SM
3474 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3475 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3476
103af3fe
SM
3477 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3478 (imenu-add-to-menubar): Don't add a redundant index.
3479 (imenu-update-menubar): Handle a dynamically composed keymap.
3480
899cb7cb
KY
34812012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3482
3483 * mail/sendmail.el (mail-encode-header):
3484 Bind rfc2047-encode-encoded-words to nil.
3485
3809f91d
GM
34862012-03-13 Glenn Morris <rgm@gnu.org>
3487
3488 * calendar/calendar.el (calendar-string-spread):
3489 Handle non-unit-width characters a bit better. (Bug#10978)
3490
9e345a01
LL
34912012-03-13 Leo Liu <sdl.web@gmail.com>
3492
3493 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3494 directory and file as argument (Bug#10822).
3495
4a07df36
KS
34962012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3497
3498 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3499 For dynamically generated code, follow $PC.
3500 (gdb-disassembly-handler-custom): Handle no function name case.
3501
4aaa9356
TL
35022012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3503
3504 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3505 * emulation/ws-mode.el (ws-query-replace):
3506 * sort.el (sort-regexp-fields):
3507 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3508
225979da
SM
35092012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3510
3511 * dabbrev.el: Fix cycle completion order (bug#10963).
3512 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3513 (dabbrev-completion): Don't use an obarray; provide
3514 a cycle-sort-function.
3515
e2f1fdab
LL
35162012-03-12 Leo Liu <sdl.web@gmail.com>
3517
dc9924b8 3518 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3519 (kill-do-not-save-duplicates): Doc fix.
3520
b19490ed
SM
35212012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * dabbrev.el: Fix cycle completion (bug#10963).
3524 Use lexical binding and wrap to 80 columns.
3525 (dabbrev-completion): Delay computing the list of completions.
3526
4b05d722
KH
35272012-03-12 Kenichi Handa <handa@m17n.org>
3528
3529 * international/quail.el (quail-insert-kbd-layout): Surround each
3530 row by LRO and PDF instead of inserting many LRMs. Pad the left
3531 and right of each non-spacing marks. Insert invisible space
3532 between lower and upper characters to prevent composition.
3533
dbbc2e69
SM
35342012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3535
3536 * minibuffer.el (minibuffer-complete): Don't get confused when the
3537 function is run twice via different commands (bug#10958).
3538 (complete-with-action): Fix docstring.
3539
292112ed
CY
35402012-03-12 Chong Yidong <cyd@gnu.org>
3541
5d1ac394
CY
3542 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3543 (nxml-completion-at-point-function): New function.
3544 (nxml-mode): Use it.
3545 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3546
292112ed
CY
3547 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3548 Load generated autoloads file before byte compiling (Bug#10970).
3549 (package--make-autoloads-and-compile): New helper fun.
3550
4098f8f7
CS
35512012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3552
3553 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3554
8f754691
MA
35552012-03-11 Michael Albinus <michael.albinus@gmx.de>
3556
3557 * autorevert.el (auto-revert-handler): Ensure, that
3558 file-readable-p is applied only for local files or in
3559 auto-revert-tail-mode.
3560
e29ab36b
AS
35612012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3562
dbbc2e69
SM
3563 * server.el (server-eval-at): Handle non-tcp connections.
3564 Decode result string.
ad0bf5b6 3565
e29ab36b
AS
3566 * server.el (server-msg-size): New constant.
3567 (server-reply-print): New function.
3568 (server-eval-and-print): Use it.
3569 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3570 Handle -print-nonl.
3571
de5939ba
CS
35722012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3573
3574 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3575 (Bug#10987).
3576
0c93eabf
CY
35772012-03-11 Chong Yidong <cyd@gnu.org>
3578
397a688f
CY
3579 * simple.el (goto-line): Doc fix (Bug#9938).
3580
2cc775f9
CY
3581 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3582
0c93eabf
CY
3583 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3584 when finished (Bug#10963).
3585
c491fa41
MR
35862012-03-11 Martin Rudalics <rudalics@gmx.at>
3587
3588 * window.el (split-window-below): Fix bug in case where
3589 split-window-keep-point is nil (Bug#10971).
3590
300e8fa5
JL
35912012-03-11 Juri Linkov <juri@jurta.org>
3592
3593 * replace.el (replace-highlight): Set isearch-word to nil
3594 unconditionally. (Bug#10887)
3595
dbf6c5a1
EZ
35962012-03-10 Eli Zaretskii <eliz@gnu.org>
3597
3598 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3599 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3600 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3601 (mairix-widget-create-query): Add usage information about mairix
3602 search forms: negating words, searching for substrings, etc.
3603
b9e501de
JP
36042012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3605
3606 * international/fontset.el (font-encoding-alist): Add an entry for
3607 ksx1001 (Bug#5667).
3608
92795c91
RS
36092012-03-10 Richard Stallman <rms@gnu.org>
3610
1694e6c1
RS
3611 * mail/sendmail.el (mail-encode-header):
3612 Set rfc2047-encode-encoded-words.
3613
607e8555
RS
3614 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3615
de3bc99a
RS
3616 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3617 view buffer means not swapped.
3618 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3619 (rmail-write-region-annotate): Error if real text has disappeared.
3620
92795c91
RS
3621 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3622
699bd04e
CY
36232012-03-10 Chong Yidong <cyd@gnu.org>
3624
3625 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3626 * emulation/cua-base.el (cua--init-keymaps):
3627 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3628
570a1714
MR
36292012-03-10 Martin Rudalics <rudalics@gmx.at>
3630
dbbc2e69
SM
3631 * speedbar.el (speedbar-unhighlight-one-tag-line):
3632 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3633
82dcf4e4
CY
36342012-03-10 Chong Yidong <cyd@gnu.org>
3635
7a2c7ca7
CY
3636 * minibuffer.el (completion-in-region, completion-help-at-point):
3637 Give the completion field overlay a high priority (Bug#6830).
3638
82dcf4e4
CY
3639 * dired.el (dired-goto-file): Recognize absolute file name
3640 listings (Bug#7126).
3641 (dired-goto-file-1): New helper function.
3642 (dired-toggle-read-only): Inhibit warnings.
3643
052e28ac
MA
36442012-03-09 Michael Albinus <michael.albinus@gmx.de>
3645
75f1671a 3646 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3647 there are no properties.
3648
95d5e396
LL
36492012-03-09 Leo Liu <sdl.web@gmail.com>
3650
3651 * savehist.el (savehist-printable): Stricter check for string
3652 value (Bug#10937).
3653
3f018d6d
EZ
36542012-03-09 Eli Zaretskii <eliz@gnu.org>
3655
dbbc2e69
SM
3656 * mail/smtpmail.el (smtpmail-send-it):
3657 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3658 valid mbox format.
3659
f7fd3d79
GM
36602012-03-09 Glenn Morris <rgm@gnu.org>
3661
3662 * files.el (dir-locals-find-file):
3663 Don't check result is regular, readable.
3664 (dir-locals-read-from-file): Demote errors.
3665
6ff6e72f
EZ
36662012-03-08 Eli Zaretskii <eliz@gnu.org>
3667
dbbc2e69
SM
3668 * international/quail.el (quail-insert-kbd-layout):
3669 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3670 layout cell, to prevent their reordering by bidi display engine.
3671 For details, see the discussion in
3672 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3673
9cec7834
AM
36742012-03-08 Alan Mackenzie <acm@muc.de>
3675
3676 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3677 the starting position; make it extend the marked region when
3678 invoked repeatedly - all under appropriate circumstances.
3679 Fixes bugs #5525, #10906.
3680
9a40b8d4
GM
36812012-03-08 Glenn Morris <rgm@gnu.org>
3682
3683 * files.el (locate-dominating-file, dir-locals-find-file):
3684 Undo 2012-03-06 change.
3685
7a08ed35
EZ
36862012-03-07 Eli Zaretskii <eliz@gnu.org>
3687
dbbc2e69
SM
3688 * international/quail.el (quail-help):
3689 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3690 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3691 for the reason.
3692
5aca4f71 36932012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3694
3695 Avoid superfluous registering of signals. (Bug#10807)
3696
3697 * notifications.el (notifications-on-action-object)
3698 (notifications-on-close-object): New defvars.
3699 (notifications-on-action-signal, notifications-on-closed-signal):
3700 Unregister the signal if not needed any longer.
3701 (notifications-notify): Register `notifications-action-signal' or
3702 `notifications-closed-signal', if :on-action or :on-close has been
3703 passed as argument.
3704
78e8b10a
CY
37052012-03-07 Chong Yidong <cyd@gnu.org>
3706
3707 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3708 non-X platforms.
3709
69481eb8
GM
37102012-03-06 Glenn Morris <rgm@gnu.org>
3711
3712 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3713 (x-disown-selection-internal, x-get-selection-internal):
3714 Doc fix (add arglist signatures). (Bug#10783)
3715
133b8e11
KS
37162012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3717
3718 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3719 Handle breakpoints with no "type".
3720
99a83064
GM
37212012-03-06 Glenn Morris <rgm@gnu.org>
3722
3723 * files.el (locate-dominating-file): Add optional predicate argument.
3724 (dir-locals-find-file): Make use of above change.
3725
17798e78
TTN
37262012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3727
3728 * info.el (Info-insert-dir): Also try "dir.gz".
3729
eb182446
GM
37302012-03-06 Glenn Morris <rgm@gnu.org>
3731
8f2114ee
GM
3732 * files.el (dir-locals-find-file):
3733 Ignore non-readable or non-regular files. (Bug#10928)
3734
eb182446
GM
3735 * files.el (locate-dominating-file): Doc fix.
3736
24679323
AS
37372012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3738
3739 * calendar/calendar.el (calendar-set-mode-line):
3740 `getenv' returns a string. (Bug#10951)
3741
01d972a9
LL
37422012-03-05 Leo Liu <sdl.web@gmail.com>
3743
109aa8a9
LL
3744 * simple.el (backward-delete-char-untabify): Constrain point to
3745 field (Bug#10939).
3746
01d972a9
LL
3747 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3748
10607bea
CY
37492012-03-05 Chong Yidong <cyd@gnu.org>
3750
3751 * simple.el (count-words): If called from Lisp, return the word
3752 count, for symmetry with `count-lines'. Arglist changed.
3753 (count-words--message): Args changed. Consolidate counting code
3754 from count-words and count-words-region.
3755 (count-words-region): Caller changed.
3756 (count-lines-region): Make it an obsolete alias.
3757
5dd11cfe
TH
37582012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3759
3760 * saveplace.el (save-place-to-alist)
3761 (save-place-ignore-files-regexp): Allow value nil to disable this
3762 feature.
3763
c349f4e6
CY
37642012-03-04 Chong Yidong <cyd@gnu.org>
3765
3766 * faces.el (face-spec-reset-face): For the default face, reset the
3767 attributes to default values (Bug#10748).
3768
e627be4c
LMI
37692012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3770
3771 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3772 previous patch: Check `message-send-mail-function', and not the
3773 default function (bug#10897).
3774
ebeabff4
MA
37752012-03-04 Michael Albinus <michael.albinus@gmx.de>
3776
a41a6cf4
MA
3777 * notifications.el (notifications-on-action-signal)
3778 (notifications-on-closed-signal): Check for unique service name of
3779 incoming event. Fix error in removing entry.
ebeabff4 3780 (top): Register for signals with wildcard service name.
a41a6cf4 3781 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3782
c1ca42b4
CY
37832012-03-04 Chong Yidong <cyd@gnu.org>
3784
dc9924b8 3785 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3786
ea16568d
GM
37872012-03-04 Glenn Morris <rgm@gnu.org>
3788
3789 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3790 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3791 (expand-abbrev, define-abbrev-table): Doc fixes.
3792
fbae4637
LMI
37932012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3794
3795 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3796 `message-default-send-mail-function' and not `send-mail-function'
3797 when doing the prompting for `sendmail-query-once' before sending
3798 in Message buffers (bug#10897).
3799
a1e7225c
LMI
3800 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3801 This is inconsistent with all the other stream functions, which leave
3802 the setting up to the higher levels (if so wanted) (bug#10931).
3803
56d093a9
AM
38042012-03-02 Alan Mackenzie <acm@muc.de>
3805
3806 Depessimize the handling of very large macros.
3807
3808 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3809 (c-macro-cache-syntactic): New variables to implement a one
3810 element macro cache.
3811 (c-invalidate-macro-cache): New function.
3812 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3813 Adapt to use the new cache.
3814 (c-state-safe-place): Use better the cache of safe positions.
3815 (c-state-semi-nonlit-pos-cache)
3816 (c-state-semi-nonlit-pos-cache-limit):
3817 New variables for...
3818 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3819 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3820 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3821 Use c-state-semi-safe-place.
56d093a9 3822
dbbc2e69
SM
3823 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3824 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3825
817e5c3d
MA
38262012-03-02 Michael Albinus <michael.albinus@gmx.de>
3827
dbbc2e69
SM
3828 * jka-compr.el (jka-compr-call-process):
3829 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3830 not remote.
3831
a032a702
MA
38322012-03-01 Michael Albinus <michael.albinus@gmx.de>
3833
3834 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3835 access of FILE2, if FILE1 does not exist.
3836
99a54f21
MA
3837 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3838 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3839
3840 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3841 Add "PAGER=" to `process-environment'.
3842
f6561e1f
MM
38432012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3844
3845 * progmodes/sql.el: Bug fix
3846 (sql-get-login-ext): Save login values in globals.
3847 (sql-get-login): Use new version of `sql-get-login-ext'.
3848 (sql-interactive-mode): Set global `sql-connection' to nil.
3849 (sql-connect): Set global values for connection.
3850 (sql-product-interactive): Save global values as buffer local.
3851
2d44d9cc
LL
38522012-02-29 Leo Liu <sdl.web@gmail.com>
3853
3854 * abbrev.el (define-abbrevs): Reset sys to nil.
3855
96b49301 38562012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3857
bf7f9bc5
JB
3858 * files.el (file-equal-p): Rename from `files-equal-p'.
3859 Return nil when one or both files don't exist.
96b49301 3860 (file-subdir-of-p): Now only top directory must exists,
3861 return nil if it doesn't.
bf7f9bc5
JB
3862 (copy-directory): No need to test with `file-subdir-of-p' after
3863 creating dir.
3864 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3865 to `file-equal-p'.
96b49301 3866
44e97401
GM
38672012-02-28 Glenn Morris <rgm@gnu.org>
3868
3869 * shell.el (shell-mode):
3870 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3871 * play/landmark.el (landmark-font-lock-face-O):
3872 * play/handwrite.el (handwrite):
3873 * play/gomoku.el (gomoku-O):
3874 * net/browse-url.el (browse-url-browser-display):
3875 * international/mule.el (define-charset):
3876 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3877 * filesets.el (filesets-find-file-delay):
3878 * eshell/em-xtra.el (eshell-xtra):
3879 * eshell/em-unix.el (eshell-grep):
3880 * emulation/viper.el (viper-mode):
3881 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3882 * emacs-lisp/easymenu.el (easy-menu-define):
3883 * calendar/timeclock.el (timeclock-use-display-time):
3884 * bs.el (bs-mode):
3885 * bookmark.el (bookmark-save-flag):
3886 Doc fix (standardize possessive apostrophe usage).
3887
c98c6276
CY
38882012-02-27 Chong Yidong <cyd@gnu.org>
3889
bf7f9bc5
JB
3890 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3891 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3892
c98c6276
CY
3893 * font-lock.el (font-lock-specified-p): Rename from
3894 font-lock-spec-present. Callers changed.
3895
9c62cd04 38962012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3897
bf7f9bc5
JB
3898 * emacs-lisp/package.el (package-compute-transaction):
3899 Handle holding a package version to t in package-load-list.
8ac9e529 3900
530739c9
MA
39012012-02-26 Michael Albinus <michael.albinus@gmx.de>
3902
3903 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3904 (tramp-get-inode, tramp-get-device): Use cached values.
3905
487915d7
AM
39062012-02-26 Alan Mackenzie <acm@muc.de>
3907
3908 Check there is a font-lock specification before doing initial
3909 fontification.
3910
3911 * font-core.el (font-lock-mode): Move the conditional from
3912 :after-hook to font-lock-initial-fontify.
3913 (font-lock-default-function): Move the check for a specification
3914 to font-lock-spec-present.
3915
dc9924b8 3916 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3917 (font-lock-spec-present): New function.
3918
4fd96557
JB
39192012-02-26 Jim Blandy <jimb@red-bean.com>
3920
3921 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3922 (gdb-send): Apply it to the operand of the '-interpreter-exec
3923 console' command, so that we can pass arguments with (say) quotes
3924 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3925
9a4888c0
CY
39262012-02-26 Chong Yidong <cyd@gnu.org>
3927
07498861
CY
3928 * help-fns.el (describe-function-1): Clarify description of
3929 remapping (Bug#10844).
3930
9a4888c0
CY
3931 * files.el (files-equal-p): Doc fix.
3932 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3933 and quit the loop once a mismatch is found.
3934
ea8fb88d
JB
39352012-02-25 Juanma Barranquero <lekktu@gmail.com>
3936
3937 * bs.el (bs--show-with-configuration): Don't throw an error
3938 if the window cannot be split; otherwise, subsequent calls to
3939 bs-show fail, restoring a stale window config. (Bug#10882)
3940
525795c1
JD
39412012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3942
3943 * term/ns-win.el (global-map): Bind ns-drag-file to
3944 ns-find-file (Bug#5855, Bug#10050).
3945
f008086f
AS
39462012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3947
3948 * calendar/parse-time.el (parse-time-string): Allow extractor to
3949 return nil.
3950
a3fcfa99
MA
39512012-02-25 Michael Albinus <michael.albinus@gmx.de>
3952
91027d08
JB
3953 * net/tramp.el (tramp-file-name-for-operation):
3954 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3955
3956 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3957 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3958 Add COPY-CONTENTS argument.
a3fcfa99 3959
67b0de11
CY
39602012-02-25 Chong Yidong <cyd@gnu.org>
3961
3962 Add custom groups for VC backends, for consistency with vc-bzr.
3963
3964 * vc/vc-arch.el (vc-arch):
3965 * vc/vc-cvs.el (vc-cvs):
3966 * vc/vc-git.el (vc-git):
3967 * vc/vc-hg.el (vc-hg):
3968 * vc/vc-mtn.el (vc-mtn):
3969 * vc/vc-rcs.el (vc-rcs):
3970 * vc/vc-sccs.el (vc-sccs):
3971 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3972 All relevant defcustoms reassigned.
3973
3c9dfce6
CY
39742012-02-25 Chong Yidong <cyd@gnu.org>
3975
1339bf43
CY
3976 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3977
3c9dfce6
CY
3978 * term/x-win.el (x-initialize-window-system): Reduce default for
3979 x-selection-timeout to 5 seconds (Bug#8869).
3980
25b2e303 39812012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3982
ec70a47d
GM
3983 * files.el (files-equal-p, file-subdir-of-p): New functions.
3984 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3985 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3986 * dired-aux.el (dired-copy-file-recursive): Same.
3987 (dired-create-files): Modify destination when source is equal to
3988 dest when copying files.
53a46cd0 3989 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3990
914260cd
MA
39912012-02-24 Michael Albinus <michael.albinus@gmx.de>
3992
3993 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3994 (Bug#10874)
3995
2cb228f7
AM
39962012-02-23 Alan Mackenzie <acm@muc.de>
3997
3998 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3999 parameter "after-hook:" to allow the expansion to run code after
4000 the execution of the mode hooks.
4001
4002 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4003 from font-lock-mode-internal.
2cb228f7 4004
91027d08 4005 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4006 :after-hook.
4007
8f0fde21
SM
40082012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4009
3e88618b
SM
4010 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4011 (completion--cache-all-sorted-completions): New function.
4012 (completion-all-sorted-completions): Use it.
4013 (completion--do-completion, minibuffer-force-complete):
4014 Use it to re-instate the flush hook.
4015
8f0fde21
SM
4016 * icomplete.el (icomplete-completions): Replace last fix with a better
4017 one (bug#10850).
4018
8e911f6f
DG
40192012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4020
4021 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4022 when it might call us back infinitely (bug#10797).
4023
49fe4321
GM
40242012-02-23 Glenn Morris <rgm@gnu.org>
4025
4026 * minibuffer.el (completion-category-overrides): Doc fix.
4027
b291b572
SM
40282012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4031 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4032
31a9ef2e
GM
40332012-02-23 Glenn Morris <rgm@gnu.org>
4034
5e6e6794 4035 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4036 (authors-obsolete-files-regexps, authors-ignored-files)
4037 (authors-ambiguous-files, authors-renamed-files-alist):
4038 Add more entries.
4039
0bd1e074
JL
40402012-02-23 Juri Linkov <juri@jurta.org>
4041
4042 * isearch.el (isearch-occur): Sync interactive spec with occur's
4043 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4044
b617673c
JL
4045 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4046
19e9789e
JL
40472012-02-22 Juri Linkov <juri@jurta.org>
4048
4049 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4050 (ucs-insert): Doc fix. Check for hex digits in the string.
4051 Don't display `nil' in the error message. (Bug#10857)
4052
f41ce09d
AM
40532012-02-22 Alan Mackenzie <acm@muc.de>
4054
7a71b18d 4055 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4056
ac2eceee
GM
40572012-02-22 Glenn Morris <rgm@gnu.org>
4058
4059 * ffap.el (ffap-c-path):
4060 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4061
abd1f678
CY
40622012-02-22 Chong Yidong <cyd@gnu.org>
4063
4064 * custom.el (load-theme): Doc fix.
4065
f25aef2e
GM
40662012-02-22 Glenn Morris <rgm@gnu.org>
4067
4068 * dired-x.el (dired-guess-shell-alist-default):
4069 Remove escape sequences from nroff output. (Bug#172)
4070
5f8dc2ca
GM
40712012-02-21 Glenn Morris <rgm@gnu.org>
4072
6ff86ec4
GM
4073 * vc/emerge.el (emerge-defvar-local):
4074 Set `permanent-local' property rather than unused `preserved'.
4075
be3223a3 4076 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4077 (picture-mode-map): Use it. (Bug#10860)
4078 (picture-mode): Doc fix.
4079
3fe58f4f
JB
40802012-02-21 Juanma Barranquero <lekktu@gmail.com>
4081
4082 * newcomment.el (uncomment-region-default): Remove unused binding.
4083
f9a998c3
GM
40842012-02-21 Glenn Morris <rgm@gnu.org>
4085
4086 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4087 (picture-self-insert, picture-tab-chars): Doc fix.
4088 (picture-mode-map): Fix C-a, C-e.
4089
c6029348
GM
40902012-02-20 Glenn Morris <rgm@gnu.org>
4091
4092 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4093
ab1ce9d7
LL
40942012-02-20 Leo Liu <sdl.web@gmail.com>
4095
4096 * icomplete.el (icomplete-completions): Check FROM arg before
4097 passing to substring (Bug#10850).
4098
0fd40f89
CY
40992012-02-19 Chong Yidong <cyd@gnu.org>
4100
4101 * comint.el: Require ansi-color.
4102 (comint-output-filter-functions): Add ansi-color-process-output.
4103
4104 * ansi-color.el: Don't set comint-output-filter-functions; it is
4105 now in the initial value defined in comint.el.
4106 (ansi-color-apply-face-function): New variable.
4107 (ansi-color-apply-on-region): Use it.
4108 (ansi-color-apply-overlay-face): New function.
4109
4110 * shell.el (shell): No need to require ansi-color.
4111 (shell-mode): Use ansi-color-apply-face-function to highlight
4112 color escapes using font-lock-face property (Bug#10835).
4113
20af2394
CY
41142012-02-19 Chong Yidong <cyd@gnu.org>
4115
4116 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4117 mode-line formats (Bug#10839).
4118
e23a3fbe
GM
41192012-02-18 Glenn Morris <rgm@gnu.org>
4120
b474519e
GM
4121 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4122
4123 * mail/undigest.el (unforward-rmail-message): Doc fix.
4124
e23a3fbe
GM
4125 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4126
57939ff4
EZ
41272012-02-18 Eli Zaretskii <eliz@gnu.org>
4128
4129 * international/characters.el (script-list): Sync with the latest
4130 Unicode Character Database.
4131
0c23686e
AS
41322012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4133
4134 * international/titdic-cnv.el: Remove duplicate coding tag.
4135 * language/cham.el: Likewise.
4136 * language/tai-viet.el: Likewise.
4137
6818b449
GM
41382012-02-18 Glenn Morris <rgm@gnu.org>
4139
4140 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4141 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4142 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4143 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4144 * calendar/holidays.el (holiday-bahai-holidays)
4145 (calendar-holidays, list-holidays):
4146 Use utf-8 Bahá'í in doc-strings, menus, etc.
4147
0311a3fc
TH
41482012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4149
4150 * saveplace.el (save-place-ignore-files-regexp): New variable
4151 allowing for excluding files from saving their location of point.
4152 The default value matches the temporary commit message editing
4153 files from Git, SVN, Bazaar, and Mercurial.
4154 (save-place-to-alist): Use it.
4155
eb864a71
LM
41562012-02-17 Lawrence Mitchell <wence@gmx.li>
4157 Stefan Monnier <monnier@iro.umontreal.ca>
4158
4159 * newcomment.el (uncomment-region-default): Don't leave extra space
4160 when an arg is provided (bug#8150).
4161
ee0ce425
TZ
41622012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4163
eb864a71 4164 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4165
95ddf442
GM
41662012-02-17 Glenn Morris <rgm@gnu.org>
4167
4168 * net/socks.el: Require network-stream. (Bug#10599)
4169
48dd1e39 41702012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4171
4172 * international/charprop.el:
4173 * international/uni-name.el:
4174 * international/uni-old-name.el:
4175 * international/uni-comment.el: Regenerate.
4176
d68cd087
GM
41772012-02-16 Glenn Morris <rgm@gnu.org>
4178
4179 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4180 Interactively in calendar buffer, give an error if not on a date.
4181
13932042
GM
41822012-02-15 Glenn Morris <rgm@gnu.org>
4183
4184 * shell.el (shell-delimiter-argument-list):
4185 Revert 2011-02-17 change. (Bug#8027)
4186
c3a70e2b
CY
41872012-02-15 Chong Yidong <cyd@gnu.org>
4188
60236b0d
CY
4189 * minibuffer.el (completion-at-point-functions): Doc fix.
4190
c3a70e2b
CY
4191 * custom.el (defcustom): Doc fix; note use of defvar.
4192
9f26dc24
GM
41932012-02-15 Glenn Morris <rgm@gnu.org>
4194
4195 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4196 Doc fixes.
4197
6546b134
GM
41982012-02-14 Glenn Morris <rgm@gnu.org>
4199
4200 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4201
d29b2b4c
LI
42022012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4203
4204 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4205 way the ports list is computed.
835bdcba
LI
4206 (smtpmail-query-smtp-server): Prompt the user for a port number if
4207 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4208
08dcdbc9
TZ
42092012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4210
4211 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4212
2605051a
GM
42132012-02-13 Glenn Morris <rgm@gnu.org>
4214
4215 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4216
7ee99f32
TZ
42172012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4218
4219 * net/gnutls.el (gnutls-trustfiles): New variable.
4220 (gnutls-negotiate): Use it.
4221
5f0af64f
LI
42222012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4223
4224 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4225 does its stuff if Gnus is running.
4226
c14fcc95
AM
42272012-02-13 Alan Mackenzie <acm@muc.de>
4228
4229 Fix a loop in c-set-fl-decl-start.
4230
7a71b18d 4231 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4232 c-backward-syntactic-ws actually moves backwards.
4233
142b4d90
LL
42342012-02-13 Leo Liu <sdl.web@gmail.com>
4235
4236 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4237 beginning so that all \C-o chars are removed.
4238
fa9958a6
TZ
42392012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4240
dc9924b8 4241 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4242
0bc5886a
AM
42432012-02-12 Alan Mackenzie <acm@muc.de>
4244
4245 Fix infinite loop with long macros.
4d6769e1 4246 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4247
d4bd55e7
CY
42482012-02-12 Chong Yidong <cyd@gnu.org>
4249
4250 * window.el (display-buffer): Doc fix (Bug#10785).
4251
66f3fe22
GM
42522012-02-12 Glenn Morris <rgm@gnu.org>
4253
bd7da63e
GM
4254 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4255 (x-disown-selection-internal, x-get-selection-internal):
4256 Sync docs with the xselect.c versions.
4257
66f3fe22
GM
4258 * allout-widgets.el: Add missing license notice.
4259
3e0d2fa7
GM
42602012-02-11 Glenn Morris <rgm@gnu.org>
4261
cfecdf09
GM
4262 * select.el (x-get-selection-internal, x-own-selection-internal)
4263 (x-disown-selection-internal):
4264 * x-dnd.el (x-get-selection-internal): Update declarations.
4265
6d216d7f
GM
4266 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4267
2bed3f04
GM
4268 * window.el (window-sides-slots):
4269 * tool-bar.el (tool-bar-position):
4270 * term/xterm.el (xterm-extra-capabilities):
4271 * ses.el (ses-self-reference-early-detection):
4272 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4273 (verilog-auto-wire-type)
4274 (verilog-auto-delete-trailing-whitespace)
4275 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4276 (verilog-auto-tieoff-declaration):
4277 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4278 (sql-oracle-statement-starters, sql-oracle-scan-on):
4279 * progmodes/prolog.el (prolog-align-comments-flag)
4280 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4281 (prolog-left-indent-regexp, prolog-paren-indent-p)
4282 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4283 (prolog-types, prolog-mode-specificators)
4284 (prolog-determinism-specificators, prolog-directives)
4285 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4286 (prolog-electric-dot-flag)
4287 (prolog-electric-dot-full-predicate-template)
4288 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4289 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4290 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4291 (prolog-program-switches, prolog-prompt-regexp)
4292 (prolog-debug-on-string, prolog-debug-off-string)
4293 (prolog-trace-on-string, prolog-trace-off-string)
4294 (prolog-zip-on-string, prolog-zip-off-string)
4295 (prolog-use-standard-consult-compile-method-flag)
4296 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4297 (prolog-imenu-max-lines, prolog-info-predicate-index)
4298 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4299 (prolog-char-quote-workaround):
4300 * progmodes/cc-vars.el (c-defun-tactic):
4301 * net/tramp.el (tramp-encoding-command-interactive)
4302 (tramp-local-end-of-line):
4303 * net/soap-client.el (soap-client):
4304 * net/netrc.el (netrc-file):
4305 * net/gnutls.el (gnutls):
4306 * minibuffer.el (completion-category-overrides)
4307 (completion-cycle-threshold)
4308 (completion-pcm-complete-word-inserts-delimiters):
4309 * man.el (Man-name-local-regexp):
4310 * mail/feedmail.el (feedmail-display-full-frame):
4311 * international/characters.el (glyphless-char-display-control):
4312 * eshell/em-ls.el (eshell-ls-date-format):
4313 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4314 (lisp-lambda-list-keyword-parameter-indentation)
4315 (lisp-lambda-list-keyword-parameter-alignment):
4316 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4317 * dired-x.el (dired-omit-verbose):
4318 * cus-theme.el (custom-theme-allow-multiple-selections):
4319 * calc/calc.el (calc-highlight-selections-with-faces)
4320 (calc-lu-field-reference, calc-lu-power-reference)
4321 (calc-note-threshold):
4322 * battery.el (battery-mode-line-limit):
4323 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4324 (archive-7z-update):
4325 * allout.el (allout-prefixed-keybindings)
4326 (allout-unprefixed-keybindings)
4327 (allout-inhibit-auto-fill-on-headline)
4328 (allout-flattened-numbering-abbreviation):
4329 * allout-widgets.el (allout-widgets-auto-activation)
4330 (allout-widgets-icons-dark-subdir)
4331 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4332 (allout-widgets-theme-dark-background)
4333 (allout-widgets-theme-light-background)
4334 (allout-widgets-item-image-properties-emacs)
4335 (allout-widgets-item-image-properties-xemacs)
4336 (allout-widgets-run-unit-tests-on-load)
4337 (allout-widgets-time-decoration-activity)
4338 (allout-widgets-hook-error-post-time)
4339 (allout-widgets-track-decoration):
4340 Add missing :version tags to new defcustoms and defgroups.
4341
5fec1b8e
GM
4342 * progmodes/sql.el (sql-ansi-statement-starters)
4343 (sql-oracle-statement-starters): Add custom type.
4344
3e0d2fa7
GM
4345 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4346 (prolog-system-version): Give it a type.
4347
90b671e2
EZ
43482012-02-11 Eli Zaretskii <eliz@gnu.org>
4349
4350 * term/pc-win.el (x-select-text, x-selection-owner-p)
4351 (x-own-selection-internal, x-disown-selection-internal)
4352 (x-get-selection-internal): Sync doc strings and argument lists
4353 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4354
5eac0c02
LL
43552012-02-11 Leo Liu <sdl.web@gmail.com>
4356
4357 * progmodes/python.el (python-end-of-statement): Fix infinite
4358 loop. (Bug#10788)
4359
f82cb659
GM
43602012-02-10 Glenn Morris <rgm@gnu.org>
4361
4362 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4363 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4364
cc26d239
LI
43652012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4366
4367 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4368 about SMTP before checking the From header.
4369
91027d08 4370 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4371 into own function for reuse by emacsbug.el.
4372
1be3ca5a
LL
43732012-02-10 Leo Liu <sdl.web@gmail.com>
4374
4375 * subr.el (condition-case-unless-debug): Rename from
4376 condition-case-no-debug. All callers changed.
4377 (with-demoted-errors): Fix caller.
4378
4379 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4380 * nxml/rng-valid.el (rng-do-some-validation):
4381 * emacs-lisp/package.el (package-refresh-contents)
4382 (package-menu-execute):
4383 * desktop.el (desktop-create-buffer):
91027d08 4384 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4385
b011fbfe
GM
43862012-02-10 Glenn Morris <rgm@gnu.org>
4387
b2096d72
GM
4388 * textmodes/bibtex.el:
4389 Add missing :version tags for new/changed defcustoms.
4390
b011fbfe
GM
4391 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4392
4c7e65bf
LI
43932012-02-09 Lars Ingebrigtsen <larsi@rusty>
4394
4395 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4396 (smtpmail-via-smtp): Use it, or fall back on the From address.
4397 (smtpmail-send-it): Ditto.
4398
f3934f6f
SM
43992012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4402 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4403 (byte-compile-tmp-var): New const.
4404 (byte-compile-defvar): Use it to minimize .elc size.
4405 Just use `defvar' rather than simulate it (bug#10761).
4406
a075a2c5
GM
44072012-02-09 Glenn Morris <rgm@gnu.org>
4408
cf3aa21b
GM
4409 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4410
354998cd
GM
4411 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4412 Add :version tags.
4413
dc9924b8
SM
4414 * progmodes/compile.el (compilation-error-screen-columns)
4415 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4416
dab3703d
GM
4417 * vc/log-view.el (log-view-toggle-entry-display):
4418 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4419
3f88cd72
GM
4420 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4421 (report-emacs-bug-can-use-xdg-email):
4422 (report-emacs-bug-insert-to-mailer): Doc fixes.
4423 (report-emacs-bug): Message fix.
4424
d95b247d
GM
4425 * net/browse-url.el (browse-url-can-use-xdg-open)
4426 (browse-url-xdg-open): Doc fixes.
4427
a075a2c5
GM
4428 * electric.el (electric-indent-mode, electric-pair-mode)
4429 (electric-layout-rules, electric-layout-mode): Doc fixes.
4430 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4431
ffb6157e
MR
44322012-02-08 Martin Rudalics <rudalics@gmx.at>
4433
4434 * server.el (server-unselect-display): Don't inadvertently kill
4435 the current buffer. (Bug#10729)
4436
e1ac4066
GM
44372012-02-08 Glenn Morris <rgm@gnu.org>
4438
34e8a2da
GM
4439 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4440 (sql-list-table): Doc fixes.
4441
b4ac6e8c
GM
4442 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4443 Comment out (does nothing).
4444
e1ac4066
GM
4445 * completion.el (dynamic-completion-mode):
4446 * dirtrack.el (dirtrack-debug-mode):
4447 * electric.el (electric-layout-mode):
4448 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4449 * face-remap.el (text-scale-mode, buffer-face-mode):
4450 * iimage.el (iimage-mode):
4451 * image-mode.el (image-transform-mode):
4452 * minibuffer.el (completion-in-region-mode):
4453 * scroll-lock.el (scroll-lock-mode):
4454 * simple.el (next-error-follow-minor-mode):
4455 * tar-mode.el (tar-subfile-mode):
4456 * tooltip.el (tooltip-mode):
4457 * vcursor.el (vcursor-use-vcursor-map):
4458 * wid-browse.el (widget-minor-mode):
4459 * emulation/tpu-edt.el (tpu-edt-mode):
4460 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4461 * international/iso-ascii.el (iso-ascii-mode):
4462 * language/thai-util.el (thai-word-mode):
4463 * mail/supercite.el (sc-minor-mode):
4464 * net/goto-addr.el (goto-address-mode):
4465 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4466 * progmodes/cwarn.el (cwarn-mode):
4467 * progmodes/flymake.el (flymake-mode):
4468 * progmodes/glasses.el (glasses-mode):
4469 * progmodes/hideshow.el (hs-minor-mode):
4470 * progmodes/pascal.el (pascal-outline-mode):
4471 * textmodes/enriched.el (enriched-mode):
4472 * vc/smerge-mode.el (smerge-mode):
4473 Doc fixes (minor mode argument).
4474
5e0d957f
EZ
44752012-02-07 Eli Zaretskii <eliz@gnu.org>
4476
4477 * ls-lisp.el (ls-lisp-sanitize): New function.
4478 (ls-lisp-insert-directory): Use it to fix or remove any elements
4479 in file-alist with missing attributes. (Bug#4673)
4480
98d7371e
AM
44812012-02-07 Alan Mackenzie <acm@muc.de>
4482
4483 Fix spurious recognition of c-in-knr-argdecl.
4484
4485 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4486 putative K&R region.
4487
667ced3a
AM
44882012-02-07 Alan Mackenzie <acm@muc.de>
4489
eb864a71
LM
4490 * progmodes/cc-engine.el (c-forward-objc-directive):
4491 Prevent looping in "#pragma mark @implementation".
667ced3a 4492
5b77774d
MA
44932012-02-07 Michael Albinus <michael.albinus@gmx.de>
4494
4495 * notifications.el (notifications-on-closed-signal): Make `reason'
4496 optional. (Bug#10744)
4497
af008560
GM
44982012-02-07 Glenn Morris <rgm@gnu.org>
4499
60d47423
GM
4500 * emacs-lisp/easy-mmode.el (define-minor-mode):
4501 Doc fixes for the macro and the mode it defines.
4502
dd605cc4
GM
4503 * image.el (imagemagick-types-inhibit): Doc fix.
4504
af008560
GM
4505 * cus-start.el (imagemagick-render-type): Add it.
4506
5cc59a37
LI
45072012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4508
4d6769e1
JB
4509 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4510 Set the default at load time, too, so that `font-lock-fontify-buffer'
4511 can be called without setting up the entire mode first. This fixes
4512 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4513
9a6dd747
CY
45142012-02-06 Chong Yidong <cyd@gnu.org>
4515
2d16b285
CY
4516 * simple.el (list-processes--refresh): Delete exited processes
4517 (Bug#8094).
4518
171e9b6e
CY
4519 * comint.el (comint-next-prompt): next-single-char-property-change
4520 and prev-single-char-property-change never return nil (Bug#8657).
4521
9a6dd747
CY
4522 * custom.el (defcustom): Doc fix (Bug#9711).
4523
aa4589a7
CY
45242012-02-05 Chong Yidong <cyd@gnu.org>
4525
5c2a252f
CY
4526 * cus-edit.el (custom-variable-reset-backup): Quote the value
4527 before storing it in the customized-value property (Bug#6712).
4aab9006 4528 (custom-display): Add a customization type tag.
983b9602 4529 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4530
aa4589a7
CY
4531 * wid-edit.el (widget-field-value-get): New optional arg to
4532 suppress trailing whitespace truncation.
4533 (character): Use it (Bug#2689).
4534
1ff980ae
AS
45352012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4536
4537 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4538 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4539
03988c98
CY
45402012-02-05 Chong Yidong <cyd@gnu.org>
4541
eeb6cc88
CY
4542 * cus-edit.el (custom-variable-value-create): For mismatched
4543 types, show the current value (Bug#7600).
4544
03988c98
CY
4545 * custom.el (defcustom): Doc fix.
4546
f8cdeef0
GM
45472012-02-05 Glenn Morris <rgm@gnu.org>
4548
4549 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4550
0696d255
JB
45512012-02-05 Juanma Barranquero <lekktu@gmail.com>
4552
4553 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4554 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4555 (pp-last-sexp): Use `looking-at-p'.
4556
34c99998
GM
45572012-02-04 Glenn Morris <rgm@gnu.org>
4558
8f05da42
GM
4559 * files.el (revert-buffer):
4560 Doc fix (mention revert-buffer-in-progress-p).
4561
f160676e
GM
4562 * emacs-lisp/ert-x.el (ert-simulate-command):
4563 Check deferred-action-list (which is obsolete) is bound.
4564
c7291ad9
GM
4565 * subr.el (with-wrapper-hook): Doc fixes.
4566
34c99998
GM
4567 * simple.el (filter-buffer-substring-functions)
4568 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4569
6283a7d3
LL
45702012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4571
4572 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4573 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4574
e96e3013
LL
45752012-02-04 Leo Liu <sdl.web@gmail.com>
4576
4577 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4578
8ded50f2
GM
45792012-02-04 Glenn Morris <rgm@gnu.org>
4580
82ff1d13
GM
4581 * image.el (image-extension-data): Add obsolete alias.
4582
987a0a16
GM
4583 * isearch.el (isearch-update): Doc fix.
4584
ea32ef46
GM
4585 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4586
8ded50f2
GM
4587 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4588
eea14f31
GM
45892012-02-03 Glenn Morris <rgm@gnu.org>
4590
4591 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4592 (image-animate-timeout): Doc fix.
4593
4594 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4595
12f381b7
GM
45962012-02-02 Glenn Morris <rgm@gnu.org>
4597
953cebf5
GM
4598 * server.el (server-auth-dir): Doc fix.
4599 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4600
12f381b7
GM
4601 * subr.el (run-mode-hooks): Doc fix.
4602
953a8c3b
JL
46032012-02-02 Juri Linkov <juri@jurta.org>
4604
4605 * image-mode.el (image-toggle-display-image): Remove tautological
4606 `major-mode' from the `derived-mode-p' test.
4607
c5d3843c
KH
46082012-02-02 Kenichi Handa <handa@m17n.org>
4609
9f6e692e 4610 * composite.el (compose-region): Cancel previous change.
c5d3843c 4611
159462d4 46122012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4613
4614 * composite.el (compose-region, compose-string): Signal error for
4615 a null string component (Bug#6988).
4616
9f562668
CY
46172012-02-01 Chong Yidong <cyd@gnu.org>
4618
e2cef717
CY
4619 * view.el (view-buffer-other-window, view-buffer-other-frame):
4620 Handle special modes like view-buffer (Bug#10650).
4621 (view-buffer): Simplify.
4622
9f562668
CY
4623 * frame.el (set-frame-font): Tweak meaning of third argument.
4624
9f6e692e
JB
4625 * dynamic-setting.el (font-setting-change-default-font):
4626 Use set-frame-font (Bug#9982).
9f562668 4627
781acb9f
GM
46282012-02-01 Glenn Morris <rgm@gnu.org>
4629
6035be52
GM
4630 * progmodes/compile.el (compilation-internal-error-properties):
4631 Respect compilation-first-column in the "*compilation*" buffer.
4632
781acb9f
GM
4633 * emacs-lisp/easy-mmode.el (define-minor-mode):
4634 Relax :variable's test for a named function.
4635
abbceb00
AM
46362012-01-31 Alan Mackenzie <acm@muc.de>
4637
4638 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4639 off by one error.
4640
fce3fdeb
CY
46412012-01-31 Chong Yidong <cyd@gnu.org>
4642
4643 * frame.el (set-frame-font): New arg ALL-FRAMES.
4644
4645 * menu-bar.el (menu-set-font): Use set-frame-font.
4646
4647 * faces.el (face-spec-reset-face): Don't apply unspecified
4648 attribute values to the default face.
4649
47893581
JB
46502012-01-31 Juanma Barranquero <lekktu@gmail.com>
4651
4652 * progmodes/cwarn.el (cwarn): Remove dead link.
4653 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4654 Remove * from defcustom docstrings.
4655 (turn-on-cwarn-mode): Make obsolete.
4656 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4657 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4658
e58e988a
GM
46592012-01-31 Glenn Morris <rgm@gnu.org>
4660
60dc2671 4661 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4662 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4663 Allow named functions to be used as the cdr of :variable.
e58e988a 4664
7a3f511d
GM
46652012-01-30 Glenn Morris <rgm@gnu.org>
4666
4667 * emacs-lisp/authors.el (authors-fixed-entries):
4668 Remove reference to deleted file rnewspost.el.
4669
cb882333
JB
46702012-01-29 Juanma Barranquero <lekktu@gmail.com>
4671
4672 * window.el (window-with-parameter): Remove unused variable `windows'.
4673 (window--side-check): Remove unused variable `code'.
4674 (window--resize-siblings): Remove unused variable `first'.
4675 (adjust-window-trailing-edge): Remove unused variable `failed'.
4676 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4677 Use `let', not `let*'.
4678 (balance-windows-2): Remove unused variable `found'.
4679 (window--state-put-2): Remove unused variable `splits'.
4680 (window-state-put): Remove unused variable `selected'.
4681 (same-window-p): Use `string-match-p'.
4682 (display-buffer-assq-regexp): Remove unused variable `value'.
4683 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4684 Mark argument ALIST as ignored.
4685 (pop-to-buffer): Remove unused variable `old-window'.
4686
907201af
EZ
46872012-01-29 Eli Zaretskii <eliz@gnu.org>
4688
4689 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4690 and .lzma compressed files.
4691
ea162670
CY
46922012-01-29 Chong Yidong <cyd@gnu.org>
4693
5b95ee8a
CY
4694 * frame.el (window-system-default-frame-alist): Doc fix.
4695
ea162670
CY
4696 * dynamic-setting.el (font-setting-change-default-font): Don't
4697 change the default face if SET-FONT argument is non-nil (Bug#9982).
4698
d6e6f4b1
SB
46992012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4700
4701 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4702
0f29fa41 47032012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4704
4705 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4706 breakpoints in files outside current directory (Bug#6098).
4707
db174434
CY
47082012-01-29 Chong Yidong <cyd@gnu.org>
4709
6b25e4e2
SE
4710 * progmodes/python.el: Require ansi-color at top-level.
4711
6df6ae42
JB
4712 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4713 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4714 (lisp-mode-abbrev-table): Add doc.
4715 (lisp-mode-variables): Don't set local-abbrev-table.
4716 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4717
e70ee681
RW
47182012-01-28 Roland Winkler <winkler@gnu.org>
4719
4720 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4721
ace88aa2
RW
47222012-01-28 Roland Winkler <winkler@gnu.org>
4723
4724 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4725 (bibtex-set-dialect): Use it. Either set global values of
4726 dialect-dependent variables or bind these variables buffer-locally
4727 (Bug#10254).
4728 (bibtex-mode): Call bibtex-set-dialect via
4729 hack-local-variables-hook.
eb864a71
LM
4730 (bibtex-dialect): Update docstring.
4731 Add safe-local-variable predicate.
ace88aa2
RW
4732 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4733 bibtex-set-dialect.
4734 (bibtex-mode-map): Define menu for each dialect.
4735 (bibtex-entry): Fix docstring.
4736
93376c5b
CY
47372012-01-28 Chong Yidong <cyd@gnu.org>
4738
4739 * eshell/esh-arg.el (eshell-quote-argument): New function.
4740
4741 * eshell/esh-ext.el (eshell-invoke-batch-file):
4742 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4743 first arg to eshell-parse-command (Bug#10523).
4744
4372494f
DA
47452012-01-28 Drew Adams <drew.adams@oracle.com>
4746
4747 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4748 `default-directory' is non-nil.
4749
4d4ec1f8
EZ
47502012-01-28 Eli Zaretskii <eliz@gnu.org>
4751
4752 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4753 line that displays system-configuration-options. (Bug#9924)
4754
7c188927
DA
47552012-01-28 Drew Adams <drew.adams@oracle.com>
4756
4757 * descr-text.el (describe-char): Show information about POS, in
4758 addition to information about the character at POS. Improve and
4759 update the doc string. Change "code point" to "code point in
4760 charset", to avoid confusion with the character's Unicode code
4761 point shown above that. (Bug#10129)
4762
e0da685a
EZ
47632012-01-28 Eli Zaretskii <eliz@gnu.org>
4764
4765 * descr-text.el (describe-char): Show the raw character, not only
4766 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4767 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4768 for the reasons.
4769
70550acf
PH
47702012-01-28 Phil Hagelberg <phil@hagelb.org>
4771
eb864a71
LM
4772 * emacs-lisp/package.el (package-install):
4773 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4774
0ce8e868
CY
47752012-01-28 Chong Yidong <cyd@gnu.org>
4776
cb882333
JB
4777 * emacs-lisp/package.el (package-maybe-load-descriptor):
4778 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4779 (package-maybe-load-descriptor): Use it.
4780 (package-download-transaction): Fully load required packages
4781 inside the loop, so that `require' calls work (Bug#10593).
4782 (package-install): No need to call package-initialize now.
4783
2e7f3bea
CY
47842012-01-28 Chong Yidong <cyd@gnu.org>
4785
6e9bad14
CY
4786 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4787
f823b8ca
CY
4788 * tooltip.el (tooltip-mode): Doc fix.
4789 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4790
2680c309
CY
4791 * frame.el (set-cursor-color): Doc fix (Bug#352).
4792
d7a9e63b
CY
4793 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4794 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4795
2e7f3bea
CY
4796 * cus-edit.el (custom-buffer-create-internal): Fix search button
4797 action (Bug#10542).
2ae01800 4798 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4799
fc4f7a23
EW
48002012-01-27 Eduard Wiebe <usenet@pusto.de>
4801
4802 * dired.el (dired-mark-files-regexp):
4803 Include any subdirectory components. (Bug#10445)
4804
7dd37071
ML
48052012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4806
4807 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4808 Handle [host]:port syntax. (Bug#10533)
4809
a268160b
AH
48102012-01-27 Alex Harsanyi <harsanyi@mac.com>
4811
4812 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4813
e43273ef
GM
48142012-01-26 Glenn Morris <rgm@gnu.org>
4815
4816 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4817 * term.el (term-raw-escape-map): Use Control-X-prefix.
4818 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4819
1edf595d
MR
48202012-01-25 Martin Rudalics <rudalics@gmx.at>
4821
4822 * window.el (window-state-get, window--state-get-1): Don't deal
4823 with fixed-sizeness of windows. Simplify code.
4824
fa8eafef
JC
48252012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4826
6df6ae42
JB
4827 * window.el (window--state-get-1, window--state-put-2):
4828 Don't save and restore the mark.
fa8eafef 4829
0b21c100
CY
48302012-01-25 Chong Yidong <cyd@gnu.org>
4831
4832 * custom.el (custom-variable-p): Doc fix.
4833
5ae1a6c8
GM
48342012-01-25 Glenn Morris <rgm@gnu.org>
4835
40047858
GM
4836 * dired.el (dired-goto-file): Handle some of the more common
4837 characters that `ls -b' escapes. (Bug#10596)
4838
5ddce96c
GM
4839 * progmodes/compile.el (compilation-next-error-function):
4840 Respect compilation-first-column in the "*compilation*" buffer.
4841 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4842
5ae1a6c8
GM
4843 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4844
b559f1a9
GM
48452012-01-24 Glenn Morris <rgm@gnu.org>
4846
4847 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4848
6725d21a
JD
48492012-01-24 Julien Danjou <julien@danjou.info>
4850
4851 * color.el (color-rgb-to-hsl): Fix value computing.
4852 (color-hue-to-rgb): New function.
4853 (color-hsl-to-rgb): New function.
4854 (color-clamp, color-saturate-hsl, color-saturate-name)
4855 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4856 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4857
70df4bbe
GM
48582012-01-24 Glenn Morris <rgm@gnu.org>
4859
4860 * vc/vc-rcs.el (vc-rcs-create-tag):
4861 * vc/vc-sccs.el (vc-sccs-create-tag):
4862 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4863
802a2ae2
ML
48642012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4865
4866 * eshell/esh-util.el (eshell-read-hosts-file):
4867 Skip comment lines. (Bug#10549)
4868
d7128bb1
ML
4869 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4870
d1a5c3b4
JB
48712012-01-23 Juanma Barranquero <lekktu@gmail.com>
4872
2724d9c7
JB
4873 * subr.el (display-delayed-warnings): Doc fix.
4874 (collapse-delayed-warnings): New function to collapse identical
4875 adjacent warnings.
4876 (delayed-warnings-hook): Add it.
d1a5c3b4 4877
a5509865
MA
48782012-01-22 Michael Albinus <michael.albinus@gmx.de>
4879
4880 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4881
4882 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4883 properties, when "login-as" is set.
4884
4885 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4886 (tramp-default-user-alist): Don't add "pscp".
4887 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4888 property "login-as", if set. (Bug#10530)
4889
cc6d5805
MA
48902012-01-21 Michael Albinus <michael.albinus@gmx.de>
4891
4892 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4893 "plink1" and "psftp". (Bug#10530)
4894
48952012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4896
4897 * international/mule-cmds.el (prefer-coding-system): Show a
4898 warning message if the default value of file-name-coding-system
4899 was not changed.
4900
f0960428
JC
49012012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4902
cb882333
JB
4903 * windmove.el (windmove-reference-loc):
4904 Fix windmove-reference-loc miscalculation.
f0960428 4905
dd6f2a63
JB
49062012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4907
4908 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4909 default unit.
4910
7b447e9b
GM
49112012-01-21 Glenn Morris <rgm@gnu.org>
4912
117a9ea1
GM
4913 * international/mule.el (auto-coding-alist): Add .tbz.
4914
7b447e9b
GM
4915 * files.el (local-enable-local-variables): Doc fix.
4916 (inhibit-local-variables-regexps): Rename from
4917 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4918 Doc fix. Add some extensions from auto-coding-alist.
4919 (inhibit-local-variables-suffixes):
4920 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4921 (inhibit-local-variables-p):
4922 New function, extracted from set-auto-mode-1.
4923 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4924 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4925 (hack-local-variables): Doc fix. Make the mode-only case
4926 respect enable-local-variables and friends.
4927 Respect inhibit-local-variables-regexps for file-locals, but
4928 not for directory-locals.
4929 (set-visited-file-name):
4930 Take account of inhibit-local-variables-regexps.
4931 Whether it applies may change as the file name is changed.
4932 * jka-cmpr-hook.el (jka-compr-install):
4933 * jka-compr.el (jka-compr-uninstall):
4934 Update for inhibit-first-line-modes-suffixes name change.
4935
dd6e3cdd
MR
49362012-01-20 Martin Rudalics <rudalics@gmx.at>
4937
4938 * help-macro.el (make-help-screen): Temporarily restore original
4939 binding for minor-mode-map-alist (Bug#10454).
4940
0d0deb38
JD
49412012-01-19 Julien Danjou <julien@danjou.info>
4942
4943 * color.el (color-name-to-rgb): Use the white color to find the max
4944 color component value and return correctly computed values.
4945 (color-name-to-rgb): Add missing float conversion for max value.
4946
34a02f46
MR
49472012-01-19 Martin Rudalics <rudalics@gmx.at>
4948
4949 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4950 special state value for window-persistent-parameters.
4951 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4952 (window--state-put-2): Reset all window parameters to nil before
4953 assigning values of persistent parameters.
4954
606c44c4
AM
49552012-01-18 Alan Mackenzie <acm@muc.de>
4956
4957 Eliminate sluggishness and hangs in fontification of "semicolon
4958 deserts".
4959
cb882333
JB
4960 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4961 Change value 10000 -> 3000.
606c44c4
AM
4962 (c-state-safe-place): Reformulate so it doesn't stack up an
4963 infinite number of wrong entries in c-state-nonlit-pos-cache.
4964 (c-determine-limit-get-base, c-determine-limit): New functions to
4965 determine backward search limits disregarding literals.
4966 (c-find-decl-spots): Amend commenting.
4967 (c-cheap-inside-bracelist-p): New function which detects "={".
4968
4969 * progmodes/cc-fonts.el
4970 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4971 backward search.
4972 (c-font-lock-declarations): Fix an occurrence of point being
4973 undefined. Check additionally for point being in a bracelist or
4974 near a macro invocation without a semicolon so as to avoid a
4975 fruitless time consuming search for a declarator. Give a more
4976 precise search limit for declarators using the new
4977 c-determine-limit.
4978
f3860cea
GM
49792012-01-18 Glenn Morris <rgm@gnu.org>
4980
4981 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4982 (set-auto-mode): Doc fixes.
4983
1db03b16
GM
49842012-01-17 Glenn Morris <rgm@gnu.org>
4985
0e6038be
GM
4986 * isearch.el (search-nonincremental-instead): Fix doc typo.
4987
1db03b16
GM
4988 * dired.el (dired-insert-directory): Handle newlines in directory name.
4989 (dired-build-subdir-alist): Unescape newlines in directory name.
4990
4cb0aa75
MA
49912012-01-17 Michael Albinus <michael.albinus@gmx.de>
4992
4993 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4994 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4995 (tramp-action-terminal): Use it. (Bug#10530)
4996
1d00653d
SM
49972012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4998
4999 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5000
6a6ee00d
MR
50012012-01-16 Martin Rudalics <rudalics@gmx.at>
5002
5003 * window.el (window-state-ignored-parameters): Remove variable.
5004 (window--state-get-1): Rename argument MARKERS to IGNORE.
5005 Handle persistent window parameters. Make copy of clone-of
5006 parameter only if requested. (Bug#10348)
5007 (window--state-put-2): Install a window parameter only if it has
5008 a non-nil value or an existing parameter shall be overwritten.
5009
97912def
MA
50102012-01-15 Michael Albinus <michael.albinus@gmx.de>
5011
5012 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5013
688070a5
EZ
50142012-01-14 Eli Zaretskii <eliz@gnu.org>
5015
5016 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5017 don't pass the (nil) value of `upnode' to string-match.
5018
301afadc
CY
50192012-01-14 Chong Yidong <cyd@gnu.org>
5020
5021 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5022 Fix values recognized by the cursorBlink resource.
301afadc 5023
9e5788aa
PE
50242012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5025
5026 * epg.el (epg--make-temp-file): Avoid permission race condition
5027 when running on old Emacs versions (bug#10403).
5028
3cdb7f5a
GM
50292012-01-14 Glenn Morris <rgm@gnu.org>
5030
5031 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5032
8c82b1b4
AM
50332012-01-13 Alan Mackenzie <acm@muc.de>
5034
5035 Fix filling for when filladapt mode is enabled.
5036
5037 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5038 c-mask-paragraph, pass in `fill-paragraph' rather than
5039 `fill-region-as-paragraph'. (This is a reversion of a previous
5040 change.)
eb864a71
LM
5041 * progmodes/cc-mode.el (c-basic-common-init):
5042 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5043
e517eda4
GM
50442012-01-13 Glenn Morris <rgm@gnu.org>
5045
1498536e
GM
5046 * dired.el (dired-switches-escape-p): New function.
5047 (dired-insert-directory): Use dired-switches-escape-p.
5048 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5049
e517eda4
GM
5050 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5051
328f984d
GM
50522012-01-12 Glenn Morris <rgm@gnu.org>
5053
5054 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5055 changes in adaptive-fill-regexp. (Bug#10276)
5056
2cc769a8
AM
50572012-01-11 Alan Mackenzie <acm@muc.de>
5058
5059 Fix Emacs bug #10463 - put `widen's around the critical spots.
5060
1d00653d 5061 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5062 widen around each invocation of c-state-pp-to-literal. Remove an
5063 unused let variable.
5064
e52c37fa
GM
50652012-01-11 Glenn Morris <rgm@gnu.org>
5066
5067 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5068 Doc fix.
e52c37fa 5069
96f8741e
CY
50702012-01-10 Chong Yidong <cyd@gnu.org>
5071
1d00653d
SM
5072 * net/network-stream.el (network-stream-open-starttls):
5073 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5074 response to the capability command.
5075
b09a806e
GM
50762012-01-10 Glenn Morris <rgm@gnu.org>
5077
5078 * mail/unrmail.el (unrmail): Tweak previous change.
5079
7655cb66
CY
50802012-01-09 Chong Yidong <cyd@gnu.org>
5081
5082 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5083
9d5a8f0b
AM
50842012-01-08 Alan Mackenzie <acm@muc.de>
5085
5086 Optimise font locking in long enum definitions.
5087
5088 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5089 arm to a cond form to handle enums.
5090 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5091 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5092
9a0115ab 50932012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5094
5095 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5096 (Bug#10401)
6bb72cbd 5097
f186bb95
LMI
50982012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5099
29232a68
LMI
5100 * faces.el (set-face-attribute): Clarify the meaning of the nil
5101 frame (bug#10294).
5102
4e5d086d
LMI
5103 * subr.el (with-selected-frame): Mention that the selected frame
5104 is restored (bug#9980).
5105
8e66aebe
LMI
5106 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5107 (bug#9759).
5108
cd394be1 5109 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5110 (password-read): Don't autoload unused function.
5111
adf4e762
JB
51122012-01-07 Juanma Barranquero <lekktu@gmail.com>
5113
5114 * progmodes/which-func.el (which-func-mode): Turn into a
5115 non-interactive function and mark as obsolete (bug#10428).
5116
89bd9ccd
CY
51172012-01-06 Chong Yidong <cyd@gnu.org>
5118
5119 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5120 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5121 functions, along with 1 and -1.
5122
4afee9d5
EZ
51232012-01-06 Eli Zaretskii <eliz@gnu.org>
5124
5125 * time.el (display-time-load-average)
5126 (display-time-default-load-average): Doc fixes. See the thread
5127 starting at
5128 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5129 for the details.
5130
536aea70
GM
51312012-01-06 Glenn Morris <rgm@gnu.org>
5132
665ae865
GM
5133 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5134 has no messages. (Bug#10377)
5135
c869783d
GM
5136 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5137 than Info-edit. (Bug#10385)
5138
2bb4227e
GM
5139 * time.el (display-time-load-average, display-time-next-load-average):
5140 Doc fixes.
5141
7d5944b9
GM
5142 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5143 local setting of buffer-read-only to the input buffer. (Bug#10419)
5144
536aea70
GM
5145 * calendar/calendar.el (calendar-mode):
5146 Locally set scroll-margin to 0. (Bug#10379)
5147
7dccca16
UM
51482012-01-06 Ulrich Mueller <ulm@gentoo.org>
5149
5150 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5151
afbb7930
GM
51522012-01-05 Glenn Morris <rgm@gnu.org>
5153
5154 * eshell/em-unix.el (diff-no-select): Autoload it.
5155 (eshell/diff): Use diff-no-select. (Bug#10420)
5156
04482335
CY
51572012-01-05 Chong Yidong <cyd@gnu.org>
5158
7baca3bc
CY
5159 * shell.el (shell-dynamic-complete-functions): Revert last change.
5160 (shell-command-completion-function): New function.
5161 (shell-completion-vars): Use it to implement
5162 shell-completion-execonly (Bug#10417).
5163
04482335
CY
5164 * custom.el (enable-theme): Don't set custom-safe-themes.
5165
1d00653d
SM
5166 * cus-theme.el (custom-theme-merge-theme):
5167 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5168
bb5aa5d6
MM
51692012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5170
5171 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5172 first prompt in `sql-interacive-mode'.
5173 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5174 keywords.
6df6ae42 5175 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5176 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5177 context of original buffer. Invoke `sql-login-hook'.
5178
a7183d7c
EZ
51792012-01-04 Eli Zaretskii <eliz@gnu.org>
5180
5181 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5182 letters in cite-prefix.
5183
a1eacd1e
LMI
51842012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5185
5186 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5187
787cdb34
CY
51882012-01-03 Chong Yidong <cyd@gnu.org>
5189
1d00653d
SM
5190 * shell.el (shell-dynamic-complete-functions):
5191 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5192 comint-filename-completion first (Bug#10417).
5193
30710442
RS
51942012-01-02 Richard Stallman <rms@gnu.org>
5195
5196 * battery.el (battery-status-function):
5197 Detect when to use battery-yeeloong-sysfs.
5198 (battery-echo-area-format): Add string for Yeeloong.
5199 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5200 (battery-yeeloong-sysfs): New function.
5201
f75bfc33
CY
52022012-01-02 Chong Yidong <cyd@gnu.org>
5203
5204 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5205 (dirtrack): Merge code for handling relative filenames in prompt
5206 from shell-dir-cookie-watcher.
5207 (dirtrack-debug-message): New arg to avoid excess format calls.
5208
5209 * shell.el (shell-dir-cookie-re): Variable deleted.
5210 (shell-dir-cookie-watcher): Function deleted.
5211 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5212 with dirtrack-mode.
5213
651e947e
EZ
52142012-01-01 Eli Zaretskii <eliz@gnu.org>
5215
1d00653d
SM
5216 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5217 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5218 libgnutls-26.dll.
5219
94d4c7dc
AS
52202011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5221
5222 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5223
8d43f3cd
EZ
52242011-12-31 Eli Zaretskii <eliz@gnu.org>
5225
5226 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5227 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5228
98c8795a
MA
52292011-12-29 Michael Albinus <michael.albinus@gmx.de>
5230
5231 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5232 also for alternative shells.
5233 (tramp-open-connection-setup-interactive-shell): Check, whether
5234 the shell is a busybox.
5235 (tramp-send-command): Don't suppress multiple prompts for
5236 busyboxes, it hurts.
5237
51281b32
CY
52382011-12-28 Chong Yidong <cyd@gnu.org>
5239
5240 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5241 (gdb-get-source-file): Move mode line update to
5242 gdb-get-source-file (Bug#10087).
5243
2170cb53
CY
52442011-12-25 Chong Yidong <cyd@gnu.org>
5245
5246 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5247 gud-gdb-marker-filter without taking it as an argument.
5248 (gud-gdb-run-command-fetch-lines): Caller changed.
5249 (gud-gdb-completion-function): New variable.
5250 (gud-gdb-completion-at-point): Use it.
5251 (gud-gdb-completions-1): Split from gud-gdb-completions.
5252
5253 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5254 function as separate arguments.
5255 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5256 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5257 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5258 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5259 (gdb-stopped, def-gdb-auto-update-trigger)
5260 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5261 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5262 Callers changed.
2170cb53
CY
5263 (gud-gdbmi-completions): New function.
5264 (gdb): Use it for generating the completion table.
5265
be8b11bb
AM
52662011-12-24 Alan Mackenzie <acm@muc.de>
5267
5268 Introduce a mechanism to widen the region used in context font
1d00653d 5269 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5270
1d00653d
SM
5271 * progmodes/cc-langs.el (c-before-font-lock-functions):
5272 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5273 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5274 functions to be run just before context (etc.) font locking.
5275
5276 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5277 New, functionality extracted from
be8b11bb 5278 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5279 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5280 (c-after-change): Set c-in-after-change-fontification.
5281 (c-set-fl-decl-start): Rejig its interface, so it can be called
5282 from both after-change and context fontifying.
b81d40f0
JB
5283 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5284 New functions.
5285 (c-standard-font-lock-fontify-region-function): New variable.
5286 (c-font-lock-fontify-region): New function.
be8b11bb 5287
341cf6ac
JL
52882011-12-24 Juri Linkov <juri@jurta.org>
5289
5290 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5291 (Bug#10348)
5292
bffcee0a
MA
52932011-12-23 Michael Albinus <michael.albinus@gmx.de>
5294
5295 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5296 existence of source file. (Bug#10325)
5297
cb5e207c
AM
52982011-12-23 Alan Mackenzie <acm@muc.de>
5299
5300 Fix unstable fontification inside templates.
5301
b81d40f0
JB
5302 * progmodes/cc-langs.el (c-before-font-lock-functions):
5303 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5304 additionally has c-set-fl-decl-start. The other languages (apart
5305 from AWK) have that as a single entry.
5306
b81d40f0
JB
5307 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5308 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5309 c-set-fl-decl-start.
5310
b81d40f0
JB
5311 * progmodes/cc-mode.el (c-common-init, c-after-change):
5312 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5313 (c-set-fl-decl-start): New function, extracted from
5314 c-font-lock-enclosing-decls and enhanced.
5315
60ff536c
JB
53162011-12-23 Juanma Barranquero <lekktu@gmail.com>
5317
5318 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5319
1c4757d6
JL
53202011-12-22 Juri Linkov <juri@jurta.org>
5321
5322 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5323
d031f2c7
CY
53242011-12-22 Chong Yidong <cyd@gnu.org>
5325
5326 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5327
bace743a
DA
53282011-12-21 Drew Adams <drew.adams@oracle.com>
5329
5330 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5331
728a1f2b
JC
53322011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5333
5334 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5335
0d373f73
TZ
53362011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5337
fec0aaa4
TZ
5338 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5339 highlighting and support. Fix up comments for capitalization.
5340 (cfengine-mode-debug): New var.
5341 (cfengine3-mode): Change the modeline indicator to "CFE3".
5342 (cfengine3-font-lock-keywords): Improve defun highlighting.
5343 (cfengine2-actions): Rename from `cfengine-actions'.
5344 (cfengine2-font-lock-keywords): Rename from
5345 `cfengine-font-lock-keywords'.
5346 (cfengine2-imenu-expression): Rename from
5347 `cfengine-imenu-expression'.
5348 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5349 (cfengine2-beginning-of-defun): Rename from
5350 `cfengine-beginning-of-defun'.
5351 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5352 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5353 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5354 modeline indicator to "CFE2".
5355 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5356 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5357
bc86f573
CY
53582011-12-21 Chong Yidong <cyd@gnu.org>
5359
5360 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5361 filename argument.
5362
d45ba96b
MR
53632011-12-20 Martin Rudalics <rudalics@gmx.at>
5364
5365 * window.el (window-normalize-buffer-to-display): Remove.
5366 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5367
a6198c90
CY
53682011-12-19 Chong Yidong <cyd@gnu.org>
5369
5370 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5371 Don't signal an error in a predicate function; return non-nil.
5372 (vc-dir-mark-file): Move the error here.
5373 (vc-dir-mark-unmark): If acting on the region, keep going if one
5374 of the entries cannot be marked/unmarked.
5375 (vc-dir-mark-all-files): If current entry is a directory, mark
5376 only child files, as documented.
5377
34c5fb55
VB
53782011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5379
5380 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5381 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5382 addition.
5383
c803b2b7
JD
53842011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5385
5386 * term/ns-win.el (ns-get-selection-internal)
5387 (ns-store-selection-internal): Declare.
1154d12e
JB
5388 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5389 Declare as obsolete.
5390 (ns-get-pasteboard, ns-paste-secondary):
5391 Use ns-get-selection-internal.
5392 (ns-set-pasteboard, ns-copy-including-secondary):
5393 Use ns-store-selection-internal.
c803b2b7 5394
9cff91f8 53952011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5396
5397 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5398 (vc-deduce-fileset): Doc fix.
99a289d9 5399
f16c898a
AS
54002011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5401
5402 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5403
763237c4
SS
54042011-12-13 Sam Steingold <sds@gnu.org>
5405
5406 * man.el (Man-getpage-in-background): When running under a
5407 window-system, ignore $MANWIDTH and $COLUMNS.
5408
5fc1c122
KH
54092011-12-15 Kenichi Handa <handa@m17n.org>
5410
5411 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5412 (setup-ethiopic-environment-internal): Comment out key-binding for
5413 ethio-toggle-punctuation.
5414
13d49cbb
AM
54152011-12-13 Alan Mackenzie <acm@muc.de>
5416
898169a2
AM
5417 Add the switch statement to AWK Mode.
5418
7a71b18d 5419 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5420 "default" to the keywords regexp.
5421
7a71b18d 5422 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5423 expression as the rest.
1d00653d
SM
5424 (c-nonlabel-token-key): Allow string literals for AWK.
5425 Refactor for the other modes.
898169a2 5426
13d49cbb 5427 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5428 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5429 routines. Limit backward searching in c-font-lock-enclosing.decl.
5430
5431 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5432 pp-state and literal type in addition to the limits.
1d00653d 5433 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5434 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5435 (c-slow-in-literal, c-fast-in-literal): Remove.
5436 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5437
5438 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5439 being in a literal. Add a limit for backward searching.
5440
5441 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5442 c-slow-in-literal.
5443
15e0efc7
SM
54442011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5445
5446 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5447
454592a6
MR
54482011-12-13 Martin Rudalics <rudalics@gmx.at>
5449
5450 * window.el (delete-other-windows): Use correct frame in call to
5451 window-with-parameter.
5452
87393f26
DP
54532011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5454
5455 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5456 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5457 (makefile-gmake-statements, makefile-makepp-statements):
5458 Use it and add new makepp keywords.
5459 (makefile-makepp-font-lock-keywords): Add new patterns.
5460 (makefile-match-function-end): Match new [...] and [[...]].
5461
11636b22
JB
54622011-12-11 Juanma Barranquero <lekktu@gmail.com>
5463
5464 * ses.el (ses-call-printer-return, ses-cell-property-get)
5465 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5466 (ses-create-cell-variable, ses-reset-header-string)
5467 (ses-cell-set-formula, ses-repair-cell-reference-all)
5468 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5469 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5470 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5471 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5472 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5473 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5474 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5475 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5476 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5477 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5478 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5479 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5480
cf018193
VB
54812011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5482
5483 * ses.el: The overall change is to add cell renaming, that is
5484 setting fancy names for cell symbols other than name matching
5485 "\\`[A-Z]+[0-9]+\\'" regexp .
5486 (ses-create-cell-variable): New defun.
5487 (ses-relocate-formula): Relocate formulas only for cells the
5488 symbols of which are not renamed, i.e. symbols whose names do not
5489 match regexp "\\`[A-Z]+[0-9]+\\'".
5490 (ses-relocate-all): Relocate values only for cells the symbols of
5491 which are not renamed.
5492 (ses-load): Create cells variables as the (ses-cell ...) are read,
5493 in order to check row col consistency with cell symbol name only
5494 for cells that are not renamed.
5495 (ses-replace-name-in-formula): New defun.
5496 (ses-rename-cell): New defun.
5497
ee957461
CY
54982011-12-11 Chong Yidong <cyd@gnu.org>
5499
5500 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5501 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5502
9a9e9ef0
MR
55032011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5504
5505 * window.el (other-window): Fix docstring.
5506
92a8eba5
EZ
55072011-12-10 Eli Zaretskii <eliz@gnu.org>
5508
5509 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5510 `from' or `to' address before taking its substring.
5511 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5512 encoded name is chopped in the middle of the encoded string, and
5513 thus displayed encoded.
5514
e152e577
JB
55152011-12-10 Juanma Barranquero <lekktu@gmail.com>
5516
5517 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5518
e5d84bfe
EZ
55192011-12-10 Eli Zaretskii <eliz@gnu.org>
5520
5521 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5522 to use texinfo-update-node and commands that call it if the
5523 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5524 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5525 (texinfo-all-menus-update, texinfo-master-menu)
5526 (texinfo-update-node, texinfo-every-node-update)
5527 (texinfo-multiple-files-update): Doc fix. Warn against updating
5528 all the @node lines.
5529 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5530 argument is numeric. Explain better in the doc string what the
5531 function really does.
5532 (texinfo-insert-master-menu-list): Improve the error message
5533 displayed if there's no menu in the Top node.
5534 (Bug#2975) See also this thread:
e5d84bfe
EZ
5535 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5536
1d84e9bb
MG
55372011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5538
5539 * speedbar.el (speedbar-supported-extension-expressions):
5540 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5541
382c953b
JB
55422011-12-09 Juanma Barranquero <lekktu@gmail.com>
5543
5544 * printing.el (pr-mode-alist):
5545 * simple.el (filter-buffer-substring-functions)
5546 (completion-list-insert-choice-function):
5547 * window.el (window-with-parameter, window-atom-root)
5548 (window-sides-slots, window-size-fixed, window-min-delta)
5549 (window-max-delta, window--resize-mini-window)
5550 (window--resize-child-windows-normal, window-tree)
5551 (delete-other-windows, quit-window, split-window)
5552 (display-buffer-record-window, special-display-buffer-names)
5553 (special-display-regexps, special-display-popup-frame)
5554 (same-window-p, split-window-sensibly)
5555 (display-buffer-overriding-action, display-buffer-alist)
5556 (display-buffer-base-action, display-buffer, switch-to-buffer)
5557 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5558 (fit-window-to-buffer, recenter-positions)
5559 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5560 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5561 and remove unneeded backslashes in docstrings.
5562
39c9faef
SM
55632011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5564
98449af8
SM
5565 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5566
39c9faef
SM
5567 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5568 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5569 end in ".mk".
5570 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5571 when reading the makefile (bug#10116).
5572
86ed9fdc
SM
55732011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5576 (bug#10116).
5577
5580f89d
GM
55782011-12-06 Glenn Morris <rgm@gnu.org>
5579
5580 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5581
28d3917c
CY
55822011-12-06 Chong Yidong <cyd@gnu.org>
5583
5584 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5585
a98edce9
JB
55862011-12-06 Juanma Barranquero <lekktu@gmail.com>
5587
5588 * textmodes/table.el (table-shorten-cell): Fix typo.
5589
e65adfac
CG
55902011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5591
5592 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5593
71cc0b74
EZ
55942011-12-05 Eli Zaretskii <eliz@gnu.org>
5595
5596 * descr-text.el (describe-char): Fix display of strong
5597 right-to-left characters and directional embeddings and overrides.
5598
5599 * simple.el (what-cursor-position): Fix display of codepoints of
5600 strong right-to-left characters.
5601
315bc30d
CY
56022011-12-05 Chong Yidong <cyd@gnu.org>
5603
5604 * faces.el (read-color): Doc fix.
5605
58a70b94
GM
56062011-12-05 Glenn Morris <rgm@gnu.org>
5607
5608 * align.el (align--set-marker): Add doc-string.
5609 Don't try to move something that is not a marker. (Bug#10216)
5610
5158face
GM
56112011-12-04 Glenn Morris <rgm@gnu.org>
5612
5613 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5614 overly zealous deletion of trailing whitespace.
5615
520fca41
JB
56162011-12-04 Juanma Barranquero <lekktu@gmail.com>
5617
5618 * server.el (server-delete-client): On Windows, do not try to delete
5619 the only terminal.
5620 (server-process-filter): On Windows, treat requests for a tty frame as
5621 if they were for a GUI frame if the running server is in GUI mode.
5622
5e605a2e
GM
56232011-12-03 Glenn Morris <rgm@gnu.org>
5624
5625 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5626
5c3fe83f
SM
56272011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5628
6f5e57e7
SM
5629 * electric.el: Streamline electric-indent's hook.
5630 (electric-indent-chars): Revert to simple list.
5631 (electric-indent-functions): New var.
5632 (electric-indent-post-self-insert-function): Use it.
5633
5c3fe83f
SM
5634 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5635 there's no inferior buffer (bug#10196).
5636 (prolog-consult-compile): Don't use toggle-read-only.
5637
6bdac736
MA
56382011-12-02 Michael Albinus <michael.albinus@gmx.de>
5639
5640 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5641 interrupt. (Bug#10187)
5642
6131ba7f
SM
56432011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5644
99c79fee
SM
5645 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5646 (bug#9160).
5647
6131ba7f
SM
5648 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5649 (bug#10191).
5650
cb0a02ea
JL
56512011-12-02 Juri Linkov <juri@jurta.org>
5652
5653 * info.el (Info-search): Display "end of manual" when Isearch
5654 reaches the end of single-file Info manual. (Bug#9918)
5655
66e0570c
EZ
56562011-12-02 Eli Zaretskii <eliz@gnu.org>
5657
5658 * isearch.el (isearch-message-prefix): Run the input method part
5659 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5660
02b16839
JL
56612011-12-02 Juri Linkov <juri@jurta.org>
5662
5663 * isearch.el (isearch-occur): Use `word-search-regexp' for
5664 `isearch-word'.
5665 (isearch-search-and-update): Add condition for `isearch-word' and
5666 call `word-search-regexp'. (Bug#10145)
5667
0b950688
GM
56682011-12-01 Glenn Morris <rgm@gnu.org>
5669
5670 * eshell/em-hist.el (eshell-hist-initialize):
5671 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5672 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5673
9505c3c7
SM
56742011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5675
5676 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5677
1bbe96b2 56782011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5679
a1beca85
SM
5680 * progmodes/verilog-mode.el (verilog-pretty-expr):
5681 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5682 verilog, such as += *= and the like.
5683 (verilog-assignment-operator-re): Regular expression to find the
5684 assigment operator in a verilog assignment.
5685 (verilog-assignment-operation-re): Regular expression to find an
5686 assignment statement for pretty-expr.
5687 (verilog-in-attribute-p): Query returns true if point is in an
5688 attribute context; used to skip these for expression line up from
5689 pretty-expr.
5690 (verilog-in-parameter-p): Query returns true if point is in an
5691 parameter definition context; used to skip these for expression
5692 line up from pretty-expr.
5693 (verilog-in-parenthesis-p): Query returns true if point is in a
5694 parenthetical expression, specifically ( ) but not [ ] or { };
5695 used by pretty-expr.
5696 (verilog-just-one-space): If there is no space, don't add one.
5697 (verilog-get-lineup-indent-2): Specifically skip just attribute
5698 contexts for expression lineup, rather than skipping all
5699 parenthetical expressions.
5700 (verilog-calculate-indent): Fix comment, and fix indent.
5701 (verilog-do-indent): Indent declarations in lists (suggested by
5702 Joachim Lechner).
5703 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5704 skeleton items.
5705 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5706 by Alain Mellan).
5707
1bbe96b2 57082011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5709
5710 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5711 parameters with embedded comments. Reported by Ray Stevens.
5712 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5713 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5714 Reported by Tim Holt.
5715 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5716 instantiated by upper module causing wrong expansion until AUTOed a
5717 second time. Reported by K C Buckenmaier.
5718 (verilog-diff-auto): Fix showing .* as a difference when
5719 `verilog-auto-star-save' off. Reported by Dan Dever.
5720 (verilog-auto-reset, verilog-read-always-signals)
5721 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5722 temporary signals in reset list if
5723 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5724 style to each signal's assignment type, bug381.
5725 Reported by Thomas Esposito.
6288f0ca
WS
5726 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5727 (verilog-uvm-statement-re): Support UVM indentation and
5728 highlighting, with old OVM keywords only.
a1beca85 5729 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5730 Support AUTOTIEOFF creating non-wire data types.
5731 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5732 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5733 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5734 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5735 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5736 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5737 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5738 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5739 non-numeric vector width. Reported by Alex Reed.
5740 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5741 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5742 (verilog-auto-delete-trailing-whitespace):
5743 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5744 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5745 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5746 Fix verilog-scan-cache corruption when running user AUTO expansion
5747 hooks that call indentation routines.
5748 (verilog-simplify-range-expression): Fix typo ignoring lower case
5749 identifiers.
5750 (verilog-delete-auto): Fix delete-autos to also remove user created
5751 automatics, as long as they start with AUTO.
5752 (verilog-batch-diff-auto, verilog-diff-auto)
5753 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5754 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5755 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5756 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5757 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5758 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5759 is disabled and its cache will get corrupt, causing AUTOS not to
5760 expand. Instead use only -quick functions.
5761 (verilog-scan-region): Fix scanning over escaped quotes.
5762 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5763 (verilog-re-search-backward-quick)
5764 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5765 related functions now ignore strings, to fix misparsing of strings
5766 with magic comments embedded in them.
a1beca85
SM
5767 (verilog-read-auto-template):
5768 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5769 Reported by Brad Dobbie.
5770 (verilog-read-auto-template):
5771 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5772 Reported by Brad Dobbie.
6288f0ca
WS
5773 (verilog-auto-inst, verilog-auto-inst-param)
5774 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5775 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5776 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5777 debugging templates without merge conflicts, bug357.
5778 Reported by Brad Dobbie.
5779 (verilog-read-auto-template):
5780 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5781 Reported by Brad Dobbie.
5782 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5783 abbrevs so user won't be asked to save.
5784 (verilog-read-auto-lisp-present): Fix to start at beginning of
5785 buffer in case called outside of verilog-auto.
5786 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5787 to "X-2". Reported by Matthew Myers.
5788 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5789 all inputs from module templates. Reported by Leith Johnson.
5790 (verilog-module-inside-filename-p): Fix locating programs as with
5791 modules.
5792 (verilog-auto-inst-port): Fix vl-width expressions when using
5793 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5794 (verilog-decls-get-regs, verilog-decls-get-signals,
5795 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5796 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5797 verilog-read-decls): Combine reg and wire structures into one var
5798 structure to represent SystemVerilog concepts.
5799 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5800 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5801 (verilog-auto-wire-type, verilog-insert-definition):
5802 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5803 SystemVerilog "logic" keyword instead of "wire"/"reg".
5804 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5805 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5806 ifdef or generate if so there's not a driver conflict).
5807 Reported by Matthew Myers.
5808 (verilog-auto-declare-nettype, verilog-insert-definition):
5809 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5810 `default_nettype none. Reported by Julian Gorfajn.
5811 (verilog-read-always-signals-recurse, verilog-read-decls)
5812 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5813 malformed end statement, bug325. Reported by Joshua Wise and
5814 Andrew Drake.
5815 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5816 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5817 when expanding .* in interfaces, bug320.
5818 Reported by Pierre-David Pfister.
6288f0ca 5819 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5820 name and open parenthesis, bug317.
5821 Reported by Pierre-David Pfister.
6288f0ca
WS
5822 (verilog-simplify-range-expression): Fix simplification of
5823 multiplications inside AUTOWIRE connections, bug303.
5824 (verilog-auto-inst-port): Support parameter expansion in
5825 multidimensional arrays.
5826 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5827 after "assert property". Reported by Julian Gorfajn.
5828 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5829 with multiplication, bug303.
5830 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5831 Reported by Jan Frode Lonnum.
5832
1bbe96b2
GM
58332011-11-30 Juanma Barranquero <lekktu@gmail.com>
5834
5835 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5836 (hfy-shell-file-name, hfy-shell):
5837 * international/fontset.el (x-decompose-font-name): Fix typos.
5838
58392011-11-29 Ken Brown <kbrown@cornell.edu>
5840
5841 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5842 (gdb-version): Remove defvar.
5843 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5844 (gdb-gud-context-command, gdb-non-stop-handler)
5845 (gdb-current-context-command, gdb-stopped): Use it.
5846 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5847 (gdb-non-stop-handler): Don't enable pretty-printing here.
5848 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5849 non-stop mode. Use the following.
5850 (gdb-check-target-async): New defun.
5851 (gud-watch, gdb-stopped): Fix whitespace.
5852 (gdb-get-source-file): Don't try to display the source file if
5853 `gdb-main-file' is nil.
5854
58552011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * align.el: Try to generate fewer markers (bug#10047).
5858 (align--set-marker): New macro.
5859 (align-region): Use it.
5860
c935221f
SM
58612011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5862
5863 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5864
e70b5064
CY
58652011-11-29 Chong Yidong <cyd@gnu.org>
5866
5867 * indent.el (indent-for-tab-command, indent-according-to-mode):
5868 Doc fix.
5869 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5870
f3af92b7
MA
58712011-11-29 Michael Albinus <michael.albinus@gmx.de>
5872
5873 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5874 aware of remote file names. (Bug#10124)
5875
ed472be9
CY
58762011-11-29 Chong Yidong <cyd@gnu.org>
5877
5878 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5879
24510c22
SM
58802011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * files.el (find-file): Don't use force-same-window (bug#10144).
5883 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5884 use pop-to-buffer if the selected window can't be used.
5885 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5886
c60c3703
EZ
58872011-11-28 Eli Zaretskii <eliz@gnu.org>
5888
5889 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5890 special-mode-map.
5891
e95def75
CY
58922011-11-28 Chong Yidong <cyd@gnu.org>
5893
5894 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5895
c3f1c606
NR
58962011-11-27 Nick Roberts <nickrob@snap.net.nz>
5897
5898 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5899 gdb-get-source-file-list on gdb-create-source-file-list.
5900
00db469c
EZ
59012011-11-26 Eli Zaretskii <eliz@gnu.org>
5902
5903 * whitespace.el (whitespace-newline): Use a different foreground
5904 color for 16-color light-background displays.
5905
4ad3bc2a
CY
59062011-11-24 Chong Yidong <cyd@gnu.org>
5907
5908 * window.el (display-buffer--special-action): Doc fix.
5909
e9fce1ac
JB
59102011-11-25 Juanma Barranquero <lekktu@gmail.com>
5911
5912 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5913 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5914 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5915 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5916 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5917 (avl-tree-stack-first):
5918 * emacs-lisp/cconv.el (cconv--analyse-use):
5919 * net/gnutls.el (gnutls-negotiate): Fix typos.
5920
cb825e5d
GM
59212011-11-24 Glenn Morris <rgm@gnu.org>
5922
3adbe224
GM
5923 * lpr.el (lpr-windows-system, lpr-lp-system):
5924 * mail/binhex.el (binhex-begin-line):
5925 * progmodes/grep.el (grep-history, grep-find-history):
5926 * textmodes/flyspell.el:
5927 * vc/pcvs-defs.el (cvs-global-menu):
5928 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5929 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5930 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5931
321decc8
GM
5932 * net/tls.el: Fix case of "GnuTLS".
5933
420b63ad
GM
5934 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5935
cb825e5d
GM
5936 * version.el (emacs-build-system): Give it a doc-string.
5937
a0649f08
JL
59382011-11-24 Juri Linkov <juri@jurta.org>
5939
5940 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5941
c0bc0fd4
GM
59422011-11-24 Glenn Morris <rgm@gnu.org>
5943
5944 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5945 if called on a non-mime message just toggle the headers. (Bug#8006)
5946
20db1522
JB
59472011-11-24 Juanma Barranquero <lekktu@gmail.com>
5948
5949 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5950 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5951 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5952 (allout-rebullet-heading, allout-open-sibtopic)
5953 (allout-toggle-current-subtree-encryption)
5954 (allout-toggle-subtree-encryption, allout-encrypt-string)
5955 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5956 (allout-distinctive-bullets-string, allout-auto-activation):
5957 * window.el (window-normalize-buffer-to-display):
5958 * progmodes/verilog-mode.el (verilog-batch-indent):
5959 * textmodes/bibtex.el (bibtex-field-braces-opt)
5960 (bibtex-field-strings-opt):
5961 * vc/cvs-status.el (cvs-tree-merge):
5962 Fix typos.
5963
7262a87c
MA
59642011-11-23 Michael Albinus <michael.albinus@gmx.de>
5965
5966 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5967 `non-essential' to t, in order to avoid remote connections.
5968
283430a1
EZ
59692011-11-23 Eli Zaretskii <eliz@gnu.org>
5970
a1beca85
SM
5971 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5972 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5973 case-insensitively.
5974
d2992a38
ML
59752011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5976
5977 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5978
50419064
GM
59792011-11-23 Glenn Morris <rgm@gnu.org>
5980
da94eca1
GM
5981 * paths.el (rmail-file-name): Reformat the doc-string so that it
5982 is picked up.
5983
9aac4de2
GM
5984 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5985 (rmail-auto-file): Ignore case in the "special" field names,
5986 as mail-fetch-field does for all others.
5987
8038d2d2
GM
5988 * mail/rmail.el (rmail-forward):
5989 * mail/rmailkwd.el (rmail-set-label):
5990 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5991 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5992
f3fe222a
GM
5993 * mail/rmail.el (rmail-current-message): Doc fix.
5994
50419064
GM
5995 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5996
28109f49
SM
59972011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6000
394c65f1
GM
60012011-11-22 Glenn Morris <rgm@gnu.org>
6002
6003 * mail/rmailmm.el (test-rmail-mime-handler)
6004 (test-rmail-mime-bulk-handler)
6005 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6006
f2a0aa3a
JL
60072011-11-21 Juri Linkov <juri@jurta.org>
6008
1154d12e
JB
6009 * calc/calc.el (calc-read-key-sequence):
6010 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6011
9c34a344
LMI
60122011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6013
6014 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6015 Tell the caller that the next line needs recomputation, even
6016 though it doesn't start a sexp (bug#10094).
6017
f04a3be9
SM
60182011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6021
7978747f
SM
60222011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6023
f04a3be9
SM
6024 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6025 Use force-same-window.
7978747f 6026
fe7a3057
JB
60272011-11-20 Juanma Barranquero <lekktu@gmail.com>
6028
6029 * descr-text.el (describe-char-unicode-data):
6030 * json.el (json-string-escape):
6031 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6032 (Footnote-unicode, Footnote-style-p):
6033 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6034
24901d61
CY
60352011-11-20 Chong Yidong <cyd@gnu.org>
6036
6037 * window.el (replace-buffer-in-windows): Restore interactive spec.
6038
bac7ff22
SM
60392011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6040
24f3d7b9
SM
6041 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6042
bac7ff22
SM
6043 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6044 (byte-compile-global-not-obsolete-vars): New var.
6045 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6046 Use it.
6047 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6048
cd1181db
JB
60492011-11-20 Juanma Barranquero <lekktu@gmail.com>
6050
6051 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6052 * progmodes/pascal.el (electric-pascal-equal):
6053 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6054 * xml.el (xml-substitute-special): Fix typos.
6055
7fb18e9e
GM
60562011-11-20 Glenn Morris <rgm@gnu.org>
6057
6058 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6059 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6060 Doc fixes.
6061 (rmail-decode-mime-charset): Mark as obsolete.
6062
6063 * mail/rmailsum.el (rmail-message-regexp-p-1):
6064 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6065 Before using mime functions, check they are set. (Bug#10077)
6066
d5a6b3ba
JL
60672011-11-19 Juri Linkov <juri@jurta.org>
6068
6069 * info.el (Info-finder-find-node): Use `package--builtins' instead
6070 of `package-alist'. Use node names formed by the pattern "Keyword "
6071 and the keyword name.
6072
e981b61f
AS
60732011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6074
1d00653d 6075 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6076
3ffbc301
JL
60772011-11-19 Juri Linkov <juri@jurta.org>
6078
6079 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6080 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6081 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6082 `old-history', `old-history-forward'. Add let-binding
6083 `window-selected'. Remove calls to `kill-buffer',
6084 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6085 before calling `Info-find-node', so `Info-find-node-2' will reread
6086 the Info file. Restore window positions only when `window-selected'
6087 is non-nil.
6088
30c62133
JL
60892011-11-19 Juri Linkov <juri@jurta.org>
6090
6091 * isearch.el (isearch-lazy-highlight-new-loop):
6092 Remove condition `(not isearch-error)'. (Bug#9918)
6093
6094 * misearch.el (multi-isearch-search-fun): Add condition
6095 `(not bound)' to ignore lazy-highlighting search.
6096 Add the search-failed message "end of multi" when the end of
6097 multi-sequence is reached. Uncapitalize the search-failed
6098 message "Repeat for next buffer".
6099
6100 * info.el (Info-search): Add the search-failed message
6101 "end of the manual" when the end of the manual is reached
6102 in Isearch mode.
6103
645ca9cf
JL
61042011-11-19 Juri Linkov <juri@jurta.org>
6105
6106 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6107 Use non-destructive `remove' instead of `delete' because
6108 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6109 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6110
df754f66
JL
61112011-11-19 Juri Linkov <juri@jurta.org>
6112
6113 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6114 to nil instead of binding `search-ring' and `regexp-search-ring'.
6115 (Bug#9185)
6116
0e23d96a
EZ
61172011-11-19 Eli Zaretskii <eliz@gnu.org>
6118
6119 * simple.el (line-move): Force movement by logical lines for any
6120 hscrolled window, not only when auto-hscroll-mode is on.
6121 (line-move-visual): Update doc string to that effect. (Bug#10076)
6122
8a6ccb66
AS
61232011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6124
6125 * language/european.el (macintosh): Define as alias for mac-roman.
6126
49ae5b39
EZ
61272011-11-19 Eli Zaretskii <eliz@gnu.org>
6128
6129 * mail/rmailmm.el (rmail-mime-display-header)
6130 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6131 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6132 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6133 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6134 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6135 of a raw aref.
6136 (rmail-mime-entity-segment): To get past the tagline, move forward
6137 2 more lines, to account for the 2 empty lines that precede and
6138 follow the line with the buttons.
6139 (rmail-mime-update-tagline): Move one more line, to get past the
6140 empty line that follows the buttons in the tagline. (Bug#9520)
6141
c56cad4a
MR
61422011-11-19 Martin Rudalics <rudalics@gmx.at>
6143
6144 * window.el (window-max-delta-1, window-min-delta-1)
6145 (window-min-size-1, window-state-get-1, window-state-put-1)
6146 (window-state-put-2): Use "window--" prefix.
6147
cbe71af3
SM
61482011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6149
2ad52c60
SM
6150 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6151 (smie-warning-count): New var.
6152 (smie-set-prec2tab): Use it.
6153 (smie-bnf->prec2): Improve warnings. Add docstring.
6154 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6155 (smie-bnf--set-class): New function.
6156 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6157 corner case.
6158
6944dbc1
SM
6159 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6160 (compilation-error-properties, compilation-move-to-column):
6161 Handle compilation-first-column while in the target buffer.
6162
c400c4d7
SM
6163 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6164 Don't hardcode point-min==1.
6165
6dbe3e96
SM
6166 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6167 (eshell-rewrite-for-command): Remove workaround.
6168 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6169 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6170 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6171
cbe71af3
SM
6172 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6173
a8e1496d
GM
61742011-11-17 Glenn Morris <rgm@gnu.org>
6175
6176 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6177 Ignore buffer-local generated-autoload-file if it is the same
6178 as the global value. (Bug#10049)
6179
df85d315
JB
61802011-11-17 Juanma Barranquero <lekktu@gmail.com>
6181
6182 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6183 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6184 (reftex-toc-previous-heading, reftex-toc-max-level)
6185 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6186 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6187 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6188 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6189 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6190 (reftex-toc-rename-label, reftex-toc-visit-location)
6191 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6192 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6193 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6194 leaving "*toc*" only for references to the buffer.
6195
a0c2d0ae
MR
61962011-11-17 Martin Rudalics <rudalics@gmx.at>
6197
6198 * window.el (window-resize, delete-window, split-window):
6199 Replace window-splits by window-combination-resize.
1d00653d 6200 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6201
35c0bac8
GM
62022011-11-17 Glenn Morris <rgm@gnu.org>
6203
6204 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6205 Make bash entry derive from sh entry, not shell entry.
6206
d0c8fc8a
MA
62072011-11-16 Michael Albinus <michael.albinus@gmx.de>
6208
d0c8fc8a
MA
6209 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6210 properties of linked files. (Bug#9879)
6211
7262a87c
MA
6212 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6213 local file name.
6214
7877f373
JB
62152011-11-16 Juanma Barranquero <lekktu@gmail.com>
6216
6217 * menu-bar.el (menu-bar-file-menu):
6218 * printing.el (pr-ps-utility):
6219 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6220 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6221 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6222 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6223 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6224 (icalendar--convert-cyclic-to-ical)
6225 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6226 (icalendar--convert-ical-to-diary)
6227 (icalendar--convert-recurring-to-diary)
6228 (icalendar--convert-non-recurring-all-day-to-diary)
6229 (icalendar-import-format-sample):
6230 * progmodes/idlw-shell.el (idlwave-shell-mode):
6231 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6232 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6233 (vhdl-ps-print-init): Fix typos.
6234
10649b82
KM
62352011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6236
9d0cfcd6
GM
6237 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6238 FSF and collapse date sequence, obscure author/maintainer email address
6239 better, remove extra version line, track relocation of author's webpage.
10649b82 6240
9d0cfcd6
GM
6241 * progmodes/python.el (python-pdbtrack-input-prompt)
6242 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6243 regular python pdb prompts. Adjustments shamelessly taken exactly as
6244 suggested in EmacsWiki page (tiny change):
6245 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6246
58179cce
JB
62472011-11-16 Juanma Barranquero <lekktu@gmail.com>
6248
6249 * expand.el (expand-pos, expand-index, expand-point):
6250 Remove redundant info from docstring.
6251 (expand-add-abbrevs): Doc fix.
6252 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6253 (expand-sample-perl-mode-expand-list): Fix typos.
6254
6255 * net/dbus.el (dbus-event-member-name):
6256 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6257 * term/pc-win.el (msdos-create-frame-with-faces):
6258 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6259
b6f67890
MR
62602011-11-16 Martin Rudalics <rudalics@gmx.at>
6261
6262 * window.el (split-window, window-state-get-1)
6263 (window-state-put-1, window-state-put-2): Rename occurrences of
6264 window-nest to window-combination-limit.
1d00653d 6265 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6266
ce7ddba0
CY
62672011-11-16 Chong Yidong <cyd@gnu.org>
6268
6269 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6270 regexp (Bug#10033).
6271
3ae704f4
SM
62722011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6275 `completing-read' will remove *Completions* and will preserve
6276 current-buffer for us.
6277 (tmm-add-prompt): Users of *Completions* will always (re)set its
6278 major mode.
6279 (tmm-old-comp-map): Remove.
6280
6ad1cdde
GM
62812011-11-16 Glenn Morris <rgm@gnu.org>
6282
6283 * mail/rmailedit.el: Require rmailmm when compiling.
6284 (rmail-old-mime-state): New declaration.
6285 (rmail-edit-current-message): If editing a mime message,
6286 edit the "raw" message from the mbox buffer.
6287 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6288
d20faa20
GM
62892011-11-15 Glenn Morris <rgm@gnu.org>
6290
6291 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6292 which wasn't being used. Add optional arg to force given state.
6293 (rmail-mime): Add optional arg to force given state.
6294
c7015153
JB
62952011-11-15 Juanma Barranquero <lekktu@gmail.com>
6296
6297 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6298 * frame.el (display-mm-dimensions-alist):
6299 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6300 (outline-move-subtree-down):
6301 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6302 (newsticker--treeview-do-get-node):
6303 * net/quickurl.el (quickurl-list-buffer-name):
6304 * progmodes/dcl-mode.el (dcl-mode):
6305 * progmodes/gdb-mi.el (gdb-mapcar*):
6306 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6307
45261b50
GM
63082011-11-15 Glenn Morris <rgm@gnu.org>
6309
6310 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6311 in a boolean sense, so just make it a boolean, and fix the doc.
6312 (rmail-show-mime-function, rmail-mime-feature)
6313 (rmail-require-mime-maybe): Doc fixes.
6314 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6315
6316 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6317
0d26e0b6
JB
63182011-11-15 Juanma Barranquero <lekktu@gmail.com>
6319
6320 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6321 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6322 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6323 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6324
447f30f6
GM
63252011-11-15 Glenn Morris <rgm@gnu.org>
6326
672b871d
GM
6327 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6328 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6329 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6330 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6331 (rmail-mime, rmail-show-mime): Doc fixes.
6332
f6aa5bb1
GM
6333 * term/ns-win.el (mode-line-frame-identification):
6334 Leave it alone. (Bug#10051)
6335
947cd66b
GM
6336 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6337
447f30f6
GM
6338 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6339 Handle empty buffers. (Bug#9978)
6340
0b381c7e
JB
63412011-11-14 Juanma Barranquero <lekktu@gmail.com>
6342
6343 * international/mule.el (define-charset):
6344 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6345 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6346 * progmodes/verilog-mode.el (verilog-backward-token):
6347 * textmodes/ispell.el (lookup-words):
6348 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6349
71e027ac
GM
63502011-11-14 Glenn Morris <rgm@gnu.org>
6351
56632ce4
GM
6352 * progmodes/executable.el
6353 (executable-make-buffer-file-executable-if-script-p):
6354 Handle file-modes returning nil.
6355
40500957
GM
6356 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6357 message - not necessary, and causes problems. (Bug#9831)
6358
071c2340
GM
6359 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6360
d3cfca60
GM
6361 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6362
71e027ac
GM
6363 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6364 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6365 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6366
89d61221
MR
63672011-11-12 Martin Rudalics <rudalics@gmx.at>
6368
6369 * window.el (window-resize, delete-window): Use window-splits
6370 variable instead of function.
6371 (window-state-get-1, window-state-put-2, window-state-put):
6372 Don't deal with windows' splits status.
6373
98282f6f
GM
63742011-11-12 Glenn Morris <rgm@gnu.org>
6375
6376 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6377 (apropos-documentation): Doc fixes.
6378
40a8bdf6
JB
63792011-11-11 Juanma Barranquero <lekktu@gmail.com>
6380
6381 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6382 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6383
65bd19ff
SM
63842011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * electric.el (electric-indent-post-self-insert-function): Make it
6387 possible for a char to only indent in some circumstances.
6388 (electric-indent-mode): Simplify.
6389
54f9154c
MR
63902011-11-11 Martin Rudalics <rudalics@gmx.at>
6391
6392 * window.el (windows-with-parameter): Remove unused function.
6393 (windows-at-side): Rename to window-at-side-list.
6394 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6395 (window-side-check, window-size-ignore, window-size-fixed-1)
6396 (window-in-direction-2): Prefix with "window--".
6397 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6398
68cbc58b
GM
63992011-11-11 Glenn Morris <rgm@gnu.org>
6400
6401 * subr.el (eval-after-load): If FILE is already loaded,
6402 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6403
b2621720
GM
64042011-11-10 Glenn Morris <rgm@gnu.org>
6405
9a4de110
GM
6406 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6407 Call svn via vc-svn-command rather than vc-do-command.
6408 (vc-svn-command): Add --non-interactive. (Bug#9993)
6409 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6410
b2621720
GM
6411 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6412 Add toggle-read-only. (Bug#7292)
6413 * files.el (toggle-read-only): Mention that it should only
6414 be used interactively. (Bug#10006)
6415
1dce7193
SM
64162011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6417
d9ac1a1e
SM
6418 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6419 Adjust regexp for OCaml warnings.
6420
0c325082
SM
6421 * electric.el (electric-pair-post-self-insert-function): Let user
6422 turn it off buffer-locally (bug#9932).
6423
90132c14
SM
6424 * progmodes/python.el (python-beginning-of-statement):
6425 Rewrite (bug#2703).
6426
1dce7193
SM
6427 * progmodes/compile.el: Better handle TABs (bug#9749).
6428 (compilation-internal-error-properties)
6429 (compilation-next-error-function): Obey the target buffer's
6430 compilation-error-screen-columns.
6431
c4e7c63a
JB
64322011-11-09 Juanma Barranquero <lekktu@gmail.com>
6433
6434 * progmodes/meta-mode.el: Remove obsolete comments.
6435 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6436 Fix typos in docstrings.
6437
2cffd681
MR
64382011-11-09 Martin Rudalics <rudalics@gmx.at>
6439
6440 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6441 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6442 (window--resizable): New function. Make all callers of
6443 window-resizable call window--resizable instead.
6444 (window-resizable): Rewrite in terms of window--resizable.
6445
0edcba87
GM
64462011-11-08 Glenn Morris <rgm@gnu.org>
6447
6448 * progmodes/delphi.el (delphi-mode-syntax-table):
6449 Let define-derived-mode define a proper syntax table. (Bug#9994)
6450
4b0d61e3
SM
64512011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6452
6453 * window.el: Stay away from defsubst.
6454 (window-list-no-nils): Remove.
6455 (window-state-get-1, window-state-get): Use backquote instead.
6456
cd394be1 64572011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6458
4b0d61e3 6459 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6460 Fix incorrect use of default argument in `completing-read'.
6461
e1c2c6f2
MR
64622011-11-08 Martin Rudalics <rudalics@gmx.at>
6463
6464 * window.el (display-buffer-function, special-display-function):
6465 Mention display-buffer-record-window but do not mention
6466 help-setup parameter in doc-strings.
b3f4a882 6467 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6468
105216ed
CY
64692011-11-08 Chong Yidong <cyd@gnu.org>
6470
6471 * window.el (window-total-height, window-total-width): Doc fix.
6472 (window-body-size): Move from C.
6473 (window-body-height, window-body-width): Move to C.
6474
0a9f9ab5
SM
64752011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6476
6477 * window.el: Make special-display like display-buffer-alist (bug#9532).
6478 (display-buffer--special-action): New function, morphed
6479 from display-buffer--special.
6480 (display-buffer): Use it to handle special-display-buffers at higher
6481 priority (just after display-buffer-alist).
6482 (display-buffer-fallback-action, display-buffer--other-frame-action)
6483 (pop-to-buffer-same-window): Remove display-buffer--special.
6484
a769dd15
GM
64852011-11-07 Glenn Morris <rgm@gnu.org>
6486
6487 * calendar/cal-menu.el (cal-menu-set-date-title):
6488 Do nothing if not in a calendar. (Bug#9976)
6489
05a61ee3
SM
64902011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * files.el (find-file): Always use selected-window.
6493
be7f5545
MR
64942011-11-07 Martin Rudalics <rudalics@gmx.at>
6495
6496 * window.el (window-combinations): Make WINDOW argument
6497 mandatory. Rewrite doc-string.
6498 (walk-window-subtree, window-atom-check, window-min-delta)
6499 (window-max-delta, window--resize-this-window)
6500 (window--resize-root-window-vertically, window-tree)
6501 (balance-windows, window-state-put): Rewrite doc-strings as to
6502 not mention the term "subwindow".
6503 (window--resize-subwindows-skip-p): Rename to
6504 window--resize-child-windows-skip-p.
6505 (window--resize-subwindows-normal): Rename to
6506 window--resize-child-windows-normal.
6507 (window--resize-subwindows): Rename to
6508 window--resize-child-windows.
6509 (window-or-subwindow-p): Rename to window--in-subtree-p.
6510
3c6702ef
ML
65112011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6512
6513 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6514 Ensure that mbox format messages end in two newlines (Bug#9974).
6515
49745b39
CY
65162011-11-06 Chong Yidong <cyd@gnu.org>
6517
6518 * window.el (window-combination-p): Function deleted; its
6519 side-effect is not used in any existing code.
6520 (window-combinations, window-combined-p): Call window-*-child
6521 directly.
6522
24300f5f
CY
65232011-11-05 Chong Yidong <cyd@gnu.org>
6524
6525 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6526 (window-size-ignore, window-state-get): Callers changed.
6527 (window-normalize-window): Rename from window-normalize-any-window.
6528 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6529 (window-normalize-live-window): Delete.
447f16b8
CY
6530 (window-combination-p, window-combined-p, window-combinations)
6531 (walk-window-subtree, window-atom-root, window-min-size)
6532 (window-sizable, window-sizable-p, window-size-fixed-p)
6533 (window-min-delta, window-max-delta, window-resizable)
6534 (window-resizable-p, window-full-height-p, window-full-width-p)
6535 (window-current-scroll-bars, window-point-1, set-window-point-1)
6536 (window-at-side-p, window-in-direction, window-resize)
6537 (adjust-window-trailing-edge, maximize-window, minimize-window)
6538 (window-deletable-p, delete-window, delete-other-windows)
6539 (record-window-buffer, unrecord-window-buffer)
6540 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6541 (quit-window, split-window, window-state-put)
6542 (set-window-text-height, fit-window-to-buffer)
6543 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6544
89bd5ee1
EZ
65452011-11-04 Eli Zaretskii <eliz@gnu.org>
6546
53479029
EZ
6547 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6548 rfc2047-decode-string.
6549 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6550 warnings.
6551
89bd5ee1
EZ
6552 * window.el (window-body-height, window-body-width): Mention in
6553 the doc string that the return values are in frame's canonical
6554 units. (Bug#9949)
6555
bd17fdee
AM
65562011-11-03 Alan Mackenzie <acm@muc.de>
6557
6558 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6559 change in cc-engine.el.
6560
acc825c5
SM
65612011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6564
1885e5b8
MR
65652011-11-02 Martin Rudalics <rudalics@gmx.at>
6566
6567 * window.el (quit-window): Call unrecord-window-buffer after
6568 showing another buffer in the window. (Bug#9937)
acc825c5 6569 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6570
ebe06da9
JB
65712011-11-02 Juanma Barranquero <lekktu@gmail.com>
6572
6573 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6574 Accept status with more than 9 shelves. (Bug#9935)
6575 Reported by Colin D Bennett <colin@gibibit.com>.
6576
4ee88440
MR
65772011-11-01 Martin Rudalics <rudalics@gmx.at>
6578
6579 * help.el (with-help-window): Don't reference
6580 temp-buffer-show-specifiers in doc-string.
6581
08e1d82c
AS
65822011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6583
6584 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6585 menu-item.
6586
84bd6e9e
VJL
65872011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6588
6589 * whitespace.el: New version 13.2.2.
6590 (whitespace-newline-mode): Disable properly. Reported by Sarah
6591 <EmacsWiki>.
6592
dba0634a
UJ
65932011-10-30 Ulf Jasper <ulf.jasper@web.de>
6594
6595 * net/newst-treeview.el: Remove "Time-stamp".
6596 (newsticker--group-manage-orphan-feeds): Do not call
6597 newsticker--treeview-tree-update.
db22a3c2
JB
6598 (newsticker-treeview-update, newsticker-treeview):
6599 Call newsticker--treeview-tree-update if necessary.
dba0634a 6600
3d8daefe
MR
66012011-10-30 Martin Rudalics <rudalics@gmx.at>
6602
6603 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6604 (window-iso-combinations): Remove "iso-" infix.
6605 Suggested by Chong Yidong.
3d8daefe
MR
6606 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6607 (window-max-delta-1, window-resize, window--resize-siblings)
6608 (window--resize-this-window, adjust-window-trailing-edge)
6609 (split-window, balance-windows-1)
6610 (shrink-window-if-larger-than-buffer):
6611 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6612 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6613
1bc4c3ae
SM
66142011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6617 in place (bug#9907).
6618 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6619 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6620 (eshell-structure-basic-command, eshell-rewrite-while-command)
6621 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6622 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6623 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6624 (eshell-do-pipelines-synchronously, eshell-eval-command):
6625 Use backquotes and prefer setq to set.
6626 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6627 (eshell-macrop): Use functionp.
c1e2f5fa 6628 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6629
30b65d9c
CY
66302011-10-30 Chong Yidong <cyd@gnu.org>
6631
6632 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6633 instead of set-mark (Bug#9810).
6634
2d197ffb
CY
66352011-10-30 Chong Yidong <cyd@gnu.org>
6636
6637 * window.el (split-window-below, split-window-right): Rename from
6638 split-window-above-each-other and split-window-side-by-side
6639 respectively. All callers changed.
6640 (split-window-sensibly, split-window-sensibly): Use them.
6641 (split-window-keep-point): Doc fix.
6642
6643 * isearch.el: Add isearch-scroll property to split-window-below
6644 and split-window-right.
6645
6646 * follow.el (follow-mode):
6647 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6648 * progmodes/ada-xref.el (ada-gdb-application):
6649 * emulation/vip.el (vip-buffer-in-two-windows):
6650 * image-dired.el (image-dired-dired-with-window-configuration):
6651 * dired-x.el (dired-do-find-marked-files):
6652 * dired.el (dired-pop-to-buffer):
6653 * bs.el (bs--show-with-configuration):
6654 * vc/emerge.el (emerge-setup-windows):
6655 * textmodes/two-column.el (2C-two-columns):
6656 * textmodes/reftex-toc.el (reftex-toc):
6657 * progmodes/gdb-mi.el (gdb-setup-windows):
6658 * progmodes/fortran.el (fortran-window-create):
6659 * net/newst-treeview.el (newsticker--treeview-window-init):
6660 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6661 * emulation/tpu-edt.el (tpu-gold-map):
6662 * emulation/crisp.el (crisp-mode-map):
6663 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6664
38bb2ca8
CY
66652011-10-29 Chong Yidong <cyd@gnu.org>
6666
aa4de341
CY
6667 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6668
e1eb5385
CY
6669 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6670
5d2ece3c
CY
6671 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6672 forged Ispell output (Bug#7904).
6673
38bb2ca8
CY
6674 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6675
d0af9f77
SM
66762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6677
6678 * doc-view.el: Avoid ugly errors about not finding nil.
6679 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6680 (doc-view-dvipdf-program, doc-view-unoconv-program)
6681 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6682 Avoid nil or absolute file name as default value.
6683 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6684
52bedd34
AM
66852011-10-28 Alan Mackenzie <acm@muc.de>
6686
db22a3c2 6687 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6688
7e43cfa5
AM
66892011-10-28 Alan Mackenzie <acm@muc.de>
6690
6691 Amend the handling of c-beginning/end-of-defun in nested declaration
6692 scopes.
6693
52bedd34
AM
6694 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6695 cc-langs.el. Change it to a defcustom.
7e43cfa5 6696
52bedd34
AM
6697 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6698 cc-vars.el.
7e43cfa5 6699
d0af9f77
SM
6700 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6701 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6702
52bedd34 6703 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6704 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6705 (c-widen-to-enclosing-decl-scope): New function.
6706 (c-while-widening-to-decl-block): New macro.
6707 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6708 outward for defun boundaries, and correspondingly change symbol
6709 `respect-enclosure' to `go-outward'.
6710 (c-declaration-limits): Change algorithm to report only the "innermost"
6711 defun's boundaries.
6712
1a2ce9ee
DD
67132011-10-28 Deniz Dogan <deniz@dogan.se>
6714
6715 * net/rcirc.el (rcirc-mode): Use hard newlines.
6716
bc97a826
AM
67172011-10-28 Alan Mackenzie <acm@muc.de>
6718
6719 Amend to indent and fontify macros "which include their own semicolon"
6720 correctly, using the "virtual semicolon" mechanism.
6721
52bedd34 6722 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6723
d0af9f77 6724 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6725 Recode to scan one line at a time rather than having \n and \r
58179cce 6726 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6727 (c-forward-label): Amend for virtual semicolons.
58179cce 6728 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6729
52bedd34
AM
6730 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6731 of the new C macros.
bc97a826 6732
52bedd34 6733 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6734 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6735 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6736 (c-opt-cpp-macro-define): Make into a full language variable.
6737 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6738 AWK Mode (including \n, \r) removed, no longer needed.
6739
d0af9f77
SM
6740 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6741 Invoke c-make-macro-with-semi-re.
bc97a826 6742
52bedd34
AM
6743 * progmodes/cc-vars.el (c-macro-with-semi-re):
6744 (c-macro-names-with-semicolon): New variables.
58179cce 6745 (c-make-macro-with-semi-re): New function.
bc97a826 6746
7a6c0941
SM
67472011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6748
6749 * vc/log-edit.el: Fill empty field rather than adding new one.
6750 (log-edit-add-field): New function.
6751 (log-edit-insert-changelog): Use it.
6752
b0c4cdcf
ML
67532011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6754
6755 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6756
ee1f1da9
SM
67572011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6758
6759 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6760 (gdb--check-interpreter): New function.
6761 (gdb): Use it.
6762
51bc5f8b
GM
67632011-10-27 Glenn Morris <rgm@gnu.org>
6764
416a2c45
GM
6765 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6766 (least-positive-float, least-negative-float)
6767 (least-positive-normalized-float, least-negative-normalized-float)
6768 (float-epsilon, float-negative-epsilon):
6769 Remove unnecessary declarations.
6770
6771 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6772 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6773 (least-positive-float, least-negative-float)
6774 (least-positive-normalized-float, least-negative-normalized-float)
6775 (float-epsilon, float-negative-epsilon): Add doc-strings,
6776 based on those in cl.texi.
6777
51bc5f8b
GM
6778 * files.el (set-visited-file-name): If the major-mode changed,
6779 reload the local variables. (Bug#9796)
6780
15de15c6
CY
67812011-10-27 Chong Yidong <cyd@gnu.org>
6782
6783 * subr.el (change-major-mode-after-body-hook): New hook.
6784 (run-mode-hooks): Run it.
6785
ee1f1da9
SM
6786 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6787 Use change-major-mode-before-body-hook.
15de15c6
CY
6788
6789 * simple.el (fundamental-mode):
6790 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6791 change introducing fundamental-mode-hook.
6792
5430d399
JB
67932011-10-26 Juanma Barranquero <lekktu@gmail.com>
6794
acc825c5 6795 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6796
ad74a69e
MA
67972011-10-26 Michael Albinus <michael.albinus@gmx.de>
6798
6799 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6800 tramp.el explicitly. (Bug#7583)
ad74a69e 6801
71d4c2a5
SM
68022011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * progmodes/octave-mod.el:
6805 * progmodes/octave-inf.el: Update maintainer.
6806
b1f6fa26
CY
68072011-10-26 Chong Yidong <cyd@gnu.org>
6808
6809 * subr.el (with-wrapper-hook): Rewrite doc.
6810
3f04efd6
MA
68112011-10-25 Michael Albinus <michael.albinus@gmx.de>
6812
6813 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6814 filenames "/method:foo:". (Bug#9793)
3f04efd6 6815
410488d3
SM
68162011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6817
6818 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6819 (bug#9865).
6820
c1ebb47e
GM
68212011-10-24 Glenn Morris <rgm@gnu.org>
6822
6823 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6824
7f5c46c7
MA
68252011-10-24 Michael Albinus <michael.albinus@gmx.de>
6826
6827 * notifications.el: Add the requirement of a running D-Bus session
6828 bus to the Commentary.
6829
db2440b6
JL
68302011-10-24 Juri Linkov <juri@jurta.org>
6831
6832 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6833 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6834 (Bug#9364)
6835
feecf435
JL
68362011-10-24 Juri Linkov <juri@jurta.org>
6837
6838 * info.el (Info-following-node-name-re): Add newline to the list
6839 of allowed characters for leading space. (Bug#9824)
6840
a3839de2
SM
68412011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6842
acc825c5
SM
6843 * progmodes/octave-inf.el (inferior-octave-mode-map):
6844 Fix C-c C-h binding.
a3839de2
SM
6845 * progmodes/octave-mod.el (octave-help): Remove.
6846
09388e76
MA
68472011-10-23 Michael Albinus <michael.albinus@gmx.de>
6848
6849 Sync with Tramp 2.2.3.
6850
6851 * net/tramp-cache.el (top): Pacify byte-compiler using
6852 `init-file-user' and `site-run-file'.
6853
6854 * net/trampver.el: Update release number.
6855
86c60681
CY
68562011-10-23 Chong Yidong <cyd@gnu.org>
6857
6858 * files.el (toggle-read-only): Remove obsolete comment about
6859 version control.
6860
6861 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6862 for toggle-read-only. Note that this hasn't called vc-next-action
6863 since 2008-05-02, though it wasn't documented at the time.
6864
a3839de2
SM
6865 * vc/ediff-init.el (ediff-toggle-read-only-function):
6866 Use toggle-read-only.
86c60681 6867
cd5495ff
AM
68682011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6869
6870 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6871 of c-parse-state.
6872
00b77525 6873 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6874 correct faulty logical expression.
cd5495ff
AM
6875 (c-parse-state-state, c-record-parse-state-state):
6876 (c-replay-parse-state-state): New defvar/defuns.
6877 (c-debug-parse-state): Use new functions.
6878
42ee24ed
MR
68792011-10-22 Martin Rudalics <rudalics@gmx.at>
6880
6881 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6882 last fix. Use window-in-direction correctly.
42ee24ed 6883
a7dee7e7
CY
68842011-10-21 Chong Yidong <cyd@gnu.org>
6885
6886 * progmodes/idlwave.el (idlwave-mode):
6887 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6888 require-final-newline; that's done in prog-mode.
6889 Suggested by Stefan Monnier.
a7dee7e7 6890
e07b9a6d
MR
68912011-10-21 Martin Rudalics <rudalics@gmx.at>
6892
6893 * mouse.el (mouse-drag-window-above)
6894 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6895 (mouse-drag-mode-line-1, mouse-drag-header-line)
6896 (mouse-drag-vertical-line-rightward-window): Remove.
6897 (mouse-drag-line): New function.
6898 (mouse-drag-mode-line, mouse-drag-header-line)
6899 (mouse-drag-vertical-line): Call mouse-drag-line.
6900 * window.el (window-at-side-p, windows-at-side): New functions.
6901
7e1361d9
UM
69022011-10-21 Ulrich Mueller <ulm@gentoo.org>
6903
6904 * tar-mode.el (tar-grind-file-mode):
6905 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6906
30fcaf3a
CY
69072011-10-21 Chong Yidong <cyd@gnu.org>
6908
6909 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6910 * progmodes/vera-mode.el (vera-mode):
6911 Use mode-require-final-newline.
30fcaf3a 6912
516eddb0
GM
69132011-10-20 Glenn Morris <rgm@gnu.org>
6914
db22a3c2 6915 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6916
10d5f513
CS
69172011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6918
6919 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6920
ac6c8639
CY
69212011-10-20 Chong Yidong <cyd@gnu.org>
6922
6923 * emulation/cua-base.el (cua-mode):
6924 * mail/footnote.el (footnote-mode):
6925 * mail/mailabbrev.el (mail-abbrevs-mode):
6926 * net/xesam.el (xesam-minor-mode):
6927 * progmodes/bug-reference.el (bug-reference-mode):
6928 * progmodes/cap-words.el (capitalized-words-mode):
6929 * progmodes/compile.el (compilation-minor-mode)
6930 (compilation-shell-minor-mode):
6931 * progmodes/gud.el (gud-tooltip-mode):
6932 * progmodes/hideif.el (hide-ifdef-mode):
6933 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6934 * progmodes/subword.el (subword-mode):
6935 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6936 * progmodes/which-func.el (which-function-mode):
6937 * term/tvi970.el (tvi970-set-keypad-mode):
6938 * term/vt100.el (vt100-wide-mode):
6939 * textmodes/flyspell.el (flyspell-mode):
6940 * textmodes/ispell.el (ispell-minor-mode):
6941 * textmodes/nroff-mode.el (nroff-electric-mode):
6942 * textmodes/paragraphs.el (use-hard-newlines):
6943 * textmodes/refill.el (refill-mode):
6944 * textmodes/reftex.el (reftex-mode):
6945 * textmodes/rst.el (rst-minor-mode):
6946 * textmodes/sgml-mode.el (html-autoview-mode)
6947 (sgml-electric-tag-pair-mode):
6948 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6949 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6950 * emulation/crisp.el (crisp-mode):
6951 * emacs-lisp/eldoc.el (eldoc-mode):
6952 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6953 minor mode behavior.
6954
aa42ab43
JL
69552011-10-19 Juri Linkov <juri@jurta.org>
6956
6957 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6958 the list of hard-coded chars with escape-glyph face.
6959
89400f1d
SM
69602011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6963
305c07f6
MA
69642011-10-19 Michael Albinus <michael.albinus@gmx.de>
6965
6966 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6967 running process.
6968
13754b54
GM
69692011-10-19 Glenn Morris <rgm@gnu.org>
6970
6971 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6972 Ignore ignored files. (Bug#9726)
6973
06e21633
CY
69742011-10-19 Chong Yidong <cyd@gnu.org>
6975
6976 Doc fix for minor modes, stating that an omitted argument enables
6977 the mode unconditionally when called from Lisp.
6978
6979 * abbrev.el (abbrev-mode):
6980 * allout.el (allout-mode):
6981 * autoinsert.el (auto-insert-mode):
6982 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6983 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6984 (global-auto-revert-mode):
6985 * battery.el (display-battery-mode):
6986 * composite.el (global-auto-composition-mode)
6987 (auto-composition-mode):
6988 * delsel.el (delete-selection-mode):
6989 * desktop.el (desktop-save-mode):
6990 * dired-x.el (dired-omit-mode):
6991 * dirtrack.el (dirtrack-mode):
6992 * doc-view.el (doc-view-minor-mode):
6993 * double.el (double-mode):
6994 * electric.el (electric-indent-mode, electric-pair-mode):
6995 * emacs-lock.el (emacs-lock-mode):
6996 * epa-hook.el (auto-encryption-mode):
6997 * follow.el (follow-mode):
6998 * font-core.el (font-lock-mode):
6999 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7000 * help.el (temp-buffer-resize-mode):
7001 * hilit-chg.el (highlight-changes-mode)
7002 (highlight-changes-visible-mode):
7003 * hi-lock.el (hi-lock-mode):
7004 * hl-line.el (hl-line-mode, global-hl-line-mode):
7005 * icomplete.el (icomplete-mode):
7006 * ido.el (ido-everywhere):
7007 * image-file.el (auto-image-file-mode):
7008 * image-mode.el (image-minor-mode):
7009 * iswitchb.el (iswitchb-mode):
7010 * jka-cmpr-hook.el (auto-compression-mode):
7011 * linum.el (linum-mode):
7012 * longlines.el (longlines-mode):
7013 * master.el (master-mode):
7014 * mb-depth.el (minibuffer-depth-indicate-mode):
7015 * menu-bar.el (menu-bar-mode):
7016 * minibuf-eldef.el (minibuffer-electric-default-mode):
7017 * mouse-sel.el (mouse-sel-mode):
7018 * msb.el (msb-mode):
7019 * mwheel.el (mouse-wheel-mode):
7020 * outline.el (outline-minor-mode):
7021 * paren.el (show-paren-mode):
7022 * recentf.el (recentf-mode):
7023 * reveal.el (reveal-mode, global-reveal-mode):
7024 * rfn-eshadow.el (file-name-shadow-mode):
7025 * ruler-mode.el (ruler-mode):
7026 * savehist.el (savehist-mode):
7027 * scroll-all.el (scroll-all-mode):
7028 * scroll-bar.el (scroll-bar-mode):
7029 * server.el (server-mode):
7030 * shell.el (shell-dirtrack-mode):
7031 * simple.el (auto-fill-mode, transient-mark-mode)
7032 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7033 (line-number-mode, column-number-mode, size-indication-mode)
7034 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7035 * strokes.el (strokes-mode):
7036 * time.el (display-time-mode):
7037 * t-mouse.el (gpm-mouse-mode):
7038 * tool-bar.el (tool-bar-mode):
7039 * tooltip.el (tooltip-mode):
7040 * type-break.el (type-break-mode-line-message-mode)
7041 (type-break-query-mode):
7042 * view.el (view-mode):
7043 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7044 (global-whitespace-mode, global-whitespace-newline-mode):
7045 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7046
a3839de2
SM
7047 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7048 Fix autogenerated docstring.
06e21633 7049
5214e501
JL
70502011-10-19 Juri Linkov <juri@jurta.org>
7051
7052 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7053 by checking environment variables "DESKTOP_SESSION" and
7054 "XDG_CURRENT_DESKTOP". (Bug#9779)
7055
195f8db9
JL
70562011-10-19 Juri Linkov <juri@jurta.org>
7057
7058 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7059 (browse-url-chromium-program, browse-url-chromium-arguments):
7060 New defcustoms.
7061 (browse-url-default-browser): Check for `browse-url-chromium' and
7062 call `browse-url-chromium-program'.
7063 (browse-url-chromium): New command. (Bug#9779)
7064
343a34ff
JB
70652011-10-18 Juanma Barranquero <lekktu@gmail.com>
7066
7067 * facemenu.el (list-colors-duplicates): On Windows, detect more
7068 duplicates by assuming that only colors matching "^System" are
7069 special "system colors". (Bug#9722)
7070
6978a151
SM
70712011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7074 to distinguish the author from the committer.
7075
6a80b297
MA
70762011-10-18 Michael Albinus <michael.albinus@gmx.de>
7077
7078 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7079
b31a5677
JK
70802011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7081
7082 * international/mule.el (sgml-html-meta-auto-coding-function):
7083 Add support for detecting encoding in HTML5 specified only as
7084 <meta charset="UTF-8">. Implementation just makes http-equiv and
7085 content-type parts from HTML4 encoding string optional. (Bug#9716)
7086
80c6d77f
GM
70872011-10-18 Glenn Morris <rgm@gnu.org>
7088
7089 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7090
08b0fee8
CY
70912011-10-18 Chong Yidong <cyd@gnu.org>
7092
7093 * faces.el (cursor): Doc fix.
7094
67e729a5
CY
70952011-10-17 Chong Yidong <cyd@gnu.org>
7096
7097 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7098
343a34ff 70992011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7100
7101 * dirtrack.el (dirtrack): Support shell buffers with path
7102 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7103
0bc06380
TZ
71042011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7105
7106 * json.el: Bump version to 1.3 and note change in History.
7107 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7108
8b79f3e0
SM
71092011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7110
5a7c536b
SM
7111 * comint.el (comint-insert-input, comint-send-input)
7112 (comint-get-old-input-default, comint-backward-matching-input)
7113 (comint-next-prompt): Use nil instead of `input' for field property of
7114 past user input (bug#114).
7115
96a8a0df
SM
7116 * minibuffer.el (completion--replace): Inherit surrounding properties
7117 (bug#114).
7118 (minibuffer-complete-and-exit): Use it.
7119
8b79f3e0
SM
7120 * comint.el (comint--table-subvert): Quote the all-completions output
7121 (bug#9160).
7122
b8f7ff0d
MR
71232011-10-17 Martin Rudalics <rudalics@gmx.at>
7124
8b79f3e0 7125 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7126
b8f7ff0d 7127 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7128 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7129 entries and separate them from frame entries.
7130
c235b555
GM
71312011-10-15 Glenn Morris <rgm@gnu.org>
7132
7133 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7134 Doc fixes.
7135
6bbfa6e1
CY
71362011-10-15 Chong Yidong <cyd@stupidchicken.com>
7137
8b79f3e0
SM
7138 * net/network-stream.el (network-stream-open-starttls):
7139 Improve detection of failure due to lack of TLS support.
ec5c990d 7140
6bbfa6e1
CY
7141 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7142 putting the input text in front and in bold.
7143
98488977
SM
71442011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7145
3d1337be
SM
7146 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7147
ee0b45e4
SM
7148 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7149 empty buffer.
7150
98488977
SM
7151 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7152 unread-command-events rather than pushing yet-another event.
7153
186f4720
EZ
71542011-10-14 Eli Zaretskii <eliz@gnu.org>
7155
7156 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7157 the explanation of the possible choices. Make the options passed
7158 to completing-read shorter.
7159
8b7a997c
AM
71602011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7161
7162 * textmodes/flyspell.el (flyspell-large-region): Make sure
7163 extended character mode is used if defined (Bug#1339).
7164
12587bbb
EZ
71652011-10-13 Eli Zaretskii <eliz@gnu.org>
7166
7167 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7168 character info for LRE, LRO, RLE, and RLO characters by appending
7169 an invisible PDF.
12587bbb 7170
bad41229
SM
71712011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7172
7173 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7174 even in case of error; add debug spec; simplify data flow.
7175 (with-timeout-handler): Remove.
7176
28dbc92f
MA
71772011-10-12 Michael Albinus <michael.albinus@gmx.de>
7178
7179 Fix Bug#6019, Bug#9315.
7180
7181 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7182 complete `buffer-file-name', the local file name part could look
7183 remotely (for example on VMS).
7184
7185 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7186 `tramp-run-real-handler'.
7187 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7188 already quoted by '"'.
7189
7190 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7191 Let `file-name-handler-alist' be nil, the local file name part
7192 could look remotely (for example on VMS).
7193
e1b0b23a
SM
71942011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7197 from here...
7198 (flyspell-post-command-hook): ...to here.
7199
a120bde9
SM
72002011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7201
7202 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7203 if not needed.
7204 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7205 using completion. Protect against "slow" callers.
7206 Remove the "message hack".
7207
7ce7717b
JL
72082011-10-11 Juri Linkov <juri@jurta.org>
7209
7210 * isearch.el (isearch-lazy-highlight-word): New variable.
7211 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7212 Use it. (Bug#9727)
7213
c02ee9d6
GM
72142011-10-11 Glenn Morris <rgm@gnu.org>
7215
7216 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7217 like f90-previous-statement does.
7218
93e616fd 72192011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7220
1f190e73 7221 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7222 only in interactive use, to avoid error.
7223
af7b6078
SM
72242011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * minibuffer.el (completion-file-name-table): Fix last change,
7227 i.e. ignore normal errors but not the other ones.
7228
0563dae9
MR
72292011-10-10 Martin Rudalics <rudalics@gmx.at>
7230
7231 * window.el (special-display-buffer-names)
7232 (special-display-regexps): Remove some remnants of earlier
7233 changes from doc-strings.
366ca7f3
MR
7234 (quit-windows-on): New function.
7235
7236 * vc/vc.el (vc-revert, vc-rollback):
7237 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7238 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7239 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7240
49677495
MR
72412011-10-09 Martin Rudalics <rudalics@gmx.at>
7242
7243 * window.el (frame-auto-hide-function): Add version tag.
7244 (Bug#9699)
7245
56f2d1e1
MA
72462011-10-09 Michael Albinus <michael.albinus@gmx.de>
7247
7248 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7249 condition.
7250
112a6592
LL
72512011-10-09 Leo Liu <sdl.web@gmail.com>
7252
7253 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7254 (Bug#9701)
7255
0812589b
GM
72562011-10-08 Glenn Morris <rgm@gnu.org>
7257
7258 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7259 before the first code statement zero indent. (Bug#9690)
7260
b2b0776e
CY
72612011-10-08 Chong Yidong <cyd@stupidchicken.com>
7262
7263 * simple.el (count-words-region): Always count in the region.
7264 Report the number of lines and characters too.
7265 (count-words): New command, which counts in the buffer if the
7266 region is inactive, as count-words-region used to.
7267 (count-words--message): New function. Handle plurals.
7268 (count-lines-region): Make it an alias for count-words-region.
7269
7270 * bindings.el (esc-map): Replace count-lines-region with
7271 count-words-region.
7272
c557cd6b
MR
72732011-10-08 Martin Rudalics <rudalics@gmx.at>
7274
7275 * window.el (window--delete): Delete dedicated frame
7276 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7277 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7278
61a57ef4 72792011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7280
3a7d293b 7281 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7282
c3833279
CY
72832011-10-07 Chong Yidong <cyd@stupidchicken.com>
7284
7285 * bindings.el ([M-left],[M-right]): Bind to left-word and
7286 right-word respectively.
7287
21ce8245
GM
72882011-10-07 Glenn Morris <rgm@gnu.org>
7289
7290 * cus-start.el (debug-on-quit): Fix custom type.
7291
6d823bb2
LMI
72922011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7293
0181e193
LMI
7294 * subr.el (define-key-after): Clarify that the function is not
7295 useful for non-menu keymaps.
7296
6d823bb2
LMI
7297 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7298
8e3459ce 72992011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7300
21ce8245 7301 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7302 in current minibuffer (Fix bug with recursive minibuffers).
7303
a1c2d21e
CY
73042011-10-06 Chong Yidong <cyd@stupidchicken.com>
7305
7306 * progmodes/gdb-mi.el (gdb): Doc fix.
7307
5a4cf282
MR
73082011-10-05 Martin Rudalics <rudalics@gmx.at>
7309
7310 * window.el (frame-auto-hide-function): New option replacing
7311 frame-auto-delete. Suggested by Stefan Monnier.
7312 (window--delete): Call frame-auto-hide-function instead of
7313 investigating frame-auto-delete.
c96111ea
MR
7314 (window-point-1, set-window-point-1): New functions.
7315 (window-in-direction, record-window-buffer, window-state-get-1)
7316 (display-buffer-record-window): Use window-point-1 instead of
7317 window-point.
7318 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7319
9854542e
SM
73202011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7323
8943cfb0
GM
73242011-10-05 Glenn Morris <rgm@gnu.org>
7325
7326 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7327 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7328
647ab967
LL
73292011-10-05 Leo Liu <sdl.web@gmail.com>
7330
7331 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7332 works with buffer object.
7333
3ddfbced
SM
73342011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * mpc.el (mpc-tool-bar-map): Add labels.
7337
bdfa5dd2
GM
73382011-10-04 Glenn Morris <rgm@gnu.org>
7339
7340 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7341
0e2070b5
MR
73422011-10-04 Martin Rudalics <rudalics@gmx.at>
7343
7344 * window.el (window--delete): New function.
7345 (frame-auto-delete): Resuscitate option.
7346 (bury-buffer, replace-buffer-in-windows)
7347 (quit-window): Rewrite using window--delete.
7348 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7349 Pass display-buffer-mark-dedicated to window--display-buffer-2
7350 (Bug#9639).
7351
3dc61a09
SM
73522011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7353
915a9b64
SM
7354 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7355 returns a list (bug#9554). Add remote file name completion.
7356 * comint.el (comint--table-subvert): Curry and get quote&unquote
7357 functions as arguments.
7358 (comint--complete-file-name-data): Adjust call accordingly.
7359 * pcomplete.el (pcomplete--table-subvert): Remove.
7360 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7361
3dc61a09
SM
7362 * minibuffer.el (completion-table-case-fold): Use currying.
7363 (completion--styles-type, completion--cycling-threshold-type):
7364 New constants.
7365 (completion-styles, completion-category-overrides)
7366 (completion-cycle-threshold): Use them.
7367 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7368 completion-table-case-fold.
7369
8ea0a993
SB
73702011-10-03 Stephen Berman <stephen.berman@gmx.net>
7371
7372 * minibuffer.el (completion-category-overrides): Fix type of styles
7373 and add more user friendly tags (bug#9660).
7374
8c24b7f6
SM
73752011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7376
7377 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7378 (mule-input-method-string): New widget.
7379 (default-input-method, language-info-custom-alist): Use it.
7380
428fe61a
SM
73812011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7382
32c1fffd
SM
7383 * pcomplete.el: Require comint.
7384 (pcomplete--common-suffix): Remove.
7385 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7386 (pcomplete--table-subvert): Sync with comint--table-subvert.
7387 (pcomplete--entries): Use comint-completion-file-name-table.
7388 * comint.el (comint-unquote-filename): Simplify.
7389 (comint-completion-file-name-table): New function (bug#9616).
7390 (comint--complete-file-name-data): Use it.
7391
428fe61a
SM
7392 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7393 (pcmpl-gnu-tar-buffer): Remove.
7394 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7395 around. Make sure pcomplete-suffix-list is only changed temporarily.
7396 Don't look inside the tar's file if it's too large.
428fe61a 7397
04c52e2f
CY
73982011-10-01 Chong Yidong <cyd@stupidchicken.com>
7399
ce3cefcc
CY
7400 * cus-edit.el (custom-mode-map):
7401 * epa.el (epa-key-list-mode-map):
7402 * man.el (Man-mode-map):
7403 * startup.el (splash-screen-keymap):
7404 * simple.el (special-mode-map): Use scroll-up-command and
7405 scroll-down-command.
7406
7407 * progmodes/idlw-help.el (idlwave-help-mode-map):
7408 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7409 * net/newst-plainview.el (newsticker-mode-map):
7410 * emulation/ws-mode.el (wordstar-mode-map):
7411 * emulation/vi.el (vi-com-map):
7412 * calc/calc-graph.el (calc-graph-show-dumb):
7413 * term/sun.el (terminal-init-sun):
7414 * term/ns-win.el (global-map):
7415 * progmodes/grep.el (grep-mode-map):
7416 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7417 * mail/rmail.el (rmail-mode-map):
7418 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7419
04c52e2f
CY
7420 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7421 custom-safe-themes as special.
7422
79adf8c8
JD
74232011-10-01 Julien Danjou <julien@danjou.info>
7424
7425 * notifications.el (notifications-notify): Fix docstring.
7426
63bd50d3
PS
74272011-10-01 Per Starbäck <per@starback.se>
7428
7429 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7430
199e4c7e
MR
74312011-09-30 Martin Rudalics <rudalics@gmx.at>
7432
7433 * startup.el (command-line-1): Fix last fix by inserting
7434 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7435 (Bug#9605) and (Bug#9636)
199e4c7e 7436
fe5f08dd
EZ
74372011-09-29 Eli Zaretskii <eliz@gnu.org>
7438
7439 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7440 window is hscrolled, move by logical lines. (Bug#9607)
7441 (line-move-visual): Update the doc string to the above effect.
7442
b5516bbd
MR
74432011-09-29 Martin Rudalics <rudalics@gmx.at>
7444
ccee00c0
MR
7445 * window.el (display-buffer-record-window): When WINDOW is the
7446 selected window use `point' instead of `window-point'. (Bug#9626)
7447
b5516bbd
MR
7448 * startup.el (command-line-1): Use insert-before-markers when
7449 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7450
b5516bbd
MR
7451 * help.el (help-window): Remove variable.
7452
52aa0014
GM
74532011-09-29 Glenn Morris <rgm@gnu.org>
7454
7455 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7456
df9a7357
JB
74572011-09-29 Juanma Barranquero <lekktu@gmail.com>
7458
7459 * descr-text.el (describe-char-categories): Accept category
7460 descriptions more than one line long.
7461
a8406c20
SM
74622011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7463
88d9610c
SM
7464 * simple.el (delete-trailing-whitespace): Fix last change.
7465
a5daf810
SM
7466 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7467 Don't confuse "y => 3" as the beginning of a `y' operation.
7468
a8406c20
SM
7469 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7470 object has more than 4 slots (bug#9613).
7471
a239d4e9
JB
74722011-09-28 Juanma Barranquero <lekktu@gmail.com>
7473
7474 * subr.el (with-output-to-temp-buffer):
7475 * net/quickurl.el (quickurl, quickurl-browse-url):
7476 Fix typos in docstrings.
7477
693fbdb6
EZ
74782011-09-27 Eli Zaretskii <eliz@gnu.org>
7479
7480 * minibuffer.el (completion-styles)
7481 (completion-category-overrides): Cross reference each other in doc
7482 strings.
7483
8b457e28
GM
74842011-09-27 Glenn Morris <rgm@gnu.org>
7485
7486 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7487 to split-string. (Bug#9606)
7488
85a16208
LMI
74892011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7490
7491 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7492 (bug#9615).
7493
502f9ebd
CY
74942011-09-27 Chong Yidong <cyd@stupidchicken.com>
7495
7496 * emacs-lisp/package.el (list-packages): Fix echo area message.
7497
7690bdea
LL
74982011-09-27 Leo Liu <sdl.web@gmail.com>
7499
7500 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7501
e2ee6f30
MA
75022011-09-25 Michael Albinus <michael.albinus@gmx.de>
7503
7504 * net/dbus.el (dbus-unregister-object): Don't release services for
7505 registered signals. (Bug#9581)
7506
f3f98342
TZ
75072011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7508
7509 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7510 function that picks between cfengine 2 and 3 support
7511 automatically. Update docs accordingly.
7512
dd7aa8dd
KH
75132011-09-22 Kenichi Handa <handa@m17n.org>
7514
7515 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7516 ZERO.
7517 (indian-itrans-v5-table-for-tamil): New variable.
7518 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7519
3f2b07f8
KM
75202011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7521
7522 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7523 that's true if the current command involved collapsing of text.
7524 It's reset to false at the beginning of the next command.
7525 (allout-post-command-business): Move the cursor to the beginning
7526 of entry if the cursor is hidden and collapsing activity just
7527 happened.
7528
371d6a61
CY
75292011-09-24 Chong Yidong <cyd@stupidchicken.com>
7530
7531 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7532 tracking (Bug#9541).
7533
2ac2721a
UJ
75342011-09-24 Ulf Jasper <ulf.jasper@web.de>
7535
7536 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7537 (newsticker-show-news): Automatically load html rendering package
7538 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7539 because w3m-fill-column is let-bound" and the error "Symbol's value
7540 as variable is void: w3m-fill-column".
2ac2721a 7541
fac7ae53
MA
75422011-09-24 Michael Albinus <michael.albinus@gmx.de>
7543
7544 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7545 Release services only if they are defined. (Bug#9581)
7546
e08b633b
RS
75472011-09-23 Richard Stallman <rms@gnu.org>
7548
e488d29c
RS
7549 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7550 distinguish start of paragraph from start of its text.
7551
19c38752
RS
7552 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7553
e08b633b
RS
7554 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7555 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7556 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7557
0a39f27e
AS
75582011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7559
7560 * international/mule-diag.el (mule-diag): Insert a newline after
7561 each fontset description.
7562
db4e950d
SM
75632011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7564
7565 * simple.el (delete-trailing-whitespace):
7566 Document last change; simplify.
7567
eca3f3ea
PW
75682011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7569
d68e189a
PW
7570 * simple.el (delete-trailing-whitespace): Also delete
7571 extra newlines at the end of the buffer.
7572
eca3f3ea
PW
7573 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7574 (picture-newline): Use forward-line so as to ignore fields.
7575
01c157cc
SM
75762011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7577
7578 * subr.el (with-wrapper-hook): Fix edebug spec.
7579
022de23e
LMI
75802011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7581
7582 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7583 (bug#4538).
7584
91683089
MA
75852011-09-23 Michael Albinus <michael.albinus@gmx.de>
7586
eca3f3ea
PW
7587 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7588 Fix nasty bug using wrong cached values.
91683089 7589
5bdd6fa4
AM
75902011-09-23 Alan Mackenzie <acm@muc.de>
7591
7592 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7593
97adfb97
CY
75942011-09-23 Chong Yidong <cyd@stupidchicken.com>
7595
7596 * window.el (pop-to-buffer): Ensure right window is selected if we
7597 chose another frame.
7598
d4ef2b50
EZ
75992011-09-22 Eli Zaretskii <eliz@gnu.org>
7600
7601 * simple.el (what-cursor-position): Use get-char-property-change
7602 and next-single-char-property-change, to be able to show display
7603 properties that come from overlays as well as text properties.
7604
72258fe5
CY
76052011-09-22 Chong Yidong <cyd@stupidchicken.com>
7606
7607 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7608
7609 * cmuscheme.el (run-scheme, switch-to-scheme):
7610 * cus-edit.el (customize-group, custom-buffer-create)
7611 (customize-browse):
7612 * info.el (info):
7613 * shell.el (shell):
7614 * mail/sendmail.el (mail):
7615 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7616
8f098516
RS
76172011-09-22 Richard Stallman <rms@gnu.org>
7618
7619 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7620 move back only to line beg, don't move back over blank lines.
7621
e74f1bb6
MA
76222011-09-22 Michael Albinus <michael.albinus@gmx.de>
7623
7624 * files.el (copy-directory): Set directory attributes only in case
7625 they could be retrieved from the source directory. (Bug#9565)
7626
bfeef8b6
DK
76272011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7628
7629 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7630 (hs-find-block-beginning, hs-hide-level-recursive):
7631 Ignore strings as well as comments. (Bug#9502)
7632
7e423bb8
AS
76332011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7634
7635 * progmodes/sql.el (sql-comint-postgres):
7636 Convert port number to a string. (Bug#9566)
7637
b4d72fcf
MR
76382011-09-22 Martin Rudalics <rudalics@gmx.at>
7639
7640 * window.el (quit-window): Undedicate window when switching to
7641 previous buffer. Reported by Thierry Volpiatto
7642 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7643 (special-display-popup-frame): When popping up a new frame reset
7644 its previous buffers to nil. Simplify code.
b4d72fcf 7645
a7b88dc6
MA
76462011-09-21 Michael Albinus <michael.albinus@gmx.de>
7647
7648 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7649 and process filter, as done also in `shell-command'.
7650
cf4eacfd
MR
76512011-09-21 Martin Rudalics <rudalics@gmx.at>
7652
eca3f3ea 7653 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7654 Call set-window-start with NOFORCE argument t.
7655 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7656 (quit-window): Reword doc-string. Handle new format of
7657 quit-restore parameter. Don't delete window if it has a
7658 previous buffer we can show instead of the present one.
7659 (display-buffer-record-window): Rewrite using a new format for
7660 the quit-restore window parameter
7661 (special-display-popup-frame, display-buffer-same-window)
7662 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7663 (display-buffer-pop-up-window, display-buffer-use-some-window):
7664 Adapt symbol passed to display-buffer-record-window.
7665 * help.el (help-window-setup): Handle new format of quit-restore
7666 parameter.
7667
8d28cb95
SM
76682011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7669
94ab793f
SM
7670 * faces.el (face-list): Fix docstring (bug#9564).
7671
8d28cb95
SM
7672 * window.el (display-buffer--action-function-custom-type):
7673 Don't include internal functions in the Custom interface.
7674
3820edeb
JL
76752011-09-20 Juri Linkov <juri@jurta.org>
7676
7677 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7678 (Info-forward-node, Info-backward-node, Info-next-preorder)
7679 (Info-last-preorder): Use it. (Bug#9528)
7680
5147931d
JL
76812011-09-20 Juri Linkov <juri@jurta.org>
7682
7683 * info.el (Info-last-preorder): Visit last menu item only when
7684 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7685
cf499a1a
JD
76862011-09-20 Julien Danjou <julien@danjou.info>
7687
7688 * password-cache.el (password-cache-remove): Remove entries even if the
7689 value is nil, so that password with a nil value (negative caching) is
7690 possible to invalidate.
7691
f84e2fe2
LM
76922011-09-20 Lawrence Mitchell <wence@gmx.li>
7693
7694 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7695 all whitespace around breakpoint. (Bug#9553)
7696 (f90-find-breakpoint): Only break at whitespace inside a comment.
7697
78054a46
SM
76982011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 * minibuffer.el (completion-file-name-table): Keep track of errors.
7701 (completion-table-with-predicate): Handle the case where pred1 is nil.
7702 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7703
345083b2
SM
77042011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7705
e24e27be
SM
7706 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7707 (debugger-return-value): Signal an error if the debugging context does
7708 not await any return value.
7709
345083b2
SM
7710 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7711 * image-mode.el (image-toggle-display-text)
7712 (image-toggle-display-image): Stay away from evil `intangible'.
7713
08d355e3
LL
77142011-09-19 Leo Liu <sdl.web@gmail.com>
7715
7716 * replace.el (occur-revert-arguments): Make it permanent-local.
7717 (occur-mode): Don't call font-lock-defontify.
7718
f01da43f
CY
77192011-09-19 Chong Yidong <cyd@stupidchicken.com>
7720
7721 * net/ldap.el (ldap-search-internal): Don't push empty search
7722 result (Bug#9508).
7723
b6072fa6
SM
77242011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7725
7726 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7727
443d6696
MA
77282011-09-19 Michael Albinus <michael.albinus@gmx.de>
7729
7730 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7731 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7732
7cc6e154
JL
77332011-09-18 Juri Linkov <juri@jurta.org>
7734
7735 * buff-menu.el (Buffer-menu-mode-map):
7736 * dired.el (dired-mode-map):
7737 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7738 (lisp-interaction-mode-map):
7739 * emacs-lisp/package.el (package-menu-mode-map):
7740 * epa.el (epa-key-list-mode-map):
7741 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7742 (menu-bar-options-menu):
7743 * outline.el (outline-mode-menu-bar-map):
7744 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7745 * vc/vc-dir.el (vc-dir-menu-map):
7746 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7747 Capitalize non-function content words in menu item strings.
7748
7749 * dired.el (dired-mode-map): Add menu item for
7750 `image-dired-dired-toggle-marked-thumbs'.
7751
80302a81
JL
77522011-09-18 Juri Linkov <juri@jurta.org>
7753
7754 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7755 to `isearch-case-fold-search' and restore its original value
7756 after the `isearch-mode' call.
7757
46c5cf66
JL
77582011-09-18 Juri Linkov <juri@jurta.org>
7759
7760 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7761 because `zgrep' returns 1 for successful matches (bug#9226).
7762
d18b513b
JL
77632011-09-18 Juri Linkov <juri@jurta.org>
7764
7765 * info.el (Info-extract-menu-node-name): Check the second match
7766 for empty string (second test-case of bug#9528).
7767 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7768 intermediate nodes to the history (first test-case of bug#9528).
7769
72753f87
JL
77702011-09-18 Juri Linkov <juri@jurta.org>
7771
7772 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7773 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7774
c9384295
JL
77752011-09-18 Juri Linkov <juri@jurta.org>
7776
1154d12e
JB
7777 * info.el (Info-file-supports-index-cookies):
7778 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7779 outputs one more line for long file names (bug#4142).
c9384295 7780
d473dce8
CY
77812011-09-18 Chong Yidong <cyd@stupidchicken.com>
7782
7783 * newcomment.el (comment-normalize-vars): If prompting for
7784 comment-start, set comment-start-skip too (Bug#8424).
7785
2176854d
JB
77862011-09-18 Johan Bockgård <bojohan@gnu.org>
7787
7788 * icomplete.el: Fix previous fix of Bug#5849.
7789 (icomplete-mode): Don't set completion-show-inline-help.
7790 (icomplete-minibuffer-setup): Set completion-show-inline-help
7791 locally during icompletion.
7792
3aace4e4
CY
77932011-09-18 Chong Yidong <cyd@stupidchicken.com>
7794
c940224f
CY
7795 * woman.el (woman2-process-escapes): Don't delete unrecognized
7796 escapes (Bug#7843).
7797
3aace4e4
CY
7798 * files.el (inhibit-first-line-modes-regexps): Add image files.
7799 (hack-local-variables-prop-line): Return nil for malformed
7800 prop-lines (Bug#9044).
7801
710dec63
MA
78022011-09-18 Michael Albinus <michael.albinus@gmx.de>
7803
7804 * net/tramp.el (top): Don't require 'shell.
7805 (tramp-methods): Fix docstring.
7806 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7807 Return complete remote file name. Handle "smb" case.
7808 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7809 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7810
7811 * net/tramp-compat.el (top): Require 'shell.
7812
7813 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7814 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7815 `tramp-current-host'.
7816 (tramp-get-remote-tmpdir): Remove.
7817
7818 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7819 `tramp-tmpdir' entries.
7820 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7821 (tramp-smb-handle-file-attributes): Ignore errors.
7822 (tramp-smb-wait-for-output): Check also for process end.
7823
5d5ac8ec
LMI
78242011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7825
7826 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7827 when sending QUIT (bug#9312).
7828
8c0f49f0
CY
78292011-09-17 Chong Yidong <cyd@stupidchicken.com>
7830
7831 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7832 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7833 occur-mode-display-occurrence.
7834 (occur-edit-mode): Add usage message.
7835 (occur-cease-edit): New command.
7836 (occur-after-change-function): Use text properties to find the
7837 position of the prefix text.
7838 (occur-engine): Set stickiness of prefix text properties.
7839
8f1383f7
GM
78402011-09-17 Glenn Morris <rgm@gnu.org>
7841
7842 * progmodes/etags.el (complete-tag):
7843 Fix call to completion-in-region. (Bug#9526)
7844
744ba0e3
JL
78452011-09-17 Juri Linkov <juri@jurta.org>
7846
7847 * textmodes/ispell.el (ispell-word): Add to the error message
7848 the word, ispell program name and current dictionary (bug#9121).
7849 (ispell-tex-arg-end): Capitalize "error" in the error message.
7850
d9bbf400
AS
78512011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7852
7853 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7854 check. (Bug#4251)
7855
8da11505
JL
78562011-09-17 Juri Linkov <juri@jurta.org>
7857
7858 * window.el (window-safe-min-height, window-safe-min-width):
7859 Fix typos (followup to bug#9522).
7860
a91adc7e
SJ
78612011-09-17 Sven Joachim <svenjoac@gmx.de>
7862
7863 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7864
064f328a
EZ
78652011-09-16 Eli Zaretskii <eliz@gnu.org>
7866
7867 * simple.el (line-move): If goal-column is set, move by logical
7868 lines, not by display lines. (Bug#971)
7869 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7870 to reflect the above change.
7871
e69df516
SM
78722011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7873
7874 * image.el (imagemagick-register-types): Use regexp-opt.
7875
cbb0f9ab
CY
78762011-09-15 Chong Yidong <cyd@stupidchicken.com>
7877
7878 * window.el (display-buffer-base-action): Rename from
7879 display-buffer-default-action. Make default value empty.
7880 (display-buffer-overriding-action): Convert to defvar.
7881 (display-buffer-fallback-action): New var.
7882
25322144
CY
78832011-09-15 Chong Yidong <cyd@stupidchicken.com>
7884
7885 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7886 declaration.
7887 (package--add-to-archive-contents): If there is a duplicate entry
7888 with an older version, remove it.
7889 (package-menu-mark-delete, package-menu-mark-install)
7890 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7891 (package-menu-mark-obsolete-for-deletion):
7892 Use package-menu-get-status instead of a regexp search.
25322144
CY
7893 (package-menu-get-status): Use tabulated-list-entry.
7894 (package-menu-mark-upgrades): New command.
d770725a 7895 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7896 (package-menu-execute): Do installation before deletion.
7897 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7898 instead of checking major-mode.
7899 (package-menu--find-upgrades): New function.
7900
7520339c
LMI
79012011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7902
7903 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7904 passwords in the log buffer.
65a046c4
LMI
7905 (smtpmail-process-filter): Update the process marker so that the
7906 "broken by peer" status message is inserted in the right place.
7520339c 7907
d3c30954
SM
79082011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7909
3fe48822
SM
7910 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7911 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7912 bibtex-completion-at-point-function.
7913 (bibtex-completion-at-point-function): Use them.
7914
1b8b3954
SM
7915 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7916
d3c30954
SM
7917 * mpc.el (mpc-constraints-tag-lookup): New function.
7918 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7919 also to browser "album|playlist".
7920
72779976
JL
79212011-09-14 Juri Linkov <juri@jurta.org>
7922
7923 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7924 (isearch-edit-string): Use length of `isearch-string' when
7925 `isearch-fail-pos' returns nil.
7926 (isearch-message): Remove duplicate code and call
7927 `isearch-fail-pos' with arg `t'.
7928
a0bf2bcd
CY
79292011-09-14 Chong Yidong <cyd@stupidchicken.com>
7930
17bb0a2d
CY
7931 * replace.el (occur-mode-goto-occurrence): Don't force using other
7932 window (Bug#9499).
7933
a0bf2bcd
CY
7934 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7935
f678e0b6
MR
79362011-09-14 Martin Rudalics <rudalics@gmx.at>
7937
7938 * window.el (display-buffer-window): Remove.
7939 (display-buffer-record-window): Use help-setup window parameter
7940 instead of variable display-buffer-window.
7941 (display-buffer-function, special-display-buffer-names)
7942 (special-display-function): Mention help-setup parameter instead
7943 of display-buffer-window in doc-string.
d3c30954
SM
7944 * help.el (help-window-setup): New argument help-window.
7945 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7946 Reword some messages.
7947 (with-help-window): Pass window used for displaying the buffer
7948 to help-window-setup. Don't set display-buffer-window.
7949
8e39b2e8
GM
79502011-09-13 Glenn Morris <rgm@gnu.org>
7951
7952 * emacs-lisp/debug.el (debugger-make-xrefs):
7953 Preserve point. (Bug#9462)
7954
85e9c04b
CY
79552011-09-13 Chong Yidong <cyd@stupidchicken.com>
7956
7957 * window.el (window-deletable-p): Use next-frame.
7958
1b36ed6a
MR
79592011-09-13 Martin Rudalics <rudalics@gmx.at>
7960
7961 * window.el (window-auto-delete): Remove.
7962 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7963 dedication and previous buffers.
1b36ed6a
MR
7964 (switch-to-prev-buffer): Don't delete window.
7965 (delete-windows-on): Delete a window's frame if and only if the
7966 window is dedicated.
7967 (replace-buffer-in-windows): Delete buffer's window or frame if
7968 and only if window is dedicated.
7969 (quit-window): Handle quit-restore as before last change.
4d61f28d 7970 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7971
ef8ef9fb
CY
79722011-09-13 Chong Yidong <cyd@stupidchicken.com>
7973
7974 * window.el (window-deletable-p): Never delete the last frame on a
7975 given terminal.
7976
b2cba41e
GM
79772011-09-13 Glenn Morris <rgm@gnu.org>
7978
7979 * help.el (describe-key-briefly): Copy previous standard-output change.
7980
51553db6 79812011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7982
7983 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7984
b7556719
GM
79852011-09-13 Glenn Morris <rgm@gnu.org>
7986
7987 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7988 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7989
64b51947
CY
79902011-09-12 Chong Yidong <cyd@stupidchicken.com>
7991
7992 * dired-aux.el (dired-mark-read-string): Don't return default
7993 value on empty input (Bug#9361).
7994 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7995 Omit initial minibuffer contents.
7996 (dired-do-chmod): Signal an error on empty input.
7997 (dired-mark-read-string): Don't return default on empty input.
7998
7999 * files.el (file-modes-symbolic-to-number): Doc fix.
8000
393a301e
SM
80012011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * international/mule-cmds.el (ucs-completions): Remove.
8004 (read-char-by-name): Use complete-with-action instead; add metadata.
8005
fa5660f9
CY
80062011-09-11 Chong Yidong <cyd@stupidchicken.com>
8007
8008 * window.el (display-buffer--action-function-custom-type)
8009 (display-buffer--action-custom-type): New vars.
8010 (display-buffer-alist, display-buffer-default-action)
8011 (display-buffer-overriding-action): Add defcustom types.
8012
4a592f66
CY
8013 * frame.el (delete-other-frames): Doc fix (Bug#276).
8014
73d56dbd
LMI
80152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8016
8017 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8018
37ac18a3
CY
80192011-09-11 Chong Yidong <cyd@stupidchicken.com>
8020
8021 Change modes that used same-window-* vars to use switch-to-buffer.
8022
8023 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8024 Use switch-to-buffer.
8025
8026 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8027 (customize-browse, custom-buffer-create-other-window):
8028 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8029
8030 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8031 (Info-prev, Info-up, Info-speedbar-goto-node)
8032 (info-display-manual): Use switch-to-buffer.
8033 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8034
8035 * mail/sendmail.el (mail): Use switch-to-buffer.
8036 (mail-recover): Use switch-to-buffer-other-window.
8037
8038 * cmuscheme.el (run-scheme, switch-to-scheme):
8039 * ielm.el (ielm):
8040 * shell.el (shell):
8041 * net/rlogin.el (rlogin):
8042 * net/telnet.el (telnet, rsh):
8043 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8044
10195bd6
AS
80452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8046
8047 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8048
b322f63a
LMI
80492011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8050
39d7fed6
LMI
8051 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8052 so don't mention it (bug#9301).
ba5a81f1 8053 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8054
ee0e9f11
LMI
8055 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8056 match `x', `w32' and `ns', like the manual says (bug#9029).
8057
0b1c89c1 8058 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8059 (process-kill-buffer-query-function): Mention the buffer name in
8060 the query.
0b1c89c1 8061
77549ea8
LMI
8062 * image-mode.el (image-next-line): The line parameter is mandatory
8063 (bug#9258).
8064
803ef892
LMI
8065 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8066 which can be useful (bug#9301).
8067
12980837
LMI
8068 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8069
91054f8f
LMI
8070 * subr.el (match-string): Mention that the current buffer should
8071 be the same as the search was done in (bug#9282).
8072
b322f63a
LMI
8073 * facemenu.el: Disable the remove-* commands if the mark isn't
8074 active (bug#9162).
8075
3199b96f
CY
80762011-09-10 Chong Yidong <cyd@stupidchicken.com>
8077
8078 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8079 of display-buffer.
8080 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8081
8082 * replace.el (occur-mode-goto-occurrence)
8083 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8084 and display-buffer.
8085
8086 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8087 display-buffer.
8088
8089 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8090 special-display and same-window variables.
8091 (mail-other-window): Use switch-to-buffer-other-window.
8092 (mail-other-frame): USe switch-to-buffer-other-frame.
8093
393a301e
SM
8094 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8095 Use display-buffer-other-frame.
3199b96f
CY
8096 (gdb-display-gdb-buffer): Use pop-to-buffer.
8097
8098 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8099
8100 * progmodes/python.el: Don't set same-window-buffer-names.
8101
8102 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8103
8104 * window.el (display-buffer-alist): Add *Python*.
8105
8319e0bf
CY
81062011-09-10 Chong Yidong <cyd@stupidchicken.com>
8107
8108 * window.el (display-buffer-alist): Add entry for buffers
8109 previously handled same-window-*.
8110 (display-buffer-alist, display-buffer-default-action)
8111 (display-buffer-overriding-action): Mark as risky.
8112 (display-buffer-alist): Document action function changes.
8113 (display-buffer--same-window-action)
8114 (display-buffer--other-frame-action): New variables.
8115 (switch-to-buffer, display-buffer-other-frame): Use them.
8116 (display-buffer): Rename reuse-frame entry to reusable-frames.
8117 (display-buffer-reuse-selected-window): Function deleted.
8118 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8119 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8120 (display-buffer-special): New function.
8121 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8122 display-buffer-reuse-or-pop-window. Split off special-display
8123 part into display-buffer-special.
8124 (display-buffer-use-some-window): Don't perform any special
8125 pop-up-frames handling.
8126 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8127 (display-buffer--maybe-same-window): Rename from
0d3ff375 8128 display-buffer-maybe-same-window.
8319e0bf 8129
919a69aa
CY
8130 * info.el: Don't set same-window-regexps.
8131 (info-setup): New function.
8132 (info-other-window, info): Call it.
8133
8134 * cus-edit.el: Don't set same-window-regexps.
8135 (customize-group): New argument.
8136 (customize-group-other-window): Use it.
8137 (customize-face, customize-face-other-window): Likewise.
8138 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8139
8319e0bf
CY
8140 * net/rlogin.el:
8141 * net/telnet.el:
8142 * progmodes/gud.el: Don't set same-window-regexps.
8143
8144 * cmuscheme.el:
8145 * ielm.el:
8146 * shell.el:
8147 * mail/sendmail.el:
8148 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8149
25173000
JL
81502011-09-10 Juri Linkov <juri@jurta.org>
8151
8152 * isearch.el (isearch-edit-string): Remove obsolete mention of
8153 `C-w' (`isearch-yank-word-or-char') from docstring.
8154 (isearch-query-replace): Fix typo in docstring (bug#9466).
8155
056e44ef
JL
81562011-09-10 Juri Linkov <juri@jurta.org>
8157
8158 * paren.el (show-paren-function): Don't show escaped parens.
8159 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8160
c3760c17
EZ
81612011-09-10 Eli Zaretskii <eliz@gnu.org>
8162
8163 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8164 (mm-default-file-encoding): Remove autoload forms, they are
8165 replaced with autoload cookies in mml.el and mm-encode.el.
8166 (mail-add-attachment): New command.
8167 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8168 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8169 the doc string.
8170 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8171
fece895e
RT
81722011-09-10 Reuben Thomas <rrt@sc3d.org>
8173
e69df516
SM
8174 * simple.el (count-words-region): Use buffer if there's no region
8175 (bug#9429).
fece895e 8176
5e68ce4a
JL
81772011-09-09 Juri Linkov <juri@jurta.org>
8178
8179 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8180 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8181 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8182
0a6b9622
AM
81832011-09-09 Alan Mackenzie <acm@muc.de>
8184
8185 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8186 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8187
14a29deb
EZ
81882011-09-09 Eli Zaretskii <eliz@gnu.org>
8189
8190 Fix for Savannah bug#9392.
8191 * simple.el (mail-encode-mml): New defvar.
8192
8193 * mail/rmail.el (mail-encode-mml): Add a defvar.
8194 (rmail-enable-mime-composing): Default to t.
8195 (rmail-forward): Use MIME method of forwarding only if both
8196 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8197 Set mail-encode-mml non-nil if the MIME method was used.
8198
8199 * mail/sendmail.el (mml-to-mime): Add autoload form.
8200 (mail-encode-mml): Add a defvar.
8201 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8202 to nil.
8203 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8204 message through mml-to-mime, and reset mail-encode-mml to nil.
8205
28c45130
GM
82062011-09-09 Glenn Morris <rgm@gnu.org>
8207
8208 * woman.el (woman-if-body): When processing an .el block,
8209 do not delete the next .el block as well. (Bug#9447)
69f4b618 8210 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8211
9b1c252e
MR
82122011-09-08 Martin Rudalics <rudalics@gmx.at>
8213
8214 * window.el (window-deletable-p): Make sure window is live before
8215 invoking window-prev-buffers.
8216
567457e3
LL
82172011-09-08 Leo Liu <sdl.web@gmail.com>
8218
8219 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8220
97f05794
JL
82212011-09-08 Juri Linkov <juri@jurta.org>
8222
8223 * progmodes/compile.el (compilation-environment): Make it
8224 a defcustom (bug#8340).
8225
8b0874b5
MR
82262011-09-08 Martin Rudalics <rudalics@gmx.at>
8227
8228 * window.el (frame-auto-delete): Rename to window-auto-delete.
8229 Make it control auto-deletion of windows and/or frames.
8230 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8231 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8232 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8233 Rewrite handling of case when window/frame can be deleted.
8234 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8235 argument t. (Bug#9456)
8b0874b5 8236
4feb6e73
CY
82372011-09-07 Chong Yidong <cyd@stupidchicken.com>
8238
8239 * help-mode.el (help-mode): Restore autoload.
8240
91ab9c13
JL
82412011-09-07 Juri Linkov <juri@jurta.org>
8242
8243 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8244 `compilation-environment'. Set buffer-local
8245 `compilation-environment' to `thisenv' later after (funcall mode).
8246 (Bug#8340)
8247
8248 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8249 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8250 instead of replacing its value. (Bug#8340)
8251
0527e251
JL
82522011-09-07 Juri Linkov <juri@jurta.org>
8253
8254 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8255 based on text properties put by `grep-filter' instead of matching
8256 escape sequences.
8257 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8258 to the value of `grep-error-screen-columns' (bug#9438).
8259
249f792c
JL
82602011-09-07 Juri Linkov <juri@jurta.org>
8261
8262 * simple.el (next-error-highlight, next-error-highlight-no-select):
8263 Doc fix (bug#9432).
8264
ff7271b9
OT
82652011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8266
8267 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8268 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8269
183fc730
LL
82702011-09-07 Leo Liu <sdl.web@gmail.com>
8271
8272 * net/rcirc.el (rcirc-mode): Conditionally initialize
8273 rcirc-input-ring.
8274
77694924
SM
82752011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8276
8277 * emacs-lisp/find-func.el (find-function-C-source): Only set
8278 find-function-C-source-directory after checking that we found a source
8279 file there (bug#9440).
8280
d809b8eb
AM
82812011-09-06 Alan Mackenzie <acm@muc.de>
8282
8283 * isearch.el (isearch-other-meta-char): Wherever a key list is
8284 unread, "unread" the prefix arg, too. This fixes bug #8901.
8285
453de99f
OG
82862011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8287
8288 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8289
90439906
JL
82902011-09-05 Juri Linkov <juri@jurta.org>
8291
8292 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8293
f62bd846
JL
82942011-09-05 Juri Linkov <juri@jurta.org>
8295
8296 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8297 keeping point where processing of grep matches begins, and
8298 continue to delete remaining escape sequences from the same point.
8299 (grep-filter): Make leading zero optional in "0?1;31m" because
8300 git-grep emits "\033[1;31m" escape sequences unlike expected
8301 "\033[01;31m" as GNU Grep does (bug#9408).
8302 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8303
045820ec
JL
83042011-09-05 Juri Linkov <juri@jurta.org>
8305
8306 * subr.el (y-or-n-p): Capitalize "yes".
8307
f5e29b9b
MA
83082011-09-04 Michael Albinus <michael.albinus@gmx.de>
8309
8310 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8311 `tramp-cache-unload-hook' where appropriate.
8312 (tramp-methods): Rename `tramp-remote-sh' to
8313 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8314 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8315
8316 * net/tramp-sh.el (top): Don't require 'shell.
8317 (tramp-methods): Add `tramp-remote-shell' and
8318 `tramp-remote-shell-args' entries.
8319 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8320 (tramp-sh-handle-shell-command): Remove.
8321 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8322 Use `tramp-remote-shell'.
8323
2784c434
CY
83242011-09-03 Chong Yidong <cyd@stupidchicken.com>
8325
393a301e 8326 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8327 (sendmail-query-once): Save directly to send-mail-function.
8328 Update message-send-mail-function too.
8329
8330 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8331
464cdf56
CS
83322011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8333
8334 * progmodes/python.el (python-mode-map): Use correct function to
8335 start python interpreter from menu-bar (as reported by Geert
8336 Kloosterman).
8337 (inferior-python-mode-map): Fix typo.
393a301e 8338 (python-shell-map): Remove.
464cdf56 8339
d37e5c87
DD
83402011-09-03 Deniz Dogan <deniz@dogan.se>
8341
8342 * net/rcirc.el (rcirc-print): Simplify code for
8343 rcirc-scroll-show-maximum-output. There is no need to walk
8344 through all windows to find the right one.
8345
f3ada0ee
CS
83462011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8347
8348 * help.el (help-return-method): Doc fix.
8349
1f3c99ca
MR
83502011-09-03 Martin Rudalics <rudalics@gmx.at>
8351
8352 * window.el (window-deletable-p): Don't return a non-nil value
8353 when there's a buffer that was shown in the window before.
8354 (Bug#9419)
393a301e
SM
8355 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8356 Set window's previous buffers to nil.
1f3c99ca 8357
a3cf097f
EZ
83582011-09-03 Eli Zaretskii <eliz@gnu.org>
8359
8360 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8361 newline before and after the tag line, so it doesn't interfere
8362 with determining the paragraph direction of bidirectional text.
8363
3d03de90
LL
83642011-09-03 Leo Liu <sdl.web@gmail.com>
8365
8366 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8367
c3313451
CY
83682011-09-02 Chong Yidong <cyd@stupidchicken.com>
8369
393a301e 8370 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8371 (pop-to-buffer): Change interactive spec. Pass second argument
8372 directly to display-buffer.
8373 (display-buffer): Fix interactive spec. Use functionp to
8374 distinguish between a function and a list of functions.
8375
8376 * abbrev.el (edit-abbrevs):
8377 * arc-mode.el (archive-extract):
8378 * autoinsert.el (auto-insert):
8379 * bookmark.el (bookmark-bmenu-list):
8380 * files.el (find-file):
8381 * view.el (view-buffer):
8382 * progmodes/compile.el (compilation-goto-locus):
8383 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8384
89894cd8
CY
83852011-09-02 Chong Yidong <cyd@stupidchicken.com>
8386
8387 * window.el (display-buffer-alist): Doc fix.
8388 (display-buffer): Add docstring. Don't treat
8389 display-buffer-default specially.
8390 (display-buffer-reuse-selected-window)
8391 (display-buffer-same-window, display-buffer-maybe-same-window)
8392 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8393 (display-buffer-pop-up-window)
8394 (display-buffer-reuse-or-pop-window)
8395 (display-buffer-use-some-window): New functions.
8396 (display-buffer-default-action): Use them.
393a301e 8397 (display-buffer-default): Delete.
89894cd8
CY
8398 (pop-to-buffer-1): Fix choice of actions.
8399
ae0bc9fb
SM
84002011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8401
8402 * minibuffer.el (completion--insert-strings): Don't get confused by
8403 completion entries that end with an LF char.
8404
e9d90883
EZ
84052011-09-01 Eli Zaretskii <eliz@gnu.org>
8406
8407 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8408
437014c8
CY
84092011-09-01 Chong Yidong <cyd@stupidchicken.com>
8410
8411 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8412 (display-buffer-same-window, display-buffer-other-window):
8413 New functions.
437014c8
CY
8414 (pop-to-buffer-1): New function. Use the above.
8415 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8416 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8417
8418 * view.el (view-buffer-other-window, view-buffer-other-frame):
8419 Just use pop-to-buffer.
8420
a5e063d5
TV
84212011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8422
8423 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8424
793d32bb
WH
84252011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8426
8427 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8428
d65e4c15
RS
84292011-08-31 Richard Stallman <rms@gnu.org>
8430
8431 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8432 of the separation of rmail-view-buffer from rmail-buffer.
8433 If you say no to "replace original", the decrypt is in the
8434 view buffer. If you say yes, the decrypt goes into the
8435 rmail buffer also.
8436
f818cd2a
MR
84372011-08-31 Martin Rudalics <rudalics@gmx.at>
8438
8439 * window.el (display-buffer-window): Rewrite doc-string.
8440 (display-buffer-record-window): New function.
8441 (display-buffer-macro-specifiers)
8442 (display-buffer-even-window-sizes, display-buffer-set-height)
8443 (display-buffer-set-width, display-buffer-in-window)
8444 (display-buffer-reuse-window, display-buffer-split-specifiers)
8445 (display-buffer-side-specifiers, display-buffer-split-window-1)
8446 (display-buffer-split-window, display-buffer-split-atom-window)
8447 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8448 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8449 (display-buffer-other-window-means-other-frame)
8450 (display-buffer-normalize-special)
8451 (display-buffer-normalize-default)
8452 (display-buffer-normalize-argument)
8453 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8454 (display-buffer-normalize-specifiers, display-buffer-frame)
8455 (display-buffer-same-window, display-buffer-same-frame)
8456 (display-buffer-other-window)
8457 (display-buffer-same-frame-other-window)
8458 (display-buffer-other-frame, pop-to-buffer-same-window)
8459 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8460 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8461 (switch-to-buffer-same-frame)
8462 (switch-to-buffer-other-window-same-frame)
8463 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8464 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8465 (display-buffer-alist-set): Remove.
8466 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8467 (special-display-regexps, special-display-function):
8468 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8469 parameter.
8470 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8471 (special-display-frame-alist, special-display-popup-frame)
8472 (same-window-buffer-names, same-window-regexps, same-window-p)
8473 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8474 (split-window-preferred-function, split-height-threshold)
8475 (split-width-threshold, window-splittable-p)
8476 (split-window-sensibly, window--try-to-split-window)
8477 (window--frame-usable-p, even-window-heights)
8478 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8479 (window--display-buffer-2, display-buffer-other-frame):
8480 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8481 (display-buffer-default, display-buffer-assq-regexp): New functions.
8482 (display-buffer-alist): Rewrite doc-string.
8483 (display-buffer-default-action)
8484 (display-buffer-overriding-action): New variables.
8485 (display-buffer, switch-to-buffer): Rewrite.
8486 (pop-to-buffer): Restore Emacs 23 behavior but use
8487 window-normalize-buffer-to-display.
8488 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8489 Restore Emacs 23 behavior but use
8490 window-normalize-buffer-to-switch-to.
8491 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8492 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8493 Rewrite using Emacs 23 options.
f818cd2a 8494
5bc3b51d
MA
84952011-08-31 Michael Albinus <michael.albinus@gmx.de>
8496
8497 * net/tramp.el (tramp-root-regexp): Remove.
8498 (tramp-completion-file-name-regexp-unified)
8499 (tramp-completion-file-name-regexp-separate)
8500 (tramp-completion-file-name-regexp-url): Don't use leading volume
8501 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8502 (tramp-drop-volume-letter): Simplify definition.
8503 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8504
b1a4f8e1
SM
85052011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8506
8507 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8508 (bug#9356).
8509
5664fa7b
RT
85102011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8511
b1a4f8e1 8512 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8513
9a45d6c3
JL
85142011-08-29 Juri Linkov <juri@jurta.org>
8515
8516 * isearch.el (isearch-done): Don't display message "Mark saved"
8517 when arg `edit' is non-nil to prevent its flicker in the echo area.
8518
fb87e0fb
CY
85192011-08-28 Chong Yidong <cyd@stupidchicken.com>
8520
8521 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8522 obsolete packages for deletion.
8523
09ac1c2a
CS
85242011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8525
8526 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8527 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8528 view-mode from help-mode.
8529 (help-xref-override-view-map): Remove.
8530 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8531 view-mode is not used anymore.
8532
7a1ff57f
CY
85332011-08-28 Chong Yidong <cyd@stupidchicken.com>
8534
8535 * server.el (server-port): Doc fix.
8536
b9696605
CY
8537 * cus-theme.el (custom-theme-choose-mode): Inherit from
8538 special-mode (Bug#9124).
8539 (custom-theme-choose-mode-map): Add special-mode to parent.
8540
ef8cdf8c
AM
85412011-08-28 Alan Mackenzie <acm@muc.de>
8542
8543 * progmodes/cc-fonts.el
8544 (c-make-font-lock-BO-decl-search-function): New function.
8545 (c-basic-matchers-after - "Fontify the clauses after various
8546 keywords"): Extract the three keyword lists for the 3 erroneous
8547 constructs from the list of four, and use the new function above
8548 in place of an old one.
8549
27de4e20
DD
85502011-08-28 Deniz Dogan <deniz@dogan.se>
8551
8552 * net/rcirc.el (rcirc-insert-prev-input)
8553 (rcirc-insert-next-input): Remove unused argument.
8554
356a3681
SM
85552011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8556
8557 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8558
3fc9b218
AM
85592011-08-27 Alan Mackenzie <acm@muc.de>
8560
8561 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8562 handle function pointer parameters properly.
8563
538a061c
MR
85642011-08-27 Martin Rudalics <rudalics@gmx.at>
8565
8566 * window.el (display-buffer-reuse-window): Fix case where
8567 selected window was reused with non-nil OTHER-WINDOW argument.
8568 (Bug#9381)
8569
35b1c40c
DD
85702011-08-27 Deniz Dogan <deniz@dogan.se>
8571
8572 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8573 oftc's NickServ messages.
8574
2f6a3e79
GM
85752011-08-27 Glenn Morris <rgm@gnu.org>
8576
8577 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8578
7254299e
CY
85792011-08-26 Chong Yidong <cyd@stupidchicken.com>
8580
8581 * emacs-lisp/package.el (package-install): Call package-initialize
8582 if called interactively.
8583
f8ccf167
LL
85842011-08-26 Leo Liu <sdl.web@gmail.com>
8585
8586 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8587
3e8cd5ce
JL
85882011-08-25 Juri Linkov <juri@jurta.org>
8589
8590 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8591 `search-whitespace-regexp' (bug#9364).
8592
93eb7113
JL
85932011-08-25 Juri Linkov <juri@jurta.org>
8594
8595 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8596 `regexp-search-ring' to their global values to protect from
8597 updating by `read-from-minibuffer' (bug#9185).
8598
f65d1611
JL
85992011-08-25 Juri Linkov <juri@jurta.org>
8600
8601 * textmodes/ispell.el (ispell-command-loop): Add newline
8602 at the end of the "Use option `i'..." line.
8603
f1cf7a31
JL
86042011-08-25 Juri Linkov <juri@jurta.org>
8605
8606 * battery.el (display-battery-mode): If `battery-status-function'
8607 or `battery-mode-line-format' is nil, display the message and set
8608 `display-battery-mode' to nil (bug#9363).
8609
0c95fcf7
EZ
86102011-08-25 Eli Zaretskii <eliz@gnu.org>
8611
8612 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8613 bidi-string-mark-left-to-right; they are unnecessary now.
8614
a2ebe600
DD
86152011-08-25 Deniz Dogan <deniz@dogan.se>
8616
8617 * net/quickurl.el: Documentation typo fixes.
8618
e4ed06f1
CY
86192011-08-25 Chong Yidong <cyd@stupidchicken.com>
8620
8621 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8622
e5f1c99e
GM
86232011-08-25 Glenn Morris <rgm@gnu.org>
8624
b2948976
GM
8625 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8626
e5f1c99e
GM
8627 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8628 (smtpmail-via-smtp): Handle nil response from smtp.
8629
f22f4808
JL
86302011-08-24 Juri Linkov <juri@jurta.org>
8631
8632 * proced.el (proced-marked): Inherit from `error' instead of
8633 `font-lock-warning-face'.
8634
8635 * ibuffer.el (ibuffer-marked-face): Change default face from
8636 `font-lock-warning-face' to `warning'.
8637 (ibuffer-deletion-face): Change default face from
8638 `font-lock-type-face' to `error'.
8639
8640 * battery.el (battery-update): Use the face `error' instead of
8641 `font-lock-warning-face' (bug#6117).
8642
6a93965e
JL
86432011-08-24 Juri Linkov <juri@jurta.org>
8644
8645 * faces.el (success): Change face color from "Green3" to
8646 "ForestGreen" on light background (bug#9353).
8647
1ed43b09
CY
86482011-08-24 Chong Yidong <cyd@stupidchicken.com>
8649
5664fa7b
RT
8650 * window.el (quit-window): Rename from quit-restore-window.
8651 Use same arglist as old quit-window.
1ed43b09
CY
8652 (frame-auto-delete): Doc fix.
8653
8654 * view.el (view-mode-exit): Use quit-window.
8655
11dcdbb2
JL
86562011-08-24 Juri Linkov <juri@jurta.org>
8657
8658 * isearch.el (isearch-ring-adjust1): Start visiting previous
8659 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8660 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8661 for empty search string (when the last search string is reused
8662 automatically) to adjust the isearch ring to the last element and
8663 prepare the correct index for further M-p commands (bug#9185).
8664
de62b4df
KH
86652011-08-24 Kenichi Handa <handa@m17n.org>
8666
8667 * international/ucs-normalize.el: If decomposition property of
8668 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8669 nil.
8670 (nfd, nfkd): Likewise.
8671
963b492b
SM
86722011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8673
8674 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8675 from process filters aren't reliably transmitted to the surrounding
8676 accept-process-output.
8677 (mpc-proc-check): New function.
8678 (mpc-proc-sync): Use it (bug#8293)
8679
93b6b5e1
SM
86802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8683 Add compatibility functions (bug#9313).
8684
bca633fb
EZ
86852011-08-23 Eli Zaretskii <eliz@gnu.org>
8686
b177498a
EZ
8687 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8688
6df6ae42 8689 * international/uni-bidi.el: Regenerate.
bca633fb 8690
0902a04e
KH
86912011-08-23 Kenichi Handa <handa@m17n.org>
8692
8693 * international/charprop.el:
8694 * international/uni-bidi.el:
8695 * international/uni-category.el:
8696 * international/uni-combining.el:
8697 * international/uni-comment.el:
8698 * international/uni-decimal.el:
8699 * international/uni-decomposition.el:
8700 * international/uni-digit.el:
8701 * international/uni-lowercase.el:
8702 * international/uni-mirrored.el:
8703 * international/uni-name.el:
8704 * international/uni-numeric.el:
8705 * international/uni-old-name.el:
8706 * international/uni-titlecase.el:
8707 * international/uni-uppercase.el: Regenerate.
8708
3bbf23bc
MR
87092011-08-23 Martin Rudalics <rudalics@gmx.at>
8710
8711 * help.el (help-window-setup): Fix message displayed when other
8712 window is reused. (Bug#9341)
8713
b3fd59bd
SM
87142011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8715
1802e444
SM
8716 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8717 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8718
b3fd59bd
SM
8719 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8720 Mark obsolete.
8721 * shell.el (shell-parse-pcomplete-arguments): New function.
8722 (shell-completion-vars): Use it instead (bug#9160).
8723
4eb61348
SM
87242011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8725
867cab74
SM
8726 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8727 strings and comments (bug#9333).
8728
4eb61348
SM
8729 * emacs-lisp/debug.el (debug-arglist): New function.
8730 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8731 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8732
262a1439
JL
87332011-08-22 Juri Linkov <juri@jurta.org>
8734
56ee679c
JL
8735 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8736 Revert regexp that highlights output switches to its old
8737 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8738
262a1439
JL
8739 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8740 to check for empty output (bug#9226).
8741
f13f86fb
CY
87422011-08-22 Chong Yidong <cyd@stupidchicken.com>
8743
8744 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8745 symbol-constituent as the default, as that stops font-lock from
8746 working properly (Bug#8843).
8747
c65c9622
LMI
87482011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8749
8750 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8751 `coding-system-for-*' around the process open call to avoid
8752 auth-source side effects.
e7f2c178 8753 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8754 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8755 probe hangs.
c65c9622 8756
23a8a5ab
CY
87572011-08-21 Chong Yidong <cyd@stupidchicken.com>
8758
ff98b2dd
CY
8759 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8760
23a8a5ab
CY
8761 * emacs-lisp/find-func.el (find-function-noselect): New arg
8762 lisp-only.
8763
8764 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8765 signal an error for built-in functions (Bug#6664).
8766
f5e3c598
LMI
87672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8768
8769 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8770 (smtpmail-try-auth-methods): Use it.
8771
a3f2468a
CY
87722011-08-21 Chong Yidong <cyd@stupidchicken.com>
8773
2c34e8da
CY
8774 * font-lock.el (font-lock-fontify-region)
8775 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8776 (font-lock-default-unfontify-buffer)
8777 (font-lock-default-fontify-region)
8778 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8779
b3fd59bd
SM
8780 * progmodes/compile.el (compilation-error-properties):
8781 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8782 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8783 `ant' regexp.
ee31aabc 8784
a3f2468a
CY
8785 * net/browse-url.el (browse-url-firefox): Don't call
8786 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8787
8e999f70
GM
87882011-08-20 Glenn Morris <rgm@gnu.org>
8789
c21a496a
GM
8790 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8791
59ee0542
GM
8792 * tutorial.el (tutorial--default-keys): Update some default bindings.
8793
8e999f70
GM
8794 * files.el (hack-local-variables): Fully ignore case for "mode:".
8795
e3715033
AM
87962011-08-20 Alan Mackenzie <acm@muc.de>
8797
8798 Resolve invalid use of a regexp in regexp-opt.
8799
4d61f28d
JB
8800 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8801 detection for a java annotation.
e3715033 8802
4d61f28d 8803 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8804 detection for a java annotation.
8805
4d61f28d
JB
8806 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8807 handling for java.
e3715033
AM
8808 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8809
04ed2e9c
CY
88102011-08-20 Chong Yidong <cyd@stupidchicken.com>
8811
8812 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8813 (Bug#9274).
8814
826cee64
AM
88152011-08-20 Alan Mackenzie <acm@muc.de>
8816
58179cce 8817 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8818 such a construct. Mainly for when jit-lock etc. starts a chunk
8819 here.
8820
58179cce 8821 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8822 variable.
58179cce 8823 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8824 c-make-font-lock-search-function.
8825 (c-make-font-lock-search-function): Use the above function.
8826 (c-make-font-lock-context-search-function): New function.
8827 (c-cpp-matchers): Enhance the preprocessor expression case with
8828 the above function
8829 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8830 which takes an expression.
8831
8832 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8833
13009bd8
MR
88342011-08-20 Martin Rudalics <rudalics@gmx.at>
8835
8836 * window.el (display-buffer-reuse-window)
8837 (display-buffer-pop-up-window): Don't reuse or split a side
8838 window.
8839
9234ff7f
GM
88402011-08-19 Glenn Morris <rgm@gnu.org>
8841
8842 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8843 Downcase "Mode:". (Bug#9331)
9234ff7f 8844
f635daa1
CY
88452011-08-18 Chong Yidong <cyd@stupidchicken.com>
8846
8847 * international/characters.el: Add L and R categories.
8848
8849 * subr.el (bidi-string-mark-left-to-right): Rename from
8850 string-mark-left-to-right. Use category search.
8851
8852 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8853
bc987f8b
JL
88542011-08-18 Juri Linkov <juri@jurta.org>
8855
8856 * faces.el (error, warning, success): New faces with definitions
8857 copied from old default values of `font-lock-warning-face',
8858 `compilation-warning', `compilation-info' (bug#6117).
8859
8860 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8861
8862 * progmodes/compile.el (compilation-error): Inherit from `error'.
8863 (compilation-warning): Inherit from `warning'.
8864 (compilation-info): Inherit from `success'.
8865
8866 * dired.el (dired-marked): Inherit from `warning'.
8867 (dired-flagged): Inherit from `error'.
8868
57173b96
LMI
88692011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8870
3e79eb87
LMI
8871 * mail/smtpmail.el (auth-source): Require to avoid problems with
8872 binding variables (bug#9298). Also clean up some unused
8873 autoloads.
8874
b3fd59bd
SM
8875 * net/network-stream.el (network-stream-open-starttls):
8876 Support using starttls.el without using gnutls-cli.
57173b96 8877
02b404de
JL
88782011-08-17 Juri Linkov <juri@jurta.org>
8879
8880 * progmodes/grep.el (rgrep): Handle the case when
8881 `grep-find-command' is a cons cell (bug#9278).
8882
8c9177f2
MR
88832011-08-17 Martin Rudalics <rudalics@gmx.at>
8884
8885 * window.el (display-buffer-pop-up-frame): Run frame creation
8886 function with BUFFER current (as special-display-popup-frame
8887 does). Reported by Drew Adams.
8888
3644a0ab
DU
88892011-08-17 Daiki Ueno <ueno@unixuser.org>
8890
8891 * epa-mail.el: Simplify GnuPG group expansion using
8892 epg-expand-group.
8893 (epa-mail-group-alist, epa-mail-group-modtime)
8894 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8895 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8896 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8897 Remove.
8898
5e617bc2 88992011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8900
8901 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8902
9c4aeabf
AM
89032011-08-16 Alan Mackenzie <acm@muc.de>
8904
8905 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8906 Correct, to avoid the inside of macros.
8907
3a99bf64
RS
89082011-08-16 Richard Stallman <rms@gnu.org>
8909
04963aa8
RS
8910 * epa-mail.el: Handle GnuPG group definitions.
8911 (epa-mail-group-alist, epa-mail-group-modtime)
8912 (epa-mail-gnupg-conf-file): New variables.
8913 (epa-mail-parse-groups, epa-mail-sync-groups)
8914 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8915 (epa-mail-expand-recipients): New functions.
8916 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8917
177549d0
RS
8918 * mail/rmail.el (rmail-epa-decrypt): New command.
8919
fe38beef
RS
8920 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8921 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8922 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8923 (epa-decrypt-armor-in-region): Make error message clearer.
8924
934eacb9
SM
89252011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8928 and "a2b" to "ab" for `prefix'.
8929
d024fb4e
CY
89302011-08-14 Chong Yidong <cyd@stupidchicken.com>
8931
8932 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8933 filter groups.
de148fee
CY
8934 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8935 Fourquet (Bug#8804).
d024fb4e 8936
62f1ca49
JB
89372011-08-12 Juanma Barranquero <lekktu@gmail.com>
8938
8939 * startup.el (argi): Declare as global variable (bug#9275).
8940
9ccaaa4b
CY
89412011-08-12 Chong Yidong <cyd@stupidchicken.com>
8942
8943 * subr.el (string-mark-left-to-right): Search the entire string
8944 for RTL script, not just the terminating character. Doc fix.
8945
a3dae87a
SM
89462011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8947
6cd18349
SM
8948 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8949 New function.
8950 (js--regexp-literal, js-syntax-propertize-function): Remove.
8951 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8952 (js-mode-map): Don't rebind electric keys.
8953 (js-insert-and-indent): Remove.
8954 (js-mode): Setup electric-layout and electric-indent instead.
8955
a3dae87a
SM
8956 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8957
9d5cb631
DU
89582011-08-12 Daiki Ueno <ueno@unixuser.org>
8959
8960 * epa.el (epa-progress-callback-function): Fix the logic of
8961 displaying progress.
8962 * epa-file.el (epa-file-insert-file-contents): Make progress
8963 display more user-friendly.
8964 (epa-file-write-region): Ditto.
8965
3e26a4a2
CY
89662011-08-10 Chong Yidong <cyd@stupidchicken.com>
8967
8968 * subr.el (string-mark-left-to-right): New function.
8969
8970 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8971 Use string-mark-left-to-right.
8972 (list-buffers-noselect): Caller changed.
8973
a3dae87a
SM
8974 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8975 Use string-mark-left-to-right.
3e26a4a2
CY
8976 (tabulated-list-print): Recenter after moving point.
8977
ac8cf6e6
JL
89782011-08-10 Juri Linkov <juri@jurta.org>
8979
8980 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8981 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8982 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8983
8d96c9a4
CY
89842011-08-09 Chong Yidong <cyd@stupidchicken.com>
8985
8986 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8987 (Bug#7554).
8988
7be1c708 89892011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8990
8991 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8992 character. (Bug#6594)
8993
37e11a63
CY
89942011-08-08 Chong Yidong <cyd@stupidchicken.com>
8995
839dde57
CY
8996 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8997 (image-dired--with-db-file): New macro.
8998 (image-dired-write-tags, image-dired-remove-tag)
8999 (image-dired-create-gallery-lists, image-dired-write-comments)
9000 (image-dired-get-comment, image-dired-mark-tagged-files)
9001 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9002 (image-dired-gallery-generate): Use insert-file-contents.
9003
37e11a63
CY
9004 * time.el (display-time-world-list, display-time-world-display):
9005 * time-stamp.el (time-stamp-string):
9006 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9007 set-time-zone-rule (Bug#7337).
9008
0b4946c4
DU
90092011-08-08 Daiki Ueno <ueno@unixuser.org>
9010
9011 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9012 (epg-error-to-string, epg-errors-to-string): New function.
9013 (epg-wait-for-completion): Reverse errors list.
9014 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9015 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9016 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9017 (epg-sign-keys, epg-generate-key-from-file)
9018 (epg-generate-key-from-string): Format errors by using
9019 epg-errors-to-string (bug#9255).
9020 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9021
75bfc667
JL
90222011-08-07 Juri Linkov <juri@jurta.org>
9023
9024 * faces.el (list-faces-display): Remove extra angle bracket
9025 from `help-mode-map'.
9026
9027 * info.el (Info-history-toc-nodes): Doc fix.
9028
9029 * longlines.el (longlines-mode): Doc fix.
9030
673e08bb
SM
90312011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9032
4640dd88
SM
9033 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9034 of statements and in a few more cases (bug#9183).
9035
673e08bb
SM
9036 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9037 New functions.
9038 (cl-transform-lambda): Use them (bug#9239).
9039
89b3f019
MR
90402011-08-05 Martin Rudalics <rudalics@gmx.at>
9041
9042 * window.el (display-buffer-same-window)
9043 (display-buffer-same-frame, display-buffer-other-window)
9044 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9045 (pop-to-buffer-other-window)
9046 (pop-to-buffer-same-frame-other-window)
9047 (pop-to-buffer-other-frame): Make them defuns.
9048 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9049
640c8776
SM
90502011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * subr.el (make-composed-keymap): Move from C. Change calling
9053 convention, and improve docstring to bring attention to a subtle point.
9054 * minibuffer.el (completing-read-default): Adjust accordingly.
9055
63648a95
MA
90562011-08-03 Michael Albinus <michael.albinus@gmx.de>
9057
9058 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9059 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9060
9061 * net/trampver.el: Update release number.
9062
b796c9b7
SM
90632011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9064
9065 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9066 "in" (bug#9190).
9067
2239d7d5
LMI
90682011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9069
e07dd7c3
LMI
9070 * mail/sendmail.el (sendmail-query-once): Restore the current
9071 buffer after querying (bug#9074).
9072
0e6a2bd7
LMI
9073 * dired.el (dired-flagged): Use different faces for marked and
9074 flagged files (bug#6117).
9075
ce887515
LMI
9076 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9077 (bug#4433).
9078
92f2affc
LMI
9079 * ido.el (ido-mode): Switch off the message if called
9080 non-interactively.
9081
57d5aff0
LMI
9082 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9083 before 587, since it appears that that's more likely to work for
9084 more people.
9085
98cd6c18 9086 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9087 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9088 exist.
9089
b96dec83
LMI
9090 * info.el: Remove the `Info-beginning-of-buffer' function
9091 (bug#8325).
9092
b796c9b7
SM
9093 * net/network-stream.el (network-stream-open-starttls):
9094 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9095
d90e2ea0
MR
90962011-08-01 Martin Rudalics <rudalics@gmx.at>
9097
9098 * window.el (display-buffer-in-window): Don't set dedicated status
9099 of window here (Bug#9215).
9100 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9101 (display-buffer-pop-up-side-window)
b796c9b7 9102 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9103
cca09170
SM
91042011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9107 before binding generated-autoload-file.
9108
027b979c
DD
91092011-08-01 Deniz Dogan <deniz@dogan.se>
9110
9111 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9112
3c7ee4f3
MA
91132011-07-30 Michael Albinus <michael.albinus@gmx.de>
9114
9115 Sync with Tramp 2.2.2.
9116
9117 * net/trampver.el: Update release number.
9118
2cc8e51a
JL
91192011-07-30 Juri Linkov <juri@jurta.org>
9120
9121 * dired-aux.el (dired-touch-initial): Remove function.
9122 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9123 current time, and `default' to the last modification time of the
9124 current marked file (bug#6887).
9125
a514d856
JM
91262011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9127
9128 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9129 numeric argument to read-number (bug#9163).
a514d856 9130
8a7eddd7
MA
91312011-07-27 Michael Albinus <michael.albinus@gmx.de>
9132
9133 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9134 connection process, it could be nil.
9135
1ddd96f5
LL
91362011-07-27 Leo Liu <sdl.web@gmail.com>
9137
9138 Simplify url handling in rcirc-mode.
9139
9140 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9141 (rcirc-browse-url-at-mouse): Remove.
9142 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9143
b248a85d
AM
91442011-07-26 Alan Mackenzie <acm@muc.de>
9145
9146 Fontify bitfield declarations properly.
9147
9148 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9149 (c-symbol-chars): Now exported as a lang variable.
9150 (c-not-primitive-type-keywords): New lang variable.
9151
9152 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9153 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9154 parsed as a bitfield declaration.
b248a85d 9155
b796c9b7
SM
9156 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9157 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9158 (c-punctuation-in): New function.
9159 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9160 declarations properly.
9161
68575ab0
UJ
91622011-07-26 Ulf Jasper <ulf.jasper@web.de>
9163
9164 * calendar/icalendar.el (icalendar--all-events): Take care of
9165 multiple vcalendars in a single file.
b796c9b7 9166 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9167
0f0a88b9
DD
91682011-07-25 Deniz Dogan <deniz@dogan.se>
9169
9170 * image.el (insert-image): Clarifying docstring.
9171
0b3f36df
MA
91722011-07-24 Michael Albinus <michael.albinus@gmx.de>
9173
9174 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9175 `tramp-send-command-and-check' if there is no error.
9176 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9177
a9901f61
AM
91782011-07-22 Alan Mackenzie <acm@muc.de>
9179
9180 Prevent cc-langs.elc being loaded at run time.
9181
9182 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9183 cc-langs.
9184
4d61f28d 9185 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9186 "(require 'cc-langs)". Quote a form so it will evaluate at
9187 (cc-mode's) compilation time.
9188
11d074b2
MA
91892011-07-22 Michael Albinus <michael.albinus@gmx.de>
9190
9191 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9192 loading. (Bug#9114)
9193
938b94c8
MR
91942011-07-21 Martin Rudalics <rudalics@gmx.at>
9195
9196 * window.el (display-buffer-pop-up-window)
9197 (display-buffer-pop-up-side-window)
9198 (display-buffer-in-side-window): Call display-buffer-set-height
9199 and display-buffer-set-width after setting the new window's
b796c9b7 9200 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9201
bfa4f190
SS
92022011-07-20 Sam Steingold <sds@gnu.org>
9203
9204 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9205 (etags-tags-included-tables): Call `convert-standard-filename' on
9206 the file names contained in TAGS so that windows Emacs can handle
9207 TAGS files created by cygwin ctags.
9208
8ca42262
LMI
92092011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9210
9211 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9212 which apparently didn't work.
9213
5db2afd2 92142011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9215
5db2afd2
RW
9216 * proced.el (proced-send-signal): For *Marked Processes* buffer
9217 put point at beginning of buffer.
9218
92e15d10
SB
92192011-07-19 Stephen Berman <stephen.berman@gmx.net>
9220
9221 * proced.el (proced-format): Make header lines align with the text
9222 (bug#1779).
9223
1bfd59e5
LMI
92242011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9225
9226 * view.el (view-buffer): Allow running in `special' modes if we're
9227 visiting a file (bug#8615).
9228
f5aae37c
MR
92292011-07-19 Martin Rudalics <rudalics@gmx.at>
9230
9231 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9232 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9233 New functions.
f5aae37c
MR
9234 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9235 more accurately.
9236
bf2c1571
AM
92372011-07-18 Alan Mackenzie <acm@muc.de>
9238
9239 Fontify declarators properly when, e.g., a jit-lock chunk begins
9240 inside a declaration.
9241
9242 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9243
b796c9b7
SM
9244 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9245 New function.
bf2c1571
AM
9246 (c-complex-decl-matchers): Insert reference to
9247 c-font-lock-enclosing-decls.
9248
9249 * progmodes/cc-engine.el (c-backward-single-comment):
9250 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9251 to nil around calls to (forward-comment -1).
9252
4e190b80
LMI
92532011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9254
12dc863d
LMI
9255 * image.el (put-image): Doc typo fix.
9256
a762e966
LMI
9257 * progmodes/etags.el (tags-search): Doc typo fix.
9258
4e190b80
LMI
9259 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9260 password if we get errors 550 to 554.
9261
f019fb21
LMI
92622011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9263
b796c9b7 9264 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9265
81746738
LMI
9266 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9267 indentation character (bug#6380).
9268
3ee3a1b5
LMI
9269 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9270
c82f64de
LMI
9271 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9272 to clarify what the problem is (bug#4291).
9273
f019fb21
LMI
9274 * simple.el (current-kill): Clarify what
9275 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9276 (auto-fill-mode): Document `auto-fill-function' in relation to
9277 `auto-fill-mode' (bug#2470).
f019fb21 9278
0794775d
LM
92792011-07-16 Lawrence Mitchell <wence@gmx.li>
9280
9281 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9282 method if slot is read-only (bug#9035).
9283
be39b8cc
MR
92842011-07-16 Martin Rudalics <rudalics@gmx.at>
9285
b796c9b7 9286 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9287 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9288 selected before, see discussion of (Bug#8615), (Bug#6954).
9289 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9290
6ccf7859
GM
92912011-07-15 Glenn Morris <rgm@gnu.org>
9292
9293 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9294 Respect help-form.
6ccf7859 9295
87e86684
LM
92962011-07-09 Lawrence Mitchell <wence@gmx.li>
9297
9298 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9299 (gnutls-negotiate): Use it.
9300
d6066239
LMI
93012011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9302
b796c9b7
SM
9303 * net/gnutls.el (gnutls-negotiate):
9304 Upcase `gnutls-algorithm-priority'.
d6066239 9305
bd23ebc0
GM
93062011-07-15 Glenn Morris <rgm@gnu.org>
9307
c65bca65
GM
9308 * jka-compr.el (jka-compr-verbose): Move from here...
9309 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9310 Add missing :version tag.
9311 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9312
478615cc
LMI
93132011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9314
7b41decb
LMI
9315 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9316 (gnutls-negotiate): Use it.
9317
dbc44fcd
LMI
9318 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9319
06789f97
LMI
9320 * info.el (Info-beginning-of-buffer): New command.
9321 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9322 announcing `b' as the key (bug#8325).
ab896c37 9323 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9324
c39da690
LMI
9325 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9326
3aa5f34b
LMI
9327 * international/mule-cmds.el
9328 (describe-specified-language-support): Make the error message
9329 clearer (bug#8905).
9330
4bf0979f
LMI
9331 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9332
478615cc
LMI
9333 * isearch.el (isearch-barrier): Add a doc string, since it's
9334 mentioned in a function doc string (bug#8678).
9335
75c68aa1
MR
93362011-07-15 Martin Rudalics <rudalics@gmx.at>
9337
9338 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9339 buffer argument (Bug#9083) and self-identifying label argument.
9340
a7c33da2
GM
93412011-07-15 Glenn Morris <rgm@gnu.org>
9342
9343 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9344
2f5c6024
LMI
93452011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9346
9347 * man.el (Man-fontify-manpage): Fix message when formatting the
9348 man page (bug#7929).
9349
0bb23927 93502011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9351
9352 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9353 argument LRM; if non-nil, append an invisible LRM character to the
9354 buffer name.
9355 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9356 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9357 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9358 paragraph direction.
cce4b0a7 9359
621ef9ab
LMI
93602011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9361
d1583c48
LMI
9362 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9363 the man page name (bug#7929).
9364
6a57fb5f
LMI
9365 * image.el (put-image): Mention the `put-image' overlay property
9366 (bug#7834).
9367
d7956b14
LMI
9368 * scroll-bar.el (set-scroll-bar-mode): Mention that
9369 `scroll-bar-mode' lists the values (bug#7772).
9370
5b2d4a66
LMI
9371 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9372 command (bug#7729).
9373
7509a874
LMI
9374 * rect.el (apply-on-rectangle): Return the point after the last
9375 operation.
9376 (string-rectangle): Go to the point after the last operation
9377 (bug#7522).
9378
4fe74b19
LMI
9379 * printing.el (pr-toggle-region): Clarify the documentation
9380 slightly (bug#7493).
9381
b796c9b7
SM
9382 * time.el (display-time-update):
9383 Allow `display-time-mail-function' to return nil (bug#7158).
9384 Fix suggested by Detlev Zundel.
ab283561 9385
fc233c9d
LMI
9386 * vc/diff.el (diff): Clarify the order the file names are read
9387 (bug#7111).
9388
43f5740b
LMI
9389 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9390 the doc string (bug#7015).
9391
f2182a76
LMI
9392 * font-lock.el (font-lock-maximum-decoration): Mention what
9393 numeric levels mean (bug#6935).
9394
621ef9ab
LMI
9395 * startup.el (initial-buffer-choice): Don't mention the `none'
9396 selection, which is against policy.
9397
adc47434
MR
93982011-07-14 Martin Rudalics <rudalics@gmx.at>
9399
b796c9b7
SM
9400 * window.el (display-buffer-normalize-special):
9401 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9402
7e5bfb8f
EZ
94032011-07-14 Eli Zaretskii <eliz@gnu.org>
9404
9405 * subr.el (version<, version<=, version=): Mention "-CVS" and
9406 "-12345" alpha version numbers.
9407
27fa387a
CY
94082011-07-14 Chong Yidong <cyd@stupidchicken.com>
9409
9410 * bindings.el: Add advertised binding for set-mark-command
9411 (Bug#5772).
9412
8bdfa064
CY
94132011-07-14 Chong Yidong <cyd@stupidchicken.com>
9414
9415 * bindings.el (mode-line-other-buffer):
9416 * bookmark.el (bookmark-bmenu-2-window):
9417 * bs.el (bs-cycle-next, bs-cycle-previous):
9418 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9419 switch-to-buffer.
9420
9421 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9422 Delete.
8bdfa064 9423
5eba16a3
JB
94242011-07-14 Juanma Barranquero <lekktu@gmail.com>
9425
9426 * follow.el (follow-debug-message, follow-redisplay):
9427 * jka-cmpr-hook.el (with-auto-compression-mode):
9428 Fix typos in docstrings.
9429
15853710
LMI
94302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9431
a28e4607
LMI
9432 * subr.el (with-silent-modifications): Clarify somewhat what the
9433 macro inhibits (bug#6525).
9434
15853710
LMI
9435 * simple.el (eval-expression): Note what it does if called
9436 interactively (bug#6495).
9437
bee0fcef
CY
94382011-07-13 Chong Yidong <cyd@stupidchicken.com>
9439
b796c9b7
SM
9440 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9441 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9442
9443 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9444 Remove switch-to-buffer.
9445
58274504
LMI
94462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9447
bd2fcc8d
LMI
9448 * files.el (make-directory): Clarify that an error will be raised
9449 if there's an error (bug#6397).
9450
0f04b32c
LMI
9451 * startup.el (initial-buffer-choice): Add `none' as a choice
9452 (bug#6234).
9453
465c5fc8
LMI
9454 * subr.el (add-hook): Clarify section about buffer-local hooks
9455 (bug#6218).
9456
58274504
LMI
9457 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9458
bead9a43
JB
94592011-07-13 Juanma Barranquero <lekktu@gmail.com>
9460
9461 * tabify.el (untabify): Preserve the current column so that point
9462 doesn't move (bug#6032).
9463
3af98a7b
LMI
94642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9465
b796c9b7
SM
9466 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9467 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9468
6240145a
GM
94692011-07-13 Glenn Morris <rgm@gnu.org>
9470
9471 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9472 (dired-insert-directory): Give a message the first time
9473 if ls is found not to support --dired.
9474
1d8c2ccc
LMI
94752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9476
9477 * simple.el (toggle-truncate-lines): Clarify what is toggled
9478 (bug#5580). Text by Drew Adams.
9479
5fc4038e
CY
94802011-07-13 Chong Yidong <cyd@stupidchicken.com>
9481
9482 * simple.el (blink-matching-open): Make the error message from the
9483 last change less verbose.
9484
bf6012e5
DN
94852011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9486
9487 * font-lock.el (font-lock-comment-face): Use the high contrast
9488 "yellow" color for font-lock-comment-face on low color terminals
9489 using a dark background color (bug#4221).
9490
343c3b5a
LMI
94912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9492
7e9505c5
LMI
9493 * dired.el (dired-insert-set-properties): Make the doc string
9494 reflect what it does now (bug#5325).
9495
c26fdcf5
LMI
9496 * simple.el (blink-matching-open): Say that we were unable to find
9497 the match within the limit, if we're limited (bug#5122).
9498
bb388cc5
LMI
9499 * international/mule-cmds.el (prefer-coding-system): Add an
9500 example (bug#4869).
9501
343c3b5a
LMI
9502 * progmodes/etags.el (tags-search): Document `file-list-form'
9503 (bug#4731).
9504
2a517d45
LM
95052011-07-13 Lawrence Mitchell <wence@gmx.li>
9506
9507 * net/browse-url.el (browse-url-default-browser)
9508 (browse-url-browser-function): Make the default browser choice a
9509 bit more logical (bug#4300). Also clean up the doc string.
9510
b6c78ef2
JB
95112011-07-13 Juanma Barranquero <lekktu@gmail.com>
9512
9513 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9514 binary endings (bug#4440).
9515
1c4dd947
LMI
95162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9517
a2014063
LMI
9518 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9519 which can be pretty annoying (bug#8971).
9520
9c9c2d88
LMI
9521 * jka-compr.el (jka-compr-verbose): New variable, and use
9522 throughout (bug#8971).
9523
1c4dd947
LMI
9524 * info.el (Info-find-file): Fall back on the installation
9525 directory if we can't find the info node anywhere else.
9526
a1c9f41b
SO
95272011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9528
9529 * vc/vc.el (vc-revert-file):
9530 Don't set file time-stamp in the past. (Bug#5181)
9531
536f3d36
LMI
95322011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9533
7152b011
LMI
9534 * files.el (after-find-file): Give a better error message when
9535 trying to find a symlink that points to a file that doesn't exist
9536 (bug#4398).
9537
536f3d36
LMI
9538 * progmodes/cc-vars.el: Remove (probably) misleading comment
9539 (bug#4396).
9540
460c0fba
JB
95412011-07-12 Johan Bockgård <bojohan@gnu.org>
9542
9543 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9544
7a6bda45
CY
95452011-07-12 Chong Yidong <cyd@stupidchicken.com>
9546
9547 * mouse-sel.el: Hack restoring functionality, while keeping
9548 compatibility with 2010-07-03 changes to mouse selection.
9549 (mouse-sel-primary-overlay): New var.
9550 (mouse-sel-selection-alist): Use it.
9551 (mouse-sel-mode): Doc fix; remove points that are default features
9552 of mouse.el.
9553
c79598ef
JB
95542011-07-12 Johan Bockgård <bojohan@gnu.org>
9555
9556 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9557 Fix previous fix (bug#2490).
9558
ff8be6ef
RW
95592011-07-12 Roland Winkler <winkler@gnu.org>
9560
b796c9b7
SM
9561 * textmodes/bibtex.el (bibtex-initialize):
9562 Use pop-to-buffer-same-window.
ff8be6ef
RW
9563 (bibtex-search-entries): Fix interactive call.
9564
296ba3ee
LMI
95652011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9566
f5242a02 9567 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9568 Fontise bytecomp Error lines more correctly (bug#2490).
9569 Fix suggested by Johan Bockgård.
f5242a02 9570
296ba3ee
LMI
9571 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9572
9573 * dired-x.el (dired-guess-default): Use `delete-dups'.
9574
f69fd0d2
CY
95752011-07-12 Chong Yidong <cyd@stupidchicken.com>
9576
9577 * dired.el (dired-mark-prompt):
9578 * dired-aux.el (dired-read-shell-command): Doc fix.
9579
eab5dc07
LMI
95802011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9581
b796c9b7
SM
9582 * mail/sendmail.el (sendmail-query-once):
9583 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9584 emacs -Q.
9585
9586 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9587
eab5dc07
LMI
9588 * cus-edit.el (custom-file): Take an optional no-error variable.
9589 (customize-save-variable): Set the variable, and give a warning if
9590 running under "emacs -q".
9591
a1e65d42
JB
95922011-07-11 Juanma Barranquero <lekktu@gmail.com>
9593
9594 * loadhist.el (unload-feature-special-hooks):
9595 Add `auto-coding-functions', `fill-nobreak-predicate' and
9596 `find-directory-functions' (bug#5327).
9597
1d52da10
LMI
95982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9599
be958f1d
LMI
9600 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9601
5bedb26c
LMI
9602 * cus-edit.el (custom-guess-name-alist): -alist variables should
9603 use the `alist' type (bug#3120). Suggested by Drew Adams.
9604
1d52da10
LMI
9605 * printing.el: Add documentation to all the `pr-toggle-' commands.
9606
cd394be1 96072011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9608
9609 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9610 backends where it makes sense (bug#2623).
9611
dcc88d8a
LMI
96122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9613
c3de9feb
LMI
9614 * dired-x.el (dired-guess-default): Remove duplicate shell command
9615 entries (bug#2028).
8a93078b 9616 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9617 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9618
dcc88d8a
LMI
9619 * subr.el (remove-duplicates): New conveniency function.
9620
505e3645
LMI
96212011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9622
9623 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9624 (bug#1526).
9625
96262011-07-10 Martin Rudalics <rudalics@gmx.at>
9627
9628 * window.el (display-buffer-normalize-default): Don't invert
9629 meaning of even-window-heights. Reported by Eli Zaretskii
9630 <eliz@gnu.org>.
9631
455e4fa1
BR
96322011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9633
9634 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9635
8e0bc3e9
CY
96362011-07-10 Chong Yidong <cyd@stupidchicken.com>
9637
9638 * window.el (display-buffer): Fix arguments to
9639 display-buffer-reuse-window in last change.
9640
fa7c3228
CY
9641 * faces.el (link): Use a less saturated blue on light backgrounds.
9642
9643 * startup.el (fancy-startup-text, fancy-about-text)
9644 (fancy-startup-tail): Use font-lock faces, for background safety.
9645
c0a7f300
BN
96462011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9647
b796c9b7
SM
9648 * emulation/viper-cmd.el (viper-change-state-to-vi):
9649 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9650
4dc2a129
MR
96512011-07-09 Martin Rudalics <rudalics@gmx.at>
9652
9653 * window.el (display-buffer-default-specifiers): Remove.
9654 (display-buffer-macro-specifiers): Remove default specifiers.
9655 (display-buffer-alist): Default to nil.
b796c9b7 9656 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9657 (display-buffer-pop-up-window): Allow splitting internal
9658 windows. Check whether a live window was created.
9659 (display-buffer-other-window-means-other-frame)
9660 (display-buffer-normalize-arguments): Rename to
9661 display-buffer-normalize-argument and rewrite. Set the
9662 other-window specifier.
9663 (display-buffer-normalize-special): New function.
9664 (display-buffer-normalize-options): Rename to
9665 display-buffer-normalize-default and rewrite.
9666 (display-buffer-normalize-options-inhibit): Remove.
9667 (display-buffer-normalize-specifiers): Rewrite.
9668 (display-buffer): Process other-window specifier and call
9669 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9670 more faithfully.
b796c9b7 9671 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9672 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9673 (display-buffer-in-window, display-buffer-alist-set):
9674 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9675 <tassilo@member.fsf.org>.
9676
2d43b8c9
LL
96772011-07-09 Leo Liu <sdl.web@gmail.com>
9678
9679 * register.el (insert-register): Restore accidental change on
9680 2011-06-26. (Bug#9028)
9681
7f9b7c53
GM
96822011-07-09 Glenn Morris <rgm@gnu.org>
9683
9684 * subr.el (remq): Handle the empty list. (Bug#9024)
9685
f042cfd8
AS
96862011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9687
9688 * mail/sendmail.el (send-mail-function): No longer delay custom
9689 initialization.
9690 * custom.el (custom-initialize-delay): Doc fix.
9691
856b2f11
SM
96922011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9693
9694 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9695
afae1d68
MA
96962011-07-08 Michael Albinus <michael.albinus@gmx.de>
9697
9698 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9699 human-friendly prompt.
9700
0757af94
SM
97012011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9704 provided by a particular plugin.
9705
d760b731
LMI
97062011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9707
9708 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9709 save customizations (with "emacs -Q"), just set the variable
9710 instead of erroring out.
9711
9712 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9713
cd79ce90
JL
97142011-07-08 Juri Linkov <juri@jurta.org>
9715
9716 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9717 (archive-zip-update-case): Use 7z if found by `executable-find'.
9718 The order of searching the available programs is the same as in
9719 `archive-zip-extract' (bug#8968).
9720
14cc04aa
CY
97212011-07-07 Chong Yidong <cyd@stupidchicken.com>
9722
9723 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9724 (menu-bar-options-menu): Tweak descriptions.
9725
0a1848ec
LMI
97262011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9727
9728 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9729 menu items into verb phrases (bug#1421). Also refill to fit under
9730 80 columns.
9731
f5bd0689
CY
97322011-07-07 Chong Yidong <cyd@stupidchicken.com>
9733
538e85c6
CY
9734 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9735 (Info-read-node-name): Doc fix (Bug#1084).
9736
f5bd0689
CY
9737 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9738 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9739 (end-of-sexp, beginning-of-sexp)
9740 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9741 (forward-symbol, forward-same-syntax, word-at-point)
9742 (sentence-at-point): Doc fix (Bug#1144).
9743
56ec5115
LMI
97442011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9745
f3f8e37f
LMI
9746 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9747 should cover it (bug#1281).
9748
0757af94 9749 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9750
e9fce1ac 9751 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9752 negotiation fails, then possibly try again with a non-encrypted
9753 connection (bug#9017).
9754
56ec5115
LMI
9755 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9756 be used.
9757
c2f9aec8
RS
97582011-07-07 Richard Stallman <rms@gnu.org>
9759
9760 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9761 property, and handle its changed format.
9762 Look for the correct line number.
9763 Use file's line contents (but not past first =) to find
9764 correct line in message.
9765
ef7b981d 97662011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9767
9768 * international/characters.el (build-unicode-category-table):
9769 Delete it.
0757af94 9770 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9771
0757af94 9772 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9773 to src/chartab.c.
9774 (get-char-code-property): Call unicode-property-table-internal to
9775 load a file. Call get-unicode-property-internal where necessary.
9776 (put-char-code-property): Call unicode-property-table-internal to
9777 load a file. Call put-unicode-property-internal where necessary.
9778 put-unicode-property-internal where necessary.
0757af94
SM
9779 (char-code-property-description):
9780 Call unicode-property-table-internal to load a file.
c805dec0
KH
9781
9782 * international/charprop.el:
9783 * international/uni-bidi.el:
9784 * international/uni-category.el:
9785 * international/uni-combining.el:
9786 * international/uni-comment.el:
9787 * international/uni-decimal.el:
9788 * international/uni-decomposition.el:
9789 * international/uni-digit.el:
9790 * international/uni-lowercase.el:
9791 * international/uni-mirrored.el:
9792 * international/uni-name.el:
9793 * international/uni-numeric.el:
9794 * international/uni-old-name.el:
9795 * international/uni-titlecase.el:
9796 * international/uni-uppercase.el: Regenerate.
9797
9798 * loadup.el: Load international/charprop.el before
9799 international/characters.
9800
e14b388a
CY
98012011-07-07 Chong Yidong <cyd@stupidchicken.com>
9802
9803 * window.el (next-buffer, previous-buffer): Signal an error if
9804 called from a minibuffer window.
9805
9806 * bindings.el: Revert 2011-07-04 change.
9807
354cf0ba
RS
98082011-07-06 Richard Stallman <rms@gnu.org>
9809
9810 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9811 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9812 Treat markers like ints.
9813 (rmail-mime-entity): Doc fix.
9814
a48868a7
LMI
98152011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9816
4906cd3d
LMI
9817 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9818 defcustom again for backwards compatibility.
9819
e0457abe
LMI
9820 * simple.el (shell-command-on-region): Fill.
9821
d67f7e1f
LMI
9822 * dired-aux.el (dired-kill-line): Add a doc string.
9823
fe204702
LMI
9824 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9825 to "\\sw\\|\\s_" (bug#358).
9826
a48868a7
LMI
9827 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9828 (dired-unmark-backward): Ditto.
9829 (dired-flag-backup-files): Ditto.
9830
9831 * dired-x.el (dired-mark-sexp): Ditto.
9832
aa8a705c
RS
98332011-07-06 Richard Stallman <rms@gnu.org>
9834
9835 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9836 (rmail-mime-entity): New arg TRUNCATED.
9837 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9838 New functions.
9839 (rmail-mime-save): Warn if entity is truncated.
9840 (rmail-mime-toggle-hidden): Likewise, for showing.
9841 (rmail-mime-process-multipart): Record when an entity is truncated.
9842
a9a936b9
RS
9843 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9844 if ENTITY is a string.
9845
1f2b92cb
LMI
98462011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9847
f4f73198 9848 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9849 of faces when `M-C-x'-ing their definitions (bug#8378).
9850 Also clean up the code slightly.
f4f73198 9851
12b16734 9852 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9853 because that makes the colors go away.
12b16734 9854
f0691d22
LMI
9855 * mail/sendmail.el (send-mail-function): Change the default to
9856 `sendmail-query-once'.
9e87df06 9857 (sendmail-query-once): Add an autoload cookie.
f0691d22 9858
1f2b92cb
LMI
9859 * net/network-stream.el (network-stream-open-starttls): Try using
9860 a plain connection even if the server offered STARTTLS, and we
9861 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9862 capability. This should make smtpmail.el work in slightly more
9863 configurations.
9864
1cdd2a1b
MA
98652011-07-06 Michael Albinus <michael.albinus@gmx.de>
9866
9867 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9868 New defun.
9869 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9870
fbcc67e2
MM
98712011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9872
9873 * progmodes/sql.el: Version 3.0
0757af94 9874 (sql-product-alist): Add product :completion-object,
fbcc67e2 9875 :completion-column, and :statement attributes.
0757af94 9876 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9877 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9878 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9879 ansi keywords.
9880 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9881 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9882 (sql-oracle-show-reserved-words): New function for development.
9883 (sql-product-font-lock): Simplify for source code buffers.
9884 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9885 New functions.
9886 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9887 (sql-mode-map): Add statement movement functions.
9888 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9889 New variable.
fbcc67e2
MM
9890 (sql-statement-regexp, sql-beginning-of-statement)
9891 (sql-end-of-statement, sql-signum): New functions.
0757af94 9892 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9893 (sql-show-sqli-buffer): Bug fix.
9894 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9895 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9896 with sql-interactive-mode.
9897 (sql-save-connection): Save buffer local settings.
0757af94 9898 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9899 (sql-product-interactive): Bug fix.
9900 (sql-preoutput-hold): New variable.
9901 (sql-interactive-remove-continuation-prompt): Bug fixes.
9902 (sql-debug-redirect): New variable.
9903 (sql-str-literal): New function.
9904 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9905 Redesign.
fbcc67e2
MM
9906 (sql-oracle-save-settings, sql-oracle-restore-settings)
9907 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9908 (sql-completion-object, sql-completion-column)
9909 (sql-completion-sqlbuf): New variables.
9910 (sql-build-completions-1, sql-build-completions)
9911 (sql-try-completion): New functions.
9912 (sql-read-table-name): Use them.
9913 (sql-contains-names): New buffer local variable.
9914 (sql-list-all, sql-list-table): Use it.
9915 (sql-oracle-completion-types): New variable.
9916 (sql-oracle-completion-object, sql-sqlite-completion-object)
9917 (sql-postgres-completion-object): New functions.
9918
d4eaeab1
GM
99192011-07-06 Glenn Morris <rgm@gnu.org>
9920
9921 * window.el (pop-to-buffer): Doc fix.
9922
322b7dab 99232011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9924
9925 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9926
322b7dab 99272011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9928
322b7dab 9929 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9930
322b7dab 9931 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9932
605dd5bf
CY
99332011-07-05 Chong Yidong <cyd@stupidchicken.com>
9934
9935 * button.el (button): Inherit from link face. Suggested by Dan
9936 Nicolaescu.
9937
7dbfa719
SM
99382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9939
3db614b0
SM
9940 * progmodes/gdb-mi.el: Fit in 80 columns.
9941 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9942 switch-to-buffer.
9943
7dbfa719
SM
9944 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9945 if imenu is simply not configured (bug#8941).
9946
919d884a
KM
99472011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9948
9949 * allout.el (allout-post-undo-hook): New allout outline-change
9950 event hook to signal undo activity.
9951 (allout-post-command-business): Run allout-post-undo-hook if an
9952 undo just occurred.
7dbfa719
SM
9953 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9954 * allout-widgets.el (allout-widgets-after-undo-function):
9955 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9956 in the vicinity of an undo.
9957 (allout-widgets-mode): Include allout-widgets-after-undo-function
9958 on the new allout-post-undo-hook.
9959
450a0f09
SM
99602011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9963 Let define-derived-mode define it.
9964 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9965 cycles of abbrev-table inheritance (bug#8998).
9966
2de69e00
RW
99672011-07-05 Roland Winkler <winkler@gnu.org>
9968
9969 * textmodes/bibtex.el: Add support for biblatex.
9970 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9971 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9972 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9973 (bibtex-entry-alist, bibtex-field-alist): New variables.
9974 (bibtex-entry-field-alist): Obsolete alias for
9975 bibtex-BibTeX-entry-alist.
9976 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9977 (bibtex-set-dialect): New command.
9978 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9979 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9980 Bind via bibtex-set-dialect.
2de69e00
RW
9981 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9982 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9983 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9984 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9985 Define via bibtex-set-dialect.
450a0f09
SM
9986 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9987 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9988 (bibtex-vec-push, bibtex-vec-incr): New functions.
9989 (bibtex-format-entry, bibtex-field-list)
9990 (bibtex-print-help-message, bibtex-validate)
9991 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9992
2dcdbdd9
SM
99932011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9994
9995 * progmodes/compile.el (compilation-goto-locus):
9996 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9997 * bs.el (bs-cycle-next, bs-cycle-previous):
9998 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9999 * bindings.el (mode-line-other-buffer):
10000 * autoinsert.el (auto-insert):
10001 * arc-mode.el (archive-extract):
10002 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10003
b27640fe
JB
100042011-07-05 Juanma Barranquero <lekktu@gmail.com>
10005
10006 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10007 Fix check of `emacs-lock-unlockable-modes'.
10008 Coerce true values of `emacs-lock--try-unlocking' to t.
10009
53bbe3ad
JB
100102011-07-05 Juanma Barranquero <lekktu@gmail.com>
10011
10012 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10013 * emacs-lock.el: New file.
10014
1d3cdbc7
JD
100152011-07-05 Julien Danjou <julien@danjou.info>
10016
10017 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10018 than `boundp' to check if face is set.
10019
9173deec
JB
100202011-07-05 Juanma Barranquero <lekktu@gmail.com>
10021
10022 * register.el (registerv-make):
10023 * window.el (window-min-height): Fix typos in docstrings.
10024
869795d6
JD
100252011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10026
9173deec 10027 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10028 Update doc string.
10029
b768cdcd
JB
100302011-07-04 Juanma Barranquero <lekktu@gmail.com>
10031
10032 * server.el (server-execute): Catch quit and call
10033 `server-return-error' to pass the error back to emacsclient and
10034 close the connection (bug#8942).
10035
13aa217b
KM
100362011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10037
10038 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10039 insecure exception for current topic. Also note that auto-saves
10040 are handled differently.
10041
5d3385a0 10042 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10043 State variables for tracking auto-save inhibition situation.
10044
10045 (allout-write-contents-hook-handler): Rename from
10046 'allout-write-file-hook-handler', and describe how it depends on
10047 write-contents-functions sensitivity to non-nil value to prevent
10048 file write.
10049
10050 (allout-auto-save-hook-handler): Remove. auto-save does not check
10051 this in individual buffers, only in the starting buffer, so this
10052 is not the right way for us to inhibit auto-save in a buffer
10053 according to its condition.
10054
10055 (allout-mode): Use new allout-write-contents-hook-handler, and
10056 only with write-contents-functions. Remove auto-save provisions -
10057 they're implemented elsewhere.
10058
10059 (allout-before-change-handler): If undo is in progress, note that
10060 for attention of allout-post-command-business.
10061
10062 (allout-post-command-business): If the command we're following was
10063 an undo, check for change in the status of encrypted items and
10064 adjust auto-save inhibitions accordingly.
10065
10066 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10067 according to whether there are or aren't any plain-text topics
10068 pending encryption.
10069
2dcdbdd9 10070 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10071 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10072 if there are plain-text topics pending encryption.
13aa217b
KM
10073
10074 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10075 buffer-saved-size and some allout state to not inhibit auto-saves
10076 if there are no longer any plain-text topics pending encryption.
10077
0757af94
SM
10078 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10079 No longer provide for exemption of the current topic.
13aa217b 10080
ac89b32c
JL
100812011-07-04 Juri Linkov <juri@jurta.org>
10082
10083 Add 7z operations to delete and save changed members (bug#8968).
10084 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10085 New defcustoms.
10086 (archive-7z-write-file-member): New function.
10087 (archive-7z-summarize): Fix the number of dashes in the
10088 listing output.
10089
8fa39615
SM
100902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10091
10092 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10093 (bug#8958).
10094
2f11b3f1
CY
100952011-07-04 Chong Yidong <cyd@stupidchicken.com>
10096
d66fef2b
CY
10097 * bindings.el: Ignore next-buffer and previous-buffer in
10098 minibuffer-local-map.
10099
2f11b3f1
CY
10100 * font-lock.el (font-lock-builtin-face): Change light background
10101 color to dark slate blue (Bug#6693).
10102
f932a347
WD
101032011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10104
10105 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10106
c8af70e1
SM
101072011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10108
10109 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10110 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10111 Add switch-to-buffer.
10112
f158badc
LMI
101132011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10114
10115 * isearch.el (isearch-search-fun-function): Clarify further the
10116 meaning of the function returned.
10117
6d95bd46
MA
101182011-07-04 Michael Albinus <michael.albinus@gmx.de>
10119
10120 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10121
10122 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10123 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10124 Use it.
10125 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10126 `tramp-default-remote-path' does not exist.
10127 (tramp-send-command-and-read): New optional argument NOERROR.
10128 (tramp-open-connection-setup-interactive-shell)
10129 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10130 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10131 (tramp-process-sentinel): Flush also process' connection property.
10132 (tramp-sh-handle-start-file-process): Do not set process
10133 sentinel. It is done now ...
10134 (tramp-maybe-open-connection): ... here. (Bug#8929)
10135
909e6b67
MK
101362011-07-04 MON KEY <monkey@sandpframing.com>
10137
10138 * play/animate.el (animate-string): Doc fixes and allow changing
10139 the buffer name (bug#5417).
10140
101412011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10142
c8af70e1 10143 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10144
f34755dc
PE
101452011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10146
396cec72
PE
10147 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10148 This is simpler and helps future-proof the code.
10149 (timer-until): Use time-subtract and float-time.
08235028 10150 (timer--time-less-p): Use time-less-p.
f34755dc 10151
56e6cc31
JB
101522011-07-04 Juanma Barranquero <lekktu@gmail.com>
10153
3abb79e5
JB
10154 * type-break.el (timep): Use the value of `float-time' to avoid a
10155 byte-compiler warning.
10156
56e6cc31
JB
10157 * server.el (server-eval-and-print): Return any result, even nil.
10158
7b9430b4
PE
101592011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10160
10161 * type-break.el: Accept time formats that the builtins accept.
10162 (timep, type-break-time-difference): Accept any format that
10163 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10164 This is simpler and helps future-proof the code.
10165 (type-break-time-difference): Round rather than ignoring
10166 subseconds components.
10167
3034e9e7
LMI
101682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10169
10170 * info.el (Info-apropos-matches): Make non-interactive, since it
10171 doesn't seem to do anything useful as a command (bug#8829).
10172
1485f4c0
CY
101732011-07-03 Chong Yidong <cyd@stupidchicken.com>
10174
10175 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10176 Move from faces.el.
1485f4c0
CY
10177 (frame-default-terminal-background): New function.
10178
10179 * custom.el (custom-push-theme): Don't record faces in `changed'
10180 theme; this doesn't work correctly for per-frame face settings.
10181 (disable-theme): Use face-set-after-frame-default to reset faces.
10182 (custom--frame-color-default): New function.
10183
9fa3dd45
LMI
101842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10185
c8af70e1 10186 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10187 (bug#8769).
10188
6cbbc20c
KR
101892011-03-29 Kevin Ryde <user42@zip.com.au>
10190
10191 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10192 `perl-Test2' extend to match possible "fail #N" rep count
10193 (bug#8377).
10194
c7f98048
LMI
101952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10196
65676592
LMI
10197 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10198 `smtpmail-via-smtp' now returns the error instead of nil.
10199
c7f98048
LMI
10200 * isearch.el (isearch-search-fun-function): Clarify the doc string
10201 (bug#8101).
10202
56e6cc31 102032011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10204
10205 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10206 unnecessary spaces (bug#8987).
10207
2b216704
LMI
102082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10209
10210 * net/network-stream.el (open-network-stream): Use the
10211 :end-of-capability command thoughout.
10212
102132011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10214
10215 * net/network-stream.el (open-network-stream): Add the
10216 :end-of-capability command parameter, used by pop3.el.
10217
36adf6ce
LMI
102182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10219
1ca0da0e
LMI
10220 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10221
fc00f69c
LMI
10222 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10223 for list)" (bug#6475).
10224
28fd8759 10225 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10226 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10227 an error (bug#6297).
10228
0dd8b6da
LMI
10229 * man.el (Man-reference-regexp): Allow matching possible
10230 word-wrapped references (bug#6289).
10231
ce1438d6
LMI
10232 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10233 for consistency with the other vc buffers (bug#6197).
10234 (vc-checkin): Ditto.
10235
10236 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10237
36adf6ce
LMI
10238 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10239
e83cc1f7
LMI
102402011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10241
8a20ca4c
LMI
10242 * custom.el (defcustom): Clarify that :set is only used in the
10243 Customize user interface (bug#6089).
10244
83319045
LMI
10245 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10246 associated with a file, refuse to run instead of erroring out
10247 (bug#6084).
10248
a8392169
LMI
10249 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10250 the doc string, since it appears that using `fill-column' always
10251 controls the width (bug#7845).
10252
e83cc1f7
LMI
10253 * simple.el (shell-command-on-region): Say where the error output
10254 went if `shell-command-default-error-buffer' is set (bug#6857).
10255
e47ca23b
KM
102562011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10257
10258 * allout.el (allout-yank-processing): Adjust cursor position for
10259 backwards-deleted space.
10260
10261 (allout-rebullet-heading): Register changes with
10262 allout-exposure-changed-hook, so the modified topic is properly
10263 decorated.
10264
5cf56143
LMI
102652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10266
08549772
LMI
10267 * minibuffer.el (completion-in-region): Document PREDICATE
10268 (bug#7136).
10269
48e96771
LMI
10270 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10271 of keyword/argument pairs (bug#6904).
10272
c8af70e1
SM
10273 * replace.el (multi-occur):
10274 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10275
e17d05e2
LMI
102762011-07-02 Drew Adams <drew.adams@oracle.com>
10277
10278 * dired.el (dired-mark-if): Make the message about whether it's
10279 marking or unmarking clearer (bug#8523).
10280
063b0e45
LMI
102812011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10282
10283 * disp-table.el (display-table-print-array): New function.
10284 (describe-display-table): Use it to print the vectors more pretty
10285 (Bug#8859).
10286
28545e04
MR
102872011-07-02 Martin Rudalics <rudalics@gmx.at>
10288
10289 * window.el (window-state-get-1): Don't assign clone numbers.
10290 Add clone-of item to list of window parameters.
10291 (window-state-put-2): Don't process clone numbers.
10292 (display-buffer-alist): Fix doc-string.
10293
3349e122
SM
102942011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10295
10296 * subr.el (remq): Don't allocate if it's not needed.
10297 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10298 (keymap--merge-bindings): New functions.
10299 (keymap-canonicalize): Use them to refine the canonicalization.
10300 * minibuffer.el (minibuffer-local-completion-map)
10301 (minibuffer-local-must-match-map): Move initialization from C.
10302 (minibuffer-local-filename-completion-map): Move initialization from C;
10303 don't inherit from anything here.
10304 (minibuffer-local-filename-must-match-map): Make obsolete.
10305 (completing-read-default): Use make-composed-keymap to combine
10306 minibuffer-local-filename-completion-map with either
10307 minibuffer-local-must-match-map or
10308 minibuffer-local-filename-completion-map.
10309
d224ac83
GM
103102011-07-01 Glenn Morris <rgm@gnu.org>
10311
3de63bf8
GM
10312 * type-break.el (type-break-time-sum): Use dolist.
10313
d224ac83
GM
10314 * textmodes/flyspell.el (flyspell-word-search-backward):
10315 Replace CL function.
10316
1a1e3f32
SM
103172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10318
fe3f64d5
SM
10319 * mouse.el (mouse--strip-first-event): New function.
10320 (function-key-map): Use it to map fringe clicks to normal clicks
10321 by default.
10322
eb604e34
SM
10323 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10324 (vc-bzr-revision-completion-table): Add support for annotate and date.
10325
1a1e3f32
SM
10326 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10327 inherit from parent.
10328
5bd35902
LMI
103292011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10330
ace6c69c 10331 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10332 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10333
191e2bed
LMI
10334 * dired.el (dired-mode): Fix up the doc string as suggested by
10335 Drew Adams (bug#8817).
10336
5bd35902
LMI
10337 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10338 cookie, since the manual says that it should be possible to add
10339 this function to `find-file-hook' (bug#8709).
10340
eee8207a
TZ
103412011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10342
10343 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10344 here. Noted Ted Zlatanov as the maintainer.
10345 (cfengine-common-settings, cfengine-common-syntax): New functions
10346 to set up common things between `cfengine-mode' and
10347 `cfengine3-mode'.
10348 (cfengine3-mode): New mode.
10349 (cfengine3-defuns cfengine3-defuns-regex
10350 (cfengine3-class-selector-regex cfengine3-category-regex)
10351 (cfengine3-vartypes cfengine3-font-lock-keywords)
10352 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10353 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10354
36b148cf
MA
103552011-07-01 Michael Albinus <michael.albinus@gmx.de>
10356
10357 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10358
10359 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10360
0bf4ba9a
MR
103612011-07-01 Martin Rudalics <rudalics@gmx.at>
10362
10363 * window.el (same-window-buffer-names, same-window-regexps)
10364 (same-window-p, special-display-frame-alist)
10365 (special-display-popup-frame, special-display-function)
10366 (special-display-buffer-names, special-display-regexps)
10367 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10368 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10369 (split-window-preferred-function, split-height-threshold)
10370 (split-width-threshold, even-window-heights)
10371 (display-buffer-mark-dedicated, window-splittable-p)
10372 (split-window-sensibly, window-safely-shrinkable-p):
10373 Un-obsolete.
10374 (display-buffer): Don't spread args with function specifier
10375 because special-display-popup-frame won't like it.
10376
35837f51
PE
103772011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10378
d0672f86
PE
10379 Time-stamp simplifications and fixes.
10380 These improve accuracy slightly, and future-proof the code
10381 against some potential changes to current-time format.
10382
b9444d97
PE
10383 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10384 by using time-since and float-time.
10385
0ef923dc
PE
10386 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10387 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10388 + NNN microseconds".
10389
2f81380d
PE
10390 * type-break.el (type-break-time-sum): Rewrite using time-add.
10391
845b5c3e
PE
10392 * play/hanoi.el (hanoi-current-time-float): Remove.
10393 All uses replaced by float-time.
10394
ee6f1be0
PE
10395 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10396 This yields a more-accurate answer.
10397 (rng-time-to-float): Remove; no longer needed.
10398
fe955043
PE
10399 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10400
5777162a
PE
10401 * calendar/timeclock.el (timeclock-seconds-to-time):
10402 Defalias to seconds-to-time, since they're the same thing.
10403
3103f8b6 10404 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10405 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10406 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10407
0e61a35f
SM
104082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10409
10410 * window.el (bury-buffer): Don't iconify the only frame.
10411 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10412 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10413
ddd63a1e
CY
104142011-07-01 Chong Yidong <cyd@stupidchicken.com>
10415
0e61a35f
SM
10416 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10417 Add mouse-yank-primary.
ddd63a1e 10418
055f4923
TZ
104192011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10420
10421 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10422
6a2fb145
SM
104232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10424
10425 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10426 (find-library-name): Use it to find relative load names when provided
10427 absolute file name (bug#8803).
10428
fd4983f2
LMI
104292011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10430
887d14ad
LMI
10431 * textmodes/flyspell.el (flyspell-word): Consider words that
10432 differ only in case as potential doublons (bug#5687).
10433
c53dc7fc
LMI
10434 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10435 Remove two rather uninteresting debugging-like messages to make
10436 debbugs.el more silent.
10437
fd4983f2
LMI
10438 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10439 a password-like phrase.
10440
7a71b18d 104412011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10442
10443 * progmodes/cc-guess.el: New file.
10444
6a2fb145 10445 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10446
10447 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10448 derived from `c-basic-common-init'.
10449
10450 * progmodes/cc-mode.el (top-level): Require cc-guess.
10451 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10452
1fa280a3
LM
104532011-06-30 Lawrence Mitchell <wence@gmx.li>
10454
10455 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10456
e6597158
AM
104572011-06-30 Alan Mackenzie <acm@muc.de>
10458
1fa280a3
LM
10459 * progmodes/cc-engine.el (c-guess-continued-construct):
10460 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10461 lock is disabled. Name this case as "CASE G".
10462
68ba37fb
KM
104632011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10464
10465 * allout.el (allout-yank-processing): Fix injection of extra space
10466 between bullet and non-whitespace character in first topic when
10467 pasting, ensuring that the actual spacing in the pasted topic
10468 following the bullet char is preserved. This extra space was
10469 causing pasted encrypted topics to get a decrypted status even
10470 when the content was actually still encrypted. Now the decryption
10471 status from before the paste is preserved.
10472
10473 (allout-flag-region): Set all allout overlays so they evaporate
10474 when reduced to zero length (evanescent), to prevent overlay
10475 leakage.
10476
887a0b34
GM
104772011-06-30 Glenn Morris <rgm@gnu.org>
10478
94b9acce
GM
10479 * w32-fns.el (w32-charset-info-alist): Declare.
10480
1d9b46d4
GM
10481 * find-dired.el (find-grep-options): Simplify.
10482
cc232200
GM
10483 * term/ns-win.el (ns-set-resource): Declare.
10484
28e77c46
GM
10485 * ses.el (row, col): Declare dynamic variables honestly.
10486
887a0b34
GM
10487 * textmodes/reftex-parse.el (index-tags): Declare.
10488
658d8eb8
CY
104892011-06-30 Chong Yidong <cyd@stupidchicken.com>
10490
10491 * cus-edit.el (customize-push-and-save): New function.
10492
10493 * files.el (hack-local-variables-confirm): Use it.
10494
1fa280a3
LM
10495 * custom.el (load-theme): New arg NO-CONFIRM.
10496 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10497 (custom-enabled-themes): Doc fix.
10498
10499 * cus-theme.el (customize-create-theme)
10500 (custom-theme-merge-theme): Callers to load-theme changed.
10501
bb617717
LMI
105022011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10503
d61bdd5d
LMI
10504 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10505 short URLs have at least one dot in them (bug #7614).
10506
bb617717
LMI
10507 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10508 nil, because using a pty is apparently too slow (bug #895).
10509
2f31f37a
LMI
105102011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10511
10512 * mail/sendmail.el (sendmail-query-once): New function.
10513 (sendmail-query-once-function): New variable.
10514
3076b24e
GM
105152011-06-29 Glenn Morris <rgm@gnu.org>
10516
faf2a174
GM
10517 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10518
3076b24e
GM
10519 * ses.el (top-level): Require cl when compiling.
10520 (ses-set-localvars): Fix error statement.
10521 Call it at compile time to silence a storm of warnings.
10522
5386012d
MR
105232011-06-29 Martin Rudalics <rudalics@gmx.at>
10524
10525 * window.el (normalize-live-buffer): Rename to
10526 window-normalize-buffer.
10527 (normalize-live-frame): Rename to window-normalize-frame.
10528 (normalize-any-window): Rename to window-normalize-any-window.
10529 (normalize-live-window): Rename to window-normalize-live-window.
10530 (make-window-atom): Rename to window-make-atom.
10531 (window-resize-reset): Rename to window--resize-reset.
10532 (window-resize-reset-1): Rename to window--resize-reset-1.
10533 (resize-mini-window): Rename to window--resize-mini-window.
10534 (resize-subwindows-skip-p): Rename to
10535 window--resize-subwindows-skip-p.
10536 (resize-subwindows-normal): Rename to
10537 window--resize-subwindows-normal.
10538 (resize-subwindows): Rename to window--resize-subwindows.
10539 (resize-other-windows): Rename to window--resize-siblings.
10540 (resize-this-window): Rename to window--resize-this-window.
10541 (resize-root-window): Rename to window--resize-root-window.
10542 (resize-root-window-vertically): Rename to
10543 window--resize-root-window-vertically.
10544 (normalize-buffer-to-display): Rename to
10545 window-normalize-buffer-to-display.
10546 (normalize-buffer-to-switch-to): Rename to
10547 window-normalize-buffer-to-switch-to.
10548 Correspondingly update all callers of the functions listed
10549 above.
10550 (display-buffer-alist, display-buffer-normalize-arguments)
10551 (display-buffer-normalize-options, display-buffer)
10552 (display-buffer-alist-set): Use "function" instead of
10553 "fun-with-args".
10554
1176868d
CY
105552011-06-28 Chong Yidong <cyd@stupidchicken.com>
10556
10557 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10558 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10559 debbugs.gnu.org. Mention acknowledgment email.
10560
20a7a65f
LMI
105612011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10562
10563 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10564 buffer multibyteness, since it shouldn't matter.
10565
5f45cca5
MR
105662011-06-28 Martin Rudalics <rudalics@gmx.at>
10567
10568 * window.el (display-buffer-in-side-window): Handle dedicated
10569 windows as in display-buffer-reuse-window.
10570 (display-buffer-normalize-alist): Use value of override
10571 specifier.
10572 (display-buffer-normalize-specifiers): Use value of
10573 other-window-means-other-frame specifier.
10574 (display-buffer-alist): Rewrite some texts in widgets.
10575 (display-buffer): Spread arguments when calling function
10576 specified by fun-with-args.
10577
ad85fe1f
DD
105782011-06-28 Deniz Dogan <deniz@dogan.se>
10579
1fa280a3
LM
10580 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10581 Unnest `let'.
da68c4c8 10582
ad85fe1f
DD
10583 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10584 selectors (Bug#5732).
ec49bd31 10585 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10586
a08cc025
JA
105872011-06-27 Jari Aalto <jari.aalto@cante.net>
10588
10589 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10590 (eshell-ls-date-format): New defcustom.
10591 (eshell-ls-file): Use it.
10592
e2b551c5
SM
105932011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10594
10595 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10596
8982b231
KY
105972011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10598
10599 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10600 (ange-ftp-make-tmp-name): New arg.
10601 (ange-ftp-file-local-copy): Use it.
10602
36c9fa27
J
106032011-06-27 Jambunathan K <kjambunathan@gmail.com>
10604
10605 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10606 no-conversion (Bug#8870).
10607
d68443dc
MR
106082011-06-27 Martin Rudalics <rudalics@gmx.at>
10609
10610 * window.el (window-right, window-left, window-child)
10611 (window-child-count, window-last-child)
10612 (window-iso-combination-p, walk-window-tree-1)
10613 (window-atom-check-1, window-tree-1, delete-window)
10614 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10615 new naming conventions - window-vchild, window-hchild,
10616 window-next and window-prev are now called window-top-child,
10617 window-left-child, window-next-sibling and window-prev-sibling
10618 respectively.
d615d6d2
MR
10619 (resize-window-reset): Rename to window-resize-reset.
10620 (resize-window-reset-1): Rename to window-resize-reset-1.
10621 (resize-window): Rename to window-resize.
10622 (window-min-height, window-min-width)
10623 (resize-mini-window, resize-this-window, resize-root-window)
10624 (resize-root-window-vertically, adjust-window-trailing-edge)
10625 (enlarge-window, shrink-window, maximize-window)
10626 (minimize-window, delete-window, quit-restore-window)
10627 (split-window, balance-windows, balance-windows-area-adjust)
10628 (balance-windows-area, window-state-put-2)
10629 (display-buffer-even-window-sizes, display-buffer-set-height)
10630 (display-buffer-set-width, set-window-text-height)
10631 (fit-window-to-buffer): Rename all "resize-window" prefixed
10632 calls to use the "window-resize" prefix convention.
10633 (display-buffer-alist): Fix symbol for label specifier.
10634 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10635 corresponding specifier.
10636 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10637
b6458526
VB
106382011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10639
10640 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10641 convention.
10642 (ses-call-printer): Does not pass an empty string to formatter when the
10643 cell is empty to keep from barking printer Calc math-format-value.
10644
d31fd9ac
RS
106452011-06-27 Richard Stallman <rms@gnu.org>
10646
43d5bf84
RS
10647 * battery.el (battery-mode-line-limit): New variable.
10648 (battery-update): Handle it.
10649
d31fd9ac
RS
10650 * mail/rmailmm.el (rmail-mime-process-multipart):
10651 Handle truncated messages.
10652
819a6054
GM
106532011-06-27 Glenn Morris <rgm@gnu.org>
10654
10655 * progmodes/flymake.el (flymake-err-line-patterns):
10656 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10657
cedc73f2
VB
106582011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10659
819a6054 10660 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10661 (ses--clean-!, ses--clean-_): New functions.
10662 (ses-range): Add configurability of readout order, and conversion
10663 to Calc vector.
10664
5e5d49b6
VB
10665 * ses.el (ses-repair-cell-reference-all): New function.
10666 (ses-cell-symbol): Set macro as safe, so that it can be used in
10667 formulas.
10668
56e6cc31 10669 * ses.el: Update cycle detection algorithm.
90ca8b49 10670 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10671 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10672 (ses-set-localvars): New function.
10673 (ses-make-cell): Add property-list as a cell element.
10674 (ses-cell-property-get-fun, ses-cell-property-get)
10675 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10676 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10677 New functions.
90ca8b49
VB
10678 (ses-cell-property-set, ses-cell-property-pop)
10679 (ses-cell-property-get-handle): New macro.
10680 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10681 New aliases, used for code readability.
10682 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10683 cycle detection.
10684 (ses-self-reference-early-detection): New defcustom.
fac916bf 10685 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10686 (ses-mode): Use ses-set-localvars.
10687 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10688 before lauching the update processing.
10689 (ses-initialize-Dijkstra-attempt): New function.
10690 (ses-recalculate-cell): Update for cycle detection based on
10691 Dijkstra algorithm.
10692
2bb63e81
VB
10693 * ses.el: Fix commenting and indenting convention.
10694
c9d29fb8
SM
106952011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10696
10697 * bs.el (bs-cycle-next): Complete last change.
10698
d8e4b68b
JB
106992011-06-27 Drew Adams <drew.adams@oracle.com>
10700
10701 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10702
40098786
LMI
107032011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10704
c9d29fb8
SM
10705 * net/network-stream.el (network-stream-open-starttls):
10706 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10707 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10708
40098786
LMI
10709 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10710 to binary to possibly avoid line encoding issues on Windows (among
10711 other things).
10712
468d09d4
LMI
107132011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10714
10715 * net/network-stream.el (open-network-stream): Return an :error
10716 saying what the problem was, if possible.
10717
10718 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10719 server.
10720
10721 * net/network-stream.el (network-stream-open-starttls): If we
10722 wanted to use STARTTLS, and the server offered it, but we weren't
10723 able to because we had no STARTTLS support, then close the connection.
10724 (open-network-stream): Return an :error element, if present.
10725
16f07dd7
CY
107262011-06-26 Chong Yidong <cyd@stupidchicken.com>
10727
88821ca0
CY
10728 * hl-line.el (hl-line-sticky-flag): Doc fix.
10729 (global-hl-line-sticky-flag): New option (Bug#8323).
10730 (global-hl-line-highlight): Obey it.
10731
16f07dd7
CY
10732 * vc/vc.el (vc-revert-show-diff): Default to t.
10733
6b5ccddf
KM
107342011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10735
c9d29fb8
SM
10736 * allout-widgets.el (allout-widgets-post-command-business):
10737 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10738 undecorated when an isearch is continued past, and isearch
10739 automatically collapses them. This leads to "widget leaks", where
10740 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10741 hidden widgets can slow down cursor travel, substantially.
10742 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10743 so we're doing without this nicety.
10744
10745 (allout-widgets-tally-string): Don't try to do a hash-table-count
10746 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10747 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10748 *Messages* when allout-widgets-maintain-tally is t.
10749
355f2e07
MR
107502011-06-26 Martin Rudalics <rudalics@gmx.at>
10751
10752 * window.el (display-buffer-normalize-argument): Rename to
10753 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10754 LABEL argument. Respect special-display-function when popping up
10755 a new frame. Fix code searching for a window showing the buffer
10756 on another frame.
c9d29fb8
SM
10757 (display-buffer-normalize-specifiers):
10758 Call display-buffer-normalize-arguments.
355f2e07
MR
10759 (display-buffer-in-window): Don't undedicate the window if its
10760 buffer remains the same.
10761 Reported by Drew Adams <drew.adams@oracle.com>.
10762 (display-buffer-alist): Add choice for same-window macro
10763 specfier.
10764 (display-buffer): Mention special meaning of LABEL argument in
10765 doc-string. Fix quoting. Don't pop up a new frame even as
10766 fallback.
10767
7ca8fc42
JB
107682011-06-26 Juanma Barranquero <lekktu@gmail.com>
10769
10770 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10771 avoid deleting the current window in some cases (bug#8911).
10772
bc312254
AS
107732011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10774
10775 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10776 (Bug#8934)
10777
2db18f3f
LMI
107782011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10779
c9d29fb8
SM
10780 * net/network-stream.el (network-stream-open-starttls):
10781 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10782 (network-stream-open-tls): Ditto.
10783
6302e0d3
LL
107842011-06-26 Leo Liu <sdl.web@gmail.com>
10785
10786 * register.el (registerv): New struct.
10787 (registerv-make): New function.
c9d29fb8
SM
10788 (jump-to-register, describe-register-1, insert-register):
10789 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10790 struct. (Bug#8415)
10791
5fdd4046
CY
107922011-06-26 Chong Yidong <cyd@stupidchicken.com>
10793
2afef60a
CY
10794 * vc/vc.el (vc-revert-show-diff): New defcustom.
10795 (vc-diff-internal): New arg specifying diff buffer.
10796 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10797 reuse an existing *vc-diff* buffer (Bug#8927).
10798
5fdd4046
CY
10799 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10800
e93db24a
GM
108012011-06-26 Glenn Morris <rgm@gnu.org>
10802
10803 * progmodes/f90.el (f90-critical-indent): New option.
10804 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10805 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10806 (f90-mode): Doc fix.
10807 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10808 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10809 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10810 (f90-match-end): Handle block, critical.
10811
eefff499
GM
108122011-06-25 Glenn Morris <rgm@gnu.org>
10813
f6ba4cc9
GM
10814 * calendar/diary-lib.el (diary-included-files): Doc fix.
10815 (diary-include-files): New function, extracted from
10816 diary-include-other-diary-files and diary-mark-included-diary-files.
10817 (diary-include-other-diary-files, diary-mark-included-diary-files):
10818 Just call diary-include-files.
10819 (diary-mark-entries): Reset diary-included-files on first call.
10820
16712304
GM
10821 * calendar/diary-lib.el (diary-mark-entries)
10822 (diary-mark-included-diary-files):
10823 Visit included diary-files in temp buffers.
10824
5d8e0d43
GM
10825 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10826 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10827 (f90-start-block-re, f90-imenu-generic-expression)
10828 (f90-looking-at-program-block-start, f90-no-block-limit):
10829 Add support for submodules.
10830
ccf7a5d5
GM
10831 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10832 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10833
11fdef7d 108342011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10835
10836 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10837 buffer-file-type before setting its value, to avoid disastrous
eefff499 10838 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10839
74f53697
JB
108402011-06-25 Juanma Barranquero <lekktu@gmail.com>
10841
10842 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10843
10844 * ses.el (ses-unload-function):
10845 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10846
10847 * proced.el (proced-unload-function):
10848 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10849
18a4ce5e
AR
108502011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10851
10852 * server.el (server-create-window-system-frame): Add parameters arg.
10853 (server-process-filter): Doc fix. Handle frame-parameters.
10854
519d22cc
JB
108552011-06-25 Juanma Barranquero <lekktu@gmail.com>
10856
10857 Fix bug#8730, bug#8781.
10858
10859 * loadhist.el (unload--set-major-mode): New function.
10860 (unload-feature): Use it.
10861
10862 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10863 (python-unload-function): New function.
10864
c206f5b0
SM
108652011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10866
10867 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10868
f9ad64f3
GS
108692011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10870
10871 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10872 the candidates list.
10873
7d0da90e
JB
108742011-06-24 Juanma Barranquero <lekktu@gmail.com>
10875
10876 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10877
14b4e83d
RS
108782011-06-23 Richard Stallman <rms@gnu.org>
10879
10880 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10881 (rmail-variables): Set next-error-move-function.
10882 (rmail-what-message): Take argument POS.
10883 (rmail-next-error-move): New function.
10884
273d2baf
SM
108852011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10886
10887 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10888 messages for adjacent non-terminals.
10889
56c2cc9a
RS
108902011-06-23 Richard Stallman <rms@gnu.org>
10891
10892 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10893 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10894 (rmail-start-mail): Don't specify use of rmail-mail-return;
10895 that's done by mail-bury now.
10896 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10897
d59eb518
MA
108982011-06-23 Michael Albinus <michael.albinus@gmx.de>
10899
10900 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10901 SIZE is a number.
10902
02cfc6d6
MR
109032011-06-23 Martin Rudalics <rudalics@gmx.at>
10904
10905 * window.el (get-lru-window, get-mru-window)
10906 (get-largest-window): Never return a minibuffer window.
10907 (display-buffer-pop-up-window): Fix a bug that could lead to
10908 reusing the minibuffer window.
10909 (display-buffer): Pass original specifier argument to
10910 display-buffer-function instead of the normalized one.
10911 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10912
4e323265
LL
109132011-06-22 Leo Liu <sdl.web@gmail.com>
10914
10915 * minibuffer.el (completing-read-function)
10916 (completing-read-default): Move from minibuf.c
10917
7a70468f
RS
109182011-06-22 Richard Stallman <rms@gnu.org>
10919
50718fc2
RS
10920 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10921 to Rmail even if not started by a special Rmail command.
10922
7a70468f
RS
10923 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10924 Copy the buffer currently showing just one message.
10925
297dde5a
RW
109262011-06-22 Roland Winkler <winkler@gnu.org>
10927
10928 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10929 (bibtex-clean-entry): First delete the old key so that a
10930 customized algorithm for generating the new key does not get
10931 confused by the old key.
10932 (bibtex-url): Obey regexp of first step.
10933 (bibtex-search-entries): Do not use add-to-list with local
10934 list-var.
10935
97bb1093
LMI
109362011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10937
10938 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10939 stored a user name, then query for the password first, instead of
10940 waiting for SMTP to give an error message and the trying again.
10941
1c0f1a19
JD
109422011-06-22 Lawrence Mitchell <wence@gmx.li>
10943
10944 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10945 BUFFER in call-process.
10946
396f7c9d
LMI
109472011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10948
10949 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10950 QUIT twice.
ddb7ffee
LMI
10951 (smtpmail-try-auth-methods): Require user name and password from
10952 auth-source.
396f7c9d 10953
8998d1b3
MR
109542011-06-22 Martin Rudalics <rudalics@gmx.at>
10955
10956 * window.el (display-buffer-default-specifiers)
10957 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10958 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10959 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10960
10961 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10962 (special-display-frame-alist, special-display-popup-frame):
10963 Remove duplicate declarations. These are now in window.el.
10964
4ea31e07
LMI
109652011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10966
c9d29fb8
SM
10967 * mail/smtpmail.el (smtpmail-via-smtp):
10968 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10969 server supports it. SMTP servers that support STARTTLS commonly
10970 require it.
10971
10972 * net/network-stream.el (network-stream-open-starttls): Support
10973 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10974 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10975
95f41d9a
LMI
10976 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10977 upgrades with `open-network-stream', and rely solely on
10978 auth-source for all credentials. Big changes throughout the file,
10979 but in particular:
c9d29fb8
SM
10980 (smtpmail-auth-credentials): Remove.
10981 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10982 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10983 MAIL FROM, too.
95f41d9a 10984
c9d29fb8
SM
10985 * net/network-stream.el (network-stream-open-starttls):
10986 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10987 STARTTLS.
10988 (auth-source): Require.
10989 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10990 (network-stream-certificate): Change cert-cert to cert and
10991 cert-key to key.
4ea31e07 10992
065ec2c7
MA
109932011-06-21 Michael Albinus <michael.albinus@gmx.de>
10994
10995 * net/tramp-cache.el (top): Don't load the persistency file when
10996 "emacs -Q" has been called.
10997
cd93b359
DR
109982011-06-21 Tim Harper <timcharper@gmail.com>
10999
d8e4b68b
JB
11000 * term/ns-win.el (ns-initialize-window-system):
11001 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11002 resource to NO as it is not yet supported by the NS port.
11003
ae9c0411
JB
110042011-06-21 Juanma Barranquero <lekktu@gmail.com>
11005
11006 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11007 (list-dynamic-libraries): ...not here.
11008
7f3f739f
LL
110092011-06-21 Leo Liu <sdl.web@gmail.com>
11010
11011 * subr.el (sha1): Implement sha1 using secure-hash.
11012
327c8fb1
MR
110132011-06-21 Martin Rudalics <rudalics@gmx.at>
11014
11015 * window.el (display-buffer-alist): In default value do not
11016 enforce searching a window on any but the selected frame.
11017 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11018 (display-buffer-select-window): Remove function.
11019 (display-buffer-in-window): When a window on another frame gets
11020 reused, do not select it any more but just raise its frame if
11021 necessary (Bug#8851) and (Bug#8856).
11022 (display-buffer-normalize-options): Handle pop-up-frames related
11023 options more faithfully.
11024 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11025 window if it is on another frame.
c9d29fb8
SM
11026 (display-buffer-alist, display-buffer-default-specifiers):
11027 Don't make new frame unsplittable by default.
9e9de014
MR
11028 (display-buffer-normalize-argument): Fix doc-string typo and use
11029 'same-frame-other-window instead of 'other-window when associating
11030 with display-buffer-macro-specifiers.
327c8fb1 11031
7cf3f556
VB
110322011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11033
11034 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11035 New functions.
11036 (5x5-mode-map, 5x5-mode-menu): Bind them.
11037 (5x5-draw-grid): Tweak the solver's rendering.
11038
60a406cf
SM
110392011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11040
11041 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11042 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11043
d8e4b68b 110442011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11045
11046 * menu-bar.el: Use function variable instead of switch-to-buffer.
11047 (menu-bar-select-buffer-function): New variable.
60a406cf 11048 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11049
478d6f95
SM
110502011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11051
11052 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11053 variable's status.
11054
ca530739
JD
110552011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11056
11057 * x-dnd.el (x-dnd-version-from-flags)
11058 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11059 and long as number (Bug#8899).
11060 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11061
bcd70d97
SM
110622011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11063
60a406cf 11064 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11065 (completion-try-completion, completion-all-completions): Compute the
11066 metadata argument if it's missing; make it optional (bug#8795).
11067
60a406cf 11068 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11069 (widget-complete): Use new :completion-function property.
11070 (widget-completions-at-point): New function.
11071 (default): Use :completion-function instead of :complete.
60a406cf
SM
11072 (widget-default-completions): Rename from widget-default-complete;
11073 Rewrite.
bcd70d97
SM
11074 (widget-string-complete, widget-file-complete, widget-color-complete):
11075 Remove functions.
11076 (file, symbol, function, variable, coding-system, color):
11077 * international/mule-cmds.el (default-input-method, charset)
11078 (language-info-custom-alist):
11079 * cus-edit.el (face): Use new property :completions.
11080
11081 * progmodes/pascal.el (pascal-completions-at-point): New function.
11082 (pascal-mode): Use it.
11083 (pascal-mode-map): Use completion-at-point.
11084 (pascal-toggle-completions): Make obsolete.
11085 (pascal-complete-word, pascal-show-completions):
11086 * progmodes/octave-mod.el (octave-complete-symbol):
11087 Redefine as obsolete alias.
11088 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11089 Signal absence of completion info for old Octave,
11090 (inferior-octave-complete): Redefine as obsolete alias.
11091 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11092 (meta-completions-at-point): Rename from meta-complete-symbol and
11093 adapt it for use on completion-at-point-functions.
11094 (meta-common-mode): Use it.
11095 (meta-looking-at-backward, meta-match-buffer): Remove.
11096 (meta-complete-symbol): Redefine as obsolete alias.
11097 (meta-common-mode-map): Use completion-at-point.
11098 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11099 (makefile-mode-map): Use completion-at-point.
11100 (makefile-completions-at-point): Rename from makefile-complete and
11101 adapt it for use on completion-at-point-functions.
11102 (makefile-mode): Use it.
11103 (makefile-complete): Redefine as obsolete alias.
11104
aebf69c8
DD
111052011-06-20 Deniz Dogan <deniz@dogan.se>
11106
11107 * net/rcirc.el: Delete trailing whitespaces once and for all.
11108
bfbbb27d
DC
111092011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11110
11111 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11112
d264a46b
CY
111132011-06-19 Chong Yidong <cyd@stupidchicken.com>
11114
4ca009e5
CY
11115 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11116
d264a46b
CY
11117 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11118
fbf5b3ce
MR
111192011-06-19 Martin Rudalics <rudalics@gmx.at>
11120
11121 * window.el (display-buffer-other-window-means-other-frame):
11122 Call display-buffer-normalize-alist.
11123 (display-buffer-normalize-specifiers-1): Rename to
11124 display-buffer-normalize-argument. New argument other-frame.
11125 Rewrite.
11126 (display-buffer-normalize-specifiers-2): Rename to
11127 display-buffer-normalize-options.
11128 (display-buffer-normalize-alist-1): New function.
11129 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11130 display-buffer-normalize-alist.
11131 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11132 (display-buffer-normalize-options-inhibit): New variable.
11133 (display-buffer-normalize-specifiers): Rewrite calling
11134 display-buffer-normalize-alist,
11135 display-buffer-normalize-argument, and
11136 display-buffer-normalize-options. Don't call the latter if
11137 display-buffer-normalize-options-inhibit is non-nil.
11138 (frame-auto-delete): New option.
11139 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11140 (window-list-no-nils, window-state-ignored-parameters)
11141 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11142 (window-state-put-1, window-state-put-2, window-state-put):
11143 New functions.
9a028c23
MR
11144 (display-buffer-normalize-options): Move special-display-p group
11145 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11146
6d10d800
CY
111472011-06-18 Chong Yidong <cyd@stupidchicken.com>
11148
6420d28b
CY
11149 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11150 groups (Bug#8776).
11151 (rx-submatch-n): New function.
11152 (rx): Document it.
11153
ddb8b596
CY
11154 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11155 (Bug#8768).
11156
11157 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11158
77080289
CY
11159 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11160
61dfb316
CY
11161 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11162 anytime existing face settings are present (Bug#8889).
11163
6d10d800
CY
11164 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11165 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11166 Remove unused argument.
11167
be3fb2b8
MR
111682011-06-18 Martin Rudalics <rudalics@gmx.at>
11169
bcd70d97
SM
11170 * window.el (display-buffer-default-specifiers):
11171 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11172 pop-up-window-min-width, and another reuse-window specifier
11173 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11174 (display-buffer-normalize-specifiers-2):
11175 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11176 pop-up-windows is unset. Add a reuse-window specifier for the
11177 case popping up a new window fails.
11178 (special-display-popup-frame): Remove double quoting.
28dec25a 11179 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11180
1c6d8c76
SM
111812011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11182
11183 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11184 according to comint-completion-addsuffix.
11185
11186 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11187 (pcomplete-suffix-list): Mark as obsolete.
11188 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11189 pcomplete-seen in the closure.
11190 (pcomplete-comint-setup): Setup completion-at-point as well.
11191 (pcomplete--entries): New function.
11192 (pcomplete--env-regexp): New var.
11193 (pcomplete-entries): Rewrite to work with partial-completion and
11194 without relying on pcomplete-suffix-list.
11195 (pcomplete-pare-list): Remove, unused.
11196
25aef8b8
MR
111972011-06-17 Martin Rudalics <rudalics@gmx.at>
11198
11199 * window.el (display-buffer-alist): Set pop-up-window-min-height
11200 and pop-up-window-min-width in default value. Reported by
11201 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11202 other-window-means-other-frame.
11203 (display-buffer-macro-specifiers): Comment out entry for
11204 other-window specifier.
11205 (display-buffer-other-window-means-other-frame): New function.
11206 (display-buffer-normalize-specifiers-1): New arguments
11207 buffer-name and label. Treat other-window case specially.
11208 (display-buffer-normalize-specifiers-2): Treat other-window case
11209 specially.
11210 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11211 (display-buffer-normalize-specifiers):
11212 Call display-buffer-normalize-specifiers-3.
25aef8b8 11213
dbad4f69
MR
112142011-06-17 Martin Rudalics <rudalics@gmx.at>
11215
11216 * window.el (same-window-p): Fix two typos introduced when
11217 adding with-no-warnings.
d1067961
MR
11218 (display-buffer-normalize-specifiers-1): Don't check
11219 pop-up-frames for 'unset initialization.
11220 (display-buffer-normalize-specifiers-2): Major rewrite using
11221 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11222 (pop-up-frames, display-buffer-reuse-frames)
11223 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11224 Suggested by David Engster <deng@randomsample.de>.
11225 (even-window-heights): Initialize to 'unset.
11226 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11227 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11228 other window case.
dbad4f69 11229
9b9c9e3a
MR
112302011-06-16 Martin Rudalics <rudalics@gmx.at>
11231
bcd70d97
SM
11232 * window.el (display-buffer-normalize-specifiers-1):
11233 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11234 second argument of display-buffer (Bug#8865).
981d5c09
MR
11235 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11236 (switch-to-buffer-other-window-same-frame)
11237 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11238 Adams (Bug#8875).
9c2755e9
MR
11239 (display-buffer): Don't check noninteractive when calling
11240 display-buffer-pop-up-frame.
11241 (display-buffer-pop-up-frame): Never pop up a frame in
11242 noninteractive mode (Bug#8857).
67222e1d
MR
11243 (enlarge-window, shrink-window): Don't report an error when the
11244 window can't be resized as requested (Bug#8862).
9b9c9e3a 11245
2b75be67
SM
112462011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11247
9ffdd3ba
SM
11248 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11249
cb581a67
SM
11250 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11251
2b75be67
SM
11252 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11253
8c0e3589
AM
112542011-06-15 Alan Mackenzie <acm@muc.de>
11255
cb581a67
SM
11256 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11257 for declarators, disable knr checking to speed up for normal files.
11258 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11259
b96e6cde
LMI
112602011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11261
4bba86e6
LMI
11262 * net/network-stream.el (open-network-stream): Add the keyword
11263 :always-query-capabilities for the case where you want to force a
11264 `plain' network connection, but the protocol still requires the
11265 capabilitiy command (i.e., SMTP and EHLO).
11266
2b75be67 11267 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11268 consistency with other `-live-p' functions.
11269
efdcdbf8
SM
112702011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11271
11272 * window.el (same-window-buffer-names, same-window-regexps)
11273 (special-display-frame-alist, special-display-popup-frame)
11274 (special-display-function, special-display-buffer-names)
11275 (special-display-regexps, pop-up-frame-alist)
11276 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11277 (pop-up-windows, split-window-preferred-function)
11278 (split-height-threshold, split-width-threshold, even-window-heights)
11279 (display-buffer-mark-dedicated): Don't encourage the use of
11280 display-buffer-alist from Elisp code.
11281
c5cde042
DN
112822011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11283
11284 * progmodes/python.el (python-mode): Derive from prog-mode.
11285 * progmodes/ps-mode.el (ps-mode):
11286 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11287 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11288 * progmodes/ld-script.el (ld-script-mode): Likewise.
11289
baa1c9ab
MR
112902011-06-15 Martin Rudalics <rudalics@gmx.at>
11291
11292 * window.el (display-buffer-alist): Trim default value to avoid
11293 popping up a new frame (Bug#8857) or reusing an arbitrary window
11294 on another frame.
11295 (display-buffer): Do not fall back on popping up a new frame in
11296 batch mode (Bug#8857).
11297
c5dd5a51
CY
112982011-06-14 Chong Yidong <cyd@stupidchicken.com>
11299
11300 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11301 (custom-theme-summary): New function.
11302 (customize-themes): Use it.
11303
d647b7c4
GM
113042011-06-13 Glenn Morris <rgm@gnu.org>
11305
11306 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11307
9481c002
MR
113082011-06-13 Martin Rudalics <rudalics@gmx.at>
11309
357f93d2
MR
11310 * help.el (help-window): Remove variable.
11311 (help-window-point-marker, temp-buffer-max-height)
11312 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11313 (help-print-return-message): Don't set help-window.
11314 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11315 (help-window-setup-finish): Remove.
11316 (help-window-display-message, help-window-setup)
11317 (with-help-window): Major rewrite based on new
11318 display-buffer-window variable.
11319
11320 * help-mode.el (help-mode-finish): Remove help-window related
11321 code.
11322
11323 * view.el (view-exits-all-viewing-windows): Remove reference to
11324 view-return-to-alist in doc-string.
11325 (view-return-to-alist): Make obsolete.
11326 (view-buffer): Call pop-to-buffer-same-window and remove
11327 undo-window code.
11328 (view-buffer-other-window): Call pop-to-buffer-other-window and
11329 simplify code. Ignore second argument.
11330 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11331 simplify code. Ignore second argument.
11332 (view-return-to-alist-update): Make obsolete.
11333 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11334 Rewrite using quit-restore window parameters.
2b75be67
SM
11335 (view-mode-exit): Rename second argument to EXIT-ONLY.
11336 Rewrite using quit-restore-window.
357f93d2
MR
11337 (View-exit, View-exit-and-edit, View-leave, View-quit)
11338 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11339 appropriate arguments.
11340 (view-end-message): Use quit-restore window parameter.
11341
9481c002
MR
11342 * window.el (display-buffer-function): Rewrite doc-string.
11343 (display-buffer-window, display-buffer-alist): New variables.
11344 (display-buffer-split-specifiers)
11345 (display-buffer-side-specifiers)
11346 (display-buffer-macro-specifiers): New constants.
11347 (display-buffer-even-window-sizes, display-buffer-set-height)
11348 (display-buffer-set-width, display-buffer-select-window)
11349 (display-buffer-in-window, display-buffer-reuse-window)
11350 (display-buffer-split-window-1, display-buffer-split-window)
11351 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11352 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11353 (display-buffer-in-side-window, normalize-buffer-to-display)
11354 (display-buffer-normalize-specifiers-1)
11355 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11356 (display-buffer-normalize-specifiers, display-buffer-frame):
11357 New functions.
9481c002
MR
11358 (display-buffer): Major rewrite.
11359 (display-buffer-other-window, display-buffer-other-frame)
11360 (pop-to-buffer, switch-to-buffer-other-window)
11361 (switch-to-buffer-other-frame): Rewrite.
11362 (display-buffer-same-window, display-buffer-same-frame)
11363 (display-buffer-same-frame-other-window)
11364 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11365 (pop-to-buffer-other-window)
11366 (pop-to-buffer-same-frame-other-window)
11367 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11368 (switch-to-buffer-other-window-same-frame): New functions.
11369 (same-window-p, special-display-p): Rewrite disabling warnings.
11370 Make obsolete.
11371 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11372 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11373 Make obsolete
11374 (same-window-buffer-names, same-window-regexps)
11375 (special-display-frame-alist, special-display-popup-frame)
11376 (special-display-function, special-display-buffer-names)
11377 (special-display-regexps, pop-up-frame-alist)
11378 (pop-up-frame-function, split-window-preferred-function)
11379 (split-height-threshold, split-width-threshold)
11380 (even-window-heights): Make obsolete.
11381
9db51aca
GM
113822011-06-12 Glenn Morris <rgm@gnu.org>
11383
11384 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11385 Misc simplifications.
9db51aca 11386
39cffb44
MR
113872011-06-12 Martin Rudalics <rudalics@gmx.at>
11388
11389 * window.el (window-safely-shrinkable-p): Restore function which
11390 was inadvertently removed in change from 2011-06-11. Declare as
11391 obsolete.
11392
2b75be67
SM
11393 * calendar/calendar.el (calendar-generate-window):
11394 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11395 window-safely-shrinkable-p.
11396
a8955be7
GM
113972011-06-12 Glenn Morris <rgm@gnu.org>
11398
11399 * progmodes/fortran.el (fortran-mode-syntax-table):
11400 * progmodes/f90.el (f90-mode-syntax-table):
11401 Set % to punctuation. (Bug#8820)
11402 (f90-find-tag-default): Remove, no longer needed.
11403
f0d4059d
DC
114042011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11405
11406 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11407
1100a63c
CY
114082011-06-11 Chong Yidong <cyd@stupidchicken.com>
11409
11410 * image.el (image-animated-p): Return animation delay in seconds.
11411 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11412 (image-animate-timeout): Remove DELAY argument. Don't assume
11413 every subimage has the same delay; get it from image-animated-p.
11414 (image-animate): Caller changed.
11415
def722bf
MA
114162011-06-11 Michael Albinus <michael.albinus@gmx.de>
11417
11418 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11419 to ignored backtrace functions.
11420
0a2bb1a9
GM
114212011-06-11 Glenn Morris <rgm@gnu.org>
11422
11423 * calendar/appt.el (appt-disp-window-function): Doc fix.
11424 (appt-check): Handle overlapping appointments. (Bug#8337)
11425
6198ccd0
MR
114262011-06-11 Martin Rudalics <rudalics@gmx.at>
11427
11428 * window.el (window-tree-1, window-tree): New functions, moving
11429 the latter to window.el.
11430 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11431 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11432 (bw-refresh-edges): Remove.
11433 (balance-windows-1, balance-windows-2): New functions.
11434 (balance-windows): Rewrite in terms of window tree functions,
11435 balance-windows-1 and balance-windows-2.
11436 (bw-adjust-window): Remove.
11437 (balance-windows-area-adjust): New function with functionality of
11438 bw-adjust-window but using resize-window.
2b75be67
SM
11439 (set-window-text-height): Rewrite doc-string.
11440 Use normalize-live-window and resize-window.
11441 (enlarge-window-horizontally, shrink-window-horizontally):
11442 Rename argument to DELTA.
6198ccd0
MR
11443 (window-buffer-height): New function.
11444 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11445 Rewrite using new window resize routines.
2b75be67
SM
11446 (kill-buffer-and-window, mouse-autoselect-window-select):
11447 Use ignore-errors instead of condition-case.
6198ccd0
MR
11448 (quit-window): Call delete-frame instead of delete-windows-on
11449 for the only buffer on frame.
11450
9397e56f
MR
114512011-06-10 Martin Rudalics <rudalics@gmx.at>
11452
11453 * loadup.el (top-level): Load window before files for the sake
11454 of replace-buffer-in-windows.
11455
11456 * files.el (read-buffer-to-switch)
11457 (switch-to-buffer-other-window)
2b75be67
SM
11458 (switch-to-buffer-other-frame, display-buffer-other-frame):
11459 Move to window.el.
9397e56f
MR
11460
11461 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11462 (previous-buffer): Move to window.el.
11463
11464 * bindings.el (unbury-buffer): Move to window.el.
11465
11466 * window.el (delete-other-windows-vertically): Move after
11467 definition of delete-other-windows.
11468 (other-window, delete-windows-on, replace-buffer-in-windows):
11469 Move here from window.c.
11470 (record-window-buffer, unrecord-window-buffer)
11471 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11472 (switch-to-next-buffer): New functions.
11473 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11474 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11475 (previous-buffer): Move here from simple.el.
11476 Call switch-to-prev-buffer.
9397e56f
MR
11477 (bury-buffer): Move here from buffer.c. Switch to previous
11478 buffer when window cannot be deleted.
11479 (unbury-buffer): Move here from bindings.el.
11480 (ctl-x-map): Move binding for other-window from window.c to
11481 here.
11482 (read-buffer-to-switch, switch-to-buffer-other-window)
11483 (switch-to-buffer-other-frame): Move here from files.el.
11484 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11485 (switch-to-buffer): Move here from buffer.c.
11486 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11487
562dd5e9
MR
114882011-06-10 Martin Rudalics <rudalics@gmx.at>
11489
11490 * window.el (window-min-height, window-min-width): Move here
11491 from window.c. Add defcustoms and rewrite doc-strings.
11492 (resize-mini-window, resize-window): New functions.
11493 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11494 Move here from window.c.
11495 (maximize-window, minimize-window): New functions.
11496 (delete-window, delete-other-windows, split-window): Move here
11497 from window.c.
11498 (window-split-min-size): New function.
11499 (split-window-keep-point): Mention split-window-above-each-other
11500 instead of split-window-vertically.
2b75be67 11501 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11502 Rename split-window-vertically to split-window-above-each-other
11503 and provide defalias for old definition.
11504 (split-window-side-by-side, split-window-horizontally):
11505 Rename split-window-horizontally to split-window-side-by-side
11506 and provide defalias for the old definition.
562dd5e9
MR
11507 (ctl-x-map): Move bindings for delete-window,
11508 delete-other-windows and enlarge-window here from window.c.
11509 Replace bindings for split-window-vertically and
11510 split-window-horizontally by bindings for
11511 split-window-above-each-other and split-window-side-by-side.
11512
11513 * cus-start.el (all): Remove entries for window-min-height and
11514 window-min-width. Add entries for window-splits and
11515 window-nest.
11516
f0da764a
GM
115172011-06-09 Glenn Morris <rgm@gnu.org>
11518
80675c21
GM
11519 * calendar/appt.el (appt-mode-line): New function.
11520 (appt-check, appt-disp-window): Use it.
11521
f0da764a
GM
11522 * files.el (hack-one-local-variable-eval-safep):
11523 Allow minor-modes with explicit +/-1 arguments.
11524
59f623b7
TZ
115252011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11526
11527 * term/xterm.el (xterm): Add defgroup.
11528 (xterm-extra-capabilities): Add defcustom to supply known xterm
11529 capabilities, skip querying them, or query them (default).
11530 (terminal-init-xterm): Use it.
11531 (terminal-init-xterm-modify-other-keys): New function to set up
11532 modifyOtherKeys support to simplify `terminal-init-xterm'.
11533
9aab8e0d
MR
115342011-06-09 Martin Rudalics <rudalics@gmx.at>
11535
11536 * window.el (resize-window-reset, resize-window-reset-1)
11537 (resize-subwindows-skip-p, resize-subwindows-normal)
11538 (resize-subwindows, resize-other-windows, resize-this-window)
11539 (resize-root-window, resize-root-window-vertically)
11540 (window-deletable-p, window-or-subwindow-p)
11541 (frame-root-window-p): New functions.
11542
e8b08aee
GM
115432011-06-09 Glenn Morris <rgm@gnu.org>
11544
11545 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11546 (ange-ftp-get-files): Use it.
11547
254c37a5
AK
115482011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11549
11550 * mail/sendmail.el (mail-recover-1, mail-recover):
11551 * files.el (recover-file, recover-session):
11552 Handle dired-listing-switches not being just a single short option.
11553
35d7dbd3
GM
115542011-06-09 Glenn Morris <rgm@gnu.org>
11555
11556 * calendar/appt.el (appt-display-message, appt-disp-window):
11557 Handle lists of appointments.
11558
387522b2
MR
115592011-06-08 Martin Rudalics <rudalics@gmx.at>
11560
2b75be67
SM
11561 * window.el (one-window-p): Move down in code.
11562 Rewrite doc-string.
11563 (window-current-scroll-bars): Rewrite doc-string.
11564 Normalize live window argument.
387522b2
MR
11565 (walk-windows, get-window-with-predicate, count-windows):
11566 Rewrite doc-string. Use window-list-1.
11567 (window-in-direction-2, window-in-direction, get-mru-window):
11568 New functions.
11569
d8e4b68b 115702011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11571
11572 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11573 Doc fix (Bug#8713).
11574
115752011-06-08 Chong Yidong <cyd@stupidchicken.com>
11576
11577 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11578
115792011-06-08 Juanma Barranquero <lekktu@gmail.com>
11580
11581 * loadhist.el (unload-feature-special-hooks):
11582 Add `comint-output-filter-functions'.
11583
0de12c52
IK
115842011-06-08 Ivan Kanis <gnu@kanis.fr>
11585
11586 * calendar/appt.el (appt-check): Move some initializations into the let.
11587
f3d1777e
MR
115882011-06-08 Martin Rudalics <rudalics@gmx.at>
11589
11590 * window.el (window-height): Defalias to window-total-height.
11591 (window-width): Defalias to window-body-width.
11592
18af70d0
CY
115932011-06-07 Chong Yidong <cyd@stupidchicken.com>
11594
11595 * image-mode.el (image-toggle-animation): New command.
11596 (image-mode-map): Bind it to RET.
11597 (image-mode): Update message.
11598 (image-toggle-display-image): Avoid a spurious cache flush.
11599 (image-transform-rotation): Doc fix.
11600 (image-transform-properties): Return quickly in the normal case.
11601 (image-animate-loop): Rename from image-animate-max-time.
11602
2b75be67 11603 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11604 (create-animated-image): Remove unnecessary function.
11605 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11606 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11607 (image-animate-timer): Use car-safe.
11608 (image-animate-timeout): Rename argument.
11609
190b47e6
MR
116102011-06-07 Martin Rudalics <rudalics@gmx.at>
11611
11612 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11613 window.c. Rename first argument to ALL-FRAMES.
11614 Rephrase doc-strings.
11615 (get-buffer-window-list): Rewrite using window-list-1.
11616 Rephrase doc-string.
a1511caf
MR
11617 (window-safe-min-height, window-safe-min-width): New constants.
11618 (window-size-ignore, window-min-size, window-min-size-1)
11619 (window-sizable, window-sizable-p, window-size-fixed-1)
11620 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11621 (window-max-delta-1, window-max-delta, window-resizable)
11622 (window-resizable-p, window-total-height, window-total-width)
11623 (window-body-width): New functions.
11624 (window-full-height-p, window-full-width-p): Rewrite using
11625 window-total-size.
11626 (window-body-height): Rewrite using window-body-size.
190b47e6 11627
85cc1f11
MR
116282011-06-06 Martin Rudalics <rudalics@gmx.at>
11629
11630 * window.el (window-right, window-left, window-child)
11631 (window-child-count, window-last-child, window-any-p)
11632 (normalize-live-buffer, normalize-live-frame)
11633 (normalize-any-window, normalize-live-window)
11634 (window-iso-combination-p, window-iso-combined-p)
11635 (window-iso-combinations)
11636 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11637 (windows-with-parameter, window-with-parameter)
11638 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11639 (window-atom-check, window-side-check, window-check):
11640 New functions.
85cc1f11
MR
11641 (ignore-window-parameters, window-sides, window-sides-vertical)
11642 (window-sides-slots): New variables.
11643 (window-size-fixed): Move down in code. Minor doc-string fix.
11644
e7156492
AS
116452011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11646
11647 * comint.el (comint-dynamic-complete-as-filename)
11648 (comint-dynamic-complete-filename): Correctly call
11649 completion-in-region.
11650
7e821d0d
DD
116512011-06-05 Deniz Dogan <deniz@dogan.se>
11652
11653 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11654 in last change.
11655
ac09b8a1
DD
116562011-06-05 Deniz Dogan <deniz@dogan.se>
11657
11658 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11659 (rcirc): Use it to prompt for encryption.
11660
34699b85
RW
116612011-06-05 Roland Winkler <winkler@gnu.org>
11662
11663 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11664 (bibtex-search-entries): New command bound to C-c C-a.
11665 (bibtex-display-entries): New function.
11666
004dedd3
RW
116672011-06-05 Roland Winkler <winkler@gnu.org>
11668
11669 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11670 (bibtex-insert-kill): After yanking insert newline if necessary.
11671 (bibtex-initialize): Call bibtex-string-files-init only once.
11672 (bibtex-mode): Do not call easy-menu-add.
11673 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11674 (bibtex-yank): Set arg properly if nil.
11675
022fe7ce
RW
116762011-06-05 Roland Winkler <winkler@gnu.org>
11677
2b75be67
SM
11678 * textmodes/bibtex.el (bibtex-search-entry-globally):
11679 New variable.
022fe7ce
RW
11680 (bibtex-search-entry): Use it.
11681
b7c3692a
RW
116822011-06-05 Roland Winkler <winkler@gnu.org>
11683
11684 * textmodes/bibtex.el (bibtex-entry-format): New option
11685 sort-fields.
11686 (bibtex-format-entry, bibtex-reformat): Honor this option.
11687 (bibtex-parse-entry): Return fields in proper order.
11688
8eda563d
JB
116892011-06-05 Juanma Barranquero <lekktu@gmail.com>
11690
11691 * doc-view.el (doc-view-remove-if): Move computation of result out
11692 of `dolist' to silence misleading lexical-binding warning.
11693
7dbe3dbc
CY
116942011-06-04 Chong Yidong <cyd@stupidchicken.com>
11695
11696 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11697 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11698
0c33dd17
MA
116992011-06-04 Michael Albinus <michael.albinus@gmx.de>
11700
11701 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11702 "SunOS 5.10".
11703
f8f91c2b
MA
117042011-06-04 Michael Albinus <michael.albinus@gmx.de>
11705
11706 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11707 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11708 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11709 (tramp-parse-putty):
11710 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11711 (tramp-completion-function-alist-ssh)
11712 (tramp-completion-function-alist-telnet)
11713 (tramp-completion-function-alist-su)
11714 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11715 cookie.
11716
11717 * net/tramp-ftp.el:
11718 * net/tramp-sh.el:
11719 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11720 load "tramp.el" `tramp-set-completion-function'.
11721
e17d9003
SM
117222011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * shell.el: Require and use pcomplete.
11725 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11726 (shell-completion-vars): Set pcomplete-default-completion-function.
11727
6c4cab03
DD
117282011-06-04 Deniz Dogan <deniz@dogan.se>
11729
11730 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11731 `memq' (Bug#8799).
11732
ea9fafe0
SM
117332011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11734
11735 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11736
b3e945d3
JB
117372011-06-02 Juanma Barranquero <lekktu@gmail.com>
11738
11739 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11740 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11741 * vc/log-view.el (log-view-beginning-of-defun):
11742 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11743 (smerge-refine-forward, smerge-refine-chopup-region):
11744 Silence warning for unused `dotimes' counter variables.
11745
7d520089
SM
117462011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * net/tramp.el (tramp-with-progress-reporter): Rename from
11749 with-progress-reporter. Use `declare'.
11750 * net/tramp-smb.el:
11751 * net/tramp-sh.el:
11752 * net/tramp-gvfs.el: Update all uses.
11753
a1c2400f
JB
117542011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11755
11756 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11757 buffer isn't killed before making it current.
11758
2403c841
SM
117592011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11760
11761 Silence various byte-compiler warnings.
11762 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11763 `access-type' and new obsolescence format.
11764 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11765 new format.
11766 (byte-compile-check-variable): New `access-type' argument.
11767 Only warn if the access-type is obsolete.
11768 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11769 (byte-compile-variable-set): Adjust callers.
11770 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11771 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11772 setting it as obsolete.
11773 * simple.el (minibuffer-completing-symbol):
11774 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11775 access as obsolete.
11776 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11777 obsolete yet.
11778 * international/quail.el (quail-mouse-choose-completion): Remove unused
11779 code referring to obsolete var.
11780 (quail-choose-completion-string): Remove.
11781 * server.el (server-clients-with, server-kill-buffer-query-function)
11782 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11783 * proced.el (proced-send-signal):
11784 * emacs-lisp/lisp.el (lisp-complete-symbol):
11785 Replace completion-annotate-function with completion-extra-properties.
11786
2462470b
SM
117872011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11788
fb5b2591
SM
11789 * simple.el (goto-line): Use read-number.
11790 (overriding-map-is-bound): Remove.
11791 (saved-overriding-map): Change default.
11792 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11793 Take the map as argument.
11794 (universal-argument, negative-argument, digit-argument): Use it.
11795 (restore-overriding-map): Adjust.
11796 (do-auto-fill): Use fill-forward-paragraph.
11797 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11798
fd6fa53f
SM
11799 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11800 (minibuffer-inactive-mode): New major mode.
11801 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11802 the *Messages* buffer" hack.
11803 (mouse-popup-menubar): Don't burp if the event is a normal key.
11804
2462470b
SM
11805 Miscellaneous tweaks.
11806 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11807 lexical scoping as in subr.el's dolist and dotimes.
11808 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11809 Silence compiler warning.
11810 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11811 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11812 * international/ccl.el (ccl-compile): Trivial simplification.
11813 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11814 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11815 `printflag' argument.
11816 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11817 Purecopy the whole obsolescence data.
11818
108bf785
LL
118192011-06-01 Leo Liu <sdl.web@gmail.com>
11820
11821 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11822 improve doc-string as suggested by Marco Pessotto
11823 <melmothx@gmail.com>.
11824 (rcirc-print): Fix last change.
11825
30a23501
SM
118262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11827
11828 * minibuffer.el (complete-with-action): Return nil for the metadata and
11829 boundaries of non-functional tables.
11830 (completion-table-dynamic): Return nil for the metadata.
11831 (completion-table-with-terminator): Add default case, using
11832 complete-with-action.
11833 (completion--metadata): New function.
11834 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11835 to try and avoid pathological performance problems.
11836 (completion--embedded-envvar-table): Return `category' metadata.
11837
bcd54f83
LMI
118382011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11839
11840 * subr.el (process-alive-p): New tiny convenience function.
11841
e227544d
SM
118422011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11843
11844 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11845 content but also its previous major mode.
11846
e8296fdc
HE
118472011-05-31 Helmut Eller <eller.helmut@gmail.com>
11848
4d61f28d 11849 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11850 *Backtrace* buffer when we exit with C-M-c.
11851
620c53a6
SM
118522011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11853
11854 * minibuffer.el: Add metadata method to completion tables.
11855 (completion-category-overrides): New defcustom.
11856 (completion-metadata, completion--field-metadata)
11857 (completion-metadata-get, completion--styles)
11858 (completion--cycle-threshold): New functions.
11859 (completion-try-completion, completion-all-completions):
11860 Add `metadata' argument to choose completion-styles.
11861 (completion--do-completion): Use metadata to choose cycling.
11862 (completion-all-sorted-completions): Use metadata for sorting.
11863 Remove :completion-cycle-penalty which is not needed any more.
11864 (completion--try-word-completion): Add `metadata' argument.
11865 (minibuffer-completion-help): Check metadata for annotation function
11866 and sorting.
11867 (completion-file-name-table): Return `category' metadata.
11868 (minibuffer-completing-file-name): Make obsolete.
11869 * simple.el (minibuffer-completing-symbol): Make obsolete.
11870 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11871 completion-try-completion.
11872
1257e755
SM
118732011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11874
11875 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11876
3767e706
LL
118772011-05-30 Leo Liu <sdl.web@gmail.com>
11878
11879 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11880 (rcirc-print): Decode all incoming messages (bug#8744).
11881 (rcirc-decode-coding-system): Allow value nil for automatic coding
11882 system detection.
3767e706 11883
d1a5d56a
GM
118842011-06-01 Glenn Morris <rgm@gnu.org>
11885
11886 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11887
e8cbec34
CY
118882011-05-29 Chong Yidong <cyd@stupidchicken.com>
11889
11890 * image.el (image-animate-max-time): Allow nil and t values.
11891 Default to nil.
11892 (create-animated-image): Doc fix.
11893 (image-animate-start): Remove second arg; just use
11894 image-animate-max-time.
11895 (image-animate-timeout): Doc fix. Args changed.
11896
11897 * image-mode.el (image-toggle-display-image): Ensure that the
11898 image spec passed to the animate timer is the same object as in
58179cce 11899 the buffer's display property (Bug#6981).
e8cbec34
CY
11900 (image-transform-properties): Doc fix.
11901
11902 * image.el (image-animate-max-time): Default to nil.
11903
159daf87
MR
119042011-05-29 Martin Rudalics <rudalics@gmx.at>
11905
11906 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11907 entire buffer list (Bug#8184).
11908
d66c4c7c
CY
119092011-05-29 Chong Yidong <cyd@stupidchicken.com>
11910
11911 * image.el (imagemagick-types-inhibit)
11912 (imagemagick-register-types): Doc fix.
11913
80aec780
DD
119142011-05-29 Deniz Dogan <deniz@dogan.se>
11915
11916 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11917 default.
11918
1dd3c2d9
CY
119192011-05-29 Chong Yidong <cyd@stupidchicken.com>
11920
11921 * select.el: Don't perform clipboard-manager saving in hooks;
11922 leave the hooks empty.
11923
60e56523
LL
119242011-05-28 Leo Liu <sdl.web@gmail.com>
11925
11926 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11927 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11928 (occur-edit-mode): New major mode (Bug#8463).
11929 (occur-after-change-function): New function.
11930 (occur-engine): Give Occur tags a read-only property.
11931
2b1e1a22
KR
119322011-05-28 Kevin Ryde <user42@zip.com.au>
11933
11934 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11935
5d344e88
CY
119362011-05-28 Chong Yidong <cyd@stupidchicken.com>
11937
8e6ca83d
CY
11938 * bindings.el (help-echo): Make the initial non-indicator dash
11939 empty on graphical terminals (Bug#7295).
11940
5d344e88
CY
11941 * files.el (auto-mode-alist): Move config rule after the
11942 in-stripping one (Bug#8547).
11943
bfbbace7
CY
11944 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11945
fbeba6e2
CY
11946 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11947 setting (Bug#8740).
11948
60ed8c72
AA
119492011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11950
4ac619f0
AA
11951 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11952 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11953 (Bug#8539).
60ed8c72 11954
23db196e
CY
119552011-05-28 Chong Yidong <cyd@stupidchicken.com>
11956
11957 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11958
5012f24c
DK
119592011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11960
11961 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11962 (hs-hide-block-at-point, hs-find-block-beginning)
11963 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11964 (Bug#8279).
11965
6a639b16
GM
119662011-05-28 Glenn Morris <rgm@gnu.org>
11967
11968 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11969
d43eaf2c
CY
119702011-05-28 Chong Yidong <cyd@stupidchicken.com>
11971
5199bde1
CY
11972 * help-fns.el (describe-function-1): If the function is a derived
11973 major mode, print the parent mode.
11974
d43eaf2c
CY
11975 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11976 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11977
423428a8
SM
119782011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11979
0ff8e1ba 11980 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11981 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11982 * progmodes/etags.el (tags-completion-at-point-function):
11983 * info-look.el (info-lookup-completions-at-point): Mark as
11984 non-exclusive.
11985 (info-complete): Adjust accordingly.
11986
423428a8
SM
11987 * info-look.el: Convert to lexical-binding and completion-at-point.
11988 (info-lookup-completions-at-point): New function.
11989 (info-complete): Use it and completion-in-region.
11990
b74aa22b
DA
119912011-05-28 Drew Adams <drew.adams@oracle.com>
11992
11993 * isearch.el: Let M-e start with point at the first mismatched char.
11994 (isearch-fail-pos): New function.
11995 (isearch-edit-string): Use it.
11996
66e2e71d
DK
119972011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11998
11999 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12000
b1890b0f 120012011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12002
12003 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12004 traversal functions for avl-trees.
12005 (avl-tree--stack): New struct.
12006 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12007 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12008 (avl-tree--do-enter): Add optional `updatefun' arg.
12009 Change return value.
eb95d01d 12010 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12011 (avl-tree--do-delete): Add `test' and `nilflag' args.
12012 Change return value.
eb95d01d
TC
12013 (avl-tree-member): Add optional `nilflag'
12014 (avl-tree-member-p): New function.
12015 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12016 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12017 (avl-tree-stack-empty-p): New functions.
12018
3769ddcf
TC
12019 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12020 avl-tree--del-balance1 and make it work both ways.
12021 (avl-tree--del-balance2): Remove.
12022 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12023 make it work both ways.
12024 (avl-tree--enter-balance2): Remove.
12025 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12026 New macros.
12027 (avl-tree--mapc, avl-tree-map): Add direction argument.
12028
eb95d01d 120292011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12030
12031 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12032
a9f737ee
CY
120332011-05-27 Chong Yidong <cyd@stupidchicken.com>
12034
12035 * select.el: Support clipboard managers with built-in function
12036 x-clipboard-manager-save, via delete-frame-functions and
12037 kill-emacs-hook.
12038 (xselect-convert-to-targets): Add MULTIPLE target to list.
12039 (xselect-convert-to-save-targets): New function.
12040
c92a1e54
KH
120412011-05-27 Kenichi Handa <handa@m17n.org>
12042
12043 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12044 let-binding rfc2047-encode-encoded-words to nil.
12045
e145f188
GM
120462011-05-27 Glenn Morris <rgm@gnu.org>
12047
5ec8a862
GM
12048 * mail/emacsbug.el: Don't require url-util.
12049
4b29d9fb
GM
12050 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12051
e145f188
GM
12052 * files.el (set-auto-mode):
12053 Also respect mode: entries at the end of the file. (Bug#8586)
12054
7d15102b
GM
120552011-05-26 Glenn Morris <rgm@gnu.org>
12056
98f593b8
GM
12057 * files.el (hack-local-variables-prop-line, hack-local-variables):
12058 Downcase mode names, as seems to be traditional.
27b48e63 12059 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12060
7d15102b
GM
12061 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12062 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12063
51d5b4ec
JD
120642011-05-25 Julien Danjou <julien@danjou.info>
12065
12066 * textmodes/rst.el (rst-define-level-faces): Do not define face
12067 symbol if it is already defined.
12068
91513f63
VB
120692011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12070
12071 * play/5x5.el (5x5-new-game, 5x5-randomize):
12072 Reset 5x5-solver-output to nil when a new grid is cast.
12073 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12074 these debugging traces, as defmacro breaks the compiled code.
12075
4d90d6d0
DK
120762011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12077
12078 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12079
e1b90ef6
LL
120802011-05-24 Leo Liu <sdl.web@gmail.com>
12081
12082 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12083 (vc-bzr-sha1): Adapt.
12084
d8e4b68b 12085 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12086
12087 * bindings.el: Provide sha1 feature.
12088
db0406bb 120892011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12090
12091 * mail/sendmail.el: Require `rfc2047'.
12092 (mail-insert-from-field): Do not perform RFC2047 encoding.
12093 (mail-encode-header): New function.
12094 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12095 buffer to the return value of select-message-coding-system.
12096 Call mail-encode-header.
b8d747b9
KH
12097
12098 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12099
db0406bb 121002011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12101
4d90d6d0
DK
12102 * mail/supercite.el (sc-default-cite-frame):
12103 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12104
eb8a5e9b
GM
121052011-05-24 Glenn Morris <rgm@gnu.org>
12106
f8630703
GM
12107 * progmodes/python.el (brm-menu): Declare.
12108
8831bbed
GM
12109 * emulation/viper.el (viper-set-hooks): Declare.
12110
eb8a5e9b
GM
12111 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12112 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12113 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12114 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12115 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12116 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12117
a2a25d24
SM
121182011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 Add an :exit-function for completion-at-point.
12121
12122 * minibuffer.el (completion--done): New fun.
12123 (completion--do-completion): Use it. New arg `expect-exact'.
12124 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12125 since completion--do-completion does it for us now.
12126 (minibuffer-force-complete): Use completion--done and
12127 completion--replace. Handle sole-completion case with more care.
12128 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12129 (completion-extra-properties): New var.
12130 (completion-annotate-function): Make obsolete.
12131 (minibuffer-completion-help): Adjust accordingly.
12132 Use completion-list-insert-choice-function.
12133 (completion-at-point, completion-help-at-point):
12134 Bind completion-extra-properties.
12135 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12136 * simple.el (completion-list-insert-choice-function): New var.
12137 (completion-setup-function): Preserve it.
12138 (choose-completion): Pay attention to it, shuffle the code a bit.
12139 (choose-completion-string): New arg `insert-function'.
12140
12141 * textmodes/bibtex.el: Convert to lexical binding.
12142 (bibtex-mode-map): Use completion-at-point.
12143 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12144 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12145 (bibtex-complete): Define as obsolete alias.
12146 (bibtex-complete-internal): Remove.
12147 (bibtex-format-entry): Remove unused sub-group in regexp.
12148 * shell.el (shell--command-completion-data)
12149 (shell-environment-variable-completion):
12150 * pcomplete.el (pcomplete-completions-at-point):
12151 * comint.el (comint--complete-file-name-data): Use :exit-function
12152 instead of completion-table-with-terminator so it also works for
12153 choose-completion.
12154
e44e373d
SM
121552011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12156
4f91a816
SM
12157 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12158
782fc819
SM
12159 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12160 (bug#8710).
12161
e44e373d
SM
12162 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12163
381987c3
KM
121642011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12165
12166 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12167 customization variable and implement: If non-nil, auto-fill will
12168 be inhibited while on topic's header line.
12169
b776bc70
VB
121702011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12171
12172 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12173 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12174 always have a solution in grid size = 5 cases.
12175 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12176 (5x5-solver-output, 5x5-log-buffer): New vars.
12177 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12178 Make these variables buffer local to achieve 5x5 multi-session-ness.
12179 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12180 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12181 (5x5-solve-suggest): New funs.
12182 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12183 randomize a grid so that we ensure that there is always a solution.
12184 (5x5-make-random-grid): Allow other movement than flipping.
12185
7de88b6e
KR
121862011-05-23 Kevin Ryde <user42@zip.com.au>
12187
12188 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12189 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12190 advice and passes PREDICATE.
12191
b1ef1257
SM
121922011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12193
bbca48fe
SM
12194 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12195 byte-compile-lambda if it's actually a lambda.
12196
b1ef1257
SM
12197 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12198 Fix function quoting. Use backquote better.
12199
92a9cc65
YS
122002011-05-22 Yuanle Song <sylecn@gmail.com>
12201
12202 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12203 matching (Bug#8516).
12204
f0fb8059
JA
122052011-01-22 Jari Aalto <jari.aalto@cante.net>
12206
12207 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12208 different face (Bug#8178).
12209
d5b44c93
CY
122102011-05-22 Chong Yidong <cyd@stupidchicken.com>
12211
12212 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12213 defface (Bug#8144).
12214
79106a44
SM
122152011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12216
9c848d8a
SM
12217 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12218 funcall as well (bug#8712). Warn when performing those conversions.
12219 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12220
79106a44
SM
12221 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12222
88dfa756
GM
122232011-05-22 Glenn Morris <rgm@gnu.org>
12224
12225 * files.el (hack-local-variables-prop-line): Small simplifications.
12226 (hack-local-variables, hack-local-variables-prop-line):
12227 If MODE-ONLY, return the mode, rather than just `t'.
12228
b7cf2c79
SM
122292011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12230
12231 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12232
3f1a8558
GM
122332011-05-21 Glenn Morris <rgm@gnu.org>
12234
7e4ccca3
GM
12235 * files.el (hack-local-variables-prop-line, hack-local-variables):
12236 If only interested in the mode, don't bother doing the other stuff.
12237
637d46ca
GM
12238 * image-mode.el (image-after-revert-hook):
12239 Redraw all frames on which the image is visible. (Bug#8567)
12240
973d955b
GM
12241 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12242
3f1a8558
GM
12243 * wid-edit.el (widget-checklist-match-inline):
12244 Fix 2011-04-19 change. (Bug#8649)
12245
96479927
SM
122462011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12247
1dcf791f
SM
12248 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12249 Also allow singlespace after single-letter capitals followed by a dot.
12250
96479927
SM
12251 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12252 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12253
35fd0881
N
122542011-05-20 Nix <nix@esperi.org.uk>
12255
12256 * files.el (basic-save-buffer-2):
12257 Fix handling of break-hardlink-on-save with non-existent files.
12258
82745640
DD
122592011-05-19 Deniz Dogan <deniz@dogan.se>
12260
12261 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12262 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12263
4a720484
GM
122642011-05-19 Glenn Morris <rgm@gnu.org>
12265
d1f21341
GM
12266 * progmodes/f90.el (f90-type-def-re):
12267 Handle "type, bind(c)". (Bug#8691)
12268
4a720484
GM
12269 * emacs-lisp/autoload.el (batch-update-autoloads):
12270 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12271
2fb0a219
MA
122722011-05-18 Michael Albinus <michael.albinus@gmx.de>
12273
12274 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12275 property for the correct connection in case of multihops.
12276
e565dd37
GM
122772011-05-18 Glenn Morris <rgm@gnu.org>
12278
c2571358 12279 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12280 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12281
e565dd37
GM
12282 Rationalize calendar handling of day and month abbrev-arrays.
12283 * calendar/calendar.el (calendar-customized-p): New function.
12284 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12285 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12286 Add :set function.
12287 (calendar-abbrev-length, calendar-day-abbrev-array)
12288 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12289 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12290 Elements may no longer be nil.
12291 (calendar-day-name, calendar-month-name):
12292 Update for changed nature of abbrev arrays.
12293 * calendar/diary-lib.el (diary-name-pattern):
12294 Update for changed nature of abbrev arrays.
12295 (diary-mark-entries-1): Update calendar-make-alist calls.
12296 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12297 * calendar/cal-html.el (cal-html-day-abbrev-array):
12298 Simply inherit from calendar-day-abbrev-array.
12299
1d99a745
SM
123002011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12301
12302 * progmodes/grep.el (grep-mode): Disable default
12303 compilation-directory-matcher setting (bug#8684).
12304
7c1d9aa0
MA
123052011-05-17 Michael Albinus <michael.albinus@gmx.de>
12306
12307 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12308 instead of "head" and "tail". There were problems with SunOS 5.9,
12309 and it performs better.
12310
3952e9d8
GM
123112011-05-17 Glenn Morris <rgm@gnu.org>
12312
2dd12e7f
GM
12313 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12314
e4157b9c
GM
12315 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12316 Replace obsolete function.
12317
8e249bbd
GM
12318 * shell.el (pcomplete-parse-arguments-function): Declare.
12319
3952e9d8
GM
12320 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12321 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12322 (appt-check): Doc fixes.
12323 (appt-disp-window-function, appt-delete-window-function):
12324 Remove needless special case in custom :type.
12325 (appt-display-count): Default to 0, not nil.
12326 (appt-check): Reset appt-display-count to 0, not nil.
12327
c71a0d48 123282011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12329
c71a0d48
GM
12330 * progmodes/python.el (python-font-lock-keywords):
12331 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12332
31d55be9
SM
123332011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12336
3bfacb2f
KR
123372011-05-16 Kevin Ryde <user42@zip.com.au>
12338
12339 * info-look.el (makefile-automake-mode): New setups, looking in
12340 automake manual, then makefile-mode.
12341 (makefile-mode): Remove automake manual, have it just in
12342 makefile-automake-mode since there's various things different or
12343 not relevant to plain make.
12344 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12345 believe a hypothetical automake-mode would go to makefile-mode,
12346 not the other way around.
12347
c8e83751
CY
123482011-05-15 Chong Yidong <cyd@stupidchicken.com>
12349
5e9e35cd
CY
12350 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12351 hunk-end tags (Bug#8672).
12352
c8e83751
CY
12353 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12354 vc-annotate-show-diff-revision-at-line (Bug#8671).
12355
50b23e5a
GM
123562011-05-14 Glenn Morris <rgm@gnu.org>
12357
7210a739
GM
12358 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12359 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12360 (change-log-font-lock-keywords): Also handle multiple author lines
12361 with leading tabs. (Bug#8644)
7210a739 12362
4691905a
GM
12363 * calendar/appt.el (appt-check): Rename some local variables.
12364 Some simplification/reordering.
12365
50b23e5a
GM
12366 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12367 (feedmail-sendmail-f-doesnt-sell-me-out)
12368 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12369 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12370 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12371 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12372 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12373 (feedmail-binmail-gnulinuxish-template):
12374 Rename from feedmail-binmail-linuxish-template.
12375 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12376 Use insert-buffer-substring.
12377
215cda7c
BC
123782011-05-14 Bill Carpenter <bill@carpenter.org>
12379
12380 * mail/feedmail.el (feedmail-patch-level): Increase.
12381 (feedmail-debug): New custom group.
12382 (feedmail-confirm-outgoing-timeout)
12383 (feedmail-sendmail-f-doesnt-sell-me-out)
12384 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12385 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12386 (feedmail-sender-line, feedmail-from-line)
12387 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12388 (feedmail-spray-this-address)
215cda7c
BC
12389 (feedmail-spray-address-fiddle-plex-list)
12390 (feedmail-queue-use-send-time-for-date)
12391 (feedmail-queue-use-send-time-for-message-id)
12392 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12393 (feedmail-buffer-eating-function):
12394 Doc fixes.
12395 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12396 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12397 (feedmail-message-action-scroll-down): New functions.
12398 (feedmail-queue-directory, feedmail-queue-draft-directory):
12399 Use expand-file-name.
12400 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12401 Remove C-v help entry.
12402 (feedmail-queue-buffer-file-name): New variable.
12403 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12404 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12405 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12406 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12407 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12408 (feedmail-message-action-toggle-spray)
12409 (feedmail-run-the-queue-no-prompts)
12410 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12411 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12412 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12413 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12414 (feedmail-envelope-deducer, feedmail-fiddle-from)
12415 (feedmail-fiddle-sender, feedmail-default-date-generator)
12416 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12417 (feedmail-fiddle-spray-address)
12418 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12419 (feedmail-fiddle-list-of-fiddle-plexes)
12420 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12421 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12422 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12423 Change default. Doc fix.
12424 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12425 (feedmail-binmail-linuxish-template): New constant.
12426 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12427 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12428 (feedmail-send-it): Add debug call.
12429 Use feedmail-queue-buffer-file-name, and
12430 feedmail-send-it-immediately-wrapper.
12431 (feedmail-message-action-send): Add debug call.
12432 Use feedmail-send-it-immediately-wrapper.
12433 (feedmail-queue-express-to-queue): Add debug call.
12434 Run feedmail-queue-express-hook.
12435 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12436 (feedmail-message-action-help-blat):
12437 Rename from feedmail-queue-send-edit-prompt-help-first.
12438 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12439 Check line-endings. Handle errors better.
12440 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12441 Doc fix. Add debug call.
12442 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12443 Use feedmail-queue-send-edit-prompt-inner.
12444 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12445 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12446 from feedmail-queue-send-edit-prompt.
12447 (feedmail-queue-send-edit-prompt-help)
12448 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12449 (feedmail-tidy-up-slug): Add debug call.
12450 Respect feedmail-queue-slug-suspect-regexp.
12451 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12452 (feedmail-dump-message-to-queue): Add debug call.
12453 Expand queue-directory.
12454 (feedmail-dump-message-to-queue): Change message slightly.
12455 Use feedmail-say-chatter.
12456 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12457 (feedmail-send-it-immediately-wrapper): New function.
12458 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12459 Insert empty string rather than newline. Handle full-frame case.
12460 Use catch/throw. Use feedmail-say-chatter.
12461 (feedmail-fiddle-from): Try mail-host-address.
12462 (feedmail-default-message-id-generator): Doc fix.
12463 Bind system-time-locale. Handle missing end.
12464 (feedmail-fiddle-x-mailer): Add debug call.
12465 Handle feedmail-x-mailer-line being nil.
12466 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12467 Add debug call. Use buffer-substring-no-properties.
12468 (feedmail-say-debug, feedmail-say-chatter): New functions.
12469 (feedmail-find-eoh): Give an explicit error.
12470
42c7e61e
UJ
124712011-05-13 Ulf Jasper <ulf.jasper@web.de>
12472
c2571358 12473 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12474 family from helvetica to sans.
c2571358 12475 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12476 etc/images/newsticker.
12477
c2571358 12478 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12479 family from helvetica to sans.
12480
12481 * net/newst-plainview.el (newsticker-new-item-face)
12482 (newsticker-old-item-face, newsticker-immortal-item-face)
12483 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12484 (newsticker-statistics-face): Change default family from
42c7e61e 12485 helvetica to sans.
c2571358 12486 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12487 etc/images/newsticker.
12488
5d3385a0
JB
12489 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12490 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12491 auto-marking.
12492
8497a297
DV
124932011-05-13 Didier Verna <didier@xemacs.org>
12494
12495 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12496 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12497 TODO entries.
8497a297
DV
12498 (lisp-lambda-list-keyword-parameter-indentation)
12499 (lisp-lambda-list-keyword-parameter-alignment)
12500 (lisp-lambda-list-keyword-alignment): New customizable user options.
12501 (lisp-indent-defun-method): Improve docstring.
12502 (extended-loop-p): Fix comment.
12503 (lisp-indent-lambda-list-keywords-regexp): New variable.
12504 (lisp-indent-lambda-list): New function.
12505 (lisp-indent-259): Use it.
12506 (lisp-indent-defmethod): Support for more than one
12507 method qualifier and properly indent methods lambda-lists.
12508 (defgeneric): Provide a missing common-lisp-indent-function property.
12509
f278f87f
SM
125102011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12511
12512 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12513 bounds for the empty string (bug#8667).
12514
5233edd7
GM
125152011-05-13 Glenn Morris <rgm@gnu.org>
12516
5237a44f
GM
12517 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12518
8340026c 12519 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12520 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12521
5233edd7 12522 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12523 (appt-time-msg-list): Doc fix.
a5464014 12524 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12525
92d10796
AS
125262011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12527
12528 * progmodes/ld-script.el (ld-script-keywords)
12529 (ld-script-builtins): Update keywords list.
12530
914a0ae1
SM
125312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12532
c89be45f
SM
12533 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12534
914a0ae1
SM
12535 * shell.el (shell-completion-vars): New function.
12536 (shell-mode):
12537 * simple.el (read-shell-command): Use it.
12538 (blink-matching-open): No need for " [...]" in minibuffer-message.
12539
98dc3df3
GM
125402011-05-12 Glenn Morris <rgm@gnu.org>
12541
12542 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12543 (appt-check): Simplify.
12544
d2fc7e3d 125452011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12546
4d61f28d 12547 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12548 literal "/dev/null".
12549
d2fc7e3d 125502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12551
12552 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12553 Fix typo.
12554
d2fc7e3d 125552011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12556
3f254caa
SM
12557 * progmodes/which-func.el (which-function):
12558 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12559 which might not be defined (Bug#8260).
12560
d45885f7
GM
125612011-05-12 Glenn Morris <rgm@gnu.org>
12562
12563 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12564 Let byte-compile-initial-macro-environment always take precedence.
12565
488086f4
SM
125662011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12567
12568 * net/rcirc.el: Add support for SSL/TLS connections.
12569 (rcirc-server-alist): New field `encryption'.
12570 (rcirc): Check `encryption' settings.
12571 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12572 Merge make-local-variable into `set'.
12573 (rcirc--connection-open-p): New function.
12574 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12575 the process is not a network process (e.g. running gnutls-cli).
12576 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12577 Make rcirc-(en|de)code-coding-system local here.
12578 (rcirc-mode): Merge make-local-variable into `set'.
12579 (rcirc-parent-buffer): Make permanent buffer-local.
12580 (rcirc-multiline-minor-mode): Don't do it here.
12581 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12582 there's no server buffer.
12583
7d3b9d44
GM
125842011-05-11 Glenn Morris <rgm@gnu.org>
12585
f64049c6
GM
12586 * newcomment.el (comment-kill): Prefix "unused" local.
12587
93c9df73
GM
12588 * term/w32console.el (get-screen-color): Declare.
12589
7d3b9d44
GM
12590 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12591 Handle symbol elements of byte-compile-initial-macro-environment.
12592
9e2dd53f
LL
125932011-05-10 Leo Liu <sdl.web@gmail.com>
12594
488086f4
SM
12595 * bookmark.el (bookmark-bmenu-mode-map):
12596 Bind bookmark-bmenu-search to `/'.
8b340240 12597
9e2dd53f 12598 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12599 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12600 (Footnote-unicode): New function.
12601 (footnote-style-alist): Add unicode style to the list.
12602 (footnote-style): Doc fix.
9e2dd53f 12603
79b70037
GM
126042011-05-10 Jim Meyering <meyering@redhat.com>
12605
12606 Fix doubled-word typos.
12607 * international/quail.el (quail-insert-kbd-layout): and and -> and
12608 * kermit.el: and and -> and
12609 * net/ldap.el (ldap-search-internal): to to -> to
12610 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12611 * progmodes/js.el (js-mode): and and -> and
12612 * textmodes/artist.el (artist-move-to-xy): at at -> at
12613 (artist-draw-region-trim-line-endings): if if -> if
12614 And Safetyc -> Safety.
12615 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12616
b8f82dc1 126172011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12618 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12619
12620 * files.el (hack-one-local-variable-eval-safep):
12621 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12622
4f99f44b
GM
126232011-05-10 Glenn Morris <rgm@gnu.org>
12624
12625 * calendar/diary-lib.el (diary-list-entries-hook)
12626 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12627 (diary-nongregorian-marking-hook, diary-list-entries)
12628 (diary-include-other-diary-files, diary-mark-entries)
12629 (diary-mark-included-diary-files): Doc fixes.
12630
84f29e6b
JB
126312011-05-09 Juanma Barranquero <lekktu@gmail.com>
12632
12633 * misc.el: Require tabulated-list.el during compilation.
12634
9bedd73a
CY
126352011-05-09 Chong Yidong <cyd@stupidchicken.com>
12636
488086f4
SM
12637 * progmodes/compile.el (compilation-start):
12638 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12639 (compilation-filter-hook): Doc fix.
12640
797c735c
DD
126412011-05-09 Deniz Dogan <deniz@dogan.se>
12642
12643 * wdired.el: Remove outdated installation comment. Fix usage
12644 comment.
12645
5f4b1dfe
JB
126462011-05-09 Juanma Barranquero <lekktu@gmail.com>
12647
12648 * misc.el: Implement new command `list-dynamic-libraries'.
12649 (list-dynamic-libraries--loaded-only-p): New variable.
12650 (list-dynamic-libraries--refresh): New function.
12651 (list-dynamic-libraries): New command.
12652
4c44026c
CY
126532011-05-09 Chong Yidong <cyd@stupidchicken.com>
12654
488086f4
SM
12655 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12656 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12657 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12658 higher priority to avoid clobbering by gnu.
12659
027f966d
CY
126602011-05-08 Chong Yidong <cyd@stupidchicken.com>
12661
12662 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12663 if the face has existing theme settings (Bug#8454).
12664
085f5d7d
CY
126652011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12666
488086f4
SM
12667 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12668 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12669
2a86a00c
RS
12670 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12671 special file names `.' and `..' (Bug#8259).
12672
d9c54a06
CY
126732011-05-08 Chong Yidong <cyd@stupidchicken.com>
12674
488086f4
SM
12675 * progmodes/grep.el (grep-mode-font-lock-keywords):
12676 Remove buffer-changing entries.
d9c54a06
CY
12677 (grep-filter): New function.
12678 (grep-mode): Add it to compilation-filter-hook.
12679
12680 * progmodes/compile.el (compilation-filter-hook)
12681 (compilation-filter-start): New defvars.
12682 (compilation-filter): Call compilation-filter-hook prior to
12683 updating the process mark.
12684
c4662635
SM
126852011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12688
b0512a1d
EZ
126892011-05-07 Eli Zaretskii <eliz@gnu.org>
12690
605c9376
EZ
12691 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12692 mailclient-send-it even if window-system is nil. (Bug#8595)
12693
c4662635
SM
12694 * term/w32console.el (terminal-init-w32console):
12695 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12696 background-mode. (Bug#8597)
12697
d1dc2cc2
SM
126982011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12699
12700 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12701 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12702 New functions.
12703 (defgeneric, eieio--defmethod): Use them.
12704 (eieio-defgeneric): Remove.
12705 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12706
915d1300
GM
127072011-05-07 Glenn Morris <rgm@gnu.org>
12708
a3961c3e
GM
12709 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12710 Use let rather than let*.
12711 (timeclock-find-discrep): Remove unused local.
12712
314347b9
GM
12713 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12714
915d1300
GM
12715 * calendar/appt.el (appt-time-msg-list): Doc fix.
12716
275b59b0
NF
127172011-05-06 Noah Friedman <friedman@splode.com>
12718
12719 * apropos.el (apropos-print-doc): Only use
12720 emacs-lisp-docstring-fill-column when it is bound to an integer,
12721 per that variable's documentation.
12722
6c19f744
SM
127232011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12724
12725 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12726 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12727
60f884b2
GM
127282011-05-06 Glenn Morris <rgm@gnu.org>
12729
5006e634
GM
12730 * calendar/appt.el (appt-message-warning-time): Doc fix.
12731 (appt-warning-time-regexp): New option.
12732 (appt-make-list): Respect appt-message-warning-time.
12733
548d0a63
GM
12734 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12735 New options.
12736 (diary-add-to-list): Strip comments from the displayed string.
12737 (diary-mode): Set comment-start and comment-end.
12738
60f884b2
GM
12739 * vc/diff-mode.el (smerge-refine-subst): Declare.
12740 (diff-refine-hunk): Don't require smerge-mode when compiling.
12741
989681bb
JB
127422011-05-06 Juanma Barranquero <lekktu@gmail.com>
12743
12744 * simple.el (list-processes): Return nil as the docstring says.
12745
a6bc05e1
MA
127462011-05-05 Michael Albinus <michael.albinus@gmx.de>
12747
12748 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12749 to "".
12750 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12751 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12752 determining of binary transfer. (Bug#7383)
12753
23c22e9a
MA
127542011-05-05 Michael Albinus <michael.albinus@gmx.de>
12755
c4662635
SM
12756 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12757 Fix port computation bug. (Bug#8618)
23c22e9a 12758
0bff894f
GM
127592011-05-05 Glenn Morris <rgm@gnu.org>
12760
b8296902
GM
12761 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12762
1f522ce8
GM
12763 * simple.el (shell-dynamic-complete-functions)
12764 (comint-dynamic-complete-functions): Declare.
12765
cf5bee67
GM
12766 * net/network-stream.el (gnutls-negotiate):
12767 * simple.el (tabulated-list-print): Fix declarations.
12768
12769 * progmodes/gud.el (syntax-symbol, syntax-point):
12770 Remove unnecessary and incorrect declarations.
12771
0bff894f
GM
12772 * emacs-lisp/check-declare.el (check-declare-scan):
12773 Handle byte-compile-initial-macro-environment in bytecomp.el
12774
9869b3ae
SM
127752011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 Fix earlier half-done eieio-defmethod change (bug#8338).
12778 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12779 Streamline and change calling convention.
12780 (defmethod): Adjust accordingly and simplify.
12781 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12782 new eieio--defmethod.
12783 (slot-boundp): Minor CSE simplification.
12784
9c1d5ac5
MZ
127852011-05-05 Milan Zamazal <pdm@zamazal.org>
12786
12787 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12788 (glasses-make-readable): Use glasses-separate-capital-groups.
12789
455c834e
JB
127902011-05-05 Juanma Barranquero <lekktu@gmail.com>
12791
12792 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12793 (warning-series): Doc fix.
12794 (display-warning): Don't try to create the buffer if we just found it.
12795
9ed7c8cb
CY
127962011-05-04 Chong Yidong <cyd@stupidchicken.com>
12797
12798 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12799 (autoload-find-generated-file): New function.
12800 (generate-file-autoloads): Bind generated-autoload-file to
12801 buffer-file-name.
9869b3ae
SM
12802 (update-file-autoloads, update-directory-autoloads):
12803 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12804 output file (Bug#7989).
12805 (batch-update-autoloads): Doc fix.
12806
0898ca10
JB
128072011-05-04 Juanma Barranquero <lekktu@gmail.com>
12808
12809 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12810
31dfb76c
GM
128112011-05-04 Glenn Morris <rgm@gnu.org>
12812
f330b642
GM
12813 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12814 function, so it follows changes in calendar-date-style.
12815 (diary-fancy-date-matcher): New function.
12816 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12817 (diary-fancy-font-lock-fontify-region-function):
12818 Use diary-fancy-date-pattern as a function.
12819
31dfb76c
GM
12820 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12821 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12822
48e79d6a
TZ
128232011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12824
12825 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12826 instead of positional arguments. Allow :keylist and :crlfiles
12827 arguments.
12828 (open-gnutls-stream): Call it.
12829
12830 * net/network-stream.el (network-stream-open-starttls): Adjust to
12831 call `gnutls-negotiate' with :process and :hostname arguments.
12832
dd5a5ee0
SM
128332011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12834
ef80fc09
SM
12835 * minibuffer.el (completion--message): New function.
12836 (completion--do-completion, minibuffer-complete)
12837 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12838 (completion--do-completion): Don't ignore completion-auto-help when in
12839 icomplete-mode.
12840
dd5a5ee0
SM
12841 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12842 internal encoding (e.g. tibetan zero is not whitespace).
12843 (global-whitespace-mode): Prefer save-current-buffer.
12844 (whitespace-trailing-regexp): Remove useless save-match-data.
12845 (whitespace-empty-at-bob-regexp): Minor simplification.
12846
b7d22a83
CY
128472011-05-03 Chong Yidong <cyd@stupidchicken.com>
12848
12849 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12850
5192af46
AM
128512011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12852
12853 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12854 Use `concat' to create string for insertion.
5192af46 12855
5767d190
SM
128562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12857
12858 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12859 Avoid open-line which runs post-self-insert-hook.
12860 (bibtex-fill-entry): Remove unused `end' var.
12861
bf242939
AM
128622011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12863
5767d190
SM
12864 * textmodes/ispell.el (ispell-add-per-file-word-list):
12865 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12866
25666126
LL
128672011-05-03 Leo Liu <sdl.web@gmail.com>
12868
12869 * isearch.el (isearch-yank-pop): New command.
5767d190 12870 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12871 (isearch-forward): Mention it.
12872
52d3c2d0
SM
128732011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12874
1bcace58
SM
12875 * simple.el (minibuffer-complete-shell-command): Remove.
12876 (minibuffer-local-shell-command-map): Use completion-at-point.
12877 (read-shell-command): Setup completion vars here instead.
12878 (read-expression-map): Bind TAB to symbol completion.
12879
52d3c2d0
SM
12880 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12881 error directly rather via storing it into `results'.
12882
35813471
LL
128832011-05-02 Leo Liu <sdl.web@gmail.com>
12884
12885 * vc/diff.el: Fix description.
12886
e793a940
LMI
128872011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12888
12889 * server.el (server-eval-at): New function.
12890
8de66e05
LMI
128912011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12892
12893 * net/network-stream.el (open-network-stream): Take a :nowait
12894 parameter and pass it on to `make-network-process'.
12895 (network-stream-open-plain): Ditto.
12896
dcb79f20
AS
128972011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12898
12899 * faces.el (face-spec-set-match-display): Don't match toolkit
12900 options on terminal frames.
12901
14a7fbd8
SM
129022011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12903
7eabc1be
SM
12904 * progmodes/pascal.el: Use lexical binding.
12905 (pascal-mode-map): Remove author preferences.
12906
14a7fbd8
SM
12907 * pcomplete.el (pcomplete-std-complete): Don't abuse
12908 completion-at-point.
12909
50f84510
JB
129102011-04-28 Juanma Barranquero <lekktu@gmail.com>
12911
6e087a44
JB
12912 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12913 removing code that has been dead since 1991 or so.
12914
50f84510
JB
12915 * startup.el (command-line): When warning about "_emacs", use a
12916 delayed warning to allow the user to filter it out.
12917
0ba690bd
DD
129182011-04-28 Deniz Dogan <deniz@dogan.se>
12919
12920 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12921 user has not joined.
12922
08abfaad
SM
129232011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12924
12925 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12926 aren't any completions at point.
12927
638f053a
JB
129282011-04-28 Juanma Barranquero <lekktu@gmail.com>
12929
12930 * subr.el (display-delayed-warnings): New function.
12931 (delayed-warnings-hook): New variable.
12932
8fff8daa
SM
129332011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12934
08abfaad
SM
12935 * minibuffer.el (completion-at-point, completion-help-at-point):
12936 Don't presume that a given completion-at-point-function will always
12937 use the same calling convention.
12938
8fff8daa
SM
12939 * pcomplete.el (pcomplete-completions-at-point):
12940 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12941 pcomplete-seen is non-nil.
12942 (pcomplete-comint-setup): Also recognize the new comint/shell
12943 completion functions.
12944 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12945 pcomplete-seen is non-nil.
12946
841a1577 129472011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12948
841a1577 12949 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12950 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12951 the first character in the entry. This allows for code to add its
211ec907
UJ
12952 own uid to the entry.
12953 (icalendar--convert-float-to-ical): Add export of
12954 `diary-float'-entries save for those with the optional DAY
12955 argument.
12956
2a782793
DC
129572011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12958
12959 * subr.el (shell-quote-argument): Use alternate escaping strategy
12960 when we spot a variable reference in a string.
12961
0438ce91
DC
129622011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12963
12964 * cus-start.el (all): Define customization for debug-on-event.
12965
841a1577 129662011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12967
12968 * subr.el (shell-quote-argument): Escape correctly under Windows.
12969
d090ed6c
SM
129702011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12971
12972 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12973
bfd31217
MA
129742011-04-25 Michael Albinus <michael.albinus@gmx.de>
12975
d090ed6c
SM
12976 * net/tramp.el (tramp-process-actions): Add POS argument.
12977 Delete region between POS and (pos).
bfd31217 12978
d090ed6c
SM
12979 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12980 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12981 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12982
12983 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12984 position in `tramp-process-actions' call.
12985
12986 * net/trampver.el: Update release number.
12987
e92f3bd3
SM
129882011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12989
850256b5
SM
12990 * custom.el (defcustom): Obey lexical-binding.
12991
e92f3bd3
SM
12992 Fix octave-inf completion problems reported by Alexander Klimov.
12993 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12994 Inherit from octave-mode-syntax-table.
12995 (inferior-octave-mode): Set info-lookup-mode.
12996 (inferior-octave-completion-at-point): New function.
12997 (inferior-octave-complete): Use it and completion-in-region.
12998 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12999 comint-filename-completion.
13000 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13001 symbol elements which shouldn't be word elements.
13002 (octave-font-lock-keywords, octave-beginning-of-defun)
13003 (octave-function-header-regexp): Adjust regexps accordingly.
13004 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13005
cd22b309
JB
130062011-04-25 Juanma Barranquero <lekktu@gmail.com>
13007
13008 * net/gnutls.el (gnutls-errorp): Declare before first use.
13009
8b492194
TZ
130102011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13011
13012 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13013 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13014 default trustfile exists before going to use it. Add missing
5a5fa834 13015 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13016 Reported by Claudio Bley <claudio.bley@gmail.com>.
13017 (open-gnutls-stream): Add usage example.
13018
13019 * net/network-stream.el (network-stream-open-starttls): Give host
13020 parameter to `gnutls-negotiate'.
13021 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13022 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13023
841a1577 130242011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13025
cd22b309
JB
13026 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13027 Use correct match group (bug#8438).
05842630 13028
3ba7869c
CY
130292011-04-24 Chong Yidong <cyd@stupidchicken.com>
13030
512e3ae1
CY
13031 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13032 (package-menu--generate): New arg specifying packages to show.
13033 (package-menu-refresh, package-menu-execute, list-packages):
13034 Callers changed.
13035 (package-show-package-list): New function, replacing deleted
13036 package--list-packages (renamed because it is non-internal).
13037
13038 * finder.el (finder-list-matches): Use package-show-package-list
13039 instead of deleted package--list-packages.
13040
e92f3bd3
SM
13041 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13042 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13043 (vc-annotate-mode-map): Bind it to RET.
13044
7031be6d
UR
130452011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13046
13047 * progmodes/etags.el (next-file): Don't use set-buffer to change
13048 buffers (Bug#8478).
13049
4ef177aa
CY
130502011-04-24 Chong Yidong <cyd@stupidchicken.com>
13051
c8d173eb
CY
13052 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13053
4ef177aa
CY
13054 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13055 (apropos-accumulator): Doc fix.
13056 (apropos-function, apropos-macro, apropos-command)
13057 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13058 (apropos-plist): Add face property.
13059 (apropos-symbols-internal): Fix indentation.
13060 (apropos-print): Simplify help, and recognize apropos-multi-type.
13061 (apropos-print-doc): Use button-type-get to extract the button's
13062 face property. Fill docstring (Bug#8352).
13063
4ffd0d6b 130642011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13065
13066 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13067
c6c32125 13068 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13069 (mpuz-mode-map): Use mapc.
c6c32125
JB
13070 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13071 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13072 Fix typos in docstrings.
13073
58d468b4
JB
13074 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13075 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13076
6470c3c6
JB
13077 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13078
4ffd0d6b 130792011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13080
13081 * minibuffer.el (completion--do-completion): Avoid the "Next char
13082 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13083
3ad8bad0
CY
13084 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13085 mouse-2 into unread-command-events, it is interpreted correctly.
13086
71d73c9c 13087 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13088 (image-toggle-display): Doc fix.
71d73c9c 13089
841a1577 130902011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13091
4ffd0d6b
GM
13092 * textmodes/page.el (what-page): Use line-number-at-pos to
13093 calculate line number (Bug#6825).
6e1dbaa9 13094
c2fb1b60
JB
130952011-04-22 Juanma Barranquero <lekktu@gmail.com>
13096
13097 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13098 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13099 Pass argument NO-DEFAULT to `find-tag-interactive'.
13100
e02f48d7
JB
131012011-04-22 Juanma Barranquero <lekktu@gmail.com>
13102
13103 Lexical-binding cleanup.
13104
13105 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13106 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13107 * progmodes/ada-prj.el (ada-prj-initialize-values)
13108 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13109 (ada-prj-show-value):
13110 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13111 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13112 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13113 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13114 * progmodes/bug-reference.el (bug-reference-push-button):
13115 * progmodes/fortran.el (fortran-line-length):
13116 * progmodes/glasses.el (glasses-change):
13117 * progmodes/octave-mod.el (octave-fill-paragraph):
13118 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13119 (python-pdbtrack-grub-for-buffer, python-sentinel):
13120 * progmodes/sql.el (sql-save-connection):
13121 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13122 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13123 Mark unused parameters.
13124
13125 * progmodes/compile.el (compilation--flush-directory-cache)
13126 (compilation--flush-parse, compile-internal): Mark unused parameters.
13127 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13128 (compilation-next-error-function): Remove unused variable `timestamp'.
13129
13130 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13131 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13132
13133 * progmodes/dcl-mode.el (dcl-end-of-command):
13134 Remove unused variable `start'.
13135 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13136 (dcl-option-value-basic, dcl-option-value-offset)
13137 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13138 Mark unused parameters.
13139 (dcl-save-local-variable): Remove unused variable `val'.
13140 (mode): Declare.
13141
13142 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13143 Mark unused parameters.
13144 (delphi-ignore-changes): Move before first use.
13145 (delphi-charset-token-at): Remove unused variable `start'.
13146 (delphi-else-start): Remove unused variable `if-count'.
13147 (delphi-comment-block-start, delphi-comment-block-end):
13148 Remove unused variable `kind'.
13149 (delphi-indent-line): Remove unused variable `new-point'.
13150
13151 * progmodes/ebrowse.el (ebrowse-files-list)
13152 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13153 Mark unused parameters. Don't quote `lambda'.
13154 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13155 Don't quote `lambda'.
13156 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13157 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13158 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13159 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13160 Use `ignore-errors'.
13161 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13162 (ebrowse-view/find-file-and-search-pattern)
13163 (ebrowse-view/find-member-declaration/definition):
13164 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13165 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13166 Rename parameter PREFIX-ARG to PREFIX.
13167 (ebrowse-tags-read-name): Remove unused variables `start' and
13168 `member-info'.
13169 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13170 to `tags-file'.
13171
13172 * progmodes/etags.el (local-find-tag-hook): Declare.
13173 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13174 Mark unused parameters.
13175
13176 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13177 (executable-interpret): Mark unused parameter.
13178
13179 * progmodes/flymake.el (flymake-process-sentinel)
13180 (flymake-after-change-function)
13181 (flymake-create-temp-with-folder-structure)
13182 (flymake-get-include-dirs-dot): Mark unused parameters.
13183 (flymake-safe-delete-directory): Remove unused variable `err'.
13184
13185 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13186 (speedbar-timer-fn, speedbar-line-text)
13187 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13188 (speedbar-center-buffer-smartly): Declare functions.
13189 (gdb-find-watch-expression): Remove unused variable `array'.
13190 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13191 (gdb-starting): Mark unused parameters.
13192 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13193 (gdb-table-string): Remove unused variable `res'.
13194 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13195 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13196 (gdb-display-buffer): Remove unused variable `cur-size'.
13197
13198 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13199 allow lexical-binding compilation.
13200 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13201 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13202 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13203 Mark unused parameters.
13204 (gud-gdb-marker-filter): Remove unused variable `match'.
13205 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13206 lambda expressions and funcall them, instead of using `fset'.
13207
13208 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13209 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13210
13211 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13212 variable `header-beg'; use `let'.
13213
13214 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13215 `restart', `last-sexp' and `at-do'.
13216
13217 * progmodes/js.el (js--debug): Mark unused parameter.
13218 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13219 (js--splice-into-items): Remove unused variable `item'.
13220 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13221
13222 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13223 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13224 (makefile-complete): Remove unused variable `try'.
13225 (makefile-fill-paragraph, makefile-match-function-end):
13226 Mark unused parameters.
13227
13228 * progmodes/octave-inf.el (inferior-octave-complete):
13229 Remove unused variable `proc'.
13230 (inferior-octave-output-digest): Mark unused parameter.
13231
13232 * progmodes/perl-mode.el (perl-calculate-indent):
13233 Remove unused variable `err'.
13234
13235 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13236 (prolog-indent-line): Mark unused parameters.
13237 (prolog-indent-line): Remove unused variable `beg'.
13238
13239 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13240 (reporter-dont-compact-list): Declare.
13241
13242 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13243 Remove unused variable `char'.
13244 (sh-debug): Mark unused parameter.
13245 (sh-get-indent-info): Remove unused variable `start'.
13246 (sh-calculate-indent): Remove unused variable `var'.
13247
13248 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13249 (simula-electric-keyword): Remove unused variable `null'.
13250 (simula-search-backward, simula-search-forward): Remove unused
13251 variables `begin' and `end'.
13252
13253 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13254 Remove unused variable `pos'.
13255 (vera-electric-tab, vera-comment-uncomment-region):
13256 Mark unused parameters.
13257 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13258
7ede3b65
CY
132592011-04-22 Chong Yidong <cyd@stupidchicken.com>
13260
13261 * emacs-lisp/package.el (package--builtins, package-alist)
13262 (package-load-descriptor, package-built-in-p, package-activate)
13263 (define-package, package-installed-p)
13264 (package-compute-transaction, package-buffer-info)
13265 (package--push): Doc fix. Distinguish more clearly between
13266 version strings and version lists.
13267
121656e9
JB
132682011-04-21 Juanma Barranquero <lekktu@gmail.com>
13269
13270 Lexical-binding cleanup.
13271
13272 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13273 (5x5-make-mutate-best):
13274 * play/fortune.el (fortune-in-buffer):
13275 * play/gomoku.el (gomoku-init-display):
13276 * play/solitaire.el (solitaire, solitaire-do-check):
13277 * play/tetris.el (tetris-default-update-speed-function):
13278 Mark unused parameters.
13279
13280 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13281 (bubbles--shift): Remove unused variable `char-org'.
13282 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13283 (bubbles--show-images): Remove unused variable `char'.
13284
13285 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13286 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13287 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13288 (decipher-analyze-buffer): Use ?\s.
13289 (decipher-make-checkpoint): Remove unused variable `mapping'.
13290
13291 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13292
13293 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13294 Remove unused variable `result'; use `let'.
13295
13296 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13297 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13298 (gametree-children-shown-p, gametree-compute-reduced-score):
13299 Use `ignore-errors'.
13300
13301 * play/handwrite.el (ps-lpr-switches): Declare.
13302 (handwrite): Remove unused variables `pmin' and `lastp'.
13303
13304 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13305
13306 * play/landmark.el (landmark-init-display)
13307 (landmark-update-naught-weights): Mark unused parameters.
13308 (landmark-y): Remove unused variable `noise'. Simplify.
13309 (landmark-human-plays): Remove unused variable `score'.
13310
13311 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13312 (mpuz-try-proposal): Remove unused variable `game'.
13313
13314 * play/zone.el (life-patterns): Declare.
13315
80f499c7
JB
133162011-04-20 Juanma Barranquero <lekktu@gmail.com>
13317
13318 * vc/vc.el (ediff-vc-internal): Declare function.
13319
024ff170
SM
133202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13321
c0a193ea
SM
13322 * shell.el: Use lexical-binding and std completion UI.
13323 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13324 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13325 comint-preoutput-filter-functions rather than on
13326 comint-output-filter-functions.
13327 (shell-command-completion, shell--command-completion-data)
13328 (shell-filename-completion, shell-environment-variable-completion)
13329 (shell-c-a-p-replace-by-expanded-directory): New functions.
13330 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13331 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13332 (shell-dynamic-complete-environment-variable): Use them.
13333 (shell-dynamic-complete-as-environment-variable)
13334 (shell-dynamic-complete-as-command): Remove.
13335 (shell-match-partial-variable): Match past point.
13336 * comint.el: Clean up use of completion-at-point-functions.
13337 (comint-completion-at-point): New function.
13338 (comint-mode): Use it completion-at-point-functions.
13339 (comint-dynamic-complete): Make it obsolete.
13340 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13341 (comint-c-a-p-replace-by-expanded-history): New function.
13342 (comint-dynamic-complete-functions)
13343 (comint-replace-by-expanded-history): Use it.
13344 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13345 termination strings. Try harder to avoid second try-completion.
13346 (completion-in-region-mode-map): Disable bindings that don't work yet.
13347
2dbaa080
SM
13348 * comint.el: Use lexical-binding. Require CL.
13349 (comint-dynamic-complete-functions): Use comint-filename-completion.
13350 (comint-completion-addsuffix): Tweak custom type.
13351 (comint-filename-completion, comint--common-suffix)
13352 (comint--common-quoted-suffix, comint--table-subvert)
13353 (comint--complete-file-name-data): New functions.
13354 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13355 (comint-dynamic-list-filename-completions): Use them.
13356 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13357
2dbaa080
SM
13358 * minibuffer.el (completion-in-region-mode):
13359 Keep completion-in-region-mode--predicate global.
13360 (completion-in-region--postch):
13361 Assume completion-in-region-mode--predicate is not null.
13362
c79a6f38
SM
13363 * progmodes/flymake.el (flymake-start-syntax-check-process):
13364 Obey `dir'. Simplify.
13365
024ff170
SM
13366 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13367 we're in VC after all.
13368
1c6c854e
CS
133692011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13370
13371 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13372 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13373 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13374
bed7f140
SM
133752011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13376
332e62ab
SM
13377 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13378 add sanity check.
13379
bed7f140
SM
13380 * obsolete/erc-hecomplete.el: Make obsolete.
13381 * obsolete/: Standardize obsolescence info in the header.
13382
f195c582
GM
133832011-04-20 Glenn Morris <rgm@gnu.org>
13384
13385 * calendar/solar.el (solar-horizontal-coordinates):
13386 Use the longitude argument rather than `calendar-longitude'.
13387 (solar-date-next-longitude): Remove unused locals.
13388
cb79b8c0
VJL
133892011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13390
13391 * whitespace.el: New version 13.2.1.
13392
133932011-04-20 felix <EmacsWiki> (tiny change)
13394
d8e4b68b 13395 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13396 switching between major modes on a file.
13397
602ea69d
SM
133982011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13399
13400 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13401 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13402 multi-line comments as well.
13403
06b60517
JB
134042011-04-19 Juanma Barranquero <lekktu@gmail.com>
13405
13406 Lexical-binding cleanup.
13407
13408 * arc-mode.el (archive-mode-revert):
13409 * cmuscheme.el (scheme-interactively-start-process):
13410 * custom.el (custom-initialize-delay):
13411 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13412 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13413 * emacs-lock.el (emacs-lock-clear-sentinel):
13414 * ezimage.el (defezimage):
13415 * follow.el (follow-avoid-tail-recenter):
13416 * fringe.el (set-fringe-mode-1):
13417 * generic-x.el (bat-generic-mode-compile):
13418 * help-mode.el (help-info-variable, help-do-xref)
13419 (help-mode-revert-buffer):
13420 * help.el (view-emacs-todo):
13421 * iswitchb.el (iswitchb-completion-help):
13422 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13423 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13424 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13425 * locate.el (locate-update):
13426 * longlines.el (longlines-encode-region)
13427 (longlines-after-change-function):
13428 * outline.el (outline-isearch-open-invisible):
13429 * ps-def.el (declare-function, charset-dimension, char-width)
13430 (encode-char):
13431 * ps-mule.el (ps-mule-plot-string):
13432 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13433 (recentf-edit-list-select, recentf-edit-list-validate)
13434 (recentf-open-files-action):
13435 * rect.el (delete-whitespace-rectangle-line)
13436 (rectangle-number-line-callback):
13437 * register.el (window-configuration-to-register)
13438 (frame-configuration-to-register):
13439 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13440 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13441 (xselect-convert-to-targets, xselect-convert-to-delete)
13442 (xselect-convert-to-filename, xselect-convert-to-charpos)
13443 (xselect-convert-to-lineno, xselect-convert-to-colno)
13444 (xselect-convert-to-os, xselect-convert-to-host)
13445 (xselect-convert-to-user, xselect-convert-to-class)
13446 (xselect-convert-to-name, xselect-convert-to-integer)
13447 (xselect-convert-to-atom, xselect-convert-to-identity):
13448 * subr.el (declare, ignore, process-kill-without-query)
13449 (text-clone-maintain):
13450 * terminal.el (te-get-char, te-tic-sentinel):
13451 * tool-bar.el (tool-bar-make-keymap):
13452 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13453 * type-break.el (type-break-mode, type-break-noninteractive-query):
13454 * view.el (View-back-to-mark):
13455 * wid-browse.el (widget-browse-action, widget-browse-widget)
13456 (widget-browse-widgets, widget-browse-sexp):
13457 * widget.el (define-widget-keywords):
13458 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13459 Mark unused parameters.
13460
13461 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13462 (align-areas): Remove unused variable `look'.
13463 (align-region): Remove unused variables `real-end' and `pos-list'.
13464
13465 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13466
13467 * bindings.el (mode-line-modified, mode-line-remote):
13468 Mark unused parameters.
13469 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13470
13471 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13472 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13473
13474 * comint.el (comint-history-isearch-pop-state)
13475 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13476 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13477 (comint-substitute-in-file-name): Doc fix.
13478
13479 * completion.el (cmpl-statistics-block): Mark unused parameter.
13480 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13481 (save-completions-to-file, load-completions-from-file):
13482 Remove unused local variable `e'.
13483
13484 * composite.el (compose-chars): Remove unused variable `len'.
13485 (lgstring-insert-glyph): Remove unused variable `g'.
13486 (compose-glyph-string): Remove unused variables `ascent',
13487 `descent', `lbearing' and `rbearing'.
13488 (compose-glyph-string-relative): Remove unused variables
13489 `lbearing', `rbearing' and `wadjust'.
13490 (compose-gstring-for-graphic): Remove unused variables `header',
13491 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13492 (compose-gstring-for-terminal): Remove unused variables `header'
13493 and `nchars'. Use `let', not `let*'.
13494
13495 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13496 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13497 (Custom-buffer-done, custom-buffer-create-internal)
13498 (custom-browse-visibility-action, custom-browse-group-tag-action)
13499 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13500 (widget-magic-mouse-down-action, custom-toggle-parent)
13501 (custom-add-parent-links, custom-toggle-hide-variable)
13502 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13503 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13504 (custom-face-menu-create, custom-variable-menu-create, get)
13505 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13506 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13507 (customize-apropos): Remove unused variable `tests'.
13508 (custom-group-value-create): Remove unused variable `hidden-p'.
13509 (sort-fold-case): Declare.
13510
13511 * cus-theme.el (custom-reset-standard-faces-list)
13512 (custom-reset-standard-variables-list): Declare.
13513 (customize-create-theme, custom-theme-revert, custom-theme-write)
13514 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13515 Mark unused parameters.
13516
13517 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13518
13519 * delim-col.el (delimit-columns-max): Move defvar before first use.
13520
13521 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13522 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13523
13524 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13525 (auto-insert): Declare.
13526 (desktop-restore-file-buffer): Rename desktop-* parameters;
13527 mark unused ones.
13528 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13529 (desktop-buffer): Rename desktop-* parameters.
13530
13531 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13532 (dframe-reposition-frame-xemacs, dframe-help-echo)
13533 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13534 Mark unused parameters.
13535
13536 * dired-aux.el (backup-extract-version-start, overwrite-query)
13537 (overwrite-backup-query, rename-regexp-query)
13538 (rename-non-directory-query): Declare.
13539 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13540 (dired-add-entry): Remove unused variable `orig-file-name'.
13541 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13542 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13543 `dired-copy-preserve-time' directly.
13544 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13545 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13546
13547 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13548 (dired-virtual-revert, dired-make-relative-symlink):
13549 Mark unused parameters.
13550 (manual-program): Declare.
13551 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13552 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13553 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13554
13555 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13556
13557 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13558
13559 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13560 Declare.
13561
13562 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13563
13564 * electric.el (Electric-command-loop): Rename parameter
13565 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13566
13567 * expand.el (expand-in-literal): Remove unused variable `here'.
13568
13569 * facemenu.el (facemenu-add-new-color):
13570 Remove unused variable `docstring'.
13571
13572 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13573 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13574 (face-attr-construct): Mark unused parameter. Doc fix.
13575 (read-color): Remove unused variable `hex-string'.
13576
13577 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13578 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13579 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13580 (display-buffer-other-frame): Remove unused variable `old-window'.
13581 (kill-buffer-hook): Declare.
13582 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13583 Mark unused parameters.
13584 (after-find-file): Pass 1 to `auto-save-mode', not t.
13585
13586 * files-x.el (auto-insert): Declare.
13587 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13588
13589 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13590 variable `buf'. Mark unused parameter.
06b60517
JB
13591 (find-lisp-insert-directory): Mark unused parameter.
13592
13593 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13594 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13595 (format-common-tail): Remove, unused.
13596 (format-deannotate-region): Remove unused variable `loc'.
13597 (format-annotate-region): Remove unused variable `p'.
13598 (format-annotate-single-property-change): Remove unused variables
13599 `default' and `tail'.
13600
13601 * forms.el (read-file-filter): Declare.
13602 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13603
13604 * frame.el (frame-creation-function-alist): Mark unused parameter.
13605 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13606
13607 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13608 Remove unused parameters.
13609 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13610 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13611
13612 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13613 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13614 (hfy-prepare-tag-map): Mark unused parameters.
13615 (htmlfontify-buffer): Use `called-interactively-p'.
13616
13617 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13618 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13619 (ibuffer-do-occur): Mark unused parameters.
13620 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13621 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13622
13623 * ibuffer.el: Don't quote `lambda'.
13624 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13625 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13626 Mark unused parameters.
13627
13628 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13629 (ido-completing-read): Mark unused parameters.
13630 (ido-copy-current-word): Mark unused parameters;
13631 remove unused variable `name'.
13632 (ido-sort-merged-list): Remove unused parameter `dirs'.
13633
13634 * ielm.el (ielm-input-sender): Mark unused parameter.
13635 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13636 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13637 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13638 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13639 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13640
13641 * image-dired.el (image-dired-display-thumbs): Remove unused
13642 variables `curr-file' and `count'.
13643 (image-dired-remove-tag): Remove unused variable `start'.
13644 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13645 variable `curr-file'
13646 (image-dired-rotate-original): Remove unused variable `temp-file'.
13647 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13648 Remove unused variable `file'.
13649 (image-dired-gallery-generate): Remove unused variable `curr'.
13650 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13651
13652 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13653
13654 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13655
13656 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13657
13658 * isearch.el (minibuffer-history-symbol): Declare.
13659 (isearch-edit-string): Remove unused variable `err'.
13660 (isearch-message-prefix, isearch-message-suffix):
13661 Mark unused parameters.
13662
13663 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13664
13665 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13666
13667 * makesum.el (double-column): Remove unused variable `cnt'.
13668
13669 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13670 (ido-ignore-item-temp-list): Declare.
13671
13672 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13673 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13674 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13675 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13676 `mouse-col-delta'.
13677
13678 * mouse-sel.el (mouse-extend-internal):
13679 Remove unused variable `orig-window-frame'.
13680
13681 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13682 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13683 Move declarations before first use.
13684 (pcomplete-opt): Mark unused parameters; doc fix.
13685
13686 * proced.el (proced-revert): Mark unused parameter.
13687 (proced-send-signal): Remove unused variable `err'.
13688
13689 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13690 Rename parameter PREFIX-ARG to ARG.
13691 (ps-basic-plot-string, ps-basic-plot-whitespace):
13692 Mark unused parameters.
13693
13694 * replace.el (replace-count): Define.
13695 (occur-revert-function): Mark unused parameters.
13696 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13697 (isearch-case-fold-search, isearch-string): Declare.
13698 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13699 bind `case-fold-search'. Remove unused variables `beg' and `end',
13700 and simplify.
13701 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13702 COUNT and bind `replace-count'.
13703 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13704 to COUNT.
13705
13706 * savehist.el (print-readably, print-string-length): Declare.
13707
13708 * shadowfile.el (shadow-expand-cluster-in-file-name):
13709 Remove unused variable `cluster'.
13710 (shadow-copy-file): Remove unused variable `i'.
13711 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13712 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13713 (shadow-define-literal-group, shadow-define-regexp-group)
13714 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13715
13716 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13717 (shell): Use `called-interactively-p'.
13718 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13719
13720 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13721 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13722 (delete-backward-char): Remove unused variable `ocol'.
13723 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13724 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13725 (event-apply-hyper-modifier, event-apply-shift-modifier)
13726 (event-apply-control-modifier, event-apply-meta-modifier):
13727 Mark unused parameters.
13728 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13729 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13730
13731 * speedbar.el (speedbar-ignored-directory-expressions)
13732 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13733 (speedbar-find-file, speedbar-dir-follow)
13734 (speedbar-directory-buttons-follow, speedbar-tag-find)
13735 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13736 (speedbar-buffers-line-directory, speedbar-buffer-click):
13737 Mark unused parameters.
13738 (speedbar-tag-file): Remove unused variable `mode'.
13739 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13740
13741 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13742
13743 * talk.el (talk): Remove unused variable `display'.
13744
13745 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13746 (tar-write-region-annotate): Mark unused parameter.
13747
13748 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13749 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13750 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13751 warning by another.
13752
13753 * time-stamp.el (time-stamp-string-preprocess):
13754 Remove unused variable `require-padding'.
13755
13756 * tree-widget.el (widget-glyph-enable): Declare.
13757 (tree-widget-action): Mark unused parameter.
13758
13759 * w32-fns.el (x-get-selection): Mark unused parameter.
13760 (autoload-make-program, generated-autoload-file): Declare.
13761
13762 * wdired.el (wdired-revert): Mark unused parameters.
13763 (wdired-xcase-word): Remove unused variable `err'.
13764
13765 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13766 (whitespace-help-scroll): Remove unused variable `data-help'.
13767
13768 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13769 (widget-image-insert, widget-after-change, default)
13770 (widget-default-format-handler, widget-default-notify)
13771 (widget-default-prompt-value, widget-info-link-action)
13772 (widget-url-link-action, widget-function-link-action)
13773 (widget-variable-link-action, widget-file-link-action)
13774 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13775 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13776 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13777 (widget-insert-button-action, widget-delete-button-action, visibility)
13778 (widget-documentation-link-action, widget-documentation-string-action)
13779 (widget-const-prompt-value, widget-regexp-match, symbol)
13780 (widget-coding-system-prompt-value)
13781 (widget-key-sequence-value-to-external, sexp)
13782 (widget-sexp-value-to-internal, character, vector, cons)
13783 (widget-choice-prompt-value, widget-boolean-prompt-value)
13784 (widget-color--choose-action): Mark unused parameters.
13785 (widget-item-match-inline, widget-choice-match-inline)
13786 (widget-checklist-match, widget-checklist-match-inline)
13787 (widget-group-match): Rename parameter VALUES to VALS.
13788 (widget-field-value-set): Remove unused variable `size'.
13789 (widget-color-action): Remove unused variables `value' and `start'.
13790
13791 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13792 variable `dir'. Doc fix.
06b60517
JB
13793 (windmove-find-other-window): Don't pass it.
13794
13795 * window.el (count-windows): Mark unused parameter.
13796 (bw-adjust-window): Remove unused variable `err'.
13797
13798 * woman.el (woman-file-name): Remove unused variable `default'.
13799 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13800 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13801 (global-font-lock-mode): Declare.
13802 (woman-decode-region): Mark unused parameter.
13803 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13804
13805 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13806 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13807 (x-dnd-handle-moz-url): Remove unused variable `title'.
13808 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13809
13810 * xml.el (xml-parse-tag, xml-parse-attlist):
13811 Remove unused variable `pos'.
13812
bc4f7f3d
GM
138132011-04-19 Glenn Morris <rgm@gnu.org>
13814
13815 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13816 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13817 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13818 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13819 * calendar/cal-html.el (cal-html-insert-minical):
13820 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13821 (calendar-mark-date-pattern):
13822 Prefix "unused" locals.
13823
13824 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13825 optional argument `style'.
13826
13827 * calendar/appt.el (appt-make-list):
13828 * calendar/cal-china.el (calendar-chinese-date-string):
13829 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13830 (diary-hebrew-yahrzeit):
13831 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13832 * calendar/calendar.el (calendar-generate-window):
13833 * calendar/time-date.el (time-to-days):
13834 Remove unused local variables.
13835
16a43933
CY
138362011-04-18 Chong Yidong <cyd@stupidchicken.com>
13837
13838 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13839 glyphless-char-display table.
13840 (tabulated-list-glyphless-char-display): New var.
13841
7eed1860
SS
138422011-04-18 Sam Steingold <sds@gnu.org>
13843
13844 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13845 to acknowledgments.
13846
4d2d1ccd
GM
138472011-04-17 Glenn Morris <rgm@gnu.org>
13848
13849 * calendar/diary-lib.el (diary-sexp-entry):
13850 * calendar/holidays.el (holiday-sexp):
13851 Set debug-on-error rather than the removed stack-trace-on-error.
13852
239da61d
GM
138532011-04-16 Glenn Morris <rgm@gnu.org>
13854
13855 * progmodes/f90.el: Use lexical-binding.
13856 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13857
8b05752a
SM
138582011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13859
daca8ba5
SM
13860 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13861 (mail-mode): Setup mailalias completion here instead.
13862 * mail/mailalias.el: Use lexical-binding.
13863 (pattern, mailalias-done): Declare dynamic.
13864 (mail-completion-at-point-function): New function, from mail-complete.
13865 (mail-complete): Use it.
13866 (mail-completion-expand): New function.
13867 (mail-get-names): Use it.
13868 (mail-directory, mail-directory-process, mail-directory-stream):
13869 Don't use `pattern' for lexically bound arg.
13870
6f542485
SM
13871 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13872
037e7c3f
SM
13873 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13874 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13875 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13876
8b05752a
SM
13877 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13878 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13879 (byte-interactive-p): Define them again, for use when inlining
13880 old code.
13881
49093f60
JB
138822011-04-15 Juanma Barranquero <lekktu@gmail.com>
13883
13884 * loadup.el: Use `string-to-number', not `string-to-int'.
13885
b5b8e7de
SM
138862011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13887
13888 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13889 gud-gdb-complete-command.
13890 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13891 (gud-gdb-completion-at-point): New function.
13892 (gud-gdb-completions): Remove.
13893
f42efeb5
MA
138942011-04-14 Michael Albinus <michael.albinus@gmx.de>
13895
49093f60
JB
13896 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13897 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13898 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13899 whether `executable-find' is bound.
f42efeb5
MA
13900
13901 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13902
e240cc21
SM
139032011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13904
13905 * minibuffer.el (completion-in-region-mode-predicate)
13906 (completion-in-region-mode--predicate): New vars.
13907 (completion-in-region, completion-in-region--postch)
13908 (completion-in-region-mode): Use them.
13909 (completion--capf-wrapper): Also return the hook function.
13910 (completion-at-point, completion-help-at-point):
13911 Adjust and provide a predicate.
c2bd2ab0
SM
13912
13913 Preserve arg names for advice of subr and lexical functions (bug#8457).
13914 * help-fns.el (help-function-arglist): Consolidate the subr and
13915 new-byte-code cases. Add argument `preserve-names' to extract names
13916 from the docstring when needed.
13917 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13918 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13919 (ad-arglist): Use help-function-arglist's new arg.
13920 (ad-definition-type): Use cond.
13921
c183f693
JB
139222011-04-13 Juanma Barranquero <lekktu@gmail.com>
13923
06641a47
JB
13924 * autorevert.el (auto-revert-handler):
13925 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13926 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13927 Don't quote lambda.
13928
c183f693
JB
13929 * image-mode.el (image-transform-set-scale):
13930 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13931
1e3b6001
G
139322011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13933
13934 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13935 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13936 Upgrades via gnutls-cli are too slow to be done opportunistically.
13937
2d6af8dd
JB
139382011-04-12 Juanma Barranquero <lekktu@gmail.com>
13939
13940 * dframe.el (dframe-current-frame): Remove spurious quote.
13941
c0749a51
GM
139422011-04-12 Glenn Morris <rgm@gnu.org>
13943
088d0d61
GM
13944 * calendar/cal-tex.el (cal-tex-end-document):
13945 Try to automatically use latin1 input if needed.
13946
c0749a51
GM
13947 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13948 Don't try to cons a mark onto an empty element.
13949
5c90fde0
LL
139502011-04-11 Leo Liu <sdl.web@gmail.com>
13951
13952 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13953 buffers.
13954 (ido-kill-buffer-at-head): Support killing virtual buffers.
13955
369e974d
CY
139562011-04-10 Chong Yidong <cyd@stupidchicken.com>
13957
13958 * minibuffer.el (completion-show-inline-help): New var.
13959 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13960 (minibuffer-force-complete, minibuffer-complete-word):
13961 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13962
13963 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13964 to avoid interference from inline help (Bug#5849).
13965
37f1c930
LL
139662011-04-10 Leo Liu <sdl.web@gmail.com>
13967
099c39a4
JB
13968 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13969 Fix typo.
37f1c930 13970
a32d4040
CY
139712011-04-09 Chong Yidong <cyd@stupidchicken.com>
13972
13973 * image-mode.el (image-toggle-display-image): Signal an error if
13974 not in Image mode.
13975 (image-transform-mode, image-transform-resize)
13976 (image-transform-set-rotation): Doc fix.
daca8ba5 13977 (image-transform-set-resize): Delete.
a32d4040
CY
13978 (image-transform-set-scale, image-transform-fit-to-height)
13979 (image-transform-fit-to-width): Handle image-toggle-display-image
13980 and image-transform-resize directly.
13981
099c39a4 139822011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13983
13984 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13985 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13986 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13987 (doc-view-mode-map): Add bindings for the new functions.
13988
099c39a4 139892011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13990
4d61f28d 13991 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13992 Fix typo in docstring.
13993
3726838a
EZ
139942011-04-08 Eli Zaretskii <eliz@gnu.org>
13995
04f33f1e
EZ
13996 * files.el (file-size-human-readable): Produce one digit after
13997 decimal, like "ls -lh" does.
13998
13999 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14000 the file size representation.
14001
3726838a
EZ
14002 * simple.el (list-processes): If async subprocesses are not
14003 available, error out with a clear error message.
14004
cbb59342
CY
140052011-04-08 Chong Yidong <cyd@stupidchicken.com>
14006
14007 * help.el (help-form-show): New function, to be called from C.
14008 Put help-form output in a buffer named differently than *Help*.
14009
e3971c44
EZ
140102011-04-08 Eli Zaretskii <eliz@gnu.org>
14011
14012 * files.el (file-size-human-readable): New function.
14013
14014 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14015 computing the representation inline. Don't require `cl'.
14016
12544bbe
GM
140172011-04-08 Glenn Morris <rgm@gnu.org>
14018
a1de6c6a
GM
14019 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14020
3c4671f4
GM
14021 * net/browse-url.el (browse-url-firefox):
14022 Test system-type, not system-configuration.
14023
b605679c
GM
14024 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14025 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14026 Use log-edit-empty-buffer-p. (Bug#7598)
14027
56442f0c
GM
14028 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14029 (rlogin-mode-map): Initialize in the defvar.
14030 (rlogin): Use ignore-errors.
14031
12544bbe
GM
14032 * replace.el (occur-mode-map): Some fixes for menu items.
14033
eb237b0f
AH
140342011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14035
14036 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14037
7d668f2c
CY
140382011-04-06 Chong Yidong <cyd@stupidchicken.com>
14039
e67a13ab
CY
14040 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14041 issuing unused warnings.
14042
14043 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14044 macro directly.
14045
7d668f2c
CY
14046 * simple.el: Lisp reimplement of list-processes. Based on an
14047 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14048 (process-menu-mode): New major mode.
14049 (list-processes--refresh, list-processes):
14050 (process-menu-visit-buffer): New functions.
14051
14052 * files.el (save-buffers-kill-emacs): Don't assume any return
14053 value of list-processes, which is undocumented anyway.
14054
a83ec3c9
CY
140552011-04-06 Chong Yidong <cyd@stupidchicken.com>
14056
14057 * emacs-lisp/tabulated-list.el: New file.
14058
e91a96fe
CY
14059 * emacs-lisp/package.el: Use Tabulated List mode.
14060 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14061 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14062 table format using Tabulated List mode variables.
14063 (package--push): New macro, replacing package-list-maybe-add.
14064 (package-menu--generate): Use package--push. Renamed from
14065 package--generate-package-list.
14066 (package-menu-refresh, list-packages): Use it.
daca8ba5 14067 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14068 Return insertion data instead of inserting it directly.
099c39a4
JB
14069 (package-menu-describe-package, package-menu-execute):
14070 Use tabulated-list-get-id.
e91a96fe
CY
14071 (package-menu-mark-delete, package-menu-mark-install)
14072 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14073 (package-menu-mark-obsolete-for-deletion):
14074 Use tabulated-list-put-tag.
e91a96fe
CY
14075 (package--list-packages, package-menu-revert)
14076 (package-menu-get-package, package-menu-get-version)
14077 (package-menu-sort-by-column): Functions deleted.
14078 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14079 (package-menu--status-predicate, package-menu--version-predicate)
14080 (package-menu--name-predicate)
14081 (package-menu--description-predicate): Handle arguments in the
14082 Tabulated List format.
14083 (package-list-packages-no-fetch): Call list-packages.
14084
3e214b50
JB
140852011-04-06 Juanma Barranquero <lekktu@gmail.com>
14086
14087 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14088 (after-find-file): Don't bind it.
3e214b50
JB
14089 (revert-buffer-in-progress-p): New variable.
14090 (revert-buffer): Bind it.
14091 Pass nil for `after-find-file-from-revert-buffer'.
14092
14093 * saveplace.el (save-place-find-file-hook): Use new variable
14094 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14095
3f0f1700
GM
140962011-04-06 Glenn Morris <rgm@gnu.org>
14097
c0274801
GM
14098 * Makefile.in (AUTOGEN_VCS): New variable.
14099 (autoloads): Use $AUTOGEN_VCS.
14100
3f0f1700
GM
14101 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14102 * calendar/calendar.el (calendar-mode-map):
14103 Check for toolkit scroll bars. (Bug#8305)
14104
41ea9e48
CY
141052011-04-05 Chong Yidong <cyd@stupidchicken.com>
14106
14107 * minibuffer.el (completion-in-region--postch)
14108 (completion-in-region-mode): Remove unnecessary messages.
14109
6194c800
JB
141102011-04-05 Juanma Barranquero <lekktu@gmail.com>
14111
33256f14
JB
14112 * font-lock.el (font-lock-refresh-defaults):
14113 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14114 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14115
6194c800
JB
14116 * info.el (Info-directory-list, Info-read-node-name-2)
14117 (Info-split-parameter-string): Doc fixes.
14118 (Info-virtual-nodes): Reflow docstring.
14119 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14120 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14121 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14122 Fix typos in docstrings.
14123 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14124 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14125 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14126 (Info-restore-desktop-buffer): Mark unused parameters.
14127 (Info-directory-find-file, Info-directory-find-node)
14128 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14129 (Info-virtual-index-find-node, Info-apropos-find-file)
14130 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14131 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14132 (Info-virtual-index): Remove unused local variable `nodename'.
14133
b87a8200 141342011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14135
b87a8200
DD
14136 * net/rcirc.el: Update my e-mail address.
14137 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14138
3b2ff876
CY
141392011-04-05 Chong Yidong <cyd@stupidchicken.com>
14140
14141 * startup.el (command-line): Save the cursor's theme-face
14142 directly, instead of using face-override-spec.
14143
14144 * custom.el (load-theme): Minor optimization in assigning faces.
14145
8d17e7ca
JB
141462011-04-04 Juanma Barranquero <lekktu@gmail.com>
14147
14148 * help-fns.el (describe-variable): Complete all variables having
14149 documentation, including keywords.
14150 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14151
2fbc1934
JB
141522011-04-04 Juanma Barranquero <lekktu@gmail.com>
14153
14154 Convert to lexical-binding.
14155
14156 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14157 (bs--get-marked-string, bs--get-modified-string)
14158 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14159 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14160 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14161
14162 * ehelp.el (electric-help-execute-extended)
14163 (electric-help-ctrl-x-prefix):
14164 * hexl.el (hexl-revert-buffer-function):
14165 * linum.el (linum-after-change, linum-after-scroll):
14166 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14167
14168 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14169
74f50695
DU
141702011-04-04 Daiki Ueno <ueno@unixuser.org>
14171
14172 * epa-dired.el:
14173 * epa-mail.el:
14174 * epa-hook.el:
14175 * epa-file.el:
14176 * epa.el:
14177 * epg.el: Use lexical binding.
14178
c11325f7
CY
141792011-04-03 Chong Yidong <cyd@stupidchicken.com>
14180
0d9e9a12
CY
14181 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14182
c11325f7 14183 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14184 dictionary case for flyspell-mark-duplications-exceptions.
14185 Use regexp matching for languages.
c11325f7
CY
14186 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14187 default dictionary (Bug#7926).
14188
da91b5f2
CY
141892011-04-02 Chong Yidong <cyd@stupidchicken.com>
14190
099c39a4
JB
14191 * emacs-lisp/package.el (package--with-work-buffer):
14192 Recognize https URLs.
da91b5f2 14193
099c39a4
JB
14194 * net/network-stream.el: Move from gnus/proto-stream.el.
14195 Change prefix to network-stream throughout.
da91b5f2
CY
14196 (open-protocol-stream): Merge into open-network-stream, leaving
14197 open-protocol-stream as an alias. Handle nil BUFFER args.
14198
14199 * subr.el (open-network-stream): Move to net/network-stream.el.
14200
afa8e9f6
GM
142012011-04-02 Glenn Morris <rgm@gnu.org>
14202
1d2e369d
GM
14203 * find-dired.el (find-exec-terminator): New option.
14204 (find-ls-option): Test for -ls support.
14205 (find-ls-subdir-switches): Test for -b in find-ls-option.
14206 (find-dired, find-grep-dired): Doc fixes.
14207 (find-dired): Use find-exec-terminator.
14208
8abb7da8 14209 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14210 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14211 (find-name-arg): Remove purecopy.
8abb7da8 14212
f3ca7378
GM
14213 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14214 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14215 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14216 accordingly. Don't add the null-device if not needed.
14217
afa8e9f6
GM
14218 * files.el (save-some-buffers): Doc fix.
14219
35eae264
EZ
142202011-04-02 Eli Zaretskii <eliz@gnu.org>
14221
14222 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14223
26b51db5
JB
142242011-04-01 Juanma Barranquero <lekktu@gmail.com>
14225
14226 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14227 Use `dolist' rather than `mapcar'.
14228
7200d79c
SM
142292011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14230
03408648 14231 Add lexical binding.
7200d79c 14232
03408648
SM
14233 * subr.el (apply-partially): Use new closures rather than CL.
14234 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14235 (dolist, dotimes): Use slightly different expansion for lexical code.
14236 (functionp): Move to C.
14237 (letrec): New macro.
14238 (with-wrapper-hook): Use it and apply-partially instead of CL.
14239 (eval-after-load): Preserve lexical-binding.
14240 (save-window-excursion, with-output-to-temp-buffer): Turn them
14241 into macros.
7200d79c 14242
03408648
SM
14243 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14244
14245 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14246 than the arglist.
14247 (help-add-fundoc-usage): Don't add `Not documented'.
14248 (help-function-arglist): Handle closures, subroutines, and new
14249 byte-code-functions.
14250 (help-make-usage): Remove leading underscores.
14251 (describe-function-1): Handle closures.
14252 (describe-variable): Use special-variable-p for completion.
14253
14254 * files.el (lexical-binding): Declare safe.
f488fb65 14255
03408648
SM
14256 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14257 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14258 (pcase): Add `let' pattern.
14259 Change memoization so it actually works.
14260 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14261 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14262 <let>: New case.
f488fb65 14263
03408648
SM
14264 * emacs-lisp/macroexp.el: Use lexical binding.
14265 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14266 Don't convert ' to #' without checking that it's indeed quoting
14267 a lambda.
14268
14269 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14270 Use eval-sexp-add-defvars.
03408648
SM
14271 (eval-sexp-add-defvars): New fun.
14272
14273 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14274
14275 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14276 Don't autoload.
14277 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14278 than the internal `byte-compile-lambda'.
14279 (defmethod): Don't hide code under quotes.
14280 (eieio-defmethod): New `code' argument.
14281
14282 * emacs-lisp/eieio-comp.el: Remove.
14283
14284 * emacs-lisp/edebug.el (edebug-eval-defun)
14285 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14286 (edebug-toggle): Avoid `eval'.
14287
14288 * emacs-lisp/disass.el (disassemble-internal): Handle new
14289 `closure' objects.
14290 (disassemble-1): Handle new byte codes.
14291
14292 * emacs-lisp/cl.el (pushnew): Silence warning.
14293
14294 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14295 (cl-byte-compile-throw): Remove.
14296 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14297
14298 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14299 closures.
14300
14301 * emacs-lisp/cconv.el: New file.
14302
14303 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14304 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14305 (byte-compile-initial-macro-environment):
14306 Handle declare-function here.
14307 (byte-compile--lexical-environment): New var.
14308 (byte-stack-ref, byte-stack-set, byte-discardN)
14309 (byte-discardN-preserve-tos): New lap codes.
14310 (byte-interactive-p): Don't use any more.
14311 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14312 New macros.
14313 (byte-compile-lapcode): Use them and handle new lap codes.
14314 (byte-compile-obsolete): Remove.
14315 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14316 (byte-compile-arglist-warn): Check late def of inlinable funs.
14317 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14318 since they should have been expanded by now.
14319 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14320 (byte-compile-from-buffer): Remove unused second arg.
14321 (byte-compile-preprocess): New function.
14322 (byte-compile-toplevel-file-form): New function to distinguish
14323 file-form calls from outside from file-form calls from hunk-handlers.
14324 (byte-compile-file-form): Simplify.
14325 (byte-compile-file-form-defsubst): Remove.
14326 (byte-compile-file-form-defmumble): Simplify now that
14327 byte-compile-lambda always returns a byte-code-function.
14328 (byte-compile): Preprocess.
14329 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14330 Remove, not used any more.
14331 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14332 (byte-compile-make-args-desc): New funs.
14333 (byte-compile-lambda): Handle lexical functions. Always return
14334 a byte-code-function.
14335 (byte-compile-reserved-constants): New var, to make up room for
14336 closed-over variables.
14337 (byte-compile-constants-vector): Obey it.
14338 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14339 (byte-compile-macroexpand-declare-function): New function.
14340 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14341 byte-code-functions.
14342 (byte-compile-form): Check obsolescence here.
14343 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14344 (byte-compile-variable-ref): Remove.
14345 (byte-compile-dynamic-variable-op): New fun.
14346 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14347 (byte-compile-variable-set): New funs.
14348 (byte-compile-discard): Add 2 args.
14349 (byte-compile-stack-ref, byte-compile-stack-set)
14350 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14351 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14352 macroexpand-all instead.
14353 (byte-compile-quote-form): Remove.
14354 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14355 (byte-compile-bind, byte-compile-unbind): New funs.
14356 (byte-compile-let): Handle let* and lexical binding.
14357 (byte-compile-let*): Remove.
14358 (byte-compile-catch, byte-compile-unwind-protect)
14359 (byte-compile-track-mouse, byte-compile-condition-case):
14360 Handle a new :fun-body form, used for lexical scoping.
14361 (byte-compile-save-window-excursion)
14362 (byte-compile-with-output-to-temp-buffer): Remove.
14363 (byte-compile-defun): Simplify.
14364 (byte-compile-stack-adjustment): New fun.
14365 (byte-compile-out): Use it.
14366 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14367
14368 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14369 handler any more.
14370
14371 * emacs-lisp/byte-opt.el: Use lexical binding.
14372 (byte-inline-lapcode): Remove (to bytecomp).
14373 (byte-compile-inline-expand): Pay attention to inlining to/from
14374 lexically bound code.
14375 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14376 any more.
14377 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14378 any more and don't call compiler-macros.
14379 (byte-compile-splice-in-already-compiled-code): Remove.
14380 (byte-code): Don't inline any more.
14381 (disassemble-offset): Receive `bytes' as argument rather than via
14382 dynamic scoping.
14383 (byte-compile-tag-number): Declare before first use.
14384 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14385 `return' even if make-spliceable.
14386 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14387 obsolete interactive-p.
14388 (byte-optimize-lapcode): Optimize new lap-codes.
14389 Don't trip up on new form of `byte-constant' lap code.
14390
14391 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14392
14393 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14394
14395 * custom.el (custom-initialize-default, custom-declare-variable):
14396 Use `defvar'.
14397
14398 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14399 New variables.
14400 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14401 (COMPILE_FIRST): Add macroexp and cconv.
14402 * makefile.w32-in: Mirror changes in Makefile.in.
14403
14404 * vc/cvs-status.el:
14405 * vc/diff-mode.el:
14406 * vc/log-edit.el:
14407 * vc/log-view.el:
14408 * vc/smerge-mode.el:
14409 * textmodes/bibtex-style.el:
14410 * textmodes/css.el:
14411 * startup.el:
14412 * uniquify.el:
da91b5f2
CY
14413 * minibuffer.el:
14414 * newcomment.el:
14415 * reveal.el:
14416 * server.el:
14417 * mpc.el:
14418 * emacs-lisp/smie.el:
14419 * doc-view.el:
14420 * dired.el:
03408648
SM
14421 * abbrev.el: Use lexical binding.
14422
0f0c1f27
EZ
144232011-04-01 Eli Zaretskii <eliz@gnu.org>
14424
14425 * info.el (info-display-manual): New function.
14426
c82b2579
SM
144272011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14428
14429 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14430
221ddf68
TH
144312011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14432
14433 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14434 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14435
cba6e77e
GM
144362011-03-31 Glenn Morris <rgm@gnu.org>
14437
e040639f
GM
14438 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14439
cba6e77e
GM
14440 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14441
6d0f1c9e
CS
144422011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14443
14444 * progmodes/python.el (python-default-interpreter)
14445 (python-python-command-args, python-jython-command-args)
14446 (python-which-shell, python-which-args, python-which-bufname)
14447 (python-file-queue, python-comint-output-filter-function)
14448 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14449 variables and functions.
14450
3e2d70fd
SM
144512011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14452
14453 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14454 (completion-in-region-mode): New minor mode.
14455 (completion-in-region): Use it.
14456 (completion-in-region--data, completion-in-region-mode-map): New vars.
14457 (completion-in-region--postch): New function.
14458 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14459 New vars.
14460 (completion--capf-wrapper): New function.
14461 (completion-at-point): Use it to track well-behavedness of
14462 hook functions.
14463 (completion-help-at-point): New command.
14464
f3e4086c
JM
144652011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14466
14467 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14468 syntax class to search for whitespace on a single line
14469 (Message-ID: <4D938140.4030905@redhat.com>).
14470
eb7ffc14
LL
144712011-03-30 Leo Liu <sdl.web@gmail.com>
14472
14473 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14474 New commands.
14475 (edit-abbrevs-map): Bind them here.
14476 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14477
d806ab68
KM
144782011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14479
14480 * allout.el (allout-hide-by-annotation, allout-flag-region):
14481 Reduce possibility of overlay leakage by making them volatile.
14482
14483 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14484 hash is not shared between buffers. Mode initialization is
14485 responsible for giving it a useful starting value.
14486 (allout-item-span): Reduce possibility of overlay leakage by
14487 making them volatile.
14488 (allout-widgets-count-buttons-in-region): Add diagnostic function
14489 for tracking down button overlay leaks.
14490
ea622834
LL
144912011-03-29 Leo Liu <sdl.web@gmail.com>
14492
14493 * ido.el (ido-read-internal): Use the default history var
14494 minibuffer-history if no HISTORY is specified.
14495
b62f8267
G
144962011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14497
03408648
SM
14498 * net/imap.el (imap-shell-open, imap-process-connection-type):
14499 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14500 Kerberos, SSL, other subprocesses.
14501
947b6566
LL
145022011-03-28 Leo Liu <sdl.web@gmail.com>
14503
14504 * abbrev.el (abbrev-table-empty-p): New function.
14505 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14506 nonempty ones. (Bug#5937)
14507
5ffb62aa
JD
145082011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14509
14510 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14511
7a097943
LL
145122011-03-27 Leo Liu <sdl.web@gmail.com>
14513
14514 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14515 for foreground and background colors.
14516 (ansi-color-make-color-map): Adapt.
14517
c5b40130
LL
145182011-03-25 Leo Liu <sdl.web@gmail.com>
14519
1f48f7d2
LL
14520 * midnight.el (midnight-time-float): Remove. Note it calculates
14521 the microsecond component incorrectly and seconds-to-time does the
14522 same job.
625897ec 14523 Remove redundant (require 'timer).
1f48f7d2 14524
c5b40130
LL
14525 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14526 (ido-completions): Remove unused arguments. (Bug#8329)
14527
d86d2721
SM
145282011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14529
14530 * minibuffer.el (completion--flush-all-sorted-completions):
14531 Remove itself from hook.
14532 (completion-at-point): Let the functions perform the completion
14533 immediately and return nil or t.
14534 * comint.el (comint-dynamic-complete-functions): Now identical to
14535 completion-at-point-functions.
14536 (comint-dynamic-list-input-ring): Remove unused var `index'.
14537 (comint--match-partial-filename, comint--unquote&expand-filename):
14538 New funs, split from comint-match-partial-filename.
14539 (comint-dynamic-complete): Use completion-at-point.
14540 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14541
e8974c48
DA
145422011-03-24 Drew Adams <drew.adams@oracle.com>
14543
14544 * thingatpt.el: Support `defun'.
14545
def71b5e
LL
145462011-03-23 Leo Liu <sdl.web@gmail.com>
14547
cb5af48e
LL
14548 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14549
def71b5e
LL
14550 * help-mode.el (help-mode-finish): Tweak regexp.
14551
927c53e7
GM
145522011-03-23 Glenn Morris <rgm@gnu.org>
14553
18d05bed
GM
14554 * eshell/esh-opt.el (eshell-eval-using-options):
14555 Do not bind unused local variable `eshell-option-stub'.
14556
927c53e7
GM
14557 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14558
9d0da923
JB
145592011-03-22 Juanma Barranquero <lekktu@gmail.com>
14560
14561 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14562 keymap variable in `with-no-warnings' to avoid a warning when the
14563 keymap has been already `defconst'ed.
14564
4b978a67
LL
145652011-03-22 Leo Liu <sdl.web@gmail.com>
14566
14567 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14568 encode all chars in abbrevs; otherwise use emacs-mule or
14569 utf-8-emacs. (Bug#8308)
14570
5fd62452
JB
145712011-03-22 Juanma Barranquero <lekktu@gmail.com>
14572
0b1596c6
JB
14573 * simple.el (backward-delete-char-untabify):
14574 Avoid warning about using `delete-backward-char'.
14575
5fd62452
JB
14576 * image.el (image-type-file-name-regexps): Make it variable.
14577 `imagemagick-register-types' modifies it, and the user may want
14578 to add new extensions for known image types.
14579 (imagemagick-register-types): Throw error if not using ImageMagick.
14580
0b4e93f1
LL
145812011-03-22 Leo Liu <sdl.web@gmail.com>
14582
14583 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14584 located before rcirc-prompt-end-marker.
14585 (rcirc-complete): Error if point is not after rcirc prompt.
14586 Handle the case when table is nil.
9882e214 14587 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14588
fccee4ab
CY
145892011-03-22 Chong Yidong <cyd@stupidchicken.com>
14590
14591 * custom.el (custom--inhibit-theme-enable): Make it affect only
14592 custom-theme-set-variables and custom-theme-set-faces.
14593 (provide-theme): Ignore custom--inhibit-theme-enable.
14594 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14595 (custom-enabling-themes): Delete variable.
d86d2721
SM
14596 (enable-theme): Accept only loaded themes as arguments.
14597 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14598 (custom-enabled-themes): Forbid themes from setting this.
14599 Eliminate use of custom-enabling-themes.
14600 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14601
af896da6
LL
146022011-03-21 Leo Liu <sdl.web@gmail.com>
14603
14604 * ido.el (ido-read-internal): Add ido-selected to history instead
14605 of user input.
14606
78f64af0
SM
146072011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14608
14609 * subr.el (deferred-action-list, deferred-action-function):
14610 Mark obsolete.
14611
b16ac1ec
LL
146122011-03-21 Leo Liu <sdl.web@gmail.com>
14613
810f7698
LL
14614 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14615 change on 2011-02-13 (bug#8309).
14616
b16ac1ec
LL
14617 * minibuffer.el (read-file-name-function): Change default value.
14618 (read-file-name--defaults): Rename from read-file-name-defaults.
14619 (read-file-name-default): Rename from read-file-name.
14620 (read-file-name): Call read-file-name-function.
14621
4e05e67e
GM
146222011-03-21 Glenn Morris <rgm@gnu.org>
14623
14624 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14625 Doc fixes.
14626
4359915b
CY
146272011-03-21 Chong Yidong <cyd@stupidchicken.com>
14628
14629 * cus-theme.el: Add missing provide statement.
14630 (customize-create-theme): Extract theme value correctly.
14631 (custom-theme-visit-theme): Autoload.
14632 (customize-create-theme): Prompt before inserting default faces.
14633
1fe275ee
JB
146342011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14635
14636 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14637 units and musical notes.
14638
cd394be1 146392011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14640
14641 * ido.el (ido-read-internal): Use completing-read-default.
14642 (ido-completing-read): Fix compatibility with completing-read.
14643
7d476bde
CO
146442011-03-20 Christian Ohler <ohler@gnu.org>
14645
14646 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14647 (ert-delete-all-tests): Use `called-interactively-p' rather than
14648 `interactive-p'.
14649 (ert--make-xrefs-region): Respect END.
14650
fe0fb33e
CY
146512011-03-19 Chong Yidong <cyd@stupidchicken.com>
14652
ff854b0b
CY
14653 * dired-aux.el (dired-create-directory): Signal an error if the
14654 directory already exists (Bug#8246).
14655
fe0fb33e
CY
14656 * facemenu.el (list-colors-display): Call list-faces-display
14657 inside with-help-window.
14658 (list-colors-print): Use display property to align the final
14659 column, instead of checking window-width.
14660
576bce32
EZ
146612011-03-19 Eli Zaretskii <eliz@gnu.org>
14662
4d61f28d 14663 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14664 windows-nt systems.
14665 (emerge-protect-metachars): Quote correctly for ms-dos and
14666 windows-nt systems.
14667
89c41d68 146682011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14669
14670 * info.el (info-initialize): Replace all uses of `:' with
14671 path-separator for compatibility with non-Unix systems.
14672 Cache quoting of path-separator. (Bug#8258)
14673
b14e3e21 146742011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14675
14676 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14677 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14678 (mouse-avoidance-mode): Fix typos in docstrings.
14679
4525ce3e
CY
146802011-03-19 Chong Yidong <cyd@stupidchicken.com>
14681
14682 * startup.el (package-subdirectory-regexp): Move from package.el.
14683 Omit \\` and \\', and let callers add them.
14684
14685 * emacs-lisp/package.el (package-strip-version)
14686 (package-load-all-descriptors): Add \\` and \\' to
14687 package-subdirectory-regexp before using it.
14688 (package-untar-buffer): New arg DIR; ensure that file untars only
14689 into this expected directory. Remove superfluous delete-region.
14690 (package-unpack): Caller changed.
14691 (package-tar-file-info): Use package-subdirectory-regexp.
14692
a904a09a 146932011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14694
a904a09a
SM
14695 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14696 diff-mode-shared-map (bug#8284).
14697 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14698
146992011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14700
14701 * calendar/time-date.el (format-seconds): Use assoc instead of
14702 assoc-string, since assoc-string doesn't exist in XEmacs.
14703
171fc304
JB
147042011-03-17 Juanma Barranquero <lekktu@gmail.com>
14705
14706 * custom.el (custom-known-themes): Reflow docstring.
14707 (custom-theme-load-path): Fix typo in docstring.
14708 (load-theme): Fix typo in error message.
14709 (custom-available-themes, custom-variable-theme-value):
14710 Use `let', not `let*'.
14711
d71990a1
JB
147122011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14713
14714 * calc/README: Mention inclusion of musical notes.
14715
14716 * calc/calc-units.el (calc-lu-quant): Rename from
14717 `calc-logunits-quantity'.
14718 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14719 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14720 (calc-db): Rename from `calc-dblevel'.
14721 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14722 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14723 (calc-np): Rename from `calc-nplevel'.
14724 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14725 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14726 (calc-lu-plus): Rename from `calc-logunits-add'.
14727 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14728 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14729 (calc-lu-minus): Rename from `calc-logunits-sub'.
14730 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14731 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14732 (calc-lu-times): Rename from `calc-logunits-mul'.
14733 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14734 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14735 (calc-lu-divide): Rename from `calc-logunits-div'.
14736 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14737 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14738
14739 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14740 functions being autoloaded.
14741
14742 * calc/calc.el (calc-lu-power-reference): Rename from
14743 `calc-logunits-power-reference'.
14744 (calc-lu-field-reference): Rename from
14745 `calc-logunits-field-reference'.
14746
7a71b18d
GM
14747 * calc/calc-help.el (calc-l-prefix-help):
14748 Mention musical note functions.
d71990a1 14749
40c2934b
SM
147502011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14751
14752 * minibuffer.el (completion-all-sorted-completions):
14753 Use :completion-cycle-penalty text property if present.
14754
b0911414
KM
147552011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14756
14757 * allout.el (allout-yank-processing): Adjust for new rebulleting
14758 regime so bullet being yanked is used without prompting the user
14759 for a choice.
14760
8a05b668
JB
147612011-03-16 Juanma Barranquero <lekktu@gmail.com>
14762
14763 * startup.el (command-line): Warn the user that _emacs is deprecated.
14764
5ba5fb81
JB
147652011-03-16 Juanma Barranquero <lekktu@gmail.com>
14766
14767 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14768 (delphi-verbose, delphi-comment-face, delphi-string-face)
14769 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14770 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14771 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14772 (delphi-new-comment-line, delphi-font-lock-defaults)
14773 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14774 Fix typos in docstrings.
14775
2dab465b
KM
147762011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14777
5ba5fb81 14778 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14779 Invert the roles of character and string values for INSTEAD, so a
14780 string is used for the more common case of a defaulting prompt.
14781
0adf5618
SM
147822011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14783
14784 * progmodes/ruby-mode.el (ruby-backward-sexp):
14785 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14786 * play/gamegrid.el (gamegrid-make-face):
14787 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14788 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14789 * notifications.el (notifications-notify):
14790 * net/xesam.el (xesam-search-engines):
14791 * net/quickurl.el (quickurl-list-insert):
14792 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14793
d72700e5
CY
147942011-03-15 Chong Yidong <cyd@stupidchicken.com>
14795
14796 * startup.el (command-line): Update package subdirectory regexp.
14797
49c5410a
SM
147982011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14799
c6eee9aa
SM
14800 * allout.el (allout-abbreviate-flattened-numbering)
14801 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14802
49c5410a
SM
14803 * subr.el (read-char-choice): Only show the cursor after the prompt,
14804 not after the answer.
14805
047b2bb9
KR
148062011-03-15 Kevin Ryde <user42@zip.com.au>
14807
14808 * help-fns.el (variable-at-point): Skip leading quotes, if any
14809 (bug#8253).
14810
0a57d256
SM
148112011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14812
14813 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14814 warning message.
14815
77c992bc
MA
148162011-03-14 Michael Albinus <michael.albinus@gmx.de>
14817
14818 * shell.el (shell): When called interactively, offer to change the
14819 shell file name on remote hosts.
14820
eebc475d
TZ
148212011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14822
14823 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14824 integration for LDAP parameters. The host, base, user or binddn,
14825 and secret tokens can be specified in a netrc file, for instance.
14826 This is optional because an `auth-source' parameter must be
14827 specified in the search attributes.
14828
9d05d1ba
JB
148292011-03-13 Juanma Barranquero <lekktu@gmail.com>
14830
14831 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14832
09d9db2c
GM
148332011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14834
14835 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14836 into declaration. Remove redundant and harmful binding.
14837
148382011-03-12 Eli Zaretskii <eliz@gnu.org>
14839
14840 * files.el (file-ownership-preserved-p): Pass `integer' as an
14841 explicit 2nd argument to `file-attributes'. If the file's owner
14842 is the Administrators group on Windows, and the current user is
14843 Administrator, consider that a match.
14844
14845 * server.el (server-ensure-safe-dir): Consider server directory
14846 safe on MS-Windows if its owner is the Administrators group while
14847 the current Emacs user is Administrator. Use `=' to compare
14848 numerical UIDs, since they could be integers or floats.
14849
219bd536
JB
148502011-03-12 Juanma Barranquero <lekktu@gmail.com>
14851
14852 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14853
f3afd36b
MA
148542011-03-12 Michael Albinus <michael.albinus@gmx.de>
14855
14856 Sync with Tramp 2.2.1.
14857
14858 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14859
14860 * net/trampver.el: Update release number.
14861
3aaaa6f1
SM
148622011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14863
94642599
SM
14864 * progmodes/compile.el (compilation--previous-directory): Fix up
14865 various nil/dead-marker mismatches (bug#8014).
14866 (compilation-directory-properties, compilation-error-properties):
14867 Don't call it at a position past the one we're about to change.
14868
3aaaa6f1
SM
14869 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14870 Disable obsolescence warnings in the file that declares it.
14871
14239447
KM
148722011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14873
099c39a4
JB
14874 * allout-widgets.el (allout-widgets-tally):
14875 Initialize allout-widgets-tally as a hash table rather than nil to
14876 prevent mode-line redisplay warnings. Also, clarify the module
14877 description and fix a comment typo.
14239447 14878
135e287c
JB
148792011-03-11 Juanma Barranquero <lekktu@gmail.com>
14880
14881 * help-fns.el (describe-variable): Don't complete keywords.
14882 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14883
ffbf300e
CY
148842011-03-10 Chong Yidong <cyd@stupidchicken.com>
14885
ba08b241
CY
14886 * emacs-lisp/package.el (package-version-join): Impose a standard
14887 string representation for pre/alpha/beta version lists.
14888 (package-unpack-single): Standardize the directory name by passing
14889 it through package-version-join.
14890 (package-strip-rcs-id): Accept any version string that does not
14891 signal an error in version-to-list.
ffbf300e 14892
f346fd6b
MA
148932011-03-10 Michael Albinus <michael.albinus@gmx.de>
14894
14895 * simple.el (delete-trailing-whitespace): Return nil for the
14896 benefit of `write-file-functions'.
14897
ccb55d27
GM
148982011-03-10 Glenn Morris <rgm@gnu.org>
14899
5ceaac0c
GM
14900 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14901
02da65ff
GM
14902 * vc/vc-git.el (vc-git-program): New option.
14903 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14904 (vc-git--call): Use it.
14905
b2f603cc
GM
14906 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14907
5772caab
GM
14908 * cus-edit.el (Custom-newline): If no button at point, look
14909 for a subgroup button at start-of-line. (Bug#2298)
14910
ccb55d27
GM
14911 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14912
ec6ecaed
JD
149132011-03-10 Julien Danjou <julien@danjou.info>
14914
14915 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14916 `cursor-type' is nil.
14917
9d5aa01d
JB
149182011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14919
14920 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14921
b6a5875b
KM
149222011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14923
7a71b18d 14924 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14925 preserves the existing header prefix, rebulleting it if necessary,
14926 rather than replacing it. This is necessary for proper operation
14927 of cooperative addons like allout-widgets.
1154d12e
JB
14928 (allout-make-topic-prefix, allout-rebullet-heading):
14929 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14930 value as alternate bullet to be used, instead of prompting the user
14931 for a bullet character.
b6a5875b 14932
ee545c35
MA
149332011-03-09 Michael Albinus <michael.albinus@gmx.de>
14934
d86d2721
SM
14935 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14936 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14937 `tramp-default-port'.
14938
c47971d7
DD
149392011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14940
14941 * net/rcirc.el (rcirc-handler-001): Remove useless
14942 with-rcirc-process-buffer.
14943 (rcirc-check-auth-status): Swap arguments to string-match.
14944
13522cb4
GM
149452011-03-09 Glenn Morris <rgm@gnu.org>
14946
0be6f4f1
GM
14947 * shell.el (shell-mode):
14948 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14949
13522cb4
GM
14950 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14951 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14952
515de2e3
CY
149532011-03-08 Chong Yidong <cyd@stupidchicken.com>
14954
14955 * emacs-lisp/package.el (package-refresh-contents)
14956 (package-menu-execute): Use condition-case-no-debug.
14957
b511b994
MA
149582011-03-08 Michael Albinus <michael.albinus@gmx.de>
14959
14960 * simple.el (shell-command-to-string): Use `process-file'.
14961
14962 * emacs-lisp/package.el (package-tar-file-info): Handle also
14963 remote files.
14964
d86d2721
SM
14965 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14966 Use `equal' for upload base check.
b511b994 14967
25bbfb31
AM
149682011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14969
14970 * textmodes/texinfo.el (texinfo-environments):
14971 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14972
be996521
GM
149732011-03-08 Glenn Morris <rgm@gnu.org>
14974
e9c8529f
GM
14975 * cus-start.el (cursor-in-non-selected-windows):
14976 Fix :set quoting oddness. (Bug#8192)
14977
be996521
GM
14978 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14979 in some setf expressions. (Bug#2159)
14980
2bb5649e
CY
149812011-03-08 Chong Yidong <cyd@stupidchicken.com>
14982
14983 * custom.el (custom-available-themes): Return themes in
14984 alphabetical order.
14985
33383987 14986See ChangeLog.15 for earlier changes.
e3d51b27
MR
14987
14988;; Local Variables:
14989;; coding: utf-8
e3d51b27
MR
14990;; End:
14991
acaf905b 14992 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14993
14994 This file is part of GNU Emacs.
14995
14996 GNU Emacs is free software: you can redistribute it and/or modify
14997 it under the terms of the GNU General Public License as published by
14998 the Free Software Foundation, either version 3 of the License, or
14999 (at your option) any later version.
15000
15001 GNU Emacs is distributed in the hope that it will be useful,
15002 but WITHOUT ANY WARRANTY; without even the implied warranty of
15003 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15004 GNU General Public License for more details.
15005
15006 You should have received a copy of the GNU General Public License
15007 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.