Add file missing from last commit.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0c9e42b5
DA
12012-06-12 Drew Adams <drew.adams@oracle.com>
2
3 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4 New functions.
5 (help-mode): Use them.
6
09e06855
GM
72012-06-11 Glenn Morris <rgm@gnu.org>
8
9 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10 Use preprocessor face for directives.
11 (fortran-directive-re): Doc fix.
12
71adb94b
SM
132012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
14
2eb87922
SM
15 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
16 conversion to backquotes (bug#11652).
17
71adb94b
SM
18 Fix compiler-expansion of CL's cXXr functions (bug#11673).
19 * emacs-lisp/cl-lib.el (cl--defalias): New function.
20 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
21 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
22 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
23 (cl-ninth, cl-tenth): Mark them as inlinable.
24 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
25 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
26 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
27 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
28 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
29 (cl-list*, cl-adjoin): Don't put an autoload manually.
30 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
31 (cl--compiler-macro-list*): Add autoload cookie.
32 (cl--compiler-macro-cXXr): New function.
2eb87922 33
71adb94b
SM
34 * help-fns.el (help-fns--compiler-macro): New function extracted from
35 describe-function-1; follow aliases and use `compiler-macro' property.
36 (describe-function-1): Use it.
37
a6674402
CY
382012-06-11 Chong Yidong <cyd@gnu.org>
39
40 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
41 is uninstalled, if imagemagick is installed.
42
bb3faf5b
SM
432012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * emacs-lisp/cl-lib.el: Use lexical-binding.
46 (cl-map-extents, cl-maclisp-member): Remove.
47 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
48 (cl--set-substring, cl--block-wrapper, cl--block-throw)
49 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
50 * emacs-lisp/cl-extra.el: Use lexical-binding.
51 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
52 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
53 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
54 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
55 * emacs-lisp/cl-seq.el: Use lexical-binding.
56 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
57 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
58 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
59 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
60 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
61 CL's internals.
62
2fe4b125
MA
632012-06-11 Michael Albinus <michael.albinus@gmx.de>
64
65 Sync with Tramp 2.2.6-pre.
66
67 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
68 `print-length' and `print-level' to nil, in order to avoid
69 truncation. Reported by Christopher Schmidt
70 <christopher@ristopher.com>.
71
72 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
73
74 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
75 New defmacro.
76 (tramp-compat-copy-directory): Add optional argument
77 COPY-CONTENTS. It is not handled yet.
78
79 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
80 (tramp-ftp-file-name-p): Simplify.
81
82 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
83 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
84 connection vector.
85
86 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
87 (tramp-methods): Do not use `tramp-password-end-of-line'.
88 (tramp-completion-function-alist-putty): Handle UNIX case.
89 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
90 (tramp-do-file-attributes-with-stat)
91 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
92 gid as real numbers. They could run out of integer range on cygwin.
93 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
94 (tramp-sh-handle-expand-file-name): Handle hops.
95 (tramp-open-connection-setup-interactive-shell): Use
96 `tramp-cleanup'. Move check for busyboxes ...
97 (tramp-find-shell): ... here. Simplify implementation. Set
98 "remote-shell" property also for alternative shells.
99 (tramp-remote-coding-commands): Check "test -c /dev/stdout". If
100 failing, a regular file would be written otherwise. Reported by
101 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
102 (tramp-find-inline-encoding): Cache the coding commands in the
103 process cache. Apply test command on the remote side, if defined.
104 (tramp-find-inline-compress): Cache the compress commands in the
105 process cache.
106 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
107 when requested. Handle hops.
108 (tramp-current-connection): New defvar.
109 (tramp-maybe-open-connection): Use `tramp-cleanup'. Throw
110 `suppress', if there was a failed connection shortly before.
111 Handle user interrupt. (Bug#10187)
112 (tramp-get-inline-compress, tramp-get-inline-coding): Read
113 connection properties from the process cache.
114
115 * net/tramp-smb.el (tramp-smb-server-version)
116 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar): New
117 defconsts.
118 (tramp-smb-prompt): Extend for powershell prompt.
119 (tramp-smb-file-name-handler-alist): Add handlers for
120 `process-file', `shell-command' and `start-file-process'.
121 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
122 (tramp-smb-winexe-shell-command-switch): New defcustoms.
123 (tramp-smb-file-name-p): Simplify.
124 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
125 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
126 (tramp-smb-shell-quote-argument): New defuns.
127 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
128 Implement using "tar". By this, time-stamps are preserved.
129 (tramp-smb-handle-copy-file): Handle also the case of directories.
130 (tramp-smb-do-file-attributes-with-stat)
131 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities): Use
132 `tramp-get-connection-buffer').
133 (tramp-smb-handle-rename-file): Use "rename", when source and
134 target are on the same share.
135 (tramp-smb-maybe-open-connection): Handle wrong passwords. Use
136 `tramp-smb-server-version'.
137 (tramp-smb-wait-for-output): Remove prompt.
138
139 * net/tramp.el (top): Require 'cl.
140 (tramp-methods, tramp-rsh-end-of-line): Remove
141 `tramp-password-end-of-line' from docstring.
142 (tramp-save-ad-hoc-proxies): New defcustom.
143 (tramp-completion-function-alist): Adapt docstring.
144 (tramp-default-password-end-of-line): Remove defcustom.
145 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
146 (tramp-user-regexp, tramp-file-name-regexp-unified)
147 (tramp-file-name-regexp-url): Extend regexp by hop separator.
148 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
149 (tramp-remote-file-name-spec-regexp): New defconst.
150 (tramp-file-name-structure): Extend structure for hops.
151 (tramp-get-method-parameter): Move up.
152 (tramp-file-name-p, tramp-dissect-file-name)
153 (with-parsed-tramp-file-name): Handle hops.
154 (tramp-file-name-hop): New defun.
155 (tramp-make-tramp-file-name): New optional arg HOP.
156 (tramp-message-show-progress-reporter-message): New defvar.
157 (tramp-with-progress-reporter): Use it. We cannot use
158 `tramp-message-show-message' here, because this suppresses also
159 error buffers.
160 (tramp-error-with-buffer): Suppress buffer view, if
161 `tramp-message-show-message' is nil. Use
162 `tramp-get-connection-buffer'.
163 (tramp-cleanup): New defun.
164 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
165 (tramp-file-name-handler): If `debug-on-error' is set, propagate
166 an error unchanged.
167 (tramp-completion-handle-file-name-all-completions): Handle hops.
168 Fix an error when called from ido.
169 (tramp-completion-dissect-file-name): Use better local variable
170 name. Add hop to the vector.
171 (tramp-handle-insert-file-contents): Use progress-reporter for the
172 whole scenario.
173 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
174 to `t'.
175 (tramp-check-for-regexp): Simplify search.
176 (tramp-enter-password): Remove it. Move implementation ...
177 (tramp-action-password): ... here.
178 (tramp-mode-string-to-int, tramp-local-host-p)
179 (tramp-make-tramp-temp-file, tramp-read-passwd)
180 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff): Set
181 tramp-autoload cookie.
182
183 * net/trampver.el: Update release number.
184
1852012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
186 Michael Albinus <michael.albinus@gmx.de>
187
188 * net/tramp.el (tramp-set-completion-function): Fix docstring.
189 (tramp-parse-group, tramp-parse-file)
190 (tramp-parse-shostkeys-sknownhosts): New defuns.
191 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
192 (tramp-parse-shosts-group, tramp-parse-sconfig)
193 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
194 (tramp-parse-sknownhosts, tramp-parse-hosts)
195 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
196 Use them.
197 (tramp-parse-passwd-group, tramp-parse-netrc-group)
198 (tramp-parse-putty-group): Don't narrow.
199 (tramp-parse-putty): Make a loop.
200 (tramp-file-name-handler): Catch the `suppress' signal.
201
72834e10
CY
2022012-06-11 Chong Yidong <cyd@gnu.org>
203
204 * image.el (imagemagick-register-types): Put the ImageMagick entry
205 at the end of image-type-file-name-regexps.
206
a4712e11
JB
2072012-06-11 Johan Bockgård <bojohan@gnu.org>
208
209 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
210 (pcase, pcase-let*, pcase-dolist): Use them.
211
82ad98e3
SM
2122012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 * emacs-lisp/pcase.el (pcase--let*): New function.
215 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
216 (pcase--expand): Use macroexp-let².
217
f80efb86
SM
2182012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
219
220 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
221 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
222 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
223 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
224 * emacs-lisp/derived.el: Use pcase instead of `cl'.
225 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
226
31ca4639 2272012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 228
31ca4639
CY
229 * mail/rmail.el (rmail-yank-current-message): Leave point at
230 correct position. (Bug#11660)
94f0aa34 231
31ca4639 2322012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 233
31ca4639 234 * allout-widgets.el: Fix code header.
9e1b8ec4 235
31ca4639 2362012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 237
f80efb86
SM
238 * cus-edit.el (customize-changed-options-previous-release):
239 Bump to 24.1.
31ca4639 240
642b6d30
AS
2412012-06-09 Andreas Schwab <schwab@linux-m68k.org>
242
243 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
244
4f5d2ba1
CY
2452012-06-09 Chong Yidong <cyd@gnu.org>
246
247 * ebuff-menu.el (electric-buffer-list): Preserve header line.
248
e75852fd
MR
2492012-06-09 Martin Rudalics <rudalics@gmx.at>
250
251 * window.el (special-display-popup-frame): Don't use
252 window--display-buffer (Bug#11651).
253
1e48e282
EZ
2542012-06-09 Eli Zaretskii <eliz@gnu.org>
255
8a26b487
EZ
256 Fix parallel builds: make sure loaddefs.el is not being written
257 while Lisp files are compiled.
258 (compile): Don't depend on 'mh-autoloads'.
259 (compile-CMD, compile-SH): Depend on 'autoloads'.
260 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
261
1e48e282
EZ
262 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
263
6175e34b
CY
2642012-06-09 Chong Yidong <cyd@gnu.org>
265
266 * face-remap.el (face-remap-add-relative, face-remap-set-base)
267 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
268 Doc fixes (Bug#11225).
269
d9857e53
SM
2702012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
273 a function if there's a clear indication that it has a compiler-macro.
274 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
275 (macro-declarations-alist): Add arglist to declaration functions.
276 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
277 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
278 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
279 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
280 Also add autoload to find the compiler macro.
281 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
282 (cl--compiler-macro-member, cl--compiler-macro-assoc)
283 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
284 (cl--compiler-macro-get): New functions, replacing calls to
285 cl-define-compiler-macro.
286 (cl-typep) [compiler-macro]: Use macroexp-let².
287
f81298f8 2882012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
289
290 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
291 string properly, fixes Bug#11473.
292
4b56d0fe
CY
2932012-06-08 Chong Yidong <cyd@gnu.org>
294
295 * faces.el (set-face-attribute): Doc fix.
296 (modify-face): Don't use :bold and :italic.
297 (error, warning, success): Tweak definitions.
298
299 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
300 (custom-modified, custom-set, custom-changed, custom-themed)
301 (custom-saved, custom-button, custom-button-mouse)
302 (custom-button-pressed, custom-state, custom-comment-tag)
303 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
304 (custom-group-subtitle): Use new-style face specs.
305 (custom-invalid-face, custom-rogue-face, custom-modified-face)
306 (custom-set-face, custom-changed-face, custom-saved-face)
307 (custom-button-face, custom-button-pressed-face)
308 (custom-documentation-face, custom-state-face)
309 (custom-comment-face, custom-comment-tag-face)
310 (custom-variable-tag-face, custom-variable-button-face)
311 (custom-face-tag-face, custom-group-tag-face-1)
312 (custom-group-tag-face): Remove obsolete face alias.
313
314 * epa.el (epa-validity-high, epa-validity-medium)
315 (epa-validity-low, epa-mark, epa-field-name, epa-string)
316 (epa-field-name, epa-field-body):
317 * font-lock.el (font-lock-comment-face, font-lock-string-face)
318 (font-lock-keyword-face, font-lock-builtin-face)
319 (font-lock-function-name-face, font-lock-variable-name-face)
320 (font-lock-type-face, font-lock-constant-face):
321 * ido.el (ido-first-match, ido-only-match, ido-subdir)
322 (ido-virtual, ido-indicator, ido-incomplete-regexp):
323 * speedbar.el (speedbar-button-face, speedbar-file-face)
324 (speedbar-directory-face, speedbar-tag-face)
325 (speedbar-selected-face, speedbar-highlight-face)
326 (speedbar-separator-face):
327 * whitespace.el (whitespace-newline, whitespace-space)
328 (whitespace-hspace, whitespace-tab, whitespace-trailing)
329 (whitespace-line, whitespace-space-before-tab)
330 (whitespace-space-after-tab, whitespace-indentation)
331 (whitespace-empty):
332 * emulation/cua-base.el (cua-global-mark):
333 * eshell/em-prompt.el (eshell-prompt):
334 * net/newst-plainview.el (newsticker-new-item-face)
335 (newsticker-old-item-face, newsticker-immortal-item-face)
336 (newsticker-obsolete-item-face, newsticker-date-face)
337 (newsticker-statistics-face, newsticker-default-face):
338 * net/newst-reader.el (newsticker-feed-face)
339 (newsticker-extra-face, newsticker-enclosure-face):
340 * net/newst-treeview.el (newsticker-treeview-face)
341 (newsticker-treeview-new-face, newsticker-treeview-old-face)
342 (newsticker-treeview-immortal-face)
343 (newsticker-treeview-obsolete-face)
344 (newsticker-treeview-selection-face):
345 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
346 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
347 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
348 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
349 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
350 (nxml-outline-active-indicator, nxml-outline-ellipsis):
351 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
352 (mpuz-text):
353 * progmodes/vera-mode.el (vera-font-lock-number)
354 (vera-font-lock-function, vera-font-lock-interface):
355 * textmodes/table.el (table-cell): Use new-style face specs, and
356 don't use the old :bold and :italic attributes.
357
358 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
359 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
360 (ebrowse-member-class, ebrowse-progress): Likewise.
361 (ebrowse-tree-mark-face, ebrowse-root-class-face)
362 (ebrowse-file-name-face, ebrowse-default-face)
363 (ebrowse-member-attribute-face, ebrowse-member-class-face)
364 (ebrowse-progress-face): Remove obsolete faces.
365
366 * progmodes/flymake.el (flymake-errline, flymake-warnline):
367 Inherit from error and warning faces respectively.
368
369 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
370 Likewise.
f80efb86
SM
371 (flyspell-incorrect-face, flyspell-duplicate-face):
372 Remove obsolete aliases.
4b56d0fe 373
03310646
MA
3742012-06-08 Michael Albinus <michael.albinus@gmx.de>
375
376 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
377 Avoid infloop.
378
513749ee
SM
3792012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * startup.el (argv, argi): Make lexically scoped.
382 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
383 * emacs-lisp/cl-macs.el: Use lexical-binding.
384 Rename cl-bind-* to cl--bind-*.
385 * files.el: Don't require `cl' since it doesn't use it.
386 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
387
595ef4ad
JB
3882012-06-08 Juanma Barranquero <lekktu@gmail.com>
389
390 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
391 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
392 instead of calling external sort utility.
393 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
394
e9f66fcb
EZ
3952012-06-08 Eli Zaretskii <eliz@gnu.org>
396
397 * descr-text.el (describe-char): Mention how to insert the
398 character, if the current input method doesn't support it.
399 See the discussion in this thread for the details:
400 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
401
3d10db47
SS
4022012-06-08 Sam Steingold <sds@gnu.org>
403
404 * bindings.el (global-map): Bind XF86Forward to next-buffer and
405 XF86Back to previous-buffer.
406 (minibuffer-local-map): Bind them to next-history-element and
407 previous-history-element respectively.
408 * help-mode.el (help-mode-map): Bind them to help-go-forward and
409 help-go-back respectively.
410 * info.el (Info-mode-map): Bind them to Info-history-forward and
411 Info-history-back respectively.
412 These are the keys next to Up on the ThinkPad keyboard.
413
de7e2b36
SM
4142012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
415
416 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
417 * emacs-lisp/cl-macs.el: Provide itself.
418 (cl--labels-convert-cache): New var.
419 (cl--labels-convert): New function.
420 (cl-flet, cl-labels): New implementation with new semantics, relying on
421 lexical-binding.
422 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
423 (cl-closure-vars, cl--function-convert-cache)
424 (cl--function-convert): Move from cl-macs.el.
425 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
426 rename by removing the "cl-" prefix.
427 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
428
6fa6c4ae
SM
4292012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
430
431 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
432 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
433 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
434 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
435 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
436 (cl-hash-table-count): Add old compatibility aliases.
437
438 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
439 Use macroexpand-all-environment instead.
440 (cl--old-macroexpand): New var.
441 (cl--sm-macroexpand): New function.
442 (cl-symbol-macrolet): Use it during macro expansion.
443 (cl--function-convert-cache): New var.
444 (cl--function-convert): New function, extracted from
445 cl-macroexpand-all.
446 (cl-lexical-let): Use it.
447
448 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
449 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
450 (cl-member): Remove old alias.
451
452 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
453 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
454 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
455 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
456 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
457 (cl-macroexpand-cmacs): Remove var.
458 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
459 Use macroexpand-all instead.
460
4dd1c416
SM
4612012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
464 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
465 (macroexp-copyable-p): New functions and macros.
466 * emacs-lisp/edebug.el (edebug-unwrap):
467 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
468 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
469 (pcase--let*): Remove.
470 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
471 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
472 macroexp-const-p instead.
473 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
474
475 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
476 instead of "cl-" for internal definitions. Use macroexp-const-p.
477 (cl-old-bc-file-form): Remove var.
478 (cl-const-exprs-p): Remove fun.
479 (cl-labels, cl-macrolet): Use backquote.
480 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
481 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
482 (cl-define-setf-expander): Rename from cl-define-setf-method.
483 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
484
485 * international/mule-cmds.el: Don't require CL.
486 (view-hello-file): Don't use `letf'.
487
ed8bd4d7
SM
4882012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
489
7287f2f3
SM
490 * tmm.el (tmm-prompt): Use string-prefix-p.
491 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
492 (tmm-add-prompt): Use minibuffer-completion-help.
493 (tmm-delete-map): Remove.
494
ed8bd4d7
SM
495 * subr.el (kbd): Make it its own function.
496
7b4cdbf4
SM
4972012-06-07 Stefan Merten <smerten@oekonux.de>
498
499 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
500 Silence compiler warnings. Fix versions.
ed8bd4d7 501 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 502 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 503 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
504 (rst-package-emacs-version-alist): Correct Emacs version to
505 represent major merge with upstream.
ed8bd4d7 506 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 507
2b48d721
GM
5082012-06-06 Glenn Morris <rgm@gnu.org>
509
510 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
511 Only print environment variables if set.
512
fa779ab0
SM
5132012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
516 (macroexp--cons): Rename from maybe-cons.
517 (macroexp--accumulate): Rename from macroexp-accumulate.
518 (macroexp--all-forms): Rename from macroexpand-all-forms.
519 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
520 (macroexp--expand-all): Rename from macroexpand-all-1.
521
628299e0
SS
5222012-06-06 Sam Steingold <sds@gnu.org>
523
524 * calendar/calendar.el (calendar-in-read-only-buffer):
525 Call `special-mode' to enable the standard read-only keybindings.
526
b7bb5838
SM
5272012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
530 with "loading" messages (bug#11635).
531
dfb308ba
MA
5322012-06-06 Michael Albinus <michael.albinus@gmx.de>
533
534 * files.el (enable-remote-dir-locals): New option.
535 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
536
0372ee92
MA
537 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
538 Ensure, that the temp directory is local.
539
540 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
541 `temporary-file-directory'.
542
eed0bb91
MA
543 * progmodes/python.el (python-send-region): Ensure, that the
544 temporary file is created also in the remote case.
545
7a58f64d
GM
5462012-06-06 Glenn Morris <rgm@gnu.org>
547
f7dd4e98
GM
548 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
549 (vc-rcs-update-changelog): Use it.
550
276d5f5d
GM
551 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
552
7a58f64d
GM
553 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
554 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
555 (vc-sccs-diff): Replace use of the external vcdiff script.
556
daed4003
GM
5572012-06-05 Glenn Morris <rgm@gnu.org>
558
559 * ledit.el: Move to obsolete/.
560
48c455c7
SS
5612012-06-05 Sam Steingold <sds@gnu.org>
562
563 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
564 patch (Bug#11140).
565
57a7d507
SM
5662012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
567
d32926ff
SM
568 * emacs-list/cust-print.el: Move to obsolete.
569
53aacf21
SM
570 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
571 compiler-macro expansion.
572
57a7d507
SM
573 Add native compiler-macro support.
574 * emacs-lisp/macroexp.el (macroexpand-all-1):
575 Support compiler-macros directly. Properly follow aliases and apply
576 the compiler macros more thoroughly.
577 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
578 macroexpand now properly follows aliases.
579 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
580 (cl-compiler-macroexpand): Use new prop.
581 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
582
583 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
584
51a5f9d8
MR
5852012-06-05 Martin Rudalics <rudalics@gmx.at>
586
587 * window.el (get-lru-window, get-mru-window, get-largest-window):
588 New argument NOT-SELECTED to avoid picking the selected window.
589 (window--display-buffer-1, window--display-buffer-2): Replace by
590 new function window--display-buffer
591 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
592 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
593 Use window--display-buffer.
51a5f9d8
MR
594 (display-buffer-use-some-window): Remove temporary dedication
595 hack by calling get-lru-window and get-largest-window with
596 NOT-SELECTED argument non-nil. Call window--display-buffer.
597
08f9f738
GM
5982012-06-05 Glenn Morris <rgm@gnu.org>
599
600 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
601 Replace external vcdiff script.
602
e364a2b7
SM
6032012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
606
041df390
CY
6072012-06-04 Chong Yidong <cyd@gnu.org>
608
e364a2b7
SM
609 * image.el (imagemagick-types-inhibit): Revert last change.
610 Add INFO and M.
47b36b94 611 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 612
7c1898a7
SM
6132012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * emacs-lisp/cl-lib.el: Rename from cl.el.
616 * emacs-lisp/cl.el: New compatibility file.
617 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
618 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
619 to obey the "cl-" prefix.
620 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
621
0c3461de
GM
6222012-06-03 Glenn Morris <rgm@gnu.org>
623
1e266c88
GM
624 * emacs-lisp/authors.el (authors-aliases): Addition.
625
0c3461de
GM
626 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
627 Fix :version.
628
d8a52e15
SM
6292012-06-03 Stefan Merten <smerten@oekonux.de>
630
631 * textmodes/rst.el: Add comments.
632 (rst-transition, rst-adornment): New faces.
633 (rst-adornment-faces-alist): Make default safe to reevaluate.
634 Fixes
635 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
636 Improve customization tags.
637 (rst-define-level-faces): Clarify meaning.
638
5205d6f6
CY
6392012-06-03 Chong Yidong <cyd@gnu.org>
640
641 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
642 (compilation-mode-line-run, compilation-mode-line-exit):
643 New faces.
5205d6f6
CY
644 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
645
757ee657
JD
6462012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
647
7c1898a7
SM
648 * progmodes/which-func.el (which-func-update-ediff-windows):
649 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 650
5f2c76c6
CY
6512012-06-03 Chong Yidong <cyd@gnu.org>
652
653 * bindings.el: Remove explicit help text from format-mode-line.
654 It is now supplied by mode-line-default-help-echo.
655 (mode-line-front-space, mode-line-end-spaces)
656 (mode-line-misc-info): New variables.
657 (mode-line-modes, mode-line-position): Move the default value to
658 the variable definition.
659 (mode-line-default-help-echo): New defcustom.
383f7350
CY
660 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
661 (mode-line-modified-help-echo): New functions.
662 (mode-line-mule-info, mode-line-modified): Use them.
663 (mode-line-eol-desc, propertized-buffer-identification):
664 Consistency fixes for help text.
cbe46e5f
CY
665 (mode-line-coding-system-map): Allow using mouse-3 to invoke
666 set-buffer-file-coding-system (Bug#289).
667 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 668
f2d6a3df
SM
6692012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * simple.el (execute-extended-command): Set real-this-command
672 (bug#11506).
673
37269466
CY
6742012-06-02 Chong Yidong <cyd@gnu.org>
675
676 Remove incorrect uses of "modeline" in comments, docstrings, and
677 function/variable names (Bug#10329).
678
679 * cus-edit.el (mode-line):
680 * dframe.el (dframe-mouse-hscroll):
681 * emacs-lisp/re-builder.el:
682 * emacs-lisp/easy-mmode.el (define-minor-mode):
683 * frame.el (set-frame-name):
684 * help.el (lookup-minor-mode-from-indicator):
685 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
686 * progmodes/cc-cmds.el (c-toggle-auto-newline)
687 (c-toggle-hungry-state):
688 * progmodes/antlr-mode.el (antlr-language-alist):
689 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
690 * progmodes/vhdl-mode.el (vhdl-mode):
691 * progmodes/which-func.el (which-func, which-func-cleanup-function):
692 * term/ns-win.el (ns-face-at-pos):
693 * term/sup-mouse.el (sup-mouse-report):
694 * textmodes/flyspell.el (flyspell-mode-line-string):
695 * textmodes/ispell.el (ispell-highlight-face):
696 * textmodes/reftex-global.el:
697 * vc/vc-arch.el (vc-arch-mode-line-string):
698 * vc/vc-cvs.el (vc-cvs-mode-line-string):
699 * vc/vc-git.el (vc-git-mode-line-string):
700 * vc/vc-hooks.el (vc-display-status)
701 (vc-default-mode-line-string):
702 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
703
704 * ansi-color.el (ansi-color-faces-vector): Change default faces.
705
706 * dired.el (dired-sort-set-mode-line): Rename from
707 dired-sort-set-modeline. All callers changed.
708
709 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
710 eshell-status-in-modeline.
711
712 * foldout.el (foldout-mode-line-string): Rename from
713 foldout-modeline-string. All callers changed.
714 (foldout-update-mode-line): Rename from foldout-update-modeline.
715
716 * subr.el (redraw-modeline): Make into obsolete alias.
717
718 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
719 timeclock-modeline-display. Make old name an alias.
720 (timeclock-update-mode-line): Likewise. All callers changed.
721 (timeclock-mode-line-display): No need to check before using
722 add-hook.
723 (timeclock-relative, timeclock-day-over-hook)
724 (timeclock-use-elapsed, timeclock-mode-string)
725 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
726
727 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
728 crisp-mode-modeline-string.
729
730 * play/solitaire.el (solitaire-build-mode-line): Rename from
731 solitaire-build-modeline. All callers changed.
732
733 * play/zone.el (zone-hiding-mode-line): Rename from
734 zone-hiding-modeline. All callers changed.
735 (zone): Remove unusued `modeline-hidden-level' property.
736
737 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
738 xscheme-modeline-initialize. All callers changed.
739
740 * strokes.el (strokes-lighter): Rename from
741 strokes-modeline-string.
742
743 * textmodes/sgml-mode.el (html-face-tag-alist)
744 (html-tag-face-alist): Use mode-line face instead of obsolete
745 alias modeline.
746
42152ee4
SM
7472012-06-02 Stefan Merten <smerten@oekonux.de>
748
749 * textmodes/rst.el: Always require `cl'.
4cf9b38d 750 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 751
95f520b5
CY
7522012-06-02 Chong Yidong <cyd@gnu.org>
753
754 * image.el (imagemagick-enabled-types): Rename from
755 imagemagick-types-enable. Add many more types.
756 (imagemagick-types-inhibit): Change default to nil.
757 (imagemagick-filter-types): Caller changed.
758
4a5f187a
SM
7592012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
760
03fef3e6
SM
761 * emacs-lisp/cl-macs.el: Use backquotes.
762 (cl-transform-function-property): Use eval-and-compile rather than
763 abusing `require'.
764 (defstruct): Use declare-function instead of with-no-warnings.
765
4a5f187a
SM
766 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
767 (byte-compile-output-docform): Re-add the print-circle bindings.
768 (byte-compile-fix-header): Use #$ just because it's shorter.
769 (byte-compile-output-file-form): Remove defun/defmacro.
770
bd56924f
MR
7712012-06-01 Martin Rudalics <rudalics@gmx.at>
772
773 * simple.el (choose-completion): Remove now obsolete binding for
774 owindow.
775
046e38ce
MA
7762012-06-01 Michael Albinus <michael.albinus@gmx.de>
777
778 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
779 in order to avoid "Stack overflow in regexp matcher".
780
32d72c2f
GM
7812012-05-31 Glenn Morris <rgm@gnu.org>
782
783 * image.el: For clarity, call imagemagick-register-types at
784 top-level, rather than relying on a custom :initialize.
785 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
786 (imagemagick-filter-types): New function. (Bug#7406)
787 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
788 If disabling support, remove elements altogether rather
789 than using an impossible regexp.
790 (imagemagick-types-inhibit): Give it the default init function.
791
dd41169b
SM
7922012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
793
4a5f187a
SM
794 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
795 Handle arbitrary file name lengths (Bug#11585).
dd41169b 796
efc00ab1 7972012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
798
799 * desktop.el (desktop-read): Clear previous and next buffers for
800 all windows and bury *Messages* buffer (bug#11556).
801
500fcedc
SM
8022012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 Add `declare' for `defun'. Align `defmacro's with it.
805 * emacs-lisp/easy-mmode.el (define-minor-mode)
806 (define-globalized-minor-mode): Don't autoload the var definitions.
807 * emacs-lisp/byte-run.el: Use lexical-binding.
808 (defun-declarations-alist, macro-declarations-alist): New vars.
809 (defmacro, defun): Use them.
810 (make-obsolete, define-obsolete-function-alias)
811 (make-obsolete-variable, define-obsolete-variable-alias):
812 Use `declare'.
813 (macro-declaration-function): Mark obsolete.
814 * emacs-lisp/autoload.el: Use lexical-binding.
815 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
816
6e8a1786
AM
8172012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
818
819 * textmodes/ispell.el (ispell-with-no-warnings):
820 Define as a macro.
500fcedc
SM
821 (ispell-kill-ispell, ispell-change-dictionary):
822 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
823 `interactive-p'.
824
61b108cc
SM
8252012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
828 (macro-declaration-function): Move var from C code.
829 (macro-declaration-function): Define function with defalias.
830 * emacs-lisp/macroexp.el (macroexpand-all-1):
831 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
832 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
833 defun/defmacro any more.
834 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
835 Provide fallback for unknown arglist.
836 (byte-compile-arglist-warn): Change calling convention.
837 (byte-compile-output-file-form): Move print-vars binding.
838 (byte-compile-output-docform): Simplify accordingly.
839 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
840 (byte-compile-defmacro-declaration): Remove.
841 (byte-compile-file-form-defmumble): Generalize to defalias.
842 (byte-compile-output-as-comment): Return byte-positions.
843 Simplify callers accordingly.
844 (byte-compile-lambda): Use `assert'.
845 (byte-compile-defun, byte-compile-defmacro): Remove.
846 (byte-compile-file-form-defalias):
847 Use byte-compile-file-form-defmumble.
848 (byte-compile-defalias-warn): Remove.
849
6d3f7c2f
SM
8502012-05-29 Stefan Merten <smerten@oekonux.de>
851
852 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 853 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
854
855 (rst-mode-abbrev-table): Merge definition.
856 (rst-mode): Make sure `font-lock-defaults' is buffer local.
857 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
858
6dbaa1c7
UJ
8592012-05-29 Ulf Jasper <ulf.jasper@web.de>
860
861 * calendar/icalendar.el
862 (icalendar-export-region): Export UID properly.
863
8642012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
865 * calendar/icalendar.el (icalendar-import-format):
866 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
867 (icalendar-import-format-uid): New.
868 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
869 Export UID.
870
6876a58d
SM
8712012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
872
873 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
874 different alternative patterns.
875 (pcase-codegen): Be more careful to preserve identity.
876 (pcase--u1): Don't forget to mark vars as used.
877
878 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
879 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
880 (byte-compile-from-buffer): ...rather than here.
881
882 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
883 functions from byte-compile-function-environment.
884
46b7967e
TN
8852012-05-29 Troels Nielsen <bn.troels@gmail.com>
886
887 * window.el (window-deletable-p): Avoid deleting the root window
888 of a frame with an active minibuffer.
889
69d565e2
MR
8902012-05-29 Martin Rudalics <rudalics@gmx.at>
891
892 * simple.el (choose-completion): Use quit-window (Bug#11567).
893
a149fa51
CY
8942012-05-29 Chong Yidong <cyd@gnu.org>
895
896 * whitespace.el (whitespace-cleanup): Fix usage of
897 whitespace-empty-at-bob-regexp (Bug#11492).
898
2b311310
AH
8992012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
900
901 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
902 revert (Bug#11488).
903
b9cb2387
JL
9042012-05-29 Juri Linkov <juri@jurta.org>
905
906 * isearch.el (isearch-mode-map): Bind `M-s _' to
907 `isearch-toggle-symbol'. Bind `M-s c' to
908 `isearch-toggle-case-fold'.
909 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
910 (isearch-forward): Add `M-s _' to the docstring.
911 (isearch-forward-symbol, isearch-toggle-case-fold)
912 (isearch-symbol-regexp): New functions. (Bug#11381)
913
d5e61c1c
JL
9142012-05-29 Juri Linkov <juri@jurta.org>
915
916 * isearch.el (isearch-word): Add docstring. (Bug#11381)
917 (isearch-occur, isearch-search-and-update): If `isearch-word' is
918 a function, call it to get the regexp.
919 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
920 property `isearch-message-prefix' instead of the string "word ".
921 (isearch-search-fun-default): For the case of `isearch-word',
922 return a lambda that calls re-search-forward/re-search-backward
923 with a regexp returned by `word-search-regexp' or by the function
924 in `isearch-word'.
925
8cbd80f7
JL
9262012-05-29 Juri Linkov <juri@jurta.org>
927
928 * isearch.el (isearch-search-fun-default): New function.
929 (isearch-search-fun): Move default part to the new function
930 `isearch-search-fun-default'.
931 (isearch-search-fun-function): Set the default value to
932 `isearch-search-fun-default'. (Bug#11381)
933
934 * comint.el (comint-history-isearch-end):
935 Use `isearch-search-fun-default'.
936 (comint-history-isearch-search): Use `isearch-search-fun-default'
937 and remove spacial case for `isearch-word'.
938 (comint-history-isearch-wrap): Remove spacial case for
939 `isearch-word'.
940
941 * hexl.el (hexl-isearch-search-function):
942 Use `isearch-search-fun-default'.
943
944 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
945 Use `word-search-regexp' for `isearch-word'.
946
947 * misearch.el (multi-isearch-search-fun):
948 Use `isearch-search-fun-default'.
949
950 * simple.el (minibuffer-history-isearch-search):
951 Use `isearch-search-fun-default' and remove spacial case for
952 `isearch-word'.
953 (minibuffer-history-isearch-wrap): Remove spacial case for
954 `isearch-word'.
955
956 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
957 Remove spacial case for `isearch-word'.
958 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
959
85c8c5b6
AM
9602012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
961
962 Decrease XEmacs incompatibilities.
963 * textmodes/flyspell.el (flyspell-check-pre-word-p):
964 Use `string-match'.
965 (flyspell-delete-region-overlays): Use alternative definition for
966 XEmacs.
967 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
968 (flyspell-word): Use `process-kill-without-query' if XEmacs.
969 (flyspell-mode-on): Use `interactive-p' if XEmacs.
970 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
971 `define-obsolete-face-alias' under XEmacs, but old method.
972
973 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
974 `with-no-warnings' definition or Emacs alias.
975 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
976 (ispell-word): Do not use `region-p' if XEmacs.
977
8cab9efc
AM
9782012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
979
980 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
981 Check for `ispell-dictionary-base-alist' instead of full
982 `ispell-dictionary-alist'.
983 (ispell-init-process): Show spellchecker when starting new Ispell
984 process.
985
fda91268
RZ
9862012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
989 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
990
694ea8e3
JB
9912012-05-27 Juanma Barranquero <lekktu@gmail.com>
992
993 * version.el (motif-version-string, gtk-version-string)
994 (ns-version-string): Declare.
995
e4d4f539
JL
9962012-05-27 Juri Linkov <juri@jurta.org>
997
998 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
999 after the `eval-defun-1' specialcaseing
1000 like in `edebug-eval-defun' (bug#10181).
1001
1002 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1003 like in `eval-defun-1'.
1004
33017faf 10052012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1006
fda91268
RZ
1007 * mail/sendmail.el (mail-yank-region):
1008 Recognize rmail-yank-current-message in addition to insert-buffer.
1009 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1010 a *mail* buffer created through rmail-start-mail with sendmail as
1011 mail-user-agent.
1012
33017faf
GM
10132012-05-27 Chong Yidong <cyd@gnu.org>
1014
1015 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1016 Default to 256 (Bug#11267).
1017
1018 * help.el (describe-mode): Doc fix.
1019
04188bb9
GM
10202012-05-26 Glenn Morris <rgm@gnu.org>
1021
38264cc9
GM
1022 * w32-fns.el (w32-init-info): Remove.
1023 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1024
eb7afdad
GM
1025 * info.el (info-initialize): For self-contained NS builds, put the
1026 included info/ directory at the front. (Bug#2791)
1027
04188bb9
GM
1028 * paths.el (Info-default-directory-list): Make it a defcustom,
1029 mainly so that we can use custom-initialize-delay.
1030
a179e3f7
SM
10312012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1032
43416392
SM
1033 * subr.el (buffer-has-markers-at): Mark obsolete.
1034
a179e3f7 1035 * subr.el (lambda): Use declare.
43416392 1036
a179e3f7
SM
1037 * emacs-lisp/lisp-mode.el (lambda):
1038 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1039
34a008d9
AH
10402012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1041
1042 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1043
0a3b289f
GM
10442012-05-26 Glenn Morris <rgm@gnu.org>
1045
1046 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1047
758c81e8
GM
10482012-05-25 Glenn Morris <rgm@gnu.org>
1049
f9f334f0
GM
1050 * paths.el: Remove no-byte-compile.
1051 * loadup.el: No need to load paths.el uncompiled.
1052
87eb79c2
GM
1053 * image.el (imagemagick-types-inhibit): Doc fix.
1054
758c81e8
GM
1055 * version.el: Remove no-byte-compile and associated formatting.
1056 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1057 is ancient code from when there was an "inc-vers.el".
1058
e7e85dc0
SM
10592012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * progmodes/gdb-mi.el: Minor style changes.
1062 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1063 Turn into minor modes.
1064 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1065 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1066 (gdb-shell): Remove unneeded let-binding.
1067 (gdb-get-many-fields): Eliminate O(n²) behavior.
1068
f31237a4
EZ
10692012-05-25 Eli Zaretskii <eliz@gnu.org>
1070
1071 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1072 platforms that don't link in fontset.c.
1073
bc1b21bb
JL
10742012-05-25 Juri Linkov <juri@jurta.org>
1075
1076 Use the same diff color scheme as in modern VCSes (bug#10181).
1077
1078 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1079 to avoid confusion with `diff-added' that now uses green colors.
1080 (diff-removed): Use shades of red.
1081 (diff-added): Use shades of green.
1082 (diff-changed): Leave just the yellow color.
1083 (diff-use-changed-face): New variable.
1084 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1085 how to highlight context diff changes.
1086 (diff-refine-change): Use shades of yellow.
1087 (diff-refine-removed): New face that uses shades of red.
1088 (diff-refine-added): New face that uses shades of green.
1089 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1090 `diff-refine-removed' in the call to `smerge-refine-subst'
1091 depending on the value of `diff-use-changed-face'.
1092
1093 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1094 (smerge-other): Use shades of green.
1095 (smerge-base): Use shades of yellow.
1096 (smerge-refined-change): Empty face.
1097 (smerge-refined-removed): New face that uses shades of red.
1098 (smerge-refined-added): New face that uses shades of green.
1099 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1100 args `props-r' and `props-a', and use them. Doc fix.
1101 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1102 on its value use different faces `smerge-refined-change',
1103 `smerge-refined-removed', `smerge-refined-added' in the call to
1104 `smerge-refine-subst'.
1105
1106 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1107 Add face condition `min-colors 88' with shades of red.
1108 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1109 `min-colors 88' with shades of green.
1110 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1111 `min-colors 88' with shades of yellow.
1112
6df9112c
GM
11132012-05-24 Glenn Morris <rgm@gnu.org>
1114
ead5edc0
GM
1115 * paths.el (prune-directory-list, remote-shell-program): Move to...
1116 * files.el (prune-directory-list, remote-shell-program): ...here.
1117 For the latter, delay initialization, prefer ssh, just search PATH.
1118
f18b81e6
GM
1119 * paths.el (term-file-prefix): Move to faces.el (the only user).
1120 * faces.el (term-file-prefix): Move here, make it a defcustom.
1121
ee2f89a6
GM
1122 * paths.el (news-directory, news-path, news-inews-program):
1123 Move to gnus/nnspool.el.
61a583ca 1124
f8815e4c
GM
1125 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1126
c8f3b42c
GM
1127 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1128 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1129 Make the latter a defcustom, with a delayed initialization.
1130
6df9112c
GM
1131 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1132 These were deleted from Gnus itself late 2010.
1133
5dadff36
JB
11342012-05-22 Juanma Barranquero <lekktu@gmail.com>
1135
9e1701c6
JB
1136 * progmodes/which-func.el (which-func-ff-hook):
1137 Check against user-error, not error.
1138
bd7239f5 1139 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1140 cl-specs.el, which no longer exists.
1141
3290526d
GM
11422012-05-22 Glenn Morris <rgm@gnu.org>
1143
1144 * info.el (info-emacs-bug): New command.
1145 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1146 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1147
ff0c3cfb
GM
11482012-05-21 Glenn Morris <rgm@gnu.org>
1149
1150 * makefile.w32-in (update-subdirs-SH):
1151 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1152
5814f126
SM
11532012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1154
a52c0aa0
SM
1155 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1156
5814f126
SM
1157 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1158 Simplify Maven regexp, and make sure the file can't start with a space
1159 (bug#11517).
1160
b847032c
GM
11612012-05-21 Glenn Morris <rgm@gnu.org>
1162
1163 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1164 Scrap superfluous subshells.
1165
3858bfe7
SM
11662012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1169 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1170
d14b0029
JB
11712012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1172
1173 * calc/calc.el (calc-ensure-consistent-units): New variable.
1174
a52c0aa0
SM
1175 * calc/calc-units.el (math-consistent-units-p)
1176 (math-check-unit-consistency): New functions.
1177 (calc-quick-units, calc-convert-units):
1178 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1179 is non-nil.
d14b0029
JB
1180 (calc-extract-units): Fix typo.
1181
60c4db3a
SM
11822012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1183
77f3b62e
SM
1184 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1185
60c4db3a
SM
1186 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1187 (flyspell-default-deplacement-commands): Don't spell check after
1188 repeated window/frame switches (e.g. triggered by mouse-movement).
1189 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1190 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1191 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1192 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1193 Remove unused vars.
1194 (flyspell-get-casechars, flyspell-get-not-casechars):
1195 Simplify; Don't bother removing a ] just to add it back.
1196 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1197
b1a10716
RS
11982012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1199
1200 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1201 New functions.
bd7239f5 1202 (math-function-table): Add support for more C functions.
b1a10716 1203
3f1b25b5
AM
12042012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1205
1206 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1207 (flyspell-debug-signal-word-checked): Protect delay handling for
1208 otherchars against empty otherchars.
1209
b581bb5c
SM
12102012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1213 their respective macro declarations.
1214 * skeleton.el (define-skeleton):
1215 * progmodes/compile.el (define-compilation-mode):
1216 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1217 (define-ibuffer-filter):
1218 * emacs-lisp/generic.el (define-generic-mode):
1219 * emacs-lisp/easy-mmode.el (define-minor-mode)
1220 (define-globalized-minor-mode):
1221 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1222 * emacs-lisp/byte-run.el (defsubst):
1223 * custom.el (deftheme): Add doc-string metadata.
1224
70b8ef8f
SM
12252012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1228
b1198e17
SM
12292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1230
9abdc45d
SM
1231 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1232
b1198e17
SM
1233 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1234 * emacs-lisp/cl-macs.el: Idem.
1235 * emacs-lisp/cl-specs.el: Remove.
1236
4735906a
SM
12372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 Minor renaming of internal CL functions and variables.
1240 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1241 (cl--position): Rename from cl-position.
1242 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1243 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1244 (cl--random-state): Rename from *random-state*.
1245
ac348012
SM
12462012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1247
1248 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1249 parens around the arg list (bug#11499).
1250
a0a79cde
JL
12512012-05-17 Juri Linkov <juri@jurta.org>
1252
1253 * isearch.el (word-search-regexp, word-search-backward)
1254 (word-search-forward, word-search-backward-lax)
1255 (word-search-forward-lax): Move functions from search.c
1256 (bug#10145, bug#11381).
1257
65034a51
AM
12582012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1259
1260 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1261 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1262 normal word components.
1263
1a72a195
SM
12642012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1265
1266 * minibuffer.el (completion--sifn-requote): Fix last change.
1267 (minibuffer-local-must-match-filename-map):
1268 Move define-obsolete-variable-alias before its var.
1269
fdb058c2
SM
12702012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1271
c41045e6
SM
1272 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1273
036dfb8b
SM
1274 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1275 behavior.
1276 (completion--string-equal-p): New function.
1277 (completion--twq-all): Use it to get better assertion failure data.
1278
2473256d
SM
1279 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1280 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1281 (shell--requote-argument): New functions.
1282 (shell-completion-vars): Use them.
1283 (shell--parse-pcomplete-arguments): Rename from
1284 shell-parse-pcomplete-arguments.
1285 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1286 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1287 Obey comint-file-name-quote-list.
1288
fdb058c2
SM
1289 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1290 (smie-indent-keyword): Use it.
1291
51fa99f1
SM
12922012-05-14 Stefan Merten <smerten@oekonux.de>
1293
1294 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1295
e18afed7 12962012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1297
1298 * net/rlogin.el (rlogin-mode-map): Fix last change.
1299
e18afed7 13002012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1301
1302 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1303 the following \r\n using a single `process-send-string', since the
1304 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1305 with two `process-send-string's (Bug#11444).
8633b1f4 1306
e18afed7 13072012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1308
fdb058c2
SM
1309 * shell.el (shell-parse-pcomplete-arguments):
1310 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1311
2d21d7f6
WJ
13122012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1313
e18afed7 1314 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1315 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1316 (image-transform-width, image-transform-fit-width): New functions.
1317 (image-transform-properties): Use them.
1318 (image-transform-check-size): New function.
1319 (image-toggle-display-image): Use it (for testing).
1320 (image-transform-set-rotation): Reduce angle mod 360.
1321 Delete obsolete comment.
1322
7102e6d0
WJ
13232012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1324
1325 * image-mode.el: Fix scaling (bug#11399).
1326 (image-transform-resize): Doc fix.
1327 (image-transform-properties): Default scale is 1 and height should
1328 be an integer.
1329
06bc5e6e
SM
13302012-05-13 Johan Bockgård <bojohan@gnu.org>
1331
1332 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1333 than hard-coding `car', to fix misbehavior when moving forward.
1334
0ae03b6a
CY
13352012-05-13 Chong Yidong <cyd@gnu.org>
1336
1337 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1338 (tabulated-list-entries, tabulated-list-padding)
1339 (tabulated-list-sort-key): Make permanent-local.
1340
1341 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1342 (electric-buffer-list): Put electric buffer menu
1343 command descriptions in this docstring, instead of the docstring
1344 of electric-buffer-menu-mode. Code cleanups.
1345 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1346 Electric-buffer-menu-mode.
1347 (electric-buffer-update-highlight): Minor code cleanup.
1348
205a7391
MA
13492012-05-13 Michael Albinus <michael.albinus@gmx.de>
1350
1351 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1352 (Bug#11447)
1353
e5bd0a28
SM
13542012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1355
1356 Move define-obsolete-variable-alias before the var's definition.
1357 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1358 * tooltip.el (tooltip-hook):
1359 * textmodes/reftex-toc.el (reftex-toc-map):
1360 * textmodes/reftex-sel.el (reftex-select-label-map)
1361 (reftex-select-bib-map):
1362 * textmodes/reftex-index.el (reftex-index-map)
1363 (reftex-index-phrases-map):
1364 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1365 * progmodes/meta-mode.el (meta-mode-map):
1366 * novice.el (disabled-command-hook):
1367 * loadhist.el (unload-hook-features-list):
1368 * frame.el (blink-cursor):
1369 * files.el (find-file-not-found-hooks, write-file-hooks)
1370 (write-contents-hooks):
1371 * emulation/tpu-edt.el (GOLD-map):
1372 * emacs-lock.el (emacs-lock-from-exiting):
1373 * emacs-lisp/generic.el (generic-font-lock-defaults):
1374 * emacs-lisp/chart.el (chart-map):
1375 * dos-fns.el (register-name-alist):
1376 * dired-x.el (dired-omit-files-p):
1377 * desktop.el (desktop-enable):
1378 * cus-edit.el (custom-mode-hook):
1379 * buff-menu.el (buffer-menu-mode-hook):
1380 * bookmark.el (bookmark-read-annotation-text-func)
1381 (bookmark-exit-hooks):
1382 * allout.el (allout-mode-deactivate-hook)
1383 (allout-exposure-change-hook, allout-structure-added-hook)
1384 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1385 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1386 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1387 comes before the corresponding variable's definition.
1388
ac59c2f6
CY
13892012-05-12 Chong Yidong <cyd@gnu.org>
1390
1391 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1392 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1393 (Buffer-menu-mode-map): Bind it.
1394 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1395
dee6c9a3
SM
13962012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1397
2171cea5
SM
1398 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1399 (prolog-upper-case-string, prolog-lower-case-string)
1400 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1401 (prolog-use-smie, prolog-smie-grammar): New vars.
1402 (prolog-smie-forward-token, prolog-smie-backward-token)
1403 (prolog-smie-rules): New funs.
1404 (prolog-comment-indent): Remove.
1405 (prolog-mode-variables): Use default comment indentation instead.
1406 Setup SMIE.
1407 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1408 (prolog-mode): Don't call them any more.
1409 (prolog-electric-colon, prolog-electric-dash)
1410 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1411
aa0382bd
SM
1412 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1413
dbacb4bd
SM
1414 * minibuffer.el (completion--twq-all): Again, allow case differences.
1415
13bdd94c
SM
1416 * term.el: Move keymap initialization code to be more idiomatic.
1417 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1418 (term-terminal-menu): Move initialization into declaration.
1419 (term-escape-char): Let the user set it in her .emacs.
1420
ff46c759
SM
1421 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1422 Provide SMIE-based indentation (not enabled by default yet).
1423 (sh-mode-map): Don't bind electric keys.
1424 Use electric-pair-mode instead of skeleton-pair.
1425 (sh-assignment-regexp): Fit within 80 columns.
1426 (sh-indent-supported): Specify actual shell name instead of boolean.
1427 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1428 (sh-maybe-here-document): Use it. Make obsolete.
1429 (sh-electric-here-document-mode) New minor mode.
1430 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1431 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1432 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1433 (sh-smie-rc-grammar, sh-use-smie): New vars.
1434 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1435 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1436 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1437 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1438 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1439 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1440 (sh-set-shell): Use smie-setup if requested.
1441
dee6c9a3
SM
1442 * term.el (term-set-escape-char): Properly set term-escape-char.
1443 See http://stackoverflow.com/questions/10524656.
1444
9f9aa044
CY
14452012-05-10 Chong Yidong <cyd@gnu.org>
1446
1447 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1448 Use url-generic-parse-url, and handle host names and Windows
1449 filenames properly.
1450 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1451 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1452 URL schemes to work on.
1453 (ffap--toggle-read-only): New function.
1454 (ffap-read-only, ffap-read-only-other-window)
1455 (ffap-read-only-other-frame): Use it.
1456 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1457 necessary for ffap-url-unwrap-remote.
1458
836d29b3
DA
14592012-05-10 Dave Abrahams <dave@boostpro.com>
1460
1461 * cus-start.el (create-lockfiles): Add it.
1462
00fd78ed
CY
14632012-05-09 Chong Yidong <cyd@gnu.org>
1464
1465 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1466 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1467
666b903b 14682012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1469
1470 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1471
666b903b 14722012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1473
1474 * ansi-color.el (ansi-color-process-output): Check for validity of
1475 comint-last-output-start before using it. This avoids a bad
1476 interaction with gdb-mi's input/output buffer.
1477
666b903b 14782012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1479
1480 * files.el (dir-locals-read-from-file):
1481 Mention dir-locals in any error message.
1482
666b903b 14832012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1484
1485 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1486 package (Bug#11410).
1487
f677562b
CY
1488 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1489 variables into description.
1490
666b903b 14912012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1492
1493 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1494 shell-delimiter-argument-list (bug#11348).
1495 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1496
b499d8d0
JB
14972012-05-09 Juanma Barranquero <lekktu@gmail.com>
1498
8f6b6da8
JB
1499 * textmodes/rst.el: Silence byte-compiler warnings.
1500 (rst-re-alist, rst-reset-section-caches): Move around.
1501 (rst-re): Use `characterp', not `char-valid-p'.
1502 (font-lock-beg, font-lock-end): Declare.
1503
4824146a
JB
1504 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1505 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1506
b499d8d0
JB
1507 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1508
ad89bb83
GM
15092012-05-08 Glenn Morris <rgm@gnu.org>
1510
1511 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1512
8bba5a75
SM
15132012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1514
49ed9c8e
SM
1515 * vc/log-edit.el: Add GNU coding standards highlighting.
1516 (log-edit-font-lock-gnu-style)
1517 (log-edit-font-lock-gnu-keywords): New vars.
1518 (log-edit-font-lock-keywords): New fun.
1519 (log-edit-mode): Don't fold case in font-lock.
1520 (log-edit-font-lock-keywords): Do not assume case-folding.
1521
07d00b56
SM
1522 * imenu.el: Misc cleanup. Make docstrings out of comments.
1523 Use lexical-binding.
1524 (imenu--index-alist, imenu--last-menubar-index-alist)
1525 (imenu-menubar-modified-tick): Use defvar-local.
1526 (imenu--split-menu): Remove unused var.
1527 (imenu--cleanup-seen): Declare as global.
1528 (imenu--cleanup): Use dolist.
1529
8bba5a75
SM
1530 * subr.el (defvar-local): Add debug spec and doc-string position.
1531
5075bdb5
GM
15322012-05-08 Glenn Morris <rgm@gnu.org>
1533
c052c904
GM
1534 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1535 * language/english.el, language/georgian.el, language/greek.el:
1536 * language/japanese.el, language/khmer.el, language/korean.el:
1537 * language/lao.el, language/misc-lang.el, language/romanian.el:
1538 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1539 * language/thai.el, language/utf-8-lang.el:
1540 Remove no-byte-compile setting.
1541
5075bdb5
GM
1542 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1543
06f679a7
AH
15442012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1545
1546 * progmodes/make-mode.el (makefile-browse):
1547 Remove unnecessary interactive. (Bug#11324)
1548
03794570
GM
15492012-05-07 Glenn Morris <rgm@gnu.org>
1550
af8630f4
GM
1551 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1552
03794570
GM
1553 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1554
f0809a9d
SM
15552012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1556
28be5ce7
SM
1557 * loadup.el: Preload newcomment.el.
1558 * newcomment.el: Move autoload-only code to toplevel.
1559
f0809a9d
SM
1560 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1561 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1562 Handle new :right-align column property.
1563 (tabulated-list-print-col): Idem, plus use `display' text-property to
1564 try and preserve alignment for variable pitch fonts.
1565
1241b724
CY
15662012-05-07 Chong Yidong <cyd@gnu.org>
1567
1568 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1569 (tabulated-list-use-header-line): New var.
1570 (tabulated-list-init-header): Use it.
1571 (tabulated-list-print-fake-header): New function.
1572 (tabulated-list-print): Use it.
1573 (tabulated-list-sort-button-map): Add non-header-line commands.
1574 (tabulated-list-init-header): Add column name property to basic
1575 labels as well.
1576 (tabulated-list-col-sort): Handle non-header-line button case.
1577 (tabulated-list--sort-by-column-name): Fix a corner case.
1578
f0809a9d
SM
1579 * buff-menu.el (list-buffers--refresh):
1580 Handle Buffer-menu-use-header-line.
1241b724 1581
e5f9458f
CY
15822012-05-06 Chong Yidong <cyd@gnu.org>
1583
1584 * buff-menu.el: Convert to Tabulated List mode.
1585 (Buffer-menu-buffer+size-width): Make obsolete.
1586 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1587 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1588 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1589 documentation into docstring of buffer-menu.
1590 (Buffer-menu-toggle-files-only): Add an informative message.
1591 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1592 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1593 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1594 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1595 (Buffer-menu-execute, Buffer-menu-select)
1596 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1597 (Buffer-menu-bury): Use Tabulated List machinery.
1598 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1599 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1600 Delete.
e5f9458f
CY
1601 (list-buffers--refresh): New function.
1602 (list-buffers-noselect): Use it.
1603 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1604 (Buffer-menu--pretty-file-name): New helper functions.
1605
1606 * loadup.el: Preload tabulated-list.
1607
1608 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1609 tabulated-list-sort-column.
1610 (tabulated-list-init-header): Add the initial aligning space even
1611 if tabulated-list-padding is zero.
1612
e129292c
CS
16132012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1614
1615 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1616 whose cdr is not a cons cell correctly (bug#11038).
1617
6632d361
CY
16182012-05-06 Chong Yidong <cyd@gnu.org>
1619
e129292c
CS
1620 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1621 Accept additional plist in column descriptors.
6632d361
CY
1622 (tabulated-list-init-header): Obey it.
1623 (tabulated-list-get-entry): New function.
1624 (tabulated-list-put-tag): Use it. Use string-width instead of
1625 length.
1626 (tabulated-list--column-number): New function.
1627 (tabulated-list-print): Use it.
e129292c
CS
1628 (tabulated-list-print-col): New function.
1629 Set `tabulated-list-column-name' property on each column's text.
6632d361 1630 (tabulated-list-print-entry): Use it.
e129292c
CS
1631 (tabulated-list-delete-entry, tabulated-list-set-col):
1632 New functions.
6632d361
CY
1633 (tabulated-list-sort-column): New command (Bug#11337).
1634
3cc99f68
CY
1635 * buff-menu.el (list-buffers): Move C-x C-b binding from
1636 buff-menu.el to bindings.el.
1637
1638 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1639 :advertised-binding feature.
1640
52b61776
TN
16412012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1642
1643 * progmodes/compile.el (compilation-internal-error-properties):
1644 Calculate start position correctly when end-col is set but
1645 end-line is not (Bug#11382).
1646
ebfe2597
WJ
16472012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1648
1649 * man.el (Man-unindent): Use text-property-default-nonsticky to
1650 prevent untabify from inheriting face properties (Bug#11408).
1651
6d3f7c2f
SM
16522012-05-05 Stefan Merten <smerten@oekonux.de>
1653
1654 * textmodes/rst.el: Major merge with upstream development up to
1655 Docutils SVN r7399 / rst.el V1.2.1.
1656
1657 Clarify maintainership and authors.
1658
1659 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1660 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1661 (rst-official-version, rst-official-cvs-rev, rst-version)
1662 (rst-package-emacs-version-alist): New functions and variables
1663 for version information.
1664
1665 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1666 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1667 (rst-mode-syntax-table, rst-mode): New and corrected functions
1668 and variables representing reStructuredText features.
1669
1670 (rst-re): New function for reStructuredText regexes. Use in
1671 many places.
1672
1673 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1674 (rst-mode-map): Rebind keys.
1675
1676 (rst-mode-lazy, rst-font-lock-keywords)
1677 (rst-font-lock-extend-region)
1678 (rst-font-lock-extend-region-internal)
1679 (rst-font-lock-extend-region-extend)
1680 (rst-font-lock-find-unindented-line-limit)
1681 (rst-font-lock-find-unindented-line-match)
1682 (rst-adornment-level, rst-font-lock-adornment-level)
1683 (rst-font-lock-adornment-match)
1684 (rst-font-lock-handle-adornment-pre-match-form)
1685 (rst-font-lock-handle-adornment-matcher): Major revision of
1686 font-locking. Integrate with other code. Use `jit-lock-mode'.
1687
1688 (rst-preferred-adornments, rst-adjust-hook)
1689 (rst-new-adornment-down, rst-preferred-bullets)
1690 (rst-preferred-bullets, rst-indent, rst-indent-width)
1691 (rst-indent-field, rst-indent-literal-normal)
1692 (rst-indent-literal-minimized, rst-indent-comment): Change,
1693 extend and improve customization.
1694
1695 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1696 (rst-normalize-cursor-position, rst-get-decoration)
1697 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1698 (rst-rstrip, rst-toc-insert-find-delete-contents)
1699 (rst-shift-fill-region, rst-compute-bullet-tabs)
1700 (rst-debug-print-tabs, rst-debug-mark-found)
1701 (rst-shift-region-guts, rst-shift-region-right)
1702 (rst-shift-region-left, rst-use-char-classes)
1703 (rst-font-lock-keywords-function)
1704 (rst-font-lock-indentation-point)
1705 (rst-font-lock-find-unindented-line-begin)
1706 (rst-font-lock-find-unindented-line-end)
1707 (rst-font-lock-find-unindented-line)
1708 (rst-font-lock-adornment-point, rst-font-lock-level)
1709 (rst-adornment-level-alist): Remove functions and variables.
1710
1711 (rst-compare-adornments, rst-get-adornment-match)
1712 (rst-suggest-new-adornment, rst-get-adornments-around)
1713 (rst-adornment-complete-p, rst-get-next-adornment)
1714 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1715 (rst-straighten-adornments): Standardize function names to
1716 use "adornment" instead of "decoration". Correct callers.
1717 Similar standardizing in many places.
1718
1719 (rst-update-section, rst-adjust, rst-promote-region)
1720 (rst-enumerate-region, rst-bullet-list-region)
1721 (rst-repeat-last-character): Correct use of `interactive'.
1722
1723 (rst-classify-adornment, rst-find-all-adornments)
1724 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1725 (rst-find-leftmost-column, rst-repeat-last-character):
1726 Refactor functions.
1727
1728 (rst-find-title-line, rst-reset-section-caches)
1729 (rst-get-adornments-around, rst-adjust-adornment-work)
1730 (rst-arabic-to-roman, rst-roman-to-arabic)
1731 (rst-insert-list-pos, rst-insert-list-new-item)
1732 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1733 New functions.
1734
1735 (rst-all-sections, rst-section-hierarchy)
1736 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1737 New variables.
1738
1739 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1740 configuration instead of only buffer. Change where necessary.
1741
1742 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1743 (rst-shift-region, rst-adaptive-fill): New functions for
1744 indentation and filling.
1745
1746 (rst-comment-line-break, rst-comment-indent)
1747 (rst-comment-insert-comment, rst-comment-region)
1748 (rst-uncomment-region): New functions for handling comments.
1749
1750 (rst-compile): Quote shell arguments.
1751
1752 (rst-compile-pdf-preview, rst-compile-slides-preview):
1753 Delete temporary files after use.
1754
a43f98b3
GM
17552012-05-05 Glenn Morris <rgm@gnu.org>
1756
48176e8b
GM
1757 * calendar/cal-html.el: Optionally include holidays in the output.
1758 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1759 (cal-html-holidays): New option.
1760 (cal-html-css-default): Add holiday entry.
1761 (holiday-in-range): Autoload it.
1762 (cal-html-htmlify-entry): Add optional class argument.
1763 (cal-html-htmlify-list): Add optional holidays argument.
1764 (cal-html-insert-agenda-days): Include holidays in the output.
1765 (cal-html-one-month): Maybe include holidays.
1766
a43f98b3
GM
1767 * calendar/holidays.el (holiday-in-range):
1768 Move here from cal-tex-list-holidays.
1769 * calendar/cal-tex.el (cal-tex-list-holidays):
1770 Make it an obsolete alias for holiday-in-range. Update all callers.
1771
fef9d149 17722012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1773
1774 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1775 Nextstep.
1776
248da2f4
RW
17772012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1778
1779 * files.el (file-auto-mode-skip): New var.
1780 (set-auto-mode-1): Use it.
1781
f95e9344
SM
17822012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1783
df96ab1e
SM
1784 * repeat.el: Use lexical-binding.
1785 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1786 (repeat-undo-count): Remove.
1787 (repeat):
1788 * progmodes/octave-mod.el (octave-abbrev-start):
1789 * progmodes/f90.el (f90-abbrev-start):
1790 * face-remap.el (text-scale-adjust):
1791 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1792
5342bb06
SM
1793 * emacs-lisp/pcase.el (pcase--let*): New function.
1794 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1795 a bit more.
1796 (pcase--split-pred): Be more clever about ruling out overlap between
1797 a predicate and some constant pattern.
1798 (pcase--q1): Use `null' instead of (eq foo nil).
1799
f95e9344
SM
1800 * subr.el (setq-local, defvar-local): New macros.
1801 (kbd): Redefine as an alias.
1802 (with-selected-window): Leave unrelated frames alone.
1803 (set-temporary-overlay-map): New function.
1804
71873e2b
SM
18052012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * subr.el (user-error): New function.
1808 * window.el (switch-to-buffer):
1809 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1810 (smerge-match-conflict):
1811 * simple.el (previous-matching-history-element)
1812 (next-matching-history-element, goto-history-element, undo-more)
1813 (undo-start):
1814 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1815 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1816 (next-file, tags-loop-scan, list-tags, complete-tag):
1817 * progmodes/compile.el (compilation-loop):
1818 * mouse.el (mouse-minibuffer-check):
1819 * man.el (Man-bgproc-sentinel, Man-goto-page):
1820 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1821 (Info-history-forward, Info-follow-reference, Info-menu)
1822 (Info-extract-menu-item, Info-extract-menu-counting)
1823 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1824 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1825 (Info-next-reference, Info-prev-reference, Info-index)
1826 (Info-index-next, Info-follow-nearest-node)
1827 (Info-copy-current-node-name):
1828 * imenu.el (imenu--make-index-alist)
1829 (imenu-default-create-index-function, imenu-add-to-menubar):
1830 * files.el (basic-save-buffer, recover-file):
1831 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1832 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1833 (checkdoc-message-text, checkdoc-defun):
1834 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1835 * cus-edit.el (customize-changed-options, customize-rogue)
1836 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1837 (custom-variable-mark-to-reset-standard)
1838 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1839 (custom-file):
1840 * completion.el (check-completion-length):
1841 * comint.el (comint-search-arg)
1842 (comint-previous-matching-input-string-position)
1843 (comint-previous-matching-input)
1844 (comint-replace-by-expanded-history-before-point, comint-send-input)
1845 (comint-copy-old-input, comint-backward-matching-input)
1846 (comint-goto-process-mark, comint-set-process-mark):
1847 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1848 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1849
8a61ee22
SM
18502012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1851
66408d1e
SM
1852 * dabbrev.el (dabbrev--ignore-case-p): New function.
1853 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1854 Use it.
1855
8a61ee22
SM
1856 * files.el (automount-dir-prefix): Mark as obsolete.
1857
3c74813a
GM
18582012-05-04 Glenn Morris <rgm@gnu.org>
1859
1860 * patcomp.el, play/bruce.el: Move to obsolete/.
1861
0bfcf5c5
PE
18622012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1863
1864 Fix minor Y10k bugs.
1865 * arc-mode.el (archive-unixdate):
1866 * autoinsert.el (auto-insert-alist):
1867 * calc/calc-forms.el (math-this-year):
1868 * emacs-lisp/copyright.el (copyright-current-year)
1869 (copyright-update-year, copyright):
1870 * tar-mode.el (tar-clip-time-string):
1871 * time.el (display-time-update):
1872 Don't assume years have 4 digits.
1873
78f3273a
CY
18742012-05-04 Chong Yidong <cyd@gnu.org>
1875
1876 * dos-w32.el (file-name-buffer-file-type-alist)
1877 (direct-print-region-use-command-dot-com):
1878 * ffap.el (ffap-menu-regexp):
1879 * find-file.el (ff-special-constructs):
1880 * follow.el (follow-debug):
1881 * forms.el (forms--debug):
1882 * iswitchb.el (iswitchb-all-frames):
1883 * ido.el (ido-all-frames):
1884 * emacs-lisp/timer.el (timer-max-repeats):
1885 * mail/feedmail.el (feedmail-mail-send-hook)
1886 (feedmail-mail-send-hook-queued):
1887 * mail/footnote.el (footnote-signature-separator):
1888 * mail/mailabbrev.el (mail-alias-separator-string)
1889 (mail-abbrev-mode-regexp):
1890 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1891 * progmodes/idlwave.el (idlwave-libinfo-file)
1892 (idlwave-default-completion-case-is-down)
1893 (idlwave-library-routines): Convert defvars to defcustoms.
1894
1895 * mail/rmail.el (rmail-decode-mime-charset):
1896 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1897 (idlwave-shell-fix-inserted-breaks)
1898 (idlwave-shell-activate-alt-keybindings)
1899 (idlwave-shell-use-breakpoint-glyph):
1900 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1901
f7ae6719
SM
19022012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1903
1904 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1905
47086495
WS
19062012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1907
1908 * progmodes/verilog-mode.el (font-lock-keywords):
1909 Fix mis-highligting auto. Reported by Craig Barner.
1910 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1911 defines from global name space. Reported by Dan Dever.
1912 (verilog-auto-reset, verilog-auto-reset-widths)
1913 (verilog-auto-tieoff): Support using unbased numbers for
1914 AUTORESET and AUTOTIEOFF.
1915 (verilog-submit-bug-report): Update variable list.
1916 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1917 parenthesis from not matching. Reported by Michael Rytting.
1918 (verilog-auto-template-lint): Fix hash error when linting modules
1919 with no used templates.
1920 (verilog-warn, verilog-warn-error)
1921 (verilog-warn-fatal): When non-interactive report multiple
1922 warnings before exiting. Suggested by Brad Dobbie.
1923 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1924 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1925 to report unused template errors. Reported by Brad Dobbie.
1926 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1927 nets, bug438. Reported by Vns Blore.
1928 (verilog-auto-inout-module, verilog-auto-reg)
1929 (verilog-read-decls, verilog-read-sub-decls-sig)
1930 (verilog-signals-edit-wire-reg, verilog-signals-with):
1931 Fix passing of Verilog data types in ANSI input/output ports
1932 such as "output logic" into the AUTOs. Special case "wire" and
1933 "reg" for backwards compatibility presuming Verilog 2001.
1934 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1935 (verilog-preprocess): Fix replication of preprocess output.
1936 Reported by Brad Dobbie.
1937 (verilog-auto-inst-interfaced-ports):
1938 Create verilog-auto-inst-interfaced-ports, bug429.
1939 Reported by Julian Gorfajn.
1940 (verilog-after-save-font-hook)
1941 (verilog-before-save-font-hook): New variable.
1942 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1943 (verilog-save-font-mods): Wrap disabling fontification, reported
1944 by David Rogoff.
1945 (verilog-do-indent, verilog-pretty-declarations-auto)
1946 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1947 Reported by Pierre-David Pfister.
1948 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1949 of class declarations, bug292. Reported by Kevin Heilman.
1950 (verilog-read-decls): Fix 'parameter type' not appearing in
1951 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1952 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1953 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1954 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1955 Reported by David Kravitz.
1956
19572012-05-03 Michael McNamara <mac@mail.brushroad.com>
1958
1959 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1960 assignment with tests in ifs and for loops.
1961 (verilog-extended-complete-re, verilog-complete-reg): Change so
1962 that DPI inport functions don't look like fuction declarations.
1963 (verilog-pretty-expr): Don't line up assignment
1964 operations to the test and increment in if and for loops
1965 (verilog-extended-complete-re, verilog-complete-reg): Change so
1966 that DPI inport functions don't look like fuction declarations
1967
2e51d4b5
KH
19682012-05-03 Kenichi Handa <handa@m17n.org>
1969
1970 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1971 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1972 (Bug#11282).
1973
2bd785a2
SM
19742012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1975
1976 * emacs-lisp/bytecomp.el
1977 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1978 since cconv.el might have introduced :fun-body, internal-make-closure,
1979 and friends for bytecomp to handle (bug#11391).
1980 * custom.el (defcustom): Avoid ((λ ..) ..).
1981
99d27583
SM
19822012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1983
1984 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1985
55a71479
JB
19862012-05-02 Juanma Barranquero <lekktu@gmail.com>
1987
1988 * notifications.el (dbus-debug):
1989 * term/linux.el (gpm-mouse-enable):
1990 * term/screen.el (xterm-register-default-colors): Declare.
1991
7b97c764
CY
19922012-05-02 Chong Yidong <cyd@gnu.org>
1993
2bc356d7
CY
1994 * cus-start.el (gc-cons-percentage, exec-suffixes)
1995 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1996 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1997 (make-cursor-line-fully-visible, void-text-area-pointer)
1998 (font-list-limit): Add customization data.
1999
7b97c764
CY
2000 * allout.el (allout-exposure-change-functions)
2001 (allout-structure-added-functions)
2002 (allout-structure-deleted-functions)
2003 (allout-structure-shifted-functions): Rename abnormal hooks from
2004 *-hook, and convert to defcustoms.
5d3385a0
JB
2005 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2006 Convert to defcustoms.
7b97c764
CY
2007 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2008
2009 * allout-widgets.el: Hook callers changed.
2010
90207a15 20112012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2012
2013 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2014 the yanked message in preference to the default value of
2015 buffer-file-coding-system.
2016
90207a15 20172012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2018
5d3385a0
JB
2019 * window.el (display-buffer--action-function-custom-type):
2020 Fix entry.
d9558cad 2021
90207a15 20222012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2023
2024 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2025
d80ac57b
GM
20262012-05-01 Glenn Morris <rgm@gnu.org>
2027
976f7668
GM
2028 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2029
beb83b5a
GM
2030 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2031
d80ac57b
GM
2032 * cus-edit.el (custom-variable-documentation): Simplify with format.
2033
b593d6a9
AH
20342012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2035 Stefan Monnier <monnier@iro.umontreal.ca>
2036
2037 * simple.el (suggest-key-bindings, execute-extended-command):
2038 Move from keyboard.c.
2039
782fbf2a
CY
20402012-05-01 Chong Yidong <cyd@gnu.org>
2041
2042 * follow.el: Eliminate advice.
2043 (set-process-filter, process-filter, sit-for): Advice deleted.
2044 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2045 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2046 Vars deleted.
782fbf2a
CY
2047 (follow-auto): Use a :set function.
2048 (follow-mode): Rewritten. Don't advise process filters.
2049 (follow-switch-to-current-buffer-all, follow-scroll-up)
2050 (follow-scroll-down): Assume follow-mode is bound.
2051 (follow-comint-scroll-to-bottom)
2052 (follow-align-compilation-windows): New functions.
2053 (follow--window-sorter): New function.
2054 (follow-all-followers): Use it to explicitly sort windows by their
2055 positions; don't make assumptions about next-window order.
2056 (follow-windows-start-end, follow-delete-other-windows-and-split)
2057 (follow-calc-win-start): Doc fix.
2058 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2059 vertical-motion unnecessarily.
2060 (follow-adjust-window): New function.
2061 (follow-post-command-hook): Use it.
2062 (follow-call-set-process-filter, follow-call-process-filter)
2063 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2064 (follow-stop-intercept-process-output, follow-generic-filter):
2065 Functions deleted.
2066 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2067 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2068 New functions, replacing advice on scroll-bar-* commands.
87233a14 2069 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2070
2071 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2072 (comint-postoutput-scroll-to-bottom): Use it.
2073 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2074
290af740
GM
20752012-05-01 Glenn Morris <rgm@gnu.org>
2076
2077 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2078 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2079 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2080 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2081 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2082 Remove no-byte-compile setting.
2083
6eac8dc9
SM
20842012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2085
2086 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2087 all-completions code to not return a number in the last cdr.
2088
9cc7819c
LL
20892012-04-30 Leo Liu <sdl.web@gmail.com>
2090
2091 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2092 read-only error.
2093
c93b886f
CY
20942012-04-29 Chong Yidong <cyd@gnu.org>
2095
2096 * follow.el (follow-calc-win-end): Rewrite to handle partial
2097 screen lines correctly (Bug#8390).
2098 (follow-avoid-tail-recenter): Minor cleanup.
2099
8b6c19f4
SM
21002012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 Avoid the obsolete `assoc' package.
2103 * speedbar.el (speedbar-refresh): Avoid adelete.
2104 (speedbar-file-lists): Simplify and avoid aput.
2105 * man.el (Man--sections, Man--refpages): New vars, replacing
2106 Man-sections-alist and Man-refpages-alist.
2107 (Man-build-section-alist, Man-build-references-alist):
2108 Use them; avoid aput.
2109 (Man--last-section, Man--last-refpage): New vars.
2110 (Man-follow-manual-reference): Use them.
2111 Use the `default' arg of completing-read.
2112 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2113
c5bb7569
CY
21142012-04-27 Chong Yidong <cyd@gnu.org>
2115
d1d2e2e8
CY
2116 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2117
15cd8efd
CY
2118 * startup.el (x-apply-session-resources): New function.
2119
2120 * term/ns-win.el (ns-initialize-window-system):
2121 * term/w32-win.el (w32-initialize-window-system):
2122 * term/x-win.el (x-initialize-window-system): Use it to properly
2123 set menu-bar-mode and other vars from X resources, even if the
2124 initial frame is not a window-system frame (Bug#2299).
2125
c5bb7569
CY
2126 * subr.el (read-key): Avoid running filter function when setting
2127 up temporary tool bar entries (Bug#9922).
2128
a8e7d6d7 21292012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2130
2131 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2132 (Bug#11344)
2133
a8e7d6d7 21342012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2135
2136 * select.el (xselect--encode-string): New function, split from
2137 xselect-convert-to-string.
2138 (xselect-convert-to-string): Use it.
2139 (xselect-convert-to-filename, xselect-convert-to-os)
2140 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2141 returned strings are properly encoded (Bug#11315).
2142
a8e7d6d7 21432012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2144
2145 * simple.el (delete-active-region): Move to killing custom group.
2146
a8e7d6d7 21472012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2148
2149 * progmodes/which-func.el (which-func-current): Quote %
2150 characters for mode-line processing.
2151
578c1d4b 21522012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2153
2154 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2155 reaching eob (Bug#11286).
2156
a8e7d6d7 21572012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2158
2159 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2160 (gdb): Make it buffer-local and init to zero.
2161 (gdb-control-commands-regexp): New variable.
2162 (gdb-send): Don't wrap in "-interpreter-exec console" if
2163 gdb-control-level is positive. Increment gdb-control-level
2164 whenever the command matches gdb-control-commands-regexp, and
2165 decrement it each time the command is "end". (Bug#11279)
2166
a8e7d6d7 21672012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2168
2169 * window.el (adjust-window-trailing-edge, enlarge-window)
2170 (shrink-window, window-resize):
2171 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2172 windows (Bug#11276).
2173
b3608390
CY
21742012-04-27 Chong Yidong <cyd@gnu.org>
2175
2176 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2177 fix "missing prefix" warning. All callers changed.
b3608390 2178
797e6e88
SM
21792012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * emacs-lisp/assoc.el: Move to obsolete/.
2182
e95a67dc
SM
21832012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2184
657c21e4 2185 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2186
2187 * term/ns-win.el (ns-define-service):
2188 * progmodes/pascal.el (pascal-goto-defun):
2189 * progmodes/js.el (js--read-tab):
2190 * progmodes/etags.el (tags-lazy-completion-table):
2191 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2192 * emacs-lisp/ewoc.el (ewoc--wrap):
2193 * emacs-lisp/assoc.el (aput, adelete, amake):
2194 * doc-view.el (doc-view-convert-current-doc):
2195 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2196
cb3e7ae0
CY
21972012-04-26 Chong Yidong <cyd@gnu.org>
2198
dce04f7f
CY
2199 * image.el (image-type-from-buffer): Only return supported image
2200 type (Bug#9045).
2201
cb3e7ae0
CY
2202 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2203 value, for symmetry with diff-end-of-hunk.
2204 (diff-split-hunk, diff-find-source-location)
2205 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2206 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2207 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2208 compute the relevant hunk or file properly (Bug#6005).
2209 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2210
0d42eb3e
SM
22112012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2212
2213 * vc/vc-mtn.el:
2214 * vc/vc-hg.el:
2215 * vc/vc-git.el:
2216 * vc/vc-dir.el:
2217 * vc/vc-cvs.el:
2218 * vc/vc-bzr.el:
2219 * vc/vc-arch.el:
2220 * vc/vc.el: Replace lexical-let by lexical-binding.
2221 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2222 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2223 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2224
f08ae1c9
CY
22252012-04-26 Chong Yidong <cyd@gnu.org>
2226
8b71081d
CY
2227 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2228 (diff-mode-shared-map): Bind it to / and [remap undo].
2229
f08ae1c9
CY
2230 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2231 (ediff-window-setup-function): Use it as the default, to set up
2232 windows based on whether the current frame is graphical (Bug#2138).
2233 (ediff-choose-window-setup-function-automatically): Make obsolete.
2234
2235 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2236
ef24141c
SM
22372012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2238
cc356a5d
SM
2239 * ffap.el: Remove old code for obsolete package.
2240 (ffap-complete-as-file-p): Remove.
2241
b4ff4f1f
SM
2242 Use completion-table-with-quoting for comint and pcomplete.
2243 * comint.el (comint--unquote&requote-argument)
2244 (comint--unquote-argument, comint--requote-argument): New functions.
2245 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2246 (comint-quote-filename): Use regexp-opt-charset.
2247 (comint--common-suffix, comint--common-quoted-suffix)
2248 (comint--table-subvert): Remove.
2249 (comint-unquote-function, comint-requote-function): New vars.
2250 (comint--complete-file-name-data): Use them with
2251 completion-table-with-quoting.
2252 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2253 * pcomplete.el (pcomplete-arg-quote-list)
2254 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2255 (pcomplete-unquote-argument-function): Default to non-nil.
2256 (pcomplete-unquote-argument): Simplify.
2257 (pcomplete--common-quoted-suffix): Remove.
2258 (pcomplete-requote-argument-function): New var.
2259 (pcomplete--common-suffix): New function.
2260 (pcomplete-completions-at-point): Use completion-table-with-quoting
2261 and completion-table-subvert.
2262
79c4eeb4
SM
2263 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2264 (minibuffer--double-dollars): Preserve properties.
2265 (completion--sifn-requote): New function.
2266 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2267
ef24141c
SM
2268 * minibuffer.el: Add support for completion of quoted/escaped data.
2269 (completion-table-with-quoting, completion-table-subvert): New funs.
2270 (completion--twq-try, completion--twq-all): New functions.
2271 (completion--nth-completion): New function.
2272 (completion-try-completion, completion-all-completions): Use it.
2273
784e7d6e
LL
22742012-04-25 Leo Liu <sdl.web@gmail.com>
2275
dd2ac746
SM
2276 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2277 Use compilation-message if available to find real filename.
784e7d6e 2278
07875ee7
CY
22792012-04-25 Chong Yidong <cyd@gnu.org>
2280
2281 * vc/diff-mode.el (diff-setup-whitespace): New function.
2282 (diff-mode): Use it.
2283
2284 * vc/diff.el (diff-sentinel):
2285 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2286 Whitespace mode variables based on diff style (Bug#8612).
2287
5055880d
LL
22882012-04-25 Leo Liu <sdl.web@gmail.com>
2289
daf75653
LL
2290 * progmodes/python.el (python-send-region): Add suffix .py to the
2291 temp file.
2292
5055880d
LL
2293 * files.el (auto-mode-alist): Use javascript-mode instead.
2294
db9b177b
AH
22952012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2296
ef24141c 2297 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2298
2299 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2300 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2301 references, see Bug#9.
ef24141c 2302 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2303 when receiving a fault reply.
ef24141c 2304 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2305
2306 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2307 (soap-inspect-simple-type): New function.
db9b177b 2308
ef24141c 2309 * soap-client.el (soap-simple-type): New struct.
db9b177b 2310 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2311 (soap-decode-basic-type, soap-encode-basic-type):
2312 support unsignedInt and double basic types.
db9b177b 2313 (soap-resolve-references-for-simple-type)
ef24141c
SM
2314 (soap-parse-simple-type, soap-encode-simple-type): New function.
2315 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2316
2317 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2318 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2319 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2320 the local name of "soapenc:Array".
2321 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2322 decoding integer, byte and anyURI xsd types.
2323
1fc6097b
CY
23242012-04-25 Chong Yidong <cyd@gnu.org>
2325
2326 * cus-edit.el (custom-buffer-create-internal): Update header text.
2327
afc6df87
EZ
23282012-04-25 Eli Zaretskii <eliz@gnu.org>
2329
2330 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2331 settings on 'system-type', not on 'window-system'. On MS-Windows,
2332 set interactive-mode on in GDB.
2333
dfbd787f
SM
23342012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2335
2336 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2337 (ruby-syntax-propertize-regexp): Remove.
2338 (ruby-syntax-propertize-function): Split regexp into chunks.
2339 Match following code directly.
2340
85222d44
DG
23412012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2342
51a8ea2a
DG
2343 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2344 (ruby-syntax-propertize-regexp): New function.
2345 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2346 by a special keyword.
2347
85222d44
DG
2348 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2349 (ruby-syntax-general-delimiters-goto-beg)
2350 (ruby-syntax-propertize-general-delimiters): New functions.
2351 (ruby-syntax-propertize-function): Use them to handle GDL.
2352 (ruby-font-lock-keywords): Move old handling of GDL...
2353 (ruby-font-lock-syntactic-keywords): .. to here.
2354 (ruby-calculate-indent): Adjust indentation for GDL.
2355
b613912b
MA
23562012-04-24 Michael Albinus <michael.albinus@gmx.de>
2357
b5380639
MA
2358 * notifications.el (top): Remove unneeded declarations.
2359 (notifications-specification-version): Change to "1.2".
e43042fe 2360 (notifications-interface, notifications-notify-method)
b613912b
MA
2361 (notifications-close-notification-method): Fix docstring.
2362 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2363 (notifications-notify): Add :action-items, :resident and
2364 :transient hints. Change "image_data" to "image-data" and
2365 "image_path" to "image-path".
b613912b
MA
2366 (notifications-get-capabilities): New defun.
2367
257440aa
LL
23682012-04-24 Leo Liu <sdl.web@gmail.com>
2369
2370 * progmodes/python.el: Move hideshow setup to the end.
2371
b1bac16e
MR
23722012-04-24 Martin Rudalics <rudalics@gmx.at>
2373
2374 * window.el (handle-select-window): Clear echo area since this is
2375 no more done by read_char (Bug#11304).
2376
d81bd059
SM
23772012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2378
2379 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2380 and `/ M' to filter-derived-mode.
2381 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2382 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2383 (ibuffer-mark-by-mode): Use default rather than initial-input.
2384 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2385
c4cf6d91
IA
23862012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2387
2388 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2389 (ibuffer-filter-by-derived-mode): New filter.
2390 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2391
7511ded8
CY
23922012-04-23 Andreas Politz <politza@fh-trier.de>
2393
2394 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2395
775c916b
CY
23962012-04-23 Chong Yidong <cyd@gnu.org>
2397
2398 * cus-edit.el (customize-apropos, customize-apropos-options):
2399 Disable matching of non-option variables (Bug#11176).
2400 (customize-option, customize-option-other-window)
2401 (customize-changed-options): Doc fix.
2402 (customize-apropos-options, customize-apropos-faces)
2403 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2404
2405 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2406 Fix word list splitting (Bug#11132).
46c71e23
CY
2407 (apropos-symbol, apropos-keybinding, apropos-label)
2408 (apropos-property, apropos-function-button)
2409 (apropos-variable-button, apropos-misc-button): New faces.
2410 (apropos-symbol-face, apropos-keybinding-face)
2411 (apropos-label-face, apropos-property-face, apropos-match-face):
2412 Variables removed (Bug#8396).
2413 (apropos-library-button, apropos-format-plist, apropos-print)
2414 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2415
2df41f9c
MA
24162012-04-23 Michael Albinus <michael.albinus@gmx.de>
2417
2418 * net/xesam.el (xesam-mode-map): Use let-bound map in
2419 initialization. (Bug#11292)
2420
da00640a
AM
24212012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2422
2423 Preserve ispell session localwords when switching back to
2424 original buffer.
2425
2426 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2427 variable to hold buffer session localwords.
2428 (ispell-kill-ispell): add option 'clear to delete session
2429 localwords.
2430 (ispell-command-loop, ispell-change-dictionary)
2431 (ispell-buffer-local-words): Preserve session localwords when
2432 needed.
2433
2434 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2435 Preserve session localwords when needed.
2436
f621ccf5
AM
24372012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2438
2439 * ispell.el (ispell-insert-word) Remove unneeded function using
2440 obsolete `translation-table-for-input'.
ef24141c
SM
2441 (ispell-word, ispell-process-line, ispell-complete-word):
2442 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2443
c2d1019e
CY
24442012-04-22 Chong Yidong <cyd@gnu.org>
2445
2446 * cus-edit.el (custom-variable-menu)
2447 (custom-variable-reset-saved, custom-face-menu)
2448 (custom-face-reset-saved): If there is no saved value, make the
2449 "reset-saved" operation bring back the default (Bug#9509).
2450 (custom-face-state): Properly detect themed faces.
2451
eeddc531
CY
2452 * faces.el (face-spec-set): Stop supporting deprecated form of
2453 third arg.
2454
dcbf5805
MA
24552012-04-22 Michael Albinus <michael.albinus@gmx.de>
2456
2457 Move functions from C to Lisp. Make non-blocking method calls
2458 the default. Implement further D-Bus standard interfaces.
2459
ef24141c
SM
2460 * net/dbus.el (dbus-message-internal): Declare function.
2461 Remove unneeded function declarations.
dcbf5805
MA
2462 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2463 (dbus-message-type-method-return, dbus-message-type-error)
2464 (dbus-message-type-signal): Declare variables. Remove local
2465 definitions.
2466 (dbus-interface-dbus, dbus-interface-peer)
2467 (dbus-interface-introspectable, dbus-interface-properties)
2468 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2469 Adapt docstring.
2470 (dbus-interface-objectmanager): New defconst.
2471 (dbus-call-method, dbus-call-method-asynchronously)
2472 (dbus-send-signal, dbus-method-return-internal)
2473 (dbus-method-error-internal, dbus-register-service)
2474 (dbus-register-signal, dbus-register-method): New defuns, moved
2475 from dbusbind.c
2476 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2477 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2478 New defuns.
dcbf5805
MA
2479 (dbus-call-method-non-blocking): Make it an obsolete function.
2480 (dbus-unregister-object, dbus-unregister-service)
2481 (dbus-handle-event, dbus-register-property)
2482 (dbus-property-handler): Obey the new structure of
2483 `bus-registered-objects'.
2484 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2485 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2486 Use `dbus-call-method'.
2487
cf20dee0
CY
24882012-04-22 Chong Yidong <cyd@gnu.org>
2489
2490 * cus-edit.el (custom-commands, custom-reset-menu)
2491 (Custom-reset-standard): Tweak labels.
2492 (custom-reset-button-menu): Change default to t.
2493 (custom-buffer-create-internal): For the custom-reset-button-menu
2494 case, put the revert button first.
2495 (custom-group-subtitle): New face.
2496 (custom-group-value-create): Align docstring to a specific column.
2497
2498 * wid-edit.el (widget-documentation-link-add): Don't handle
2499 indentation in this function.
2500 (widget-documentation-string-indent-to): New function.
2501 (widget-documentation-string-value-create): Use it.
2502
2503 * autorevert.el (auto-revert):
2504 * epg-config.el (epg):
2505 * ibuffer.el (ibuffer):
2506 * mpc.el (mpc):
2507 * ses.el (ses):
2508 * eshell/eshell.el (eshell):
2509 * net/ange-ftp.el (ange-ftp):
2510 * progmodes/ebnf2ps.el (postscript):
2511 * progmodes/flymake.el (flymake):
2512 * progmodes/prolog.el (prolog):
2513 * progmodes/verilog-mode.el (verilog-mode):
2514 * progmodes/which-func.el (which-func):
2515 * term/xterm.el (xterm):
2516 * textmodes/picture.el (picture):
2517 * textmodes/tildify.el (tildify):
2518 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2519 customization buffers.
2520
583e23bd
AM
25212012-04-22 Alan Mackenzie <acm@muc.de>
2522
2523 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2524 Adding a ) can hide the resulting (..) from searches. Fix it.
2525 Bound the backward search to the position of the existing (.
2526
7dd51bf1
JB
25272012-04-21 Juanma Barranquero <lekktu@gmail.com>
2528
2529 * progmodes/verilog-mode.el (verilog-mode): Check whether
2530 which-func-modes is t before adding verilog-mode.
2531 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2532
d64a438f
LL
25332012-04-21 Leo Liu <sdl.web@gmail.com>
2534
7dd51bf1 2535 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2536
081e8d65
MV
25372012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2538
2539 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2540 filling of the last column of a table (Bug#5635).
2541 (woman-find-next-control-line): New arg, specifying an additional
2542 regexp component for the control line.
2543 (woman2-roff-buffer): Use it.
2544 (woman-break-table): New function.
2545 (woman2-TS): Use it.
2546
25472012-04-21 Chong Yidong <cyd@gnu.org>
2548
2549 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2550 (woman-horizontal-escapes, woman-negative-vertical-space)
2551 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2552 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2553
ed571ccb
SM
25542012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * minibuffer.el (completion-file-name-table): Complete user names.
2557
39773899
LL
25582012-04-20 Leo Liu <sdl.web@gmail.com>
2559
2560 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2561 and pcase-let*.
2562
de6ff46d
CY
25632012-04-20 Chong Yidong <cyd@gnu.org>
2564
2565 * server.el (server-execute): Respect initial-buffer-choice if it
2566 is a string and there are no files to open (Bug#2825).
2567 (server-create-window-system-frame, server-create-tty-frame):
2568 Don't switch buffers here.
2d0e8e61
CY
2569 (server-process-filter): Only try to open a window system frame if
2570 compiled with graphical support (Bug#8314).
de6ff46d 2571
54071013
DN
25722012-04-20 Dan Nicolaescu <dann@gnu.org>
2573
2574 * battery.el (battery-echo-area-format): Display remaining time
2575 for sysfs backend too (Bug#11269).
2576 (battery-linux-sysfs): Fix conditional for the charge.
2577
f30d612a
CY
25782012-04-20 Chong Yidong <cyd@gnu.org>
2579
c07a4c0b 2580 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2581 (gdb-inferior-io--init-proc): New function.
2582 (gdb-init-1): Use it.
2583 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2584 responsible for allocating a new pty and hooking it to gdb when
2585 the old pty gets an EIO due to process exit.
2586 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2587 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2588 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2589
2116e93c
EZ
25902012-04-20 Eli Zaretskii <eliz@gnu.org>
2591
2592 * window.el (window-min-size, window-sizable, window-min-delta)
2593 (window-max-delta, window--resizable, window-resizable)
2594 (window-total-size, window-full-height-p, window-full-width-p)
2595 (window-in-direction, window--resize-mini-window, window-resize)
2596 (window--resize-child-windows-normal)
2597 (window--resize-child-windows, window--resize-siblings)
2598 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2599 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2600
c07a4c0b 26012012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2602
ef24141c
SM
2603 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2604 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2605 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2606 pty process (Bug#11273).
2607 (gdb-update): New arg to suppress talking to the gdb process.
2608 (gdb-done-or-error): Use it.
2609 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2610 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2611 sentinel not being called.
2612
2613 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2614
d02766ab
CY
2615 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2616
c07a4c0b 26172012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2618
2619 * net/network-stream.el (open-network-stream): Doc fix.
2620
c07a4c0b 26212012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2622
2623 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2624
c07a4c0b 26252012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2626
2627 Ensure searching for keywords is case sensitive.
2628
2629 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2630 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2631 (c-defun-name, c-mark-function, c-cpp-define-name)
2632 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2633 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2634
ef24141c
SM
2635 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2636 Bind case-fold-search to nil.
f0f6bc35 2637
c07a4c0b 26382012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2639
2640 * mail/sendmail.el (mail-bury): Call return action with the right
2641 Rmail buffer (Bug#11242).
2642
9a864fa2
CY
2643 * server.el (server-process-filter): Handle corner case where both
2644 tty and nowait options are present (Bug#11102).
2645
539aa513
EZ
26462012-04-20 Eli Zaretskii <eliz@gnu.org>
2647
2648 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2649 (top level): Put into the executable the ident-style '$Id:' tag on
2650 windows-nt as well.
539aa513 2651
cfc7d5da
SM
26522012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2653
2654 * electric.el (electric-indent-post-self-insert-function): Check that
2655 electric-indent-mode is enabled in current buffer.
2656
5b01685c
JB
26572012-04-19 Juanma Barranquero <lekktu@gmail.com>
2658
2659 * imenu.el (imenu-progress-message): Restore; it is "used" in
2660 erc/erc-imenu.el and net/snmp-mode.el.
2661
4d6769e1
JB
26622012-04-19 Juanma Barranquero <lekktu@gmail.com>
2663
2664 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2665 (mouse-avoidance-nudge-mouse): Remove unused binding.
2666
2667 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2668
2669 * descr-text.el (describe-char):
2670 * progmodes/python.el (python-describe-symbol):
2671 Don't call `toggle-read-only', set `buffer-read-only'.
2672
2673 * imenu.el (imenu-default-goto-function): Mark unused args.
2674 (imenu-progress-message): Remove obsolete macro; all callers changed.
2675
2676 * subr.el (keymap-canonicalize): Remove unused binding.
2677 (read-passwd): Mark unused arg.
2678
2679 * tutorial.el (tutorial--display-changes): Remove unused binding.
2680 (tutorial--save-tutorial-to): Remove unused variable.
2681
2682 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2683 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2684 (package-generate-autoloads, package-menu--generate)
2685 (package-menu--find-upgrades): Remove unused bindings.
2686
2687 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2688 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2689 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2690 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2691 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2692 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2693 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2694 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2695 (cua-delete-char-rectangle): Mark unused args.
2696 (cua-align-rectangle): Remove unused binding.
2697
2698 * mail/rmail.el (compilation--message->loc)
2699 (epa--find-coding-system-for-mime-charset): Declare.
2700
2701 * net/dbus.el (dbus-register-service): Declare.
2702 (dbus-name-owner-changed-handler): Remove unused binding.
2703
2704 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2705 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2706 (nxml-scan-backward-within): Mark unused arg.
2707 (nxml-dynamic-markup-word): Remove unused binding.
2708
2709 * mouse.el (mouse-menu-major-mode-map):
2710 * emacs-lisp/authors.el (authors-scan-change-log)
2711 (authors-add-to-author-list):
2712 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2713 * emacs-lisp/smie.el (smie-auto-fill):
2714 * mail/sendmail.el (mail-bury):
2715 * mail/unrmail.el (unrmail):
2716 * net/tls.el (open-tls-stream):
2717 * textmodes/picture.el (picture-mouse-set-point):
2718 Remove unused bindings.
2719
8c8fc5df
MA
27202012-04-19 Michael Albinus <michael.albinus@gmx.de>
2721
2722 * net/tramp.el (tramp-action-password): Let-bind
2723 `enable-recursive-minibuffers' to t.
2724
a77b0ac9
SS
27252012-04-18 Sam Steingold <sds@gnu.org>
2726
2727 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2728 instead of 'string to accommodate values like [f11].
2729 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2730 * progmodes/gdb-mi.el: Likewise.
2731
12a106a9
LL
27322012-04-18 Leo Liu <sdl.web@gmail.com>
2733
2734 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2735 current buffer.
2736 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2737 LOCAL is nil.
2738
bc6494ef
CY
27392012-04-18 Chong Yidong <cyd@gnu.org>
2740
2741 * simple.el (line-move): Use forward-line if in batch mode
2742 (Bug#11053).
2743
c09c46b2
CS
27442012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2745
2746 * files.el (after-find-file): Do not try to add a final newline if
2747 the buffer is read-only (Bug#11156).
2748
5f6530ea
RS
27492012-04-17 Richard Stallman <rms@gnu.org>
2750
2751 * mail/rmail.el (rmail-start-mail):
2752 Pass (rmail-mail-return...) for the return-action.
2753 Pass (rmail-yank-current-message...) for the yank-action.
2754 (rmail-yank-current-message): New function.
2755 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2756 (rmail-reply): Likewise.
2757 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2758
2759 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2760 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2761 buffer, not newbuf.
2762
197b6f3c
JB
27632012-04-17 Juanma Barranquero <lekktu@gmail.com>
2764
2765 * server.el (server-ensure-safe-dir): Simplify.
2766
2311d8e5 27672012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2768
2311d8e5
GM
2769 * emacs-lisp/smie.el: Provide smarter auto-filling.
2770 (smie-auto-fill): New function.
2771 (smie-setup): Use it.
98fb480e 2772
2311d8e5
GM
2773 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2774
27752012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2776
2777 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2778 (comment-indent): Use it.
2779
2311d8e5 27802012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2781
2782 * ses.el: The overall change is to add cell renaming, that is
2783 setting fancy names for cell symbols other than name matching
2784 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2785 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2786 (ses-create-cell-variable): New defun.
2311d8e5 2787 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2788 (ses-relocate-formula): Relocate formulas only for cells the
2789 symbols of which are not renamed, i.e. symbols whose names do not
2790 match regexp "\\`[A-Z]+[0-9]+\\'".
2791 (ses-relocate-all): Relocate values only for cells the symbols of
2792 which are not renamed.
2793 (ses-load): Create cells variables as the (ses-cell ...) are read,
2794 in order to check row col consistency with cell symbol name only
2795 for cells that are not renamed.
2796 (ses-replace-name-in-formula): New defun.
2797 (ses-rename-cell): New defun.
4bdf2ad2 2798
fc72b15c
PO
27992012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2800
2801 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2802 New option (bug#11118).
2803 (perl-calculate-indent): Respect it.
2804
12e10e61
GM
28052012-04-17 Glenn Morris <rgm@gnu.org>
2806
2807 * dired-aux.el (dired-mark-read-string): Doc fix.
2808
30009afd
DA
28092012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2810
2811 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2812 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2813
41f03f4d
GM
28142012-04-17 Glenn Morris <rgm@gnu.org>
2815
2816 * mouse.el (mouse-drag-track):
2817 * speedbar.el (speedbar-frame-mode):
2818 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2819
f45f90f3
LL
28202012-04-16 Leo Liu <sdl.web@gmail.com>
2821
2822 * progmodes/python.el: Trivial cleanup.
2823
94ee8db5
GM
28242012-04-16 Glenn Morris <rgm@gnu.org>
2825
121b8917
GM
2826 * vc/vc.el (vc-string-prefix-p):
2827 * vc/pcvs-util.el (cvs-string-prefix-p):
2828 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2829 * mpc.el (mpc-string-prefix-p):
2830 Make all of these into obsolete aliases for string-prefix-p.
2831 Update callers.
2832 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2833
1197ecfa
GM
2834 * textmodes/two-column.el: Move custom options to the start.
2835 (frame-width): Remove compat definition.
2836 (2C-associate-buffer, 2C-dissociate):
2837 Use with-current-buffer rather than save-excursion.
2838 (2C-dissociate): Force a mode-line update.
2839 (2C-autoscroll): Use ignore-errors.
2840
099e7202
GM
2841 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2842 Autoload trivia.
2843
bf350d6a
GM
2844 * emacs-lisp/cl-extra.el (*random-state*):
2845 Remove unnecessary declaration.
2846
0e829eab
GM
2847 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2848
e3ad7552
GM
2849 * play/cookie1.el (cookie-snarf):
2850 Give an explicit error if input file cannot be read.
2851
68892d27
GM
2852 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2853
20f0c46d
GM
2854 * progmodes/perl-mode.el (c-macro-expand):
2855 Remove unnecessary autoload (it is in loaddefs.el).
2856
5a0978ce
GM
2857 * textmodes/picture.el (picture-desired-column)
2858 (picture-update-desired-column): Convert comments to doc-strings.
2859 (picture-substitute): Remove function.
2860 (picture-mode-map): Initialize in the defvar.
2861
6b955486
GM
2862 * woman.el: Remove eval-after-load for tar-mode.
2863 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2864 (woman-tar-extract-file): Autoload it.
2865
94ee8db5
GM
2866 * frame.el (automatic-hscrolling): Make this alias obsolete.
2867
177eca34
AM
28682012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2869
2870 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2871 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2872 (ispell-dictionary-base-alist): Revert to original XEmacs
2873 friendly version for default. [:alpha:] will be added in
2874 `ispell-set-spellchecker-params' if needed
177eca34 2875
c505aaeb
CY
28762012-04-16 Chong Yidong <cyd@gnu.org>
2877
2878 * image.el (imagemagick--extension-regexp): New variable.
2879 (imagemagick-register-types): Use it.
2880 (imagemagick-types-inhibit): Add :set function. Allow new value
2881 of t to inhibit all types.
2882
2883 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2884 so we can preload it.
2885
2886 * loadup.el (fboundp): Preload regexp-opt, needed by
2887 imagemagick-register-types.
2888
60efac0f
CY
28892012-04-15 Chong Yidong <cyd@gnu.org>
2890
2891 * frame.el (scrolling): Remove nearly unused customization group.
2892
2893 * scroll-all.el (scroll-all-mode): Move to windows group.
2894
5dd1713e
CY
28952012-04-15 Chong Yidong <cyd@gnu.org>
2896
2897 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2898
e6fd457e
CY
28992012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2902 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2903
e153c136
GM
29042012-04-15 Glenn Morris <rgm@gnu.org>
2905
2906 * simple.el (process-file-side-effects): Doc fix.
2907
e6fd457e 29082012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2909
2910 * international/mule-cmds.el (set-language-environment): Doc fix.
2911
3603c3b1
JB
29122012-04-14 Juanma Barranquero <lekktu@gmail.com>
2913
2914 * server.el (server-auth-key, server-generate-key): Doc fixes.
2915 (server-get-auth-key): Doc fix. Use `string-match-p'.
2916 (server-start): Reflow docstring.
2917
e6de100c
LI
29182012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2919
2920 * server.el (server-generate-key): `called-interactively-p'
2921 requires a parameter.
2922
29734c21
MN
29232012-04-14 Michal Nazarewicz <mina86@mina86.com>
2924
2925 * server.el (server-auth-key): New variable.
75f1671a 2926 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2927 (server-start): Use the new variable and functions to allow
2928 setting a permanent server key (bug#9423).
2929
d65c9521
LL
29302012-04-14 Leo Liu <sdl.web@gmail.com>
2931
2932 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2933
5ae255c7
PE
29342012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2935
2936 Spelling fixes.
2937 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2938 Emacs uses American spelling.
2939
d5e6342e
JB
29402012-04-14 Juanma Barranquero <lekktu@gmail.com>
2941
2942 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2943 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2944 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2945 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2946
ab036cd7
SM
29472012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2948
2949 * progmodes/which-func.el (which-func-modes): Change default.
2950
35dc09a1 29512012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2952
2953 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2954 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2955
35dc09a1 29562012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2957
2958 * custom.el (custom-theme-set-variables): Doc fix.
2959
35dc09a1 29602012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2961
2962 * international/mule.el (set-auto-coding-for-load): Doc fix.
2963
35dc09a1 29642012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2965
35dc09a1
GM
2966 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2967 imenu work again for Objective C Mode. Correct the *-index values,
2968 these having been disturbed by a previous change in 2011-08.
57f845ee 2969
0de3da9f
AM
2970 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2971 Correct two search limits.
2972
35dc09a1 29732012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2974
2975 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2976
35dc09a1 29772012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2978
2979 * international/characters.el: Fix sorting.
2980
35dc09a1 29812012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2982
2983 * international/characters.el: Add more missing Latin case pairs.
2984
35dc09a1 29852012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2986
2987 * files.el (dir-locals-set-class-variables): Doc fix.
2988
35dc09a1 29892012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2990
3f1b5bf8
EZ
2991 * international/characters.el: Add set-case-syntax-pair call for
2992 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2993 counterpart. (Bug#11209)
2994
9f847f41
EZ
2995 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2996
35dc09a1 29972012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2998
2999 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3000
35dc09a1 30012012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3002
35dc09a1
GM
3003 * textmodes/ispell.el (ispell-dictionary-base-alist):
3004 Add data for Hebrew.
e2627d21 3005
35dc09a1 30062012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3007
35dc09a1
GM
3008 * net/rcirc.el (rcirc-cmd-quit):
3009 Revert 2012-03-18 change (Bug#11192).
5c14e333 3010
35dc09a1 30112012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3012
3013 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3014
35dc09a1 30152012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3016
4517fe3a
SM
3017 * minibuffer.el (completion-in-region-mode-map):
3018 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3019
b472a594
VD
30202012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3021
3022 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3023
09b95ce3
MY
30242012-04-13 Masatake YAMATO <yamato@redhat.com>
3025
3026 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3027 to allow `C-M-f' and `C-M-b' to move to the nearest path
3028 separator (bug#9511).
3029
4b63a9ca
LI
30302012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3031
3032 * avoid.el: Require cl when compiling. And also move the
3033 `provide' to the end.
3034
7b55b8bf
TV
30352012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3036
3037 * avoid.el (mouse-avoidance-banish-position): New variable.
3038 (mouse-avoidance-banish-destination): Use it (bug#10165).
3039
adedaa1f
LL
30402012-04-13 Leo Liu <sdl.web@gmail.com>
3041
3042 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3043
70e74021
KB
30442012-04-13 Ken Brown <kbrown@cornell.edu>
3045
3046 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3047 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3048 (browse-url-filename-alist): For the same reason, don't modify
3049 file:// URLs on Cygwin.
3050
e75e89ba
SM
30512012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3054 the region on shift if the binding is already shifted (bug#11221).
3055
82f289a4
GM
30562012-04-12 Glenn Morris <rgm@gnu.org>
3057
3058 * mail/mailpost.el: Move to obsolete/.
3059
d333dc4c
DA
30602012-04-12 Drew Adams <drew.adams@oracle.com>
3061
3062 * imenu.el (imenu--generic-function): Ignore invisible definitions
3063 (bug#10123).
3064
0d15b5ba
VD
30652012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3066
3067 * hexl.el (hexl-bits): New variable.
3068 (hexl-options): Mention the variable in the doc string.
75f1671a 3069 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3070 (hexl-mode): Mention the new variable.
75f1671a
JB
3071 (hexl-mode, hexl-current-address, hexl-current-address):
3072 Use the displen.
0d15b5ba
VD
3073 (hexl-ascii-start-column): New function.
3074 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3075 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3076
64a440db
AM
30772012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3078
3079 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3080 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3081 the encoding, as expected by hunspell.
3082
6decb6c2
SM
30832012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * battery.el (battery--linux-sysfs-regexp): New const.
3086 (battery-status-function): Use it. Remove yeeloong special case.
3087 (battery-yeeloong-sysfs): Remove.
3088 (battery-echo-area-format): Remove yeeloong special case.
3089
088be6fb
SM
30902012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3091
6622e416
SM
3092 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3093 Reported by Noah Friedman.
3094
088be6fb
SM
3095 * subr.el (read-passwd): Use read-string.
3096
b49f886e
LMI
30972012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3098
3099 * vcursor.el (vcursor-move): Increase the priority of the overlay
3100 (bug#9663).
3101
a63067fc
DD
31022012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3103
3104 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3105 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3106
ac3cf14a
WS
31072012-04-11 William Stevenson <yhvh2000@gmail.com>
3108
3109 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3110 define-minor-mode (bug#10760).
3111
c4fc691b 31122012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3113
4d6769e1 3114 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3115 that directories matching `grep-find-ignored-files' won't be
3116 pruned (bug#10351).
3117
af23e2e5
CY
31182012-04-11 Chong Yidong <cyd@gnu.org>
3119
3120 * startup.el (command-line): Remove support for long-obsolete
3121 variable font-lock-face-attributes.
3122
ab7ce8c1
GM
31232012-04-11 Glenn Morris <rgm@gnu.org>
3124
3125 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3126
de8c03dc
SM
31272012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3128
3129 * window.el (window--state-get-1): Obey window-point-insertion-type.
3130
050cc68b
LB
31312012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3132
3133 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3134 to previous function when point is on the first character of a
75f1671a 3135 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3136
a38c310c
GM
31372012-04-11 Glenn Morris <rgm@gnu.org>
3138
effed0c2
GM
3139 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3140 not just file-errors.
3141
a38c310c
GM
3142 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3143 (vc-bzr-sha1): Use internal sha1.
3144
0221e323
SM
31452012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3146
3147 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3148
43956923
SG
31492012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3150
3151 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3152 that start in the middle of the line (bug#10496).
3153
6a8c9eaf
DN
31542012-04-10 Dan Nicolaescu <dann@gnu.org>
3155
3156 * battery.el (battery-linux-proc-acpi): Only one battery is
3157 discharged at a time, but that seems to confuse battery.el when
3158 computing `rate-type' for the battery not being discharged
3159 (bug#10332).
3160
1930bf5d
SM
31612012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3162
2a718f6f
SM
3163 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3164
599430d0
SM
3165 * international/quail.el: Use dolist and simplify.
3166 (quail-define-package, quail-update-keyboard-layout)
3167 (quail-define-rules): Use dolist.
3168 (quail-insert-kbd-layout, quail-get-translation): CSE.
3169
a2754b6c
SM
3170 * tmm.el: Use dolist, remove left over hook.
3171 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3172 Use dolist.
3173 (calendar-load-hook): Don't mess with it.
3174
1930bf5d
SM
3175 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3176 Use derived-mode-p. Run the diff asynchronously.
3177
9f67961c
LMI
31782012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3179
3180 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3181
2a8ce227
JB
31822012-04-10 Juanma Barranquero <lekktu@gmail.com>
3183
3184 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3185 (list-dynamic-libraries--loaded): New function.
3186 (list-dynamic-libraries--refresh): Use it.
3187
8f33b5f8
NW
31882012-04-10 Nathan Weizenbaum <nweiz@google.com>
3189
1930bf5d
SM
3190 * progmodes/python.el (python-fill-paragraph):
3191 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3192 disabled (bug#7018).
3193
b12f0439
L
31942012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3195
1930bf5d 3196 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3197 DOS/MS Windows for the Baltic languages. There are still plenty
3198 of texts written in this encoding/codepage (bug#6519).
b12f0439 3199
57c3bd01
GM
32002012-04-10 Glenn Morris <rgm@gnu.org>
3201
3202 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3203 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3204
6c3eab30
FA
32052012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3206
1930bf5d 3207 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3208 next-line "n" and previous-line "p" in order to make recentf more
3209 consistent with ibuffer, dired or org-mode (bug#9387).
3210
24d78a88
LMI
32112012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3212
bc72b5d9
LMI
3213 * image.el (put-image): Return the overlay created instead of the
3214 optional input string (bug#7834). Note that this may break code
3215 that is (for some reason or other) depending on `put-image'
3216 returning the string.
3217
bd2dba5a
LMI
3218 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3219
74beb59f
LMI
3220 * simple.el (zap-to-char): Allow zapping using input methods
3221 (bug#1580).
3222
24d78a88
LMI
3223 * textmodes/fill.el (fill-region): Leave point and mark where they
3224 were before filling (bug#5399).
3225
263f20cd
GM
32262012-04-09 Glenn Morris <rgm@gnu.org>
3227
3228 * version.el (emacs-bzr-get-version):
3229 Handle lightweight checkouts of local branches.
3230
58d1f797
AS
32312012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3232
263f20cd 3233 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3234
b4d3bc10
CY
32352012-04-09 Chong Yidong <cyd@gnu.org>
3236
3237 * custom.el (custom-variable-p): Return nil for non-symbol
3238 arguments instead of signaling an error.
3239 (user-variable-p): Obsolete alias for custom-variable-p.
3240
3241 * apropos.el (apropos-variable):
3242 * files-x.el (read-file-local-variable):
3243 * simple.el (set-variable):
3244 * woman.el (woman-mini-help):
3245 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3246
fd06db5d
GM
32472012-04-09 Glenn Morris <rgm@gnu.org>
3248
e5fcdb5e
GM
3249 * startup.el (normal-top-level): Don't look for leim-list.el
3250 in places where it will not be found. (Bug#910)
3251
fd06db5d
GM
3252 * international/mule-cmds.el (set-default-coding-systems):
3253 * files.el (normal-mode):
3254 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3255 This function was removed with ucs-tables.el in 2008.
3256
b39bb7e1
EZ
32572012-04-08 Eli Zaretskii <eliz@gnu.org>
3258
3259 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3260 ispell-encoding8-command to "-i", without a trailing space.
3261 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3262 separate command-line arguments, to specify the encoding, since
3263 that's how hunspell expects it.
3264
5c5b8e23
GM
32652012-04-08 Glenn Morris <rgm@gnu.org>
3266
3267 * loadup.el: Load bindings before cus-start.
3268 This reduces somewhat the number of "rogue" settings in emacs -Q.
3269
a1ed8b05
GM
32702012-04-07 Glenn Morris <rgm@gnu.org>
3271
3272 * version.el (emacs-bzr-get-version): New function.
dfae128a 3273 (emacs-bzr-version): New variable.
a1ed8b05
GM
3274 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3275 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3276
b142f158
EZ
32772012-04-07 Eli Zaretskii <eliz@gnu.org>
3278
dfae128a
GM
3279 * international/uni-bidi.el, international/uni-category.el:
3280 * international/uni-combining.el, international/uni-decimal.el:
3281 * international/uni-decomposition.el, international/uni-digit.el:
3282 * international/uni-lowercase.el, international/uni-mirrored.el:
3283 * international/uni-name.el, international/uni-numeric.el:
3284 * international/uni-titlecase.el, international/uni-uppercase.el:
3285 Update for Unicode 6.1.
b142f158 3286
9078ead6
EZ
32872012-04-07 Eli Zaretskii <eliz@gnu.org>
3288
3289 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3290
f23d2c7d
LMI
32912012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3292
3293 * window.el (shrink-window): Mention the `window-min-height'
3294 variable in the doc string.
3295
0a0a3573
BG
32962012-04-05 Bastien Guerry <bzg@altern.org>
3297
3298 * color.el (color-lighten-name): Fix typo.
3299
e5248ac9
SM
33002012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * server.el (server--on-display-p): New function.
3303 (server--on-display-p): Use it.
3304
b4243e22
GV
33052012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3306
3307 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3308 (bug#11145).
3309
305d9f44
SM
33102012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3311
3312 * comint.el (comint--common-quoted-suffix): Check string boundary
3313 before comparing (bug#11158).
3314 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3315
3d439cd1
CY
33162012-04-04 Chong Yidong <cyd@gnu.org>
3317
321cc491
CY
3318 * minibuffer.el (completion-extra-properties): Doc fix.
3319
3d439cd1
CY
3320 * subr.el (delayed-warnings-hook): Doc fix.
3321
2d562c0f
DU
33222012-04-04 Daiki Ueno <ueno@unixuser.org>
3323
3324 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3325 selection (Bug#11159).
3326 (epa-insert-keys): Inform that the default public key will be
3327 exported if no key is selected.
3328
4443f204
RS
33292012-04-04 Richard Stallman <rms@gnu.org>
3330
3331 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3332
529c06b6
CY
33332012-04-03 Chong Yidong <cyd@gnu.org>
3334
3335 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3336 mail-insert-file, not its obsolete alias mail-attach-file.
3337
66b907dc
MA
33382012-04-03 Michael Albinus <michael.albinus@gmx.de>
3339
3340 * notifications.el (notifications-notify): Fix docstring.
3341
c0ea195d
GM
33422012-04-02 Glenn Morris <rgm@gnu.org>
3343
3344 * emacs-lisp/authors.el (authors-aliases): Another addition.
3345
5ca64e00
MA
33462012-04-02 Michael Albinus <michael.albinus@gmx.de>
3347
3348 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3349 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3350 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3351
42ee526b
CY
33522012-04-01 Chong Yidong <cyd@gnu.org>
3353
3354 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3355 Handle root directory properly.
3356 (copy-directory): Caller changed.
3357
3358 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3359 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3360
0b021094
GM
33612012-03-31 Glenn Morris <rgm@gnu.org>
3362
40f86458
GM
3363 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3364
7019c177
GM
3365 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3366
a1daddd6
GM
3367 * calendar/calendar.el (calendar-window-list)
3368 (calendar-hide-window): Restore. (Bug#11140)
3369 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3370
0b021094
GM
3371 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3372
40311efc
TV
33732012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3374
3375 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3376 Check if file is a symlink (Bug#10489).
3377
3378 * files.el (copy-directory): Likewise.
3379
5319014e
CY
33802012-03-30 Chong Yidong <cyd@gnu.org>
3381
3382 * image.el (imagemagick-types-inhibit)
3383 (imagemagick-register-types): Doc fix.
3384
935d1290
AM
33852012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3386
ef24141c
SM
3387 * ispell.el (ispell-get-extended-character-mode):
3388 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3389 and treats ~word as ordinary words in pipe mode.
935d1290 3390
61c6e8fd
GM
33912012-03-30 Glenn Morris <rgm@gnu.org>
3392
3393 * tutorial.el (help-with-tutorial): Ensure local variables don't
3394 happen to make the buffer read-only. (Bug#11127)
3395
81fdff00
SM
33962012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3399 (perl-calculate-indent): Return `noindent' in strings.
3400
6e7a6ec0
SS
34012012-03-28 Sam Steingold <sds@gnu.org>
3402
3403 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3404 instead of the broken adhockery which does not prevent calendar
3405 buffers from being displayed at random after exit.
3406 (calendar-window-list, calendar-hide-window): Remove the broken
3407 adhockery.
3408
fee88ca0
GM
34092012-03-28 Glenn Morris <rgm@gnu.org>
3410
3411 * replace.el (query-replace-map): Doc fix.
3412
38de3354
AS
34132012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3414
3415 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3416 contents. (Bug#11109)
3417
b973155e
SM
34182012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3419
3420 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3421 (bug#11077).
3422 (avl-tree--check, avl-tree--check-node): New funs.
3423
dcb6e7b3
MR
34242012-03-27 Martin Rudalics <rudalics@gmx.at>
3425
3426 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3427 (switch-to-prev-buffer, switch-to-next-buffer):
3428 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3429 showing a buffer already is done on the same frame.
3430
b4fa35fa
GM
34312012-03-27 Glenn Morris <rgm@gnu.org>
3432
3433 * startup.el (mail-host-address): Doc fix.
3434
f9210e18
SM
34352012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3438 than 197 variables.
3439
c0bf7753
AF
34402012-03-26 Ami Fischman <ami@fischman.org>
3441
3442 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3443
33da7b16
GM
34442012-03-26 Glenn Morris <rgm@gnu.org>
3445
02243d9d
GM
3446 * files.el (save-buffers-kill-emacs): Doc fix.
3447
33da7b16
GM
3448 * startup.el (normal-top-level, command-line, command-line-1):
3449 Give them doc strings.
3450
e5a69fd0
EZ
34512012-03-25 Eli Zaretskii <eliz@gnu.org>
3452
3453 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3454 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3455
9a69676a
CY
34562012-03-25 Chong Yidong <cyd@gnu.org>
3457
4125cb8b
CY
3458 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3459 theme if it was previously enabled before (Bug#11031).
3460
dd470960
CY
3461 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3462 spec with custom-face-get-current-spec if its :shown-value is not
3463 determined yet (Bug#9337).
4125cb8b 3464 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3465
9a69676a
CY
3466 * button.el (button-at): Minor addition to docstring.
3467
6e7e90fa
SL
34682012-03-24 Simon Leinen <simon.leinen@gmail.com>
3469
3470 * vc/vc.el (vc-merge): Fix a prompt.
3471
f06e2758
CY
34722012-03-24 Chong Yidong <cyd@gnu.org>
3473
3474 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3475 point (Bug#9623).
3476
6e7e90fa
SL
3477 * button.el (button-at): Minor addition to docstring.
3478
b9d0879b
SM
34792012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * newcomment.el (comment-choose-indent): No space after BOL.
3482
e71cebb3
SS
34832012-03-22 Sam Steingold <sds@gnu.org>
3484
3485 * window.el (switch-to-prev-buffer): Revert last patch because the
3486 bug turned out to be an advertised feature (Elisp manual 28.14).
3487
335aff35
GM
34882012-03-22 Glenn Morris <rgm@gnu.org>
3489
3490 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3491 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3492
c676576a
LMI
34932012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3494
3495 * net/network-stream.el (network-stream-open-starttls): Make error
3496 message under Windows be less misleading.
3497
126f3d39
LW
34982012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3499
3500 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3501 understands (bug#9942).
3502
64fee311
CY
35032012-03-22 Chong Yidong <cyd@gnu.org>
3504
3505 * simple.el (end-of-visible-line): Handle return value of
3506 next-single-property-change properly (Bug#9371).
3507
a640d29a
KH
35082012-03-22 Kenichi Handa <handa@m17n.org>
3509
3510 * international/quail.el (quail-insert-kbd-layout): Fix previous
3511 change. To avoid unwanted bidi reordering, use
3512 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3513
39675016
DG
35142012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3515
3516 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3517 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3518 (ruby-beginning-of-indent): Be more careful with the difference
3519 between word-boundary and symbol boundary.
3520 (ruby-mode-syntax-table): Make : a symbol constituent.
3521
0a6934fc 35222012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3523
3d008e4f
SM
3524 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3525
0a6934fc
SM
35262012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3527
af67c9d7
SM
3528 * progmodes/etags.el (tags-completion-at-point-function):
3529 Improve last fix.
3530
1acad97c
SM
3531 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3532
e298b5da
SS
35332012-03-21 Sam Steingold <sds@gnu.org>
3534
3535 * progmodes/etags.el (tags-completion-at-point-function):
3536 Avoid the error when point is inside the pattern.
3537
91d82a70
JY
35382012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3539
3540 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3541 line (Bug#10855).
3542
69188b79
CY
35432012-03-21 Drew Adams <drew.adams@oracle.com>
3544
3545 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3546
99fc91fe
AK
35472012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3548
3549 * ido.el (ido-set-current-directory, ido-read-internal)
3550 (ido-choose-completion-string, ido-completion-help): Handle nil
3551 value of ido-completion-buffer (Bug#11008).
3552
087bbb4c
SS
35532012-03-21 Sam Steingold <sds@gnu.org>
3554
3555 * window.el (switch-to-prev-buffer): Do not switch to a visible
3556 window previous buffer, just like with the frame previous buffers.
3557
fb5b8aca
CY
35582012-03-21 Chong Yidong <cyd@gnu.org>
3559
3560 * faces.el (make-face, make-empty-face, copy-face):
3561 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3562 Doc fixes.
3563
dc9924b8
SM
35642012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3565
3566 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3567 (widget-complete): Remove broken use of it.
3568
f0bcceb9
CY
35692012-03-20 Chong Yidong <cyd@gnu.org>
3570
dc9924b8
SM
3571 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3572 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3573 characters.
3574
ee52ebf3
TH
35752012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3576
3577 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3578 to draw rectangles, not squares. (Regression introduced by revno
3579 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3580
4c5779ab
CY
35812012-03-18 Chong Yidong <cyd@gnu.org>
3582
3583 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3584 it is not yet defined (for temacs).
3585
15360934
LL
35862012-03-18 Leo Liu <sdl.web@gmail.com>
3587
dc9924b8 3588 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3589
d9a8eb66
EZ
35902012-03-17 Eli Zaretskii <eliz@gnu.org>
3591
3592 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3593 (ispell-choices-win-default-height, ispell-silently-savep)
3594 (ispell-dictionary-alist, ispell-encoding8-command)
3595 (ispell-check-version, ispell-aspell-find-dictionary)
3596 (ispell-valid-dictionary-list, ispell-words-keyword)
3597 (ispell-get-word, ispell-internal-change-dictionary)
3598 (ispell-region, ispell-skip-region-list)
3599 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3600 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3601 (ispell-message-text-end, ispell-message)
3602 (ispell-buffer-local-parsing): Doc fix.
3603
f02ff80d
J
36042012-03-13 Jambunathan K <kjambunathan@gmail.com>
3605
3606 * htmlfontify.el: Add support for code block fontification for ODT
3607 export (Bug #9914).
3608 (hfy-optimisations): Define new option
3609 `body-text-only'
3610 (hfy-fontify-buffer): Honor above setting.
3611 (hfy-begin-span, hfy-end-span): New routines factored out form
3612 `hfy-fontify-buffer'.
3613 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3614 that permit insertion of custom tags.
3615 (hfy-fontify-buffer): Use above handlers.
3616 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3617 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3618 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3619 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3620 bind a special variable `hfy-user-sheet-assoc'.
3621 (htmlfontify-string): New defun.
3622 (hfy-compile-face-map): Make sure that the last char in the
3623 buffer is correctly fontified.
3624 (hfy-face-resolve-face): Whitespace only change.
3625
9ac7a13f
EZ
36262012-03-17 Eli Zaretskii <eliz@gnu.org>
3627
3628 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3629 message more clear.
3630
e2b5bdd7
LL
36312012-03-16 Leo Liu <sdl.web@gmail.com>
3632
3633 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3634
2e492df3
AM
36352012-03-16 Alan Mackenzie <acm@muc.de>
3636
3637 Further optimise the handling of large macros.
3638
3639 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3640 limit to a call of `c-literal-limits'.
3641 (c-determine-+ve-limit): New function.
dc9924b8
SM
3642 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3643 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3644 In CASE 5B, restrict a search limit to 500.
3645 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3646
3647 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3648 Restrict macro bounds to +-500 from after-change's BEG END.
3649
50e94f0c
LL
36502012-03-16 Leo Liu <sdl.web@gmail.com>
3651
3652 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3653
6f09f6ed
AH
36542012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3655
3656 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3657 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3658
c7e73d51
GM
36592012-03-16 Glenn Morris <rgm@gnu.org>
3660
da986230
GM
3661 * view.el (view-buffer, view-buffer-other-window)
3662 (view-buffer-other-frame): Doc fixes re special mode-class.
3663
0835f01e
GM
3664 * subr.el (eval-after-load): If named feature is provided not from
3665 a file, run after-load forms. (Bug#10946)
3666
c7e73d51
GM
3667 * calendar/calendar.el (calendar-insert-at-column):
3668 Handle non-unit-width characters a bit better. (Bug#10978)
3669
3f2eafd1
CY
36702012-03-15 Chong Yidong <cyd@gnu.org>
3671
3672 * emacs-lisp/ring.el (ring-extend): New function.
3673 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3674
3675 * comint.el (comint-read-input-ring)
3676 (comint-add-to-input-history): Grow comint-input-ring lazily.
3677
103af3fe
SM
36782012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3679
663b1677
SM
3680 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3681 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3682
103af3fe
SM
3683 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3684 (imenu-add-to-menubar): Don't add a redundant index.
3685 (imenu-update-menubar): Handle a dynamically composed keymap.
3686
899cb7cb
KY
36872012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3688
3689 * mail/sendmail.el (mail-encode-header):
3690 Bind rfc2047-encode-encoded-words to nil.
3691
3809f91d
GM
36922012-03-13 Glenn Morris <rgm@gnu.org>
3693
3694 * calendar/calendar.el (calendar-string-spread):
3695 Handle non-unit-width characters a bit better. (Bug#10978)
3696
9e345a01
LL
36972012-03-13 Leo Liu <sdl.web@gmail.com>
3698
3699 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3700 directory and file as argument (Bug#10822).
3701
4a07df36
KS
37022012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3703
3704 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3705 For dynamically generated code, follow $PC.
3706 (gdb-disassembly-handler-custom): Handle no function name case.
3707
4aaa9356
TL
37082012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3709
3710 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3711 * emulation/ws-mode.el (ws-query-replace):
3712 * sort.el (sort-regexp-fields):
3713 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3714
225979da
SM
37152012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * dabbrev.el: Fix cycle completion order (bug#10963).
3718 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3719 (dabbrev-completion): Don't use an obarray; provide
3720 a cycle-sort-function.
3721
e2f1fdab
LL
37222012-03-12 Leo Liu <sdl.web@gmail.com>
3723
dc9924b8 3724 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3725 (kill-do-not-save-duplicates): Doc fix.
3726
b19490ed
SM
37272012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * dabbrev.el: Fix cycle completion (bug#10963).
3730 Use lexical binding and wrap to 80 columns.
3731 (dabbrev-completion): Delay computing the list of completions.
3732
4b05d722
KH
37332012-03-12 Kenichi Handa <handa@m17n.org>
3734
3735 * international/quail.el (quail-insert-kbd-layout): Surround each
3736 row by LRO and PDF instead of inserting many LRMs. Pad the left
3737 and right of each non-spacing marks. Insert invisible space
3738 between lower and upper characters to prevent composition.
3739
dbbc2e69
SM
37402012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * minibuffer.el (minibuffer-complete): Don't get confused when the
3743 function is run twice via different commands (bug#10958).
3744 (complete-with-action): Fix docstring.
3745
292112ed
CY
37462012-03-12 Chong Yidong <cyd@gnu.org>
3747
5d1ac394
CY
3748 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3749 (nxml-completion-at-point-function): New function.
3750 (nxml-mode): Use it.
3751 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3752
292112ed
CY
3753 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3754 Load generated autoloads file before byte compiling (Bug#10970).
3755 (package--make-autoloads-and-compile): New helper fun.
3756
4098f8f7
CS
37572012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3758
3759 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3760
8f754691
MA
37612012-03-11 Michael Albinus <michael.albinus@gmx.de>
3762
3763 * autorevert.el (auto-revert-handler): Ensure, that
3764 file-readable-p is applied only for local files or in
3765 auto-revert-tail-mode.
3766
e29ab36b
AS
37672012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3768
dbbc2e69
SM
3769 * server.el (server-eval-at): Handle non-tcp connections.
3770 Decode result string.
ad0bf5b6 3771
e29ab36b
AS
3772 * server.el (server-msg-size): New constant.
3773 (server-reply-print): New function.
3774 (server-eval-and-print): Use it.
3775 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3776 Handle -print-nonl.
3777
de5939ba
CS
37782012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3779
3780 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3781 (Bug#10987).
3782
0c93eabf
CY
37832012-03-11 Chong Yidong <cyd@gnu.org>
3784
397a688f
CY
3785 * simple.el (goto-line): Doc fix (Bug#9938).
3786
2cc775f9
CY
3787 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3788
0c93eabf
CY
3789 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3790 when finished (Bug#10963).
3791
c491fa41
MR
37922012-03-11 Martin Rudalics <rudalics@gmx.at>
3793
3794 * window.el (split-window-below): Fix bug in case where
3795 split-window-keep-point is nil (Bug#10971).
3796
300e8fa5
JL
37972012-03-11 Juri Linkov <juri@jurta.org>
3798
3799 * replace.el (replace-highlight): Set isearch-word to nil
3800 unconditionally. (Bug#10887)
3801
dbf6c5a1
EZ
38022012-03-10 Eli Zaretskii <eliz@gnu.org>
3803
3804 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3805 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3806 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3807 (mairix-widget-create-query): Add usage information about mairix
3808 search forms: negating words, searching for substrings, etc.
3809
b9e501de
JP
38102012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3811
3812 * international/fontset.el (font-encoding-alist): Add an entry for
3813 ksx1001 (Bug#5667).
3814
92795c91
RS
38152012-03-10 Richard Stallman <rms@gnu.org>
3816
1694e6c1
RS
3817 * mail/sendmail.el (mail-encode-header):
3818 Set rfc2047-encode-encoded-words.
3819
607e8555
RS
3820 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3821
de3bc99a
RS
3822 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3823 view buffer means not swapped.
3824 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3825 (rmail-write-region-annotate): Error if real text has disappeared.
3826
92795c91
RS
3827 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3828
699bd04e
CY
38292012-03-10 Chong Yidong <cyd@gnu.org>
3830
3831 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3832 * emulation/cua-base.el (cua--init-keymaps):
3833 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3834
570a1714
MR
38352012-03-10 Martin Rudalics <rudalics@gmx.at>
3836
dbbc2e69
SM
3837 * speedbar.el (speedbar-unhighlight-one-tag-line):
3838 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3839
82dcf4e4
CY
38402012-03-10 Chong Yidong <cyd@gnu.org>
3841
7a2c7ca7
CY
3842 * minibuffer.el (completion-in-region, completion-help-at-point):
3843 Give the completion field overlay a high priority (Bug#6830).
3844
82dcf4e4
CY
3845 * dired.el (dired-goto-file): Recognize absolute file name
3846 listings (Bug#7126).
3847 (dired-goto-file-1): New helper function.
3848 (dired-toggle-read-only): Inhibit warnings.
3849
052e28ac
MA
38502012-03-09 Michael Albinus <michael.albinus@gmx.de>
3851
75f1671a 3852 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3853 there are no properties.
3854
95d5e396
LL
38552012-03-09 Leo Liu <sdl.web@gmail.com>
3856
3857 * savehist.el (savehist-printable): Stricter check for string
3858 value (Bug#10937).
3859
3f018d6d
EZ
38602012-03-09 Eli Zaretskii <eliz@gnu.org>
3861
dbbc2e69
SM
3862 * mail/smtpmail.el (smtpmail-send-it):
3863 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3864 valid mbox format.
3865
f7fd3d79
GM
38662012-03-09 Glenn Morris <rgm@gnu.org>
3867
3868 * files.el (dir-locals-find-file):
3869 Don't check result is regular, readable.
3870 (dir-locals-read-from-file): Demote errors.
3871
6ff6e72f
EZ
38722012-03-08 Eli Zaretskii <eliz@gnu.org>
3873
dbbc2e69
SM
3874 * international/quail.el (quail-insert-kbd-layout):
3875 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3876 layout cell, to prevent their reordering by bidi display engine.
3877 For details, see the discussion in
3878 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3879
9cec7834
AM
38802012-03-08 Alan Mackenzie <acm@muc.de>
3881
3882 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3883 the starting position; make it extend the marked region when
3884 invoked repeatedly - all under appropriate circumstances.
3885 Fixes bugs #5525, #10906.
3886
9a40b8d4
GM
38872012-03-08 Glenn Morris <rgm@gnu.org>
3888
3889 * files.el (locate-dominating-file, dir-locals-find-file):
3890 Undo 2012-03-06 change.
3891
7a08ed35
EZ
38922012-03-07 Eli Zaretskii <eliz@gnu.org>
3893
dbbc2e69
SM
3894 * international/quail.el (quail-help):
3895 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3896 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3897 for the reason.
3898
5aca4f71 38992012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3900
3901 Avoid superfluous registering of signals. (Bug#10807)
3902
3903 * notifications.el (notifications-on-action-object)
3904 (notifications-on-close-object): New defvars.
3905 (notifications-on-action-signal, notifications-on-closed-signal):
3906 Unregister the signal if not needed any longer.
3907 (notifications-notify): Register `notifications-action-signal' or
3908 `notifications-closed-signal', if :on-action or :on-close has been
3909 passed as argument.
3910
78e8b10a
CY
39112012-03-07 Chong Yidong <cyd@gnu.org>
3912
3913 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3914 non-X platforms.
3915
69481eb8
GM
39162012-03-06 Glenn Morris <rgm@gnu.org>
3917
3918 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3919 (x-disown-selection-internal, x-get-selection-internal):
3920 Doc fix (add arglist signatures). (Bug#10783)
3921
133b8e11
KS
39222012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3923
3924 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3925 Handle breakpoints with no "type".
3926
99a83064
GM
39272012-03-06 Glenn Morris <rgm@gnu.org>
3928
3929 * files.el (locate-dominating-file): Add optional predicate argument.
3930 (dir-locals-find-file): Make use of above change.
3931
17798e78
TTN
39322012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3933
3934 * info.el (Info-insert-dir): Also try "dir.gz".
3935
eb182446
GM
39362012-03-06 Glenn Morris <rgm@gnu.org>
3937
8f2114ee
GM
3938 * files.el (dir-locals-find-file):
3939 Ignore non-readable or non-regular files. (Bug#10928)
3940
eb182446
GM
3941 * files.el (locate-dominating-file): Doc fix.
3942
24679323
AS
39432012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3944
3945 * calendar/calendar.el (calendar-set-mode-line):
3946 `getenv' returns a string. (Bug#10951)
3947
01d972a9
LL
39482012-03-05 Leo Liu <sdl.web@gmail.com>
3949
109aa8a9
LL
3950 * simple.el (backward-delete-char-untabify): Constrain point to
3951 field (Bug#10939).
3952
01d972a9
LL
3953 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3954
10607bea
CY
39552012-03-05 Chong Yidong <cyd@gnu.org>
3956
3957 * simple.el (count-words): If called from Lisp, return the word
3958 count, for symmetry with `count-lines'. Arglist changed.
3959 (count-words--message): Args changed. Consolidate counting code
3960 from count-words and count-words-region.
3961 (count-words-region): Caller changed.
3962 (count-lines-region): Make it an obsolete alias.
3963
5dd11cfe
TH
39642012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3965
3966 * saveplace.el (save-place-to-alist)
3967 (save-place-ignore-files-regexp): Allow value nil to disable this
3968 feature.
3969
c349f4e6
CY
39702012-03-04 Chong Yidong <cyd@gnu.org>
3971
3972 * faces.el (face-spec-reset-face): For the default face, reset the
3973 attributes to default values (Bug#10748).
3974
e627be4c
LMI
39752012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3976
3977 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3978 previous patch: Check `message-send-mail-function', and not the
3979 default function (bug#10897).
3980
ebeabff4
MA
39812012-03-04 Michael Albinus <michael.albinus@gmx.de>
3982
a41a6cf4
MA
3983 * notifications.el (notifications-on-action-signal)
3984 (notifications-on-closed-signal): Check for unique service name of
3985 incoming event. Fix error in removing entry.
ebeabff4 3986 (top): Register for signals with wildcard service name.
a41a6cf4 3987 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3988
c1ca42b4
CY
39892012-03-04 Chong Yidong <cyd@gnu.org>
3990
dc9924b8 3991 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3992
ea16568d
GM
39932012-03-04 Glenn Morris <rgm@gnu.org>
3994
3995 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3996 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3997 (expand-abbrev, define-abbrev-table): Doc fixes.
3998
fbae4637
LMI
39992012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4000
4001 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4002 `message-default-send-mail-function' and not `send-mail-function'
4003 when doing the prompting for `sendmail-query-once' before sending
4004 in Message buffers (bug#10897).
4005
a1e7225c
LMI
4006 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4007 This is inconsistent with all the other stream functions, which leave
4008 the setting up to the higher levels (if so wanted) (bug#10931).
4009
56d093a9
AM
40102012-03-02 Alan Mackenzie <acm@muc.de>
4011
4012 Depessimize the handling of very large macros.
4013
4014 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4015 (c-macro-cache-syntactic): New variables to implement a one
4016 element macro cache.
4017 (c-invalidate-macro-cache): New function.
4018 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4019 Adapt to use the new cache.
4020 (c-state-safe-place): Use better the cache of safe positions.
4021 (c-state-semi-nonlit-pos-cache)
4022 (c-state-semi-nonlit-pos-cache-limit):
4023 New variables for...
4024 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4025 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4026 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4027 Use c-state-semi-safe-place.
56d093a9 4028
dbbc2e69
SM
4029 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4030 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4031
817e5c3d
MA
40322012-03-02 Michael Albinus <michael.albinus@gmx.de>
4033
dbbc2e69
SM
4034 * jka-compr.el (jka-compr-call-process):
4035 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4036 not remote.
4037
a032a702
MA
40382012-03-01 Michael Albinus <michael.albinus@gmx.de>
4039
4040 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4041 access of FILE2, if FILE1 does not exist.
4042
99a54f21
MA
4043 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4044 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4045
4046 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4047 Add "PAGER=" to `process-environment'.
4048
f6561e1f
MM
40492012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4050
4051 * progmodes/sql.el: Bug fix
4052 (sql-get-login-ext): Save login values in globals.
4053 (sql-get-login): Use new version of `sql-get-login-ext'.
4054 (sql-interactive-mode): Set global `sql-connection' to nil.
4055 (sql-connect): Set global values for connection.
4056 (sql-product-interactive): Save global values as buffer local.
4057
2d44d9cc
LL
40582012-02-29 Leo Liu <sdl.web@gmail.com>
4059
4060 * abbrev.el (define-abbrevs): Reset sys to nil.
4061
96b49301 40622012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4063
bf7f9bc5
JB
4064 * files.el (file-equal-p): Rename from `files-equal-p'.
4065 Return nil when one or both files don't exist.
96b49301 4066 (file-subdir-of-p): Now only top directory must exists,
4067 return nil if it doesn't.
bf7f9bc5
JB
4068 (copy-directory): No need to test with `file-subdir-of-p' after
4069 creating dir.
4070 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4071 to `file-equal-p'.
96b49301 4072
44e97401
GM
40732012-02-28 Glenn Morris <rgm@gnu.org>
4074
4075 * shell.el (shell-mode):
4076 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4077 * play/landmark.el (landmark-font-lock-face-O):
4078 * play/handwrite.el (handwrite):
4079 * play/gomoku.el (gomoku-O):
4080 * net/browse-url.el (browse-url-browser-display):
4081 * international/mule.el (define-charset):
4082 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4083 * filesets.el (filesets-find-file-delay):
4084 * eshell/em-xtra.el (eshell-xtra):
4085 * eshell/em-unix.el (eshell-grep):
4086 * emulation/viper.el (viper-mode):
4087 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4088 * emacs-lisp/easymenu.el (easy-menu-define):
4089 * calendar/timeclock.el (timeclock-use-display-time):
4090 * bs.el (bs-mode):
4091 * bookmark.el (bookmark-save-flag):
4092 Doc fix (standardize possessive apostrophe usage).
4093
c98c6276
CY
40942012-02-27 Chong Yidong <cyd@gnu.org>
4095
bf7f9bc5
JB
4096 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4097 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4098
c98c6276
CY
4099 * font-lock.el (font-lock-specified-p): Rename from
4100 font-lock-spec-present. Callers changed.
4101
9c62cd04 41022012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4103
bf7f9bc5
JB
4104 * emacs-lisp/package.el (package-compute-transaction):
4105 Handle holding a package version to t in package-load-list.
8ac9e529 4106
530739c9
MA
41072012-02-26 Michael Albinus <michael.albinus@gmx.de>
4108
4109 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4110 (tramp-get-inode, tramp-get-device): Use cached values.
4111
487915d7
AM
41122012-02-26 Alan Mackenzie <acm@muc.de>
4113
4114 Check there is a font-lock specification before doing initial
4115 fontification.
4116
4117 * font-core.el (font-lock-mode): Move the conditional from
4118 :after-hook to font-lock-initial-fontify.
4119 (font-lock-default-function): Move the check for a specification
4120 to font-lock-spec-present.
4121
dc9924b8 4122 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4123 (font-lock-spec-present): New function.
4124
4fd96557
JB
41252012-02-26 Jim Blandy <jimb@red-bean.com>
4126
4127 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4128 (gdb-send): Apply it to the operand of the '-interpreter-exec
4129 console' command, so that we can pass arguments with (say) quotes
4130 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4131
9a4888c0
CY
41322012-02-26 Chong Yidong <cyd@gnu.org>
4133
07498861
CY
4134 * help-fns.el (describe-function-1): Clarify description of
4135 remapping (Bug#10844).
4136
9a4888c0
CY
4137 * files.el (files-equal-p): Doc fix.
4138 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4139 and quit the loop once a mismatch is found.
4140
ea8fb88d
JB
41412012-02-25 Juanma Barranquero <lekktu@gmail.com>
4142
4143 * bs.el (bs--show-with-configuration): Don't throw an error
4144 if the window cannot be split; otherwise, subsequent calls to
4145 bs-show fail, restoring a stale window config. (Bug#10882)
4146
525795c1
JD
41472012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4148
4149 * term/ns-win.el (global-map): Bind ns-drag-file to
4150 ns-find-file (Bug#5855, Bug#10050).
4151
f008086f
AS
41522012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4153
4154 * calendar/parse-time.el (parse-time-string): Allow extractor to
4155 return nil.
4156
a3fcfa99
MA
41572012-02-25 Michael Albinus <michael.albinus@gmx.de>
4158
91027d08
JB
4159 * net/tramp.el (tramp-file-name-for-operation):
4160 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4161
4162 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4163 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4164 Add COPY-CONTENTS argument.
a3fcfa99 4165
67b0de11
CY
41662012-02-25 Chong Yidong <cyd@gnu.org>
4167
4168 Add custom groups for VC backends, for consistency with vc-bzr.
4169
4170 * vc/vc-arch.el (vc-arch):
4171 * vc/vc-cvs.el (vc-cvs):
4172 * vc/vc-git.el (vc-git):
4173 * vc/vc-hg.el (vc-hg):
4174 * vc/vc-mtn.el (vc-mtn):
4175 * vc/vc-rcs.el (vc-rcs):
4176 * vc/vc-sccs.el (vc-sccs):
4177 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4178 All relevant defcustoms reassigned.
4179
3c9dfce6
CY
41802012-02-25 Chong Yidong <cyd@gnu.org>
4181
1339bf43
CY
4182 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4183
3c9dfce6
CY
4184 * term/x-win.el (x-initialize-window-system): Reduce default for
4185 x-selection-timeout to 5 seconds (Bug#8869).
4186
25b2e303 41872012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4188
ec70a47d
GM
4189 * files.el (files-equal-p, file-subdir-of-p): New functions.
4190 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4191 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4192 * dired-aux.el (dired-copy-file-recursive): Same.
4193 (dired-create-files): Modify destination when source is equal to
4194 dest when copying files.
53a46cd0 4195 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4196
914260cd
MA
41972012-02-24 Michael Albinus <michael.albinus@gmx.de>
4198
4199 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4200 (Bug#10874)
4201
2cb228f7
AM
42022012-02-23 Alan Mackenzie <acm@muc.de>
4203
4204 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4205 parameter "after-hook:" to allow the expansion to run code after
4206 the execution of the mode hooks.
4207
4208 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4209 from font-lock-mode-internal.
2cb228f7 4210
91027d08 4211 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4212 :after-hook.
4213
8f0fde21
SM
42142012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4215
3e88618b
SM
4216 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4217 (completion--cache-all-sorted-completions): New function.
4218 (completion-all-sorted-completions): Use it.
4219 (completion--do-completion, minibuffer-force-complete):
4220 Use it to re-instate the flush hook.
4221
8f0fde21
SM
4222 * icomplete.el (icomplete-completions): Replace last fix with a better
4223 one (bug#10850).
4224
8e911f6f
DG
42252012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4226
4227 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4228 when it might call us back infinitely (bug#10797).
4229
49fe4321
GM
42302012-02-23 Glenn Morris <rgm@gnu.org>
4231
4232 * minibuffer.el (completion-category-overrides): Doc fix.
4233
b291b572
SM
42342012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4237 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4238
31a9ef2e
GM
42392012-02-23 Glenn Morris <rgm@gnu.org>
4240
5e6e6794 4241 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4242 (authors-obsolete-files-regexps, authors-ignored-files)
4243 (authors-ambiguous-files, authors-renamed-files-alist):
4244 Add more entries.
4245
0bd1e074
JL
42462012-02-23 Juri Linkov <juri@jurta.org>
4247
4248 * isearch.el (isearch-occur): Sync interactive spec with occur's
4249 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4250
b617673c
JL
4251 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4252
19e9789e
JL
42532012-02-22 Juri Linkov <juri@jurta.org>
4254
4255 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4256 (ucs-insert): Doc fix. Check for hex digits in the string.
4257 Don't display `nil' in the error message. (Bug#10857)
4258
f41ce09d
AM
42592012-02-22 Alan Mackenzie <acm@muc.de>
4260
7a71b18d 4261 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4262
ac2eceee
GM
42632012-02-22 Glenn Morris <rgm@gnu.org>
4264
4265 * ffap.el (ffap-c-path):
4266 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4267
abd1f678
CY
42682012-02-22 Chong Yidong <cyd@gnu.org>
4269
4270 * custom.el (load-theme): Doc fix.
4271
f25aef2e
GM
42722012-02-22 Glenn Morris <rgm@gnu.org>
4273
4274 * dired-x.el (dired-guess-shell-alist-default):
4275 Remove escape sequences from nroff output. (Bug#172)
4276
5f8dc2ca
GM
42772012-02-21 Glenn Morris <rgm@gnu.org>
4278
6ff86ec4
GM
4279 * vc/emerge.el (emerge-defvar-local):
4280 Set `permanent-local' property rather than unused `preserved'.
4281
be3223a3 4282 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4283 (picture-mode-map): Use it. (Bug#10860)
4284 (picture-mode): Doc fix.
4285
3fe58f4f
JB
42862012-02-21 Juanma Barranquero <lekktu@gmail.com>
4287
4288 * newcomment.el (uncomment-region-default): Remove unused binding.
4289
f9a998c3
GM
42902012-02-21 Glenn Morris <rgm@gnu.org>
4291
4292 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4293 (picture-self-insert, picture-tab-chars): Doc fix.
4294 (picture-mode-map): Fix C-a, C-e.
4295
c6029348
GM
42962012-02-20 Glenn Morris <rgm@gnu.org>
4297
4298 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4299
ab1ce9d7
LL
43002012-02-20 Leo Liu <sdl.web@gmail.com>
4301
4302 * icomplete.el (icomplete-completions): Check FROM arg before
4303 passing to substring (Bug#10850).
4304
0fd40f89
CY
43052012-02-19 Chong Yidong <cyd@gnu.org>
4306
4307 * comint.el: Require ansi-color.
4308 (comint-output-filter-functions): Add ansi-color-process-output.
4309
4310 * ansi-color.el: Don't set comint-output-filter-functions; it is
4311 now in the initial value defined in comint.el.
4312 (ansi-color-apply-face-function): New variable.
4313 (ansi-color-apply-on-region): Use it.
4314 (ansi-color-apply-overlay-face): New function.
4315
4316 * shell.el (shell): No need to require ansi-color.
4317 (shell-mode): Use ansi-color-apply-face-function to highlight
4318 color escapes using font-lock-face property (Bug#10835).
4319
20af2394
CY
43202012-02-19 Chong Yidong <cyd@gnu.org>
4321
4322 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4323 mode-line formats (Bug#10839).
4324
e23a3fbe
GM
43252012-02-18 Glenn Morris <rgm@gnu.org>
4326
b474519e
GM
4327 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4328
4329 * mail/undigest.el (unforward-rmail-message): Doc fix.
4330
e23a3fbe
GM
4331 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4332
57939ff4
EZ
43332012-02-18 Eli Zaretskii <eliz@gnu.org>
4334
4335 * international/characters.el (script-list): Sync with the latest
4336 Unicode Character Database.
4337
0c23686e
AS
43382012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4339
4340 * international/titdic-cnv.el: Remove duplicate coding tag.
4341 * language/cham.el: Likewise.
4342 * language/tai-viet.el: Likewise.
4343
6818b449
GM
43442012-02-18 Glenn Morris <rgm@gnu.org>
4345
4346 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4347 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4348 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4349 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4350 * calendar/holidays.el (holiday-bahai-holidays)
4351 (calendar-holidays, list-holidays):
4352 Use utf-8 Bahá'í in doc-strings, menus, etc.
4353
0311a3fc
TH
43542012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4355
4356 * saveplace.el (save-place-ignore-files-regexp): New variable
4357 allowing for excluding files from saving their location of point.
4358 The default value matches the temporary commit message editing
4359 files from Git, SVN, Bazaar, and Mercurial.
4360 (save-place-to-alist): Use it.
4361
eb864a71
LM
43622012-02-17 Lawrence Mitchell <wence@gmx.li>
4363 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * newcomment.el (uncomment-region-default): Don't leave extra space
4366 when an arg is provided (bug#8150).
4367
ee0ce425
TZ
43682012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4369
eb864a71 4370 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4371
95ddf442
GM
43722012-02-17 Glenn Morris <rgm@gnu.org>
4373
4374 * net/socks.el: Require network-stream. (Bug#10599)
4375
48dd1e39 43762012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4377
4378 * international/charprop.el:
4379 * international/uni-name.el:
4380 * international/uni-old-name.el:
4381 * international/uni-comment.el: Regenerate.
4382
d68cd087
GM
43832012-02-16 Glenn Morris <rgm@gnu.org>
4384
4385 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4386 Interactively in calendar buffer, give an error if not on a date.
4387
13932042
GM
43882012-02-15 Glenn Morris <rgm@gnu.org>
4389
4390 * shell.el (shell-delimiter-argument-list):
4391 Revert 2011-02-17 change. (Bug#8027)
4392
c3a70e2b
CY
43932012-02-15 Chong Yidong <cyd@gnu.org>
4394
60236b0d
CY
4395 * minibuffer.el (completion-at-point-functions): Doc fix.
4396
c3a70e2b
CY
4397 * custom.el (defcustom): Doc fix; note use of defvar.
4398
9f26dc24
GM
43992012-02-15 Glenn Morris <rgm@gnu.org>
4400
4401 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4402 Doc fixes.
4403
6546b134
GM
44042012-02-14 Glenn Morris <rgm@gnu.org>
4405
4406 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4407
d29b2b4c
LI
44082012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4409
4410 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4411 way the ports list is computed.
835bdcba
LI
4412 (smtpmail-query-smtp-server): Prompt the user for a port number if
4413 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4414
08dcdbc9
TZ
44152012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4416
4417 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4418
2605051a
GM
44192012-02-13 Glenn Morris <rgm@gnu.org>
4420
4421 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4422
7ee99f32
TZ
44232012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4424
4425 * net/gnutls.el (gnutls-trustfiles): New variable.
4426 (gnutls-negotiate): Use it.
4427
5f0af64f
LI
44282012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4429
4430 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4431 does its stuff if Gnus is running.
4432
c14fcc95
AM
44332012-02-13 Alan Mackenzie <acm@muc.de>
4434
4435 Fix a loop in c-set-fl-decl-start.
4436
7a71b18d 4437 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4438 c-backward-syntactic-ws actually moves backwards.
4439
142b4d90
LL
44402012-02-13 Leo Liu <sdl.web@gmail.com>
4441
4442 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4443 beginning so that all \C-o chars are removed.
4444
fa9958a6
TZ
44452012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4446
dc9924b8 4447 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4448
0bc5886a
AM
44492012-02-12 Alan Mackenzie <acm@muc.de>
4450
4451 Fix infinite loop with long macros.
4d6769e1 4452 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4453
d4bd55e7
CY
44542012-02-12 Chong Yidong <cyd@gnu.org>
4455
4456 * window.el (display-buffer): Doc fix (Bug#10785).
4457
66f3fe22
GM
44582012-02-12 Glenn Morris <rgm@gnu.org>
4459
bd7da63e
GM
4460 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4461 (x-disown-selection-internal, x-get-selection-internal):
4462 Sync docs with the xselect.c versions.
4463
66f3fe22
GM
4464 * allout-widgets.el: Add missing license notice.
4465
3e0d2fa7
GM
44662012-02-11 Glenn Morris <rgm@gnu.org>
4467
cfecdf09
GM
4468 * select.el (x-get-selection-internal, x-own-selection-internal)
4469 (x-disown-selection-internal):
4470 * x-dnd.el (x-get-selection-internal): Update declarations.
4471
6d216d7f
GM
4472 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4473
2bed3f04
GM
4474 * window.el (window-sides-slots):
4475 * tool-bar.el (tool-bar-position):
4476 * term/xterm.el (xterm-extra-capabilities):
4477 * ses.el (ses-self-reference-early-detection):
4478 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4479 (verilog-auto-wire-type)
4480 (verilog-auto-delete-trailing-whitespace)
4481 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4482 (verilog-auto-tieoff-declaration):
4483 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4484 (sql-oracle-statement-starters, sql-oracle-scan-on):
4485 * progmodes/prolog.el (prolog-align-comments-flag)
4486 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4487 (prolog-left-indent-regexp, prolog-paren-indent-p)
4488 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4489 (prolog-types, prolog-mode-specificators)
4490 (prolog-determinism-specificators, prolog-directives)
4491 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4492 (prolog-electric-dot-flag)
4493 (prolog-electric-dot-full-predicate-template)
4494 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4495 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4496 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4497 (prolog-program-switches, prolog-prompt-regexp)
4498 (prolog-debug-on-string, prolog-debug-off-string)
4499 (prolog-trace-on-string, prolog-trace-off-string)
4500 (prolog-zip-on-string, prolog-zip-off-string)
4501 (prolog-use-standard-consult-compile-method-flag)
4502 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4503 (prolog-imenu-max-lines, prolog-info-predicate-index)
4504 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4505 (prolog-char-quote-workaround):
4506 * progmodes/cc-vars.el (c-defun-tactic):
4507 * net/tramp.el (tramp-encoding-command-interactive)
4508 (tramp-local-end-of-line):
4509 * net/soap-client.el (soap-client):
4510 * net/netrc.el (netrc-file):
4511 * net/gnutls.el (gnutls):
4512 * minibuffer.el (completion-category-overrides)
4513 (completion-cycle-threshold)
4514 (completion-pcm-complete-word-inserts-delimiters):
4515 * man.el (Man-name-local-regexp):
4516 * mail/feedmail.el (feedmail-display-full-frame):
4517 * international/characters.el (glyphless-char-display-control):
4518 * eshell/em-ls.el (eshell-ls-date-format):
4519 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4520 (lisp-lambda-list-keyword-parameter-indentation)
4521 (lisp-lambda-list-keyword-parameter-alignment):
4522 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4523 * dired-x.el (dired-omit-verbose):
4524 * cus-theme.el (custom-theme-allow-multiple-selections):
4525 * calc/calc.el (calc-highlight-selections-with-faces)
4526 (calc-lu-field-reference, calc-lu-power-reference)
4527 (calc-note-threshold):
4528 * battery.el (battery-mode-line-limit):
4529 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4530 (archive-7z-update):
4531 * allout.el (allout-prefixed-keybindings)
4532 (allout-unprefixed-keybindings)
4533 (allout-inhibit-auto-fill-on-headline)
4534 (allout-flattened-numbering-abbreviation):
4535 * allout-widgets.el (allout-widgets-auto-activation)
4536 (allout-widgets-icons-dark-subdir)
4537 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4538 (allout-widgets-theme-dark-background)
4539 (allout-widgets-theme-light-background)
4540 (allout-widgets-item-image-properties-emacs)
4541 (allout-widgets-item-image-properties-xemacs)
4542 (allout-widgets-run-unit-tests-on-load)
4543 (allout-widgets-time-decoration-activity)
4544 (allout-widgets-hook-error-post-time)
4545 (allout-widgets-track-decoration):
4546 Add missing :version tags to new defcustoms and defgroups.
4547
5fec1b8e
GM
4548 * progmodes/sql.el (sql-ansi-statement-starters)
4549 (sql-oracle-statement-starters): Add custom type.
4550
3e0d2fa7
GM
4551 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4552 (prolog-system-version): Give it a type.
4553
90b671e2
EZ
45542012-02-11 Eli Zaretskii <eliz@gnu.org>
4555
4556 * term/pc-win.el (x-select-text, x-selection-owner-p)
4557 (x-own-selection-internal, x-disown-selection-internal)
4558 (x-get-selection-internal): Sync doc strings and argument lists
4559 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4560
5eac0c02
LL
45612012-02-11 Leo Liu <sdl.web@gmail.com>
4562
4563 * progmodes/python.el (python-end-of-statement): Fix infinite
4564 loop. (Bug#10788)
4565
f82cb659
GM
45662012-02-10 Glenn Morris <rgm@gnu.org>
4567
4568 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4569 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4570
cc26d239
LI
45712012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4572
4573 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4574 about SMTP before checking the From header.
4575
91027d08 4576 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4577 into own function for reuse by emacsbug.el.
4578
1be3ca5a
LL
45792012-02-10 Leo Liu <sdl.web@gmail.com>
4580
4581 * subr.el (condition-case-unless-debug): Rename from
4582 condition-case-no-debug. All callers changed.
4583 (with-demoted-errors): Fix caller.
4584
4585 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4586 * nxml/rng-valid.el (rng-do-some-validation):
4587 * emacs-lisp/package.el (package-refresh-contents)
4588 (package-menu-execute):
4589 * desktop.el (desktop-create-buffer):
91027d08 4590 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4591
b011fbfe
GM
45922012-02-10 Glenn Morris <rgm@gnu.org>
4593
b2096d72
GM
4594 * textmodes/bibtex.el:
4595 Add missing :version tags for new/changed defcustoms.
4596
b011fbfe
GM
4597 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4598
4c7e65bf
LI
45992012-02-09 Lars Ingebrigtsen <larsi@rusty>
4600
4601 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4602 (smtpmail-via-smtp): Use it, or fall back on the From address.
4603 (smtpmail-send-it): Ditto.
4604
f3934f6f
SM
46052012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4606
4607 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4608 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4609 (byte-compile-tmp-var): New const.
4610 (byte-compile-defvar): Use it to minimize .elc size.
4611 Just use `defvar' rather than simulate it (bug#10761).
4612
a075a2c5
GM
46132012-02-09 Glenn Morris <rgm@gnu.org>
4614
cf3aa21b
GM
4615 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4616
354998cd
GM
4617 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4618 Add :version tags.
4619
dc9924b8
SM
4620 * progmodes/compile.el (compilation-error-screen-columns)
4621 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4622
dab3703d
GM
4623 * vc/log-view.el (log-view-toggle-entry-display):
4624 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4625
3f88cd72
GM
4626 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4627 (report-emacs-bug-can-use-xdg-email):
4628 (report-emacs-bug-insert-to-mailer): Doc fixes.
4629 (report-emacs-bug): Message fix.
4630
d95b247d
GM
4631 * net/browse-url.el (browse-url-can-use-xdg-open)
4632 (browse-url-xdg-open): Doc fixes.
4633
a075a2c5
GM
4634 * electric.el (electric-indent-mode, electric-pair-mode)
4635 (electric-layout-rules, electric-layout-mode): Doc fixes.
4636 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4637
ffb6157e
MR
46382012-02-08 Martin Rudalics <rudalics@gmx.at>
4639
4640 * server.el (server-unselect-display): Don't inadvertently kill
4641 the current buffer. (Bug#10729)
4642
e1ac4066
GM
46432012-02-08 Glenn Morris <rgm@gnu.org>
4644
34e8a2da
GM
4645 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4646 (sql-list-table): Doc fixes.
4647
b4ac6e8c
GM
4648 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4649 Comment out (does nothing).
4650
e1ac4066
GM
4651 * completion.el (dynamic-completion-mode):
4652 * dirtrack.el (dirtrack-debug-mode):
4653 * electric.el (electric-layout-mode):
4654 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4655 * face-remap.el (text-scale-mode, buffer-face-mode):
4656 * iimage.el (iimage-mode):
4657 * image-mode.el (image-transform-mode):
4658 * minibuffer.el (completion-in-region-mode):
4659 * scroll-lock.el (scroll-lock-mode):
4660 * simple.el (next-error-follow-minor-mode):
4661 * tar-mode.el (tar-subfile-mode):
4662 * tooltip.el (tooltip-mode):
4663 * vcursor.el (vcursor-use-vcursor-map):
4664 * wid-browse.el (widget-minor-mode):
4665 * emulation/tpu-edt.el (tpu-edt-mode):
4666 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4667 * international/iso-ascii.el (iso-ascii-mode):
4668 * language/thai-util.el (thai-word-mode):
4669 * mail/supercite.el (sc-minor-mode):
4670 * net/goto-addr.el (goto-address-mode):
4671 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4672 * progmodes/cwarn.el (cwarn-mode):
4673 * progmodes/flymake.el (flymake-mode):
4674 * progmodes/glasses.el (glasses-mode):
4675 * progmodes/hideshow.el (hs-minor-mode):
4676 * progmodes/pascal.el (pascal-outline-mode):
4677 * textmodes/enriched.el (enriched-mode):
4678 * vc/smerge-mode.el (smerge-mode):
4679 Doc fixes (minor mode argument).
4680
5e0d957f
EZ
46812012-02-07 Eli Zaretskii <eliz@gnu.org>
4682
4683 * ls-lisp.el (ls-lisp-sanitize): New function.
4684 (ls-lisp-insert-directory): Use it to fix or remove any elements
4685 in file-alist with missing attributes. (Bug#4673)
4686
98d7371e
AM
46872012-02-07 Alan Mackenzie <acm@muc.de>
4688
4689 Fix spurious recognition of c-in-knr-argdecl.
4690
4691 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4692 putative K&R region.
4693
667ced3a
AM
46942012-02-07 Alan Mackenzie <acm@muc.de>
4695
eb864a71
LM
4696 * progmodes/cc-engine.el (c-forward-objc-directive):
4697 Prevent looping in "#pragma mark @implementation".
667ced3a 4698
5b77774d
MA
46992012-02-07 Michael Albinus <michael.albinus@gmx.de>
4700
4701 * notifications.el (notifications-on-closed-signal): Make `reason'
4702 optional. (Bug#10744)
4703
af008560
GM
47042012-02-07 Glenn Morris <rgm@gnu.org>
4705
60d47423
GM
4706 * emacs-lisp/easy-mmode.el (define-minor-mode):
4707 Doc fixes for the macro and the mode it defines.
4708
dd605cc4
GM
4709 * image.el (imagemagick-types-inhibit): Doc fix.
4710
af008560
GM
4711 * cus-start.el (imagemagick-render-type): Add it.
4712
5cc59a37
LI
47132012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4714
4d6769e1
JB
4715 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4716 Set the default at load time, too, so that `font-lock-fontify-buffer'
4717 can be called without setting up the entire mode first. This fixes
4718 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4719
9a6dd747
CY
47202012-02-06 Chong Yidong <cyd@gnu.org>
4721
2d16b285
CY
4722 * simple.el (list-processes--refresh): Delete exited processes
4723 (Bug#8094).
4724
171e9b6e
CY
4725 * comint.el (comint-next-prompt): next-single-char-property-change
4726 and prev-single-char-property-change never return nil (Bug#8657).
4727
9a6dd747
CY
4728 * custom.el (defcustom): Doc fix (Bug#9711).
4729
aa4589a7
CY
47302012-02-05 Chong Yidong <cyd@gnu.org>
4731
5c2a252f
CY
4732 * cus-edit.el (custom-variable-reset-backup): Quote the value
4733 before storing it in the customized-value property (Bug#6712).
4aab9006 4734 (custom-display): Add a customization type tag.
983b9602 4735 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4736
aa4589a7
CY
4737 * wid-edit.el (widget-field-value-get): New optional arg to
4738 suppress trailing whitespace truncation.
4739 (character): Use it (Bug#2689).
4740
1ff980ae
AS
47412012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4742
4743 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4744 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4745
03988c98
CY
47462012-02-05 Chong Yidong <cyd@gnu.org>
4747
eeb6cc88
CY
4748 * cus-edit.el (custom-variable-value-create): For mismatched
4749 types, show the current value (Bug#7600).
4750
03988c98
CY
4751 * custom.el (defcustom): Doc fix.
4752
f8cdeef0
GM
47532012-02-05 Glenn Morris <rgm@gnu.org>
4754
4755 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4756
0696d255
JB
47572012-02-05 Juanma Barranquero <lekktu@gmail.com>
4758
4759 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4760 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4761 (pp-last-sexp): Use `looking-at-p'.
4762
34c99998
GM
47632012-02-04 Glenn Morris <rgm@gnu.org>
4764
8f05da42
GM
4765 * files.el (revert-buffer):
4766 Doc fix (mention revert-buffer-in-progress-p).
4767
f160676e
GM
4768 * emacs-lisp/ert-x.el (ert-simulate-command):
4769 Check deferred-action-list (which is obsolete) is bound.
4770
c7291ad9
GM
4771 * subr.el (with-wrapper-hook): Doc fixes.
4772
34c99998
GM
4773 * simple.el (filter-buffer-substring-functions)
4774 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4775
6283a7d3
LL
47762012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4777
4778 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4779 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4780
e96e3013
LL
47812012-02-04 Leo Liu <sdl.web@gmail.com>
4782
4783 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4784
8ded50f2
GM
47852012-02-04 Glenn Morris <rgm@gnu.org>
4786
82ff1d13
GM
4787 * image.el (image-extension-data): Add obsolete alias.
4788
987a0a16
GM
4789 * isearch.el (isearch-update): Doc fix.
4790
ea32ef46
GM
4791 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4792
8ded50f2
GM
4793 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4794
eea14f31
GM
47952012-02-03 Glenn Morris <rgm@gnu.org>
4796
4797 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4798 (image-animate-timeout): Doc fix.
4799
4800 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4801
12f381b7
GM
48022012-02-02 Glenn Morris <rgm@gnu.org>
4803
953cebf5
GM
4804 * server.el (server-auth-dir): Doc fix.
4805 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4806
12f381b7
GM
4807 * subr.el (run-mode-hooks): Doc fix.
4808
953a8c3b
JL
48092012-02-02 Juri Linkov <juri@jurta.org>
4810
4811 * image-mode.el (image-toggle-display-image): Remove tautological
4812 `major-mode' from the `derived-mode-p' test.
4813
c5d3843c
KH
48142012-02-02 Kenichi Handa <handa@m17n.org>
4815
9f6e692e 4816 * composite.el (compose-region): Cancel previous change.
c5d3843c 4817
159462d4 48182012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4819
4820 * composite.el (compose-region, compose-string): Signal error for
4821 a null string component (Bug#6988).
4822
9f562668
CY
48232012-02-01 Chong Yidong <cyd@gnu.org>
4824
e2cef717
CY
4825 * view.el (view-buffer-other-window, view-buffer-other-frame):
4826 Handle special modes like view-buffer (Bug#10650).
4827 (view-buffer): Simplify.
4828
9f562668
CY
4829 * frame.el (set-frame-font): Tweak meaning of third argument.
4830
9f6e692e
JB
4831 * dynamic-setting.el (font-setting-change-default-font):
4832 Use set-frame-font (Bug#9982).
9f562668 4833
781acb9f
GM
48342012-02-01 Glenn Morris <rgm@gnu.org>
4835
6035be52
GM
4836 * progmodes/compile.el (compilation-internal-error-properties):
4837 Respect compilation-first-column in the "*compilation*" buffer.
4838
781acb9f
GM
4839 * emacs-lisp/easy-mmode.el (define-minor-mode):
4840 Relax :variable's test for a named function.
4841
abbceb00
AM
48422012-01-31 Alan Mackenzie <acm@muc.de>
4843
4844 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4845 off by one error.
4846
fce3fdeb
CY
48472012-01-31 Chong Yidong <cyd@gnu.org>
4848
4849 * frame.el (set-frame-font): New arg ALL-FRAMES.
4850
4851 * menu-bar.el (menu-set-font): Use set-frame-font.
4852
4853 * faces.el (face-spec-reset-face): Don't apply unspecified
4854 attribute values to the default face.
4855
47893581
JB
48562012-01-31 Juanma Barranquero <lekktu@gmail.com>
4857
4858 * progmodes/cwarn.el (cwarn): Remove dead link.
4859 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4860 Remove * from defcustom docstrings.
4861 (turn-on-cwarn-mode): Make obsolete.
4862 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4863 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4864
e58e988a
GM
48652012-01-31 Glenn Morris <rgm@gnu.org>
4866
60dc2671 4867 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4868 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4869 Allow named functions to be used as the cdr of :variable.
e58e988a 4870
7a3f511d
GM
48712012-01-30 Glenn Morris <rgm@gnu.org>
4872
4873 * emacs-lisp/authors.el (authors-fixed-entries):
4874 Remove reference to deleted file rnewspost.el.
4875
cb882333
JB
48762012-01-29 Juanma Barranquero <lekktu@gmail.com>
4877
4878 * window.el (window-with-parameter): Remove unused variable `windows'.
4879 (window--side-check): Remove unused variable `code'.
4880 (window--resize-siblings): Remove unused variable `first'.
4881 (adjust-window-trailing-edge): Remove unused variable `failed'.
4882 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4883 Use `let', not `let*'.
4884 (balance-windows-2): Remove unused variable `found'.
4885 (window--state-put-2): Remove unused variable `splits'.
4886 (window-state-put): Remove unused variable `selected'.
4887 (same-window-p): Use `string-match-p'.
4888 (display-buffer-assq-regexp): Remove unused variable `value'.
4889 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4890 Mark argument ALIST as ignored.
4891 (pop-to-buffer): Remove unused variable `old-window'.
4892
907201af
EZ
48932012-01-29 Eli Zaretskii <eliz@gnu.org>
4894
4895 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4896 and .lzma compressed files.
4897
ea162670
CY
48982012-01-29 Chong Yidong <cyd@gnu.org>
4899
5b95ee8a
CY
4900 * frame.el (window-system-default-frame-alist): Doc fix.
4901
ea162670
CY
4902 * dynamic-setting.el (font-setting-change-default-font): Don't
4903 change the default face if SET-FONT argument is non-nil (Bug#9982).
4904
d6e6f4b1
SB
49052012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4906
4907 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4908
0f29fa41 49092012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4910
4911 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4912 breakpoints in files outside current directory (Bug#6098).
4913
db174434
CY
49142012-01-29 Chong Yidong <cyd@gnu.org>
4915
6b25e4e2
SE
4916 * progmodes/python.el: Require ansi-color at top-level.
4917
6df6ae42
JB
4918 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4919 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4920 (lisp-mode-abbrev-table): Add doc.
4921 (lisp-mode-variables): Don't set local-abbrev-table.
4922 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4923
e70ee681
RW
49242012-01-28 Roland Winkler <winkler@gnu.org>
4925
4926 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4927
ace88aa2
RW
49282012-01-28 Roland Winkler <winkler@gnu.org>
4929
4930 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4931 (bibtex-set-dialect): Use it. Either set global values of
4932 dialect-dependent variables or bind these variables buffer-locally
4933 (Bug#10254).
4934 (bibtex-mode): Call bibtex-set-dialect via
4935 hack-local-variables-hook.
eb864a71
LM
4936 (bibtex-dialect): Update docstring.
4937 Add safe-local-variable predicate.
ace88aa2
RW
4938 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4939 bibtex-set-dialect.
4940 (bibtex-mode-map): Define menu for each dialect.
4941 (bibtex-entry): Fix docstring.
4942
93376c5b
CY
49432012-01-28 Chong Yidong <cyd@gnu.org>
4944
4945 * eshell/esh-arg.el (eshell-quote-argument): New function.
4946
4947 * eshell/esh-ext.el (eshell-invoke-batch-file):
4948 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4949 first arg to eshell-parse-command (Bug#10523).
4950
4372494f
DA
49512012-01-28 Drew Adams <drew.adams@oracle.com>
4952
4953 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4954 `default-directory' is non-nil.
4955
4d4ec1f8
EZ
49562012-01-28 Eli Zaretskii <eliz@gnu.org>
4957
4958 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4959 line that displays system-configuration-options. (Bug#9924)
4960
7c188927
DA
49612012-01-28 Drew Adams <drew.adams@oracle.com>
4962
4963 * descr-text.el (describe-char): Show information about POS, in
4964 addition to information about the character at POS. Improve and
4965 update the doc string. Change "code point" to "code point in
4966 charset", to avoid confusion with the character's Unicode code
4967 point shown above that. (Bug#10129)
4968
e0da685a
EZ
49692012-01-28 Eli Zaretskii <eliz@gnu.org>
4970
4971 * descr-text.el (describe-char): Show the raw character, not only
4972 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4973 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4974 for the reasons.
4975
70550acf
PH
49762012-01-28 Phil Hagelberg <phil@hagelb.org>
4977
eb864a71
LM
4978 * emacs-lisp/package.el (package-install):
4979 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4980
0ce8e868
CY
49812012-01-28 Chong Yidong <cyd@gnu.org>
4982
cb882333
JB
4983 * emacs-lisp/package.el (package-maybe-load-descriptor):
4984 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4985 (package-maybe-load-descriptor): Use it.
4986 (package-download-transaction): Fully load required packages
4987 inside the loop, so that `require' calls work (Bug#10593).
4988 (package-install): No need to call package-initialize now.
4989
2e7f3bea
CY
49902012-01-28 Chong Yidong <cyd@gnu.org>
4991
6e9bad14
CY
4992 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4993
f823b8ca
CY
4994 * tooltip.el (tooltip-mode): Doc fix.
4995 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4996
2680c309
CY
4997 * frame.el (set-cursor-color): Doc fix (Bug#352).
4998
d7a9e63b
CY
4999 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5000 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5001
2e7f3bea
CY
5002 * cus-edit.el (custom-buffer-create-internal): Fix search button
5003 action (Bug#10542).
2ae01800 5004 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5005
fc4f7a23
EW
50062012-01-27 Eduard Wiebe <usenet@pusto.de>
5007
5008 * dired.el (dired-mark-files-regexp):
5009 Include any subdirectory components. (Bug#10445)
5010
7dd37071
ML
50112012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5012
5013 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5014 Handle [host]:port syntax. (Bug#10533)
5015
a268160b
AH
50162012-01-27 Alex Harsanyi <harsanyi@mac.com>
5017
5018 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5019
e43273ef
GM
50202012-01-26 Glenn Morris <rgm@gnu.org>
5021
5022 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5023 * term.el (term-raw-escape-map): Use Control-X-prefix.
5024 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5025
1edf595d
MR
50262012-01-25 Martin Rudalics <rudalics@gmx.at>
5027
5028 * window.el (window-state-get, window--state-get-1): Don't deal
5029 with fixed-sizeness of windows. Simplify code.
5030
fa8eafef
JC
50312012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5032
6df6ae42
JB
5033 * window.el (window--state-get-1, window--state-put-2):
5034 Don't save and restore the mark.
fa8eafef 5035
0b21c100
CY
50362012-01-25 Chong Yidong <cyd@gnu.org>
5037
5038 * custom.el (custom-variable-p): Doc fix.
5039
5ae1a6c8
GM
50402012-01-25 Glenn Morris <rgm@gnu.org>
5041
40047858
GM
5042 * dired.el (dired-goto-file): Handle some of the more common
5043 characters that `ls -b' escapes. (Bug#10596)
5044
5ddce96c
GM
5045 * progmodes/compile.el (compilation-next-error-function):
5046 Respect compilation-first-column in the "*compilation*" buffer.
5047 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5048
5ae1a6c8
GM
5049 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5050
b559f1a9
GM
50512012-01-24 Glenn Morris <rgm@gnu.org>
5052
5053 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5054
6725d21a
JD
50552012-01-24 Julien Danjou <julien@danjou.info>
5056
5057 * color.el (color-rgb-to-hsl): Fix value computing.
5058 (color-hue-to-rgb): New function.
5059 (color-hsl-to-rgb): New function.
5060 (color-clamp, color-saturate-hsl, color-saturate-name)
5061 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5062 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5063
70df4bbe
GM
50642012-01-24 Glenn Morris <rgm@gnu.org>
5065
5066 * vc/vc-rcs.el (vc-rcs-create-tag):
5067 * vc/vc-sccs.el (vc-sccs-create-tag):
5068 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5069
802a2ae2
ML
50702012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5071
5072 * eshell/esh-util.el (eshell-read-hosts-file):
5073 Skip comment lines. (Bug#10549)
5074
d7128bb1
ML
5075 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5076
d1a5c3b4
JB
50772012-01-23 Juanma Barranquero <lekktu@gmail.com>
5078
2724d9c7
JB
5079 * subr.el (display-delayed-warnings): Doc fix.
5080 (collapse-delayed-warnings): New function to collapse identical
5081 adjacent warnings.
5082 (delayed-warnings-hook): Add it.
d1a5c3b4 5083
a5509865
MA
50842012-01-22 Michael Albinus <michael.albinus@gmx.de>
5085
5086 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5087
a5509865
MA
5088 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5089 (tramp-default-user-alist): Don't add "pscp".
5090 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5091 property "login-as", if set. (Bug#10530)
5092
cc6d5805
MA
50932012-01-21 Michael Albinus <michael.albinus@gmx.de>
5094
5095 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5096 "plink1" and "psftp". (Bug#10530)
5097
50982012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5099
5100 * international/mule-cmds.el (prefer-coding-system): Show a
5101 warning message if the default value of file-name-coding-system
5102 was not changed.
5103
f0960428
JC
51042012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5105
cb882333
JB
5106 * windmove.el (windmove-reference-loc):
5107 Fix windmove-reference-loc miscalculation.
f0960428 5108
dd6f2a63
JB
51092012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5110
5111 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5112 default unit.
5113
7b447e9b
GM
51142012-01-21 Glenn Morris <rgm@gnu.org>
5115
117a9ea1
GM
5116 * international/mule.el (auto-coding-alist): Add .tbz.
5117
7b447e9b
GM
5118 * files.el (local-enable-local-variables): Doc fix.
5119 (inhibit-local-variables-regexps): Rename from
5120 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5121 Doc fix. Add some extensions from auto-coding-alist.
5122 (inhibit-local-variables-suffixes):
5123 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5124 (inhibit-local-variables-p):
5125 New function, extracted from set-auto-mode-1.
5126 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5127 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5128 (hack-local-variables): Doc fix. Make the mode-only case
5129 respect enable-local-variables and friends.
5130 Respect inhibit-local-variables-regexps for file-locals, but
5131 not for directory-locals.
5132 (set-visited-file-name):
5133 Take account of inhibit-local-variables-regexps.
5134 Whether it applies may change as the file name is changed.
5135 * jka-cmpr-hook.el (jka-compr-install):
5136 * jka-compr.el (jka-compr-uninstall):
5137 Update for inhibit-first-line-modes-suffixes name change.
5138
dd6e3cdd
MR
51392012-01-20 Martin Rudalics <rudalics@gmx.at>
5140
5141 * help-macro.el (make-help-screen): Temporarily restore original
5142 binding for minor-mode-map-alist (Bug#10454).
5143
0d0deb38
JD
51442012-01-19 Julien Danjou <julien@danjou.info>
5145
5146 * color.el (color-name-to-rgb): Use the white color to find the max
5147 color component value and return correctly computed values.
5148 (color-name-to-rgb): Add missing float conversion for max value.
5149
34a02f46
MR
51502012-01-19 Martin Rudalics <rudalics@gmx.at>
5151
5152 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5153 special state value for window-persistent-parameters.
5154 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5155 (window--state-put-2): Reset all window parameters to nil before
5156 assigning values of persistent parameters.
5157
606c44c4
AM
51582012-01-18 Alan Mackenzie <acm@muc.de>
5159
5160 Eliminate sluggishness and hangs in fontification of "semicolon
5161 deserts".
5162
cb882333
JB
5163 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5164 Change value 10000 -> 3000.
606c44c4
AM
5165 (c-state-safe-place): Reformulate so it doesn't stack up an
5166 infinite number of wrong entries in c-state-nonlit-pos-cache.
5167 (c-determine-limit-get-base, c-determine-limit): New functions to
5168 determine backward search limits disregarding literals.
5169 (c-find-decl-spots): Amend commenting.
5170 (c-cheap-inside-bracelist-p): New function which detects "={".
5171
5172 * progmodes/cc-fonts.el
5173 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5174 backward search.
5175 (c-font-lock-declarations): Fix an occurrence of point being
5176 undefined. Check additionally for point being in a bracelist or
5177 near a macro invocation without a semicolon so as to avoid a
5178 fruitless time consuming search for a declarator. Give a more
5179 precise search limit for declarators using the new
5180 c-determine-limit.
5181
f3860cea
GM
51822012-01-18 Glenn Morris <rgm@gnu.org>
5183
5184 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5185 (set-auto-mode): Doc fixes.
5186
1db03b16
GM
51872012-01-17 Glenn Morris <rgm@gnu.org>
5188
0e6038be
GM
5189 * isearch.el (search-nonincremental-instead): Fix doc typo.
5190
1db03b16
GM
5191 * dired.el (dired-insert-directory): Handle newlines in directory name.
5192 (dired-build-subdir-alist): Unescape newlines in directory name.
5193
4cb0aa75
MA
51942012-01-17 Michael Albinus <michael.albinus@gmx.de>
5195
5196 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5197 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5198 (tramp-action-terminal): Use it. (Bug#10530)
5199
1d00653d
SM
52002012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5201
5202 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5203
6a6ee00d
MR
52042012-01-16 Martin Rudalics <rudalics@gmx.at>
5205
5206 * window.el (window-state-ignored-parameters): Remove variable.
5207 (window--state-get-1): Rename argument MARKERS to IGNORE.
5208 Handle persistent window parameters. Make copy of clone-of
5209 parameter only if requested. (Bug#10348)
5210 (window--state-put-2): Install a window parameter only if it has
5211 a non-nil value or an existing parameter shall be overwritten.
5212
97912def
MA
52132012-01-15 Michael Albinus <michael.albinus@gmx.de>
5214
5215 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5216
688070a5
EZ
52172012-01-14 Eli Zaretskii <eliz@gnu.org>
5218
5219 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5220 don't pass the (nil) value of `upnode' to string-match.
5221
301afadc
CY
52222012-01-14 Chong Yidong <cyd@gnu.org>
5223
5224 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5225 Fix values recognized by the cursorBlink resource.
301afadc 5226
9e5788aa
PE
52272012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5228
5229 * epg.el (epg--make-temp-file): Avoid permission race condition
5230 when running on old Emacs versions (bug#10403).
5231
3cdb7f5a
GM
52322012-01-14 Glenn Morris <rgm@gnu.org>
5233
5234 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5235
8c82b1b4
AM
52362012-01-13 Alan Mackenzie <acm@muc.de>
5237
5238 Fix filling for when filladapt mode is enabled.
5239
5240 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5241 c-mask-paragraph, pass in `fill-paragraph' rather than
5242 `fill-region-as-paragraph'. (This is a reversion of a previous
5243 change.)
eb864a71
LM
5244 * progmodes/cc-mode.el (c-basic-common-init):
5245 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5246
e517eda4
GM
52472012-01-13 Glenn Morris <rgm@gnu.org>
5248
1498536e
GM
5249 * dired.el (dired-switches-escape-p): New function.
5250 (dired-insert-directory): Use dired-switches-escape-p.
5251 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5252
e517eda4
GM
5253 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5254
328f984d
GM
52552012-01-12 Glenn Morris <rgm@gnu.org>
5256
5257 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5258 changes in adaptive-fill-regexp. (Bug#10276)
5259
2cc769a8
AM
52602012-01-11 Alan Mackenzie <acm@muc.de>
5261
5262 Fix Emacs bug #10463 - put `widen's around the critical spots.
5263
1d00653d 5264 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5265 widen around each invocation of c-state-pp-to-literal. Remove an
5266 unused let variable.
5267
e52c37fa
GM
52682012-01-11 Glenn Morris <rgm@gnu.org>
5269
5270 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5271 Doc fix.
e52c37fa 5272
96f8741e
CY
52732012-01-10 Chong Yidong <cyd@gnu.org>
5274
1d00653d
SM
5275 * net/network-stream.el (network-stream-open-starttls):
5276 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5277 response to the capability command.
5278
b09a806e
GM
52792012-01-10 Glenn Morris <rgm@gnu.org>
5280
5281 * mail/unrmail.el (unrmail): Tweak previous change.
5282
7655cb66
CY
52832012-01-09 Chong Yidong <cyd@gnu.org>
5284
5285 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5286
9d5a8f0b
AM
52872012-01-08 Alan Mackenzie <acm@muc.de>
5288
5289 Optimise font locking in long enum definitions.
5290
5291 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5292 arm to a cond form to handle enums.
5293 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5294 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5295
9a0115ab 52962012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5297
5298 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5299 (Bug#10401)
6bb72cbd 5300
f186bb95
LMI
53012012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5302
29232a68
LMI
5303 * faces.el (set-face-attribute): Clarify the meaning of the nil
5304 frame (bug#10294).
5305
4e5d086d
LMI
5306 * subr.el (with-selected-frame): Mention that the selected frame
5307 is restored (bug#9980).
5308
8e66aebe
LMI
5309 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5310 (bug#9759).
5311
cd394be1 5312 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5313 (password-read): Don't autoload unused function.
5314
adf4e762
JB
53152012-01-07 Juanma Barranquero <lekktu@gmail.com>
5316
5317 * progmodes/which-func.el (which-func-mode): Turn into a
5318 non-interactive function and mark as obsolete (bug#10428).
5319
89bd9ccd
CY
53202012-01-06 Chong Yidong <cyd@gnu.org>
5321
5322 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5323 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5324 functions, along with 1 and -1.
5325
4afee9d5
EZ
53262012-01-06 Eli Zaretskii <eliz@gnu.org>
5327
5328 * time.el (display-time-load-average)
5329 (display-time-default-load-average): Doc fixes. See the thread
5330 starting at
5331 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5332 for the details.
5333
536aea70
GM
53342012-01-06 Glenn Morris <rgm@gnu.org>
5335
665ae865
GM
5336 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5337 has no messages. (Bug#10377)
5338
c869783d
GM
5339 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5340 than Info-edit. (Bug#10385)
5341
2bb4227e
GM
5342 * time.el (display-time-load-average, display-time-next-load-average):
5343 Doc fixes.
5344
7d5944b9
GM
5345 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5346 local setting of buffer-read-only to the input buffer. (Bug#10419)
5347
536aea70
GM
5348 * calendar/calendar.el (calendar-mode):
5349 Locally set scroll-margin to 0. (Bug#10379)
5350
7dccca16
UM
53512012-01-06 Ulrich Mueller <ulm@gentoo.org>
5352
5353 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5354
afbb7930
GM
53552012-01-05 Glenn Morris <rgm@gnu.org>
5356
5357 * eshell/em-unix.el (diff-no-select): Autoload it.
5358 (eshell/diff): Use diff-no-select. (Bug#10420)
5359
04482335
CY
53602012-01-05 Chong Yidong <cyd@gnu.org>
5361
7baca3bc
CY
5362 * shell.el (shell-dynamic-complete-functions): Revert last change.
5363 (shell-command-completion-function): New function.
5364 (shell-completion-vars): Use it to implement
5365 shell-completion-execonly (Bug#10417).
5366
04482335
CY
5367 * custom.el (enable-theme): Don't set custom-safe-themes.
5368
1d00653d
SM
5369 * cus-theme.el (custom-theme-merge-theme):
5370 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5371
bb5aa5d6
MM
53722012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5373
5374 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5375 first prompt in `sql-interacive-mode'.
5376 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5377 keywords.
6df6ae42 5378 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5379 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5380 context of original buffer. Invoke `sql-login-hook'.
5381
a7183d7c
EZ
53822012-01-04 Eli Zaretskii <eliz@gnu.org>
5383
5384 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5385 letters in cite-prefix.
5386
a1eacd1e
LMI
53872012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5388
5389 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5390
787cdb34
CY
53912012-01-03 Chong Yidong <cyd@gnu.org>
5392
1d00653d
SM
5393 * shell.el (shell-dynamic-complete-functions):
5394 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5395 comint-filename-completion first (Bug#10417).
5396
30710442
RS
53972012-01-02 Richard Stallman <rms@gnu.org>
5398
5399 * battery.el (battery-status-function):
5400 Detect when to use battery-yeeloong-sysfs.
5401 (battery-echo-area-format): Add string for Yeeloong.
5402 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5403 (battery-yeeloong-sysfs): New function.
5404
f75bfc33
CY
54052012-01-02 Chong Yidong <cyd@gnu.org>
5406
5407 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5408 (dirtrack): Merge code for handling relative filenames in prompt
5409 from shell-dir-cookie-watcher.
5410 (dirtrack-debug-message): New arg to avoid excess format calls.
5411
5412 * shell.el (shell-dir-cookie-re): Variable deleted.
5413 (shell-dir-cookie-watcher): Function deleted.
5414 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5415 with dirtrack-mode.
5416
651e947e
EZ
54172012-01-01 Eli Zaretskii <eliz@gnu.org>
5418
1d00653d
SM
5419 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5420 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5421 libgnutls-26.dll.
5422
94d4c7dc
AS
54232011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5424
5425 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5426
8d43f3cd
EZ
54272011-12-31 Eli Zaretskii <eliz@gnu.org>
5428
5429 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5430 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5431
98c8795a
MA
54322011-12-29 Michael Albinus <michael.albinus@gmx.de>
5433
5434 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5435 also for alternative shells.
5436 (tramp-open-connection-setup-interactive-shell): Check, whether
5437 the shell is a busybox.
5438 (tramp-send-command): Don't suppress multiple prompts for
5439 busyboxes, it hurts.
5440
51281b32
CY
54412011-12-28 Chong Yidong <cyd@gnu.org>
5442
5443 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5444 (gdb-get-source-file): Move mode line update to
5445 gdb-get-source-file (Bug#10087).
5446
2170cb53
CY
54472011-12-25 Chong Yidong <cyd@gnu.org>
5448
5449 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5450 gud-gdb-marker-filter without taking it as an argument.
5451 (gud-gdb-run-command-fetch-lines): Caller changed.
5452 (gud-gdb-completion-function): New variable.
5453 (gud-gdb-completion-at-point): Use it.
5454 (gud-gdb-completions-1): Split from gud-gdb-completions.
5455
5456 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5457 function as separate arguments.
5458 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5459 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5460 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5461 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5462 (gdb-stopped, def-gdb-auto-update-trigger)
5463 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5464 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5465 Callers changed.
2170cb53
CY
5466 (gud-gdbmi-completions): New function.
5467 (gdb): Use it for generating the completion table.
5468
be8b11bb
AM
54692011-12-24 Alan Mackenzie <acm@muc.de>
5470
5471 Introduce a mechanism to widen the region used in context font
1d00653d 5472 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5473
1d00653d
SM
5474 * progmodes/cc-langs.el (c-before-font-lock-functions):
5475 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5476 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5477 functions to be run just before context (etc.) font locking.
5478
5479 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5480 New, functionality extracted from
be8b11bb 5481 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5482 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5483 (c-after-change): Set c-in-after-change-fontification.
5484 (c-set-fl-decl-start): Rejig its interface, so it can be called
5485 from both after-change and context fontifying.
b81d40f0
JB
5486 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5487 New functions.
5488 (c-standard-font-lock-fontify-region-function): New variable.
5489 (c-font-lock-fontify-region): New function.
be8b11bb 5490
341cf6ac
JL
54912011-12-24 Juri Linkov <juri@jurta.org>
5492
5493 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5494 (Bug#10348)
5495
bffcee0a
MA
54962011-12-23 Michael Albinus <michael.albinus@gmx.de>
5497
5498 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5499 existence of source file. (Bug#10325)
5500
cb5e207c
AM
55012011-12-23 Alan Mackenzie <acm@muc.de>
5502
5503 Fix unstable fontification inside templates.
5504
b81d40f0
JB
5505 * progmodes/cc-langs.el (c-before-font-lock-functions):
5506 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5507 additionally has c-set-fl-decl-start. The other languages (apart
5508 from AWK) have that as a single entry.
5509
b81d40f0
JB
5510 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5511 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5512 c-set-fl-decl-start.
5513
b81d40f0
JB
5514 * progmodes/cc-mode.el (c-common-init, c-after-change):
5515 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5516 (c-set-fl-decl-start): New function, extracted from
5517 c-font-lock-enclosing-decls and enhanced.
5518
60ff536c
JB
55192011-12-23 Juanma Barranquero <lekktu@gmail.com>
5520
5521 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5522
1c4757d6
JL
55232011-12-22 Juri Linkov <juri@jurta.org>
5524
5525 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5526
d031f2c7
CY
55272011-12-22 Chong Yidong <cyd@gnu.org>
5528
5529 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5530
bace743a
DA
55312011-12-21 Drew Adams <drew.adams@oracle.com>
5532
5533 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5534
728a1f2b
JC
55352011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5536
5537 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5538
0d373f73
TZ
55392011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5540
fec0aaa4
TZ
5541 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5542 highlighting and support. Fix up comments for capitalization.
5543 (cfengine-mode-debug): New var.
5544 (cfengine3-mode): Change the modeline indicator to "CFE3".
5545 (cfengine3-font-lock-keywords): Improve defun highlighting.
5546 (cfengine2-actions): Rename from `cfengine-actions'.
5547 (cfengine2-font-lock-keywords): Rename from
5548 `cfengine-font-lock-keywords'.
5549 (cfengine2-imenu-expression): Rename from
5550 `cfengine-imenu-expression'.
5551 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5552 (cfengine2-beginning-of-defun): Rename from
5553 `cfengine-beginning-of-defun'.
5554 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5555 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5556 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5557 modeline indicator to "CFE2".
5558 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5559 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5560
bc86f573
CY
55612011-12-21 Chong Yidong <cyd@gnu.org>
5562
5563 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5564 filename argument.
5565
d45ba96b
MR
55662011-12-20 Martin Rudalics <rudalics@gmx.at>
5567
5568 * window.el (window-normalize-buffer-to-display): Remove.
5569 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5570
a6198c90
CY
55712011-12-19 Chong Yidong <cyd@gnu.org>
5572
5573 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5574 Don't signal an error in a predicate function; return non-nil.
5575 (vc-dir-mark-file): Move the error here.
5576 (vc-dir-mark-unmark): If acting on the region, keep going if one
5577 of the entries cannot be marked/unmarked.
5578 (vc-dir-mark-all-files): If current entry is a directory, mark
5579 only child files, as documented.
5580
34c5fb55
VB
55812011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5582
5583 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5584 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5585 addition.
5586
c803b2b7
JD
55872011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5588
5589 * term/ns-win.el (ns-get-selection-internal)
5590 (ns-store-selection-internal): Declare.
1154d12e
JB
5591 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5592 Declare as obsolete.
5593 (ns-get-pasteboard, ns-paste-secondary):
5594 Use ns-get-selection-internal.
5595 (ns-set-pasteboard, ns-copy-including-secondary):
5596 Use ns-store-selection-internal.
c803b2b7 5597
9cff91f8 55982011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5599
5600 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5601 (vc-deduce-fileset): Doc fix.
99a289d9 5602
f16c898a
AS
56032011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5604
5605 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5606
763237c4
SS
56072011-12-13 Sam Steingold <sds@gnu.org>
5608
5609 * man.el (Man-getpage-in-background): When running under a
5610 window-system, ignore $MANWIDTH and $COLUMNS.
5611
5fc1c122
KH
56122011-12-15 Kenichi Handa <handa@m17n.org>
5613
5614 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5615 (setup-ethiopic-environment-internal): Comment out key-binding for
5616 ethio-toggle-punctuation.
5617
13d49cbb
AM
56182011-12-13 Alan Mackenzie <acm@muc.de>
5619
898169a2
AM
5620 Add the switch statement to AWK Mode.
5621
7a71b18d 5622 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5623 "default" to the keywords regexp.
5624
7a71b18d 5625 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5626 expression as the rest.
1d00653d
SM
5627 (c-nonlabel-token-key): Allow string literals for AWK.
5628 Refactor for the other modes.
898169a2 5629
13d49cbb 5630 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5631 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5632 routines. Limit backward searching in c-font-lock-enclosing.decl.
5633
5634 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5635 pp-state and literal type in addition to the limits.
1d00653d 5636 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5637 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5638 (c-slow-in-literal, c-fast-in-literal): Remove.
5639 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5640
5641 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5642 being in a literal. Add a limit for backward searching.
5643
5644 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5645 c-slow-in-literal.
5646
15e0efc7
SM
56472011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5648
5649 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5650
454592a6
MR
56512011-12-13 Martin Rudalics <rudalics@gmx.at>
5652
5653 * window.el (delete-other-windows): Use correct frame in call to
5654 window-with-parameter.
5655
87393f26
DP
56562011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5657
5658 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5659 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5660 (makefile-gmake-statements, makefile-makepp-statements):
5661 Use it and add new makepp keywords.
5662 (makefile-makepp-font-lock-keywords): Add new patterns.
5663 (makefile-match-function-end): Match new [...] and [[...]].
5664
11636b22
JB
56652011-12-11 Juanma Barranquero <lekktu@gmail.com>
5666
5667 * ses.el (ses-call-printer-return, ses-cell-property-get)
5668 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5669 (ses-create-cell-variable, ses-reset-header-string)
5670 (ses-cell-set-formula, ses-repair-cell-reference-all)
5671 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5672 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5673 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5674 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5675 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5676 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5677 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5678 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5679 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5680 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5681 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5682 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5683
cf018193
VB
56842011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5685
5686 * ses.el: The overall change is to add cell renaming, that is
5687 setting fancy names for cell symbols other than name matching
5688 "\\`[A-Z]+[0-9]+\\'" regexp .
5689 (ses-create-cell-variable): New defun.
5690 (ses-relocate-formula): Relocate formulas only for cells the
5691 symbols of which are not renamed, i.e. symbols whose names do not
5692 match regexp "\\`[A-Z]+[0-9]+\\'".
5693 (ses-relocate-all): Relocate values only for cells the symbols of
5694 which are not renamed.
5695 (ses-load): Create cells variables as the (ses-cell ...) are read,
5696 in order to check row col consistency with cell symbol name only
5697 for cells that are not renamed.
5698 (ses-replace-name-in-formula): New defun.
5699 (ses-rename-cell): New defun.
5700
ee957461
CY
57012011-12-11 Chong Yidong <cyd@gnu.org>
5702
5703 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5704 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5705
9a9e9ef0
MR
57062011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5707
5708 * window.el (other-window): Fix docstring.
5709
92a8eba5
EZ
57102011-12-10 Eli Zaretskii <eliz@gnu.org>
5711
5712 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5713 `from' or `to' address before taking its substring.
5714 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5715 encoded name is chopped in the middle of the encoded string, and
5716 thus displayed encoded.
5717
e152e577
JB
57182011-12-10 Juanma Barranquero <lekktu@gmail.com>
5719
5720 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5721
e5d84bfe
EZ
57222011-12-10 Eli Zaretskii <eliz@gnu.org>
5723
5724 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5725 to use texinfo-update-node and commands that call it if the
5726 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5727 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5728 (texinfo-all-menus-update, texinfo-master-menu)
5729 (texinfo-update-node, texinfo-every-node-update)
5730 (texinfo-multiple-files-update): Doc fix. Warn against updating
5731 all the @node lines.
5732 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5733 argument is numeric. Explain better in the doc string what the
5734 function really does.
5735 (texinfo-insert-master-menu-list): Improve the error message
5736 displayed if there's no menu in the Top node.
5737 (Bug#2975) See also this thread:
e5d84bfe
EZ
5738 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5739
1d84e9bb
MG
57402011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5741
5742 * speedbar.el (speedbar-supported-extension-expressions):
5743 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5744
382c953b
JB
57452011-12-09 Juanma Barranquero <lekktu@gmail.com>
5746
5747 * printing.el (pr-mode-alist):
5748 * simple.el (filter-buffer-substring-functions)
5749 (completion-list-insert-choice-function):
5750 * window.el (window-with-parameter, window-atom-root)
5751 (window-sides-slots, window-size-fixed, window-min-delta)
5752 (window-max-delta, window--resize-mini-window)
5753 (window--resize-child-windows-normal, window-tree)
5754 (delete-other-windows, quit-window, split-window)
5755 (display-buffer-record-window, special-display-buffer-names)
5756 (special-display-regexps, special-display-popup-frame)
5757 (same-window-p, split-window-sensibly)
5758 (display-buffer-overriding-action, display-buffer-alist)
5759 (display-buffer-base-action, display-buffer, switch-to-buffer)
5760 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5761 (fit-window-to-buffer, recenter-positions)
5762 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5763 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5764 and remove unneeded backslashes in docstrings.
5765
39c9faef
SM
57662011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5767
98449af8
SM
5768 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5769
39c9faef
SM
5770 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5771 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5772 end in ".mk".
5773 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5774 when reading the makefile (bug#10116).
5775
86ed9fdc
SM
57762011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5777
5778 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5779 (bug#10116).
5780
5580f89d
GM
57812011-12-06 Glenn Morris <rgm@gnu.org>
5782
5783 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5784
28d3917c
CY
57852011-12-06 Chong Yidong <cyd@gnu.org>
5786
5787 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5788
a98edce9
JB
57892011-12-06 Juanma Barranquero <lekktu@gmail.com>
5790
5791 * textmodes/table.el (table-shorten-cell): Fix typo.
5792
e65adfac
CG
57932011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5794
5795 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5796
71cc0b74
EZ
57972011-12-05 Eli Zaretskii <eliz@gnu.org>
5798
5799 * descr-text.el (describe-char): Fix display of strong
5800 right-to-left characters and directional embeddings and overrides.
5801
5802 * simple.el (what-cursor-position): Fix display of codepoints of
5803 strong right-to-left characters.
5804
315bc30d
CY
58052011-12-05 Chong Yidong <cyd@gnu.org>
5806
5807 * faces.el (read-color): Doc fix.
5808
58a70b94
GM
58092011-12-05 Glenn Morris <rgm@gnu.org>
5810
5811 * align.el (align--set-marker): Add doc-string.
5812 Don't try to move something that is not a marker. (Bug#10216)
5813
5158face
GM
58142011-12-04 Glenn Morris <rgm@gnu.org>
5815
5816 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5817 overly zealous deletion of trailing whitespace.
5818
520fca41
JB
58192011-12-04 Juanma Barranquero <lekktu@gmail.com>
5820
5821 * server.el (server-delete-client): On Windows, do not try to delete
5822 the only terminal.
5823 (server-process-filter): On Windows, treat requests for a tty frame as
5824 if they were for a GUI frame if the running server is in GUI mode.
5825
5e605a2e
GM
58262011-12-03 Glenn Morris <rgm@gnu.org>
5827
5828 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5829
5c3fe83f
SM
58302011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5831
6f5e57e7
SM
5832 * electric.el: Streamline electric-indent's hook.
5833 (electric-indent-chars): Revert to simple list.
5834 (electric-indent-functions): New var.
5835 (electric-indent-post-self-insert-function): Use it.
5836
5c3fe83f
SM
5837 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5838 there's no inferior buffer (bug#10196).
5839 (prolog-consult-compile): Don't use toggle-read-only.
5840
6bdac736
MA
58412011-12-02 Michael Albinus <michael.albinus@gmx.de>
5842
5843 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5844 interrupt. (Bug#10187)
5845
6131ba7f
SM
58462011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5847
99c79fee
SM
5848 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5849 (bug#9160).
5850
6131ba7f
SM
5851 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5852 (bug#10191).
5853
cb0a02ea
JL
58542011-12-02 Juri Linkov <juri@jurta.org>
5855
5856 * info.el (Info-search): Display "end of manual" when Isearch
5857 reaches the end of single-file Info manual. (Bug#9918)
5858
66e0570c
EZ
58592011-12-02 Eli Zaretskii <eliz@gnu.org>
5860
5861 * isearch.el (isearch-message-prefix): Run the input method part
5862 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5863
02b16839
JL
58642011-12-02 Juri Linkov <juri@jurta.org>
5865
5866 * isearch.el (isearch-occur): Use `word-search-regexp' for
5867 `isearch-word'.
5868 (isearch-search-and-update): Add condition for `isearch-word' and
5869 call `word-search-regexp'. (Bug#10145)
5870
0b950688
GM
58712011-12-01 Glenn Morris <rgm@gnu.org>
5872
5873 * eshell/em-hist.el (eshell-hist-initialize):
5874 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5875 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5876
9505c3c7
SM
58772011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5880
1bbe96b2 58812011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5882
a1beca85
SM
5883 * progmodes/verilog-mode.el (verilog-pretty-expr):
5884 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5885 verilog, such as += *= and the like.
5886 (verilog-assignment-operator-re): Regular expression to find the
5887 assigment operator in a verilog assignment.
5888 (verilog-assignment-operation-re): Regular expression to find an
5889 assignment statement for pretty-expr.
5890 (verilog-in-attribute-p): Query returns true if point is in an
5891 attribute context; used to skip these for expression line up from
5892 pretty-expr.
5893 (verilog-in-parameter-p): Query returns true if point is in an
5894 parameter definition context; used to skip these for expression
5895 line up from pretty-expr.
5896 (verilog-in-parenthesis-p): Query returns true if point is in a
5897 parenthetical expression, specifically ( ) but not [ ] or { };
5898 used by pretty-expr.
5899 (verilog-just-one-space): If there is no space, don't add one.
5900 (verilog-get-lineup-indent-2): Specifically skip just attribute
5901 contexts for expression lineup, rather than skipping all
5902 parenthetical expressions.
5903 (verilog-calculate-indent): Fix comment, and fix indent.
5904 (verilog-do-indent): Indent declarations in lists (suggested by
5905 Joachim Lechner).
5906 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5907 skeleton items.
5908 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5909 by Alain Mellan).
5910
1bbe96b2 59112011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5912
5913 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5914 parameters with embedded comments. Reported by Ray Stevens.
5915 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5916 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5917 Reported by Tim Holt.
5918 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5919 instantiated by upper module causing wrong expansion until AUTOed a
5920 second time. Reported by K C Buckenmaier.
5921 (verilog-diff-auto): Fix showing .* as a difference when
5922 `verilog-auto-star-save' off. Reported by Dan Dever.
5923 (verilog-auto-reset, verilog-read-always-signals)
5924 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5925 temporary signals in reset list if
5926 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5927 style to each signal's assignment type, bug381.
5928 Reported by Thomas Esposito.
6288f0ca
WS
5929 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5930 (verilog-uvm-statement-re): Support UVM indentation and
5931 highlighting, with old OVM keywords only.
a1beca85 5932 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5933 Support AUTOTIEOFF creating non-wire data types.
5934 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5935 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5936 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5937 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5938 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5939 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5940 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5941 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5942 non-numeric vector width. Reported by Alex Reed.
5943 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5944 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5945 (verilog-auto-delete-trailing-whitespace):
5946 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5947 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5948 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5949 Fix verilog-scan-cache corruption when running user AUTO expansion
5950 hooks that call indentation routines.
5951 (verilog-simplify-range-expression): Fix typo ignoring lower case
5952 identifiers.
5953 (verilog-delete-auto): Fix delete-autos to also remove user created
5954 automatics, as long as they start with AUTO.
5955 (verilog-batch-diff-auto, verilog-diff-auto)
5956 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5957 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5958 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5959 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5960 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5961 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5962 is disabled and its cache will get corrupt, causing AUTOS not to
5963 expand. Instead use only -quick functions.
5964 (verilog-scan-region): Fix scanning over escaped quotes.
5965 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5966 (verilog-re-search-backward-quick)
5967 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5968 related functions now ignore strings, to fix misparsing of strings
5969 with magic comments embedded in them.
a1beca85
SM
5970 (verilog-read-auto-template):
5971 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5972 Reported by Brad Dobbie.
5973 (verilog-read-auto-template):
5974 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5975 Reported by Brad Dobbie.
6288f0ca
WS
5976 (verilog-auto-inst, verilog-auto-inst-param)
5977 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5978 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5979 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5980 debugging templates without merge conflicts, bug357.
5981 Reported by Brad Dobbie.
5982 (verilog-read-auto-template):
5983 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5984 Reported by Brad Dobbie.
5985 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5986 abbrevs so user won't be asked to save.
5987 (verilog-read-auto-lisp-present): Fix to start at beginning of
5988 buffer in case called outside of verilog-auto.
5989 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5990 to "X-2". Reported by Matthew Myers.
5991 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5992 all inputs from module templates. Reported by Leith Johnson.
5993 (verilog-module-inside-filename-p): Fix locating programs as with
5994 modules.
5995 (verilog-auto-inst-port): Fix vl-width expressions when using
5996 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5997 (verilog-decls-get-regs, verilog-decls-get-signals,
5998 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5999 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6000 verilog-read-decls): Combine reg and wire structures into one var
6001 structure to represent SystemVerilog concepts.
6002 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6003 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6004 (verilog-auto-wire-type, verilog-insert-definition):
6005 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6006 SystemVerilog "logic" keyword instead of "wire"/"reg".
6007 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6008 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6009 ifdef or generate if so there's not a driver conflict).
6010 Reported by Matthew Myers.
6011 (verilog-auto-declare-nettype, verilog-insert-definition):
6012 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6013 `default_nettype none. Reported by Julian Gorfajn.
6014 (verilog-read-always-signals-recurse, verilog-read-decls)
6015 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6016 malformed end statement, bug325. Reported by Joshua Wise and
6017 Andrew Drake.
6018 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6019 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6020 when expanding .* in interfaces, bug320.
6021 Reported by Pierre-David Pfister.
6288f0ca 6022 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6023 name and open parenthesis, bug317.
6024 Reported by Pierre-David Pfister.
6288f0ca
WS
6025 (verilog-simplify-range-expression): Fix simplification of
6026 multiplications inside AUTOWIRE connections, bug303.
6027 (verilog-auto-inst-port): Support parameter expansion in
6028 multidimensional arrays.
6029 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6030 after "assert property". Reported by Julian Gorfajn.
6031 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6032 with multiplication, bug303.
6033 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6034 Reported by Jan Frode Lonnum.
6035
1bbe96b2
GM
60362011-11-30 Juanma Barranquero <lekktu@gmail.com>
6037
6038 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6039 (hfy-shell-file-name, hfy-shell):
6040 * international/fontset.el (x-decompose-font-name): Fix typos.
6041
60422011-11-29 Ken Brown <kbrown@cornell.edu>
6043
6044 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6045 (gdb-version): Remove defvar.
6046 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6047 (gdb-gud-context-command, gdb-non-stop-handler)
6048 (gdb-current-context-command, gdb-stopped): Use it.
6049 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6050 (gdb-non-stop-handler): Don't enable pretty-printing here.
6051 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6052 non-stop mode. Use the following.
6053 (gdb-check-target-async): New defun.
6054 (gud-watch, gdb-stopped): Fix whitespace.
6055 (gdb-get-source-file): Don't try to display the source file if
6056 `gdb-main-file' is nil.
6057
60582011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6059
6060 * align.el: Try to generate fewer markers (bug#10047).
6061 (align--set-marker): New macro.
6062 (align-region): Use it.
6063
c935221f
SM
60642011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6067
e70b5064
CY
60682011-11-29 Chong Yidong <cyd@gnu.org>
6069
6070 * indent.el (indent-for-tab-command, indent-according-to-mode):
6071 Doc fix.
6072 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6073
f3af92b7
MA
60742011-11-29 Michael Albinus <michael.albinus@gmx.de>
6075
6076 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6077 aware of remote file names. (Bug#10124)
6078
ed472be9
CY
60792011-11-29 Chong Yidong <cyd@gnu.org>
6080
6081 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6082
24510c22
SM
60832011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6084
6085 * files.el (find-file): Don't use force-same-window (bug#10144).
6086 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6087 use pop-to-buffer if the selected window can't be used.
6088 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6089
c60c3703
EZ
60902011-11-28 Eli Zaretskii <eliz@gnu.org>
6091
6092 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6093 special-mode-map.
6094
e95def75
CY
60952011-11-28 Chong Yidong <cyd@gnu.org>
6096
6097 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6098
c3f1c606
NR
60992011-11-27 Nick Roberts <nickrob@snap.net.nz>
6100
6101 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6102 gdb-get-source-file-list on gdb-create-source-file-list.
6103
00db469c
EZ
61042011-11-26 Eli Zaretskii <eliz@gnu.org>
6105
6106 * whitespace.el (whitespace-newline): Use a different foreground
6107 color for 16-color light-background displays.
6108
4ad3bc2a
CY
61092011-11-24 Chong Yidong <cyd@gnu.org>
6110
6111 * window.el (display-buffer--special-action): Doc fix.
6112
e9fce1ac
JB
61132011-11-25 Juanma Barranquero <lekktu@gmail.com>
6114
6115 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6116 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6117 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6118 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6119 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6120 (avl-tree-stack-first):
6121 * emacs-lisp/cconv.el (cconv--analyse-use):
6122 * net/gnutls.el (gnutls-negotiate): Fix typos.
6123
cb825e5d
GM
61242011-11-24 Glenn Morris <rgm@gnu.org>
6125
3adbe224
GM
6126 * lpr.el (lpr-windows-system, lpr-lp-system):
6127 * mail/binhex.el (binhex-begin-line):
6128 * progmodes/grep.el (grep-history, grep-find-history):
6129 * textmodes/flyspell.el:
6130 * vc/pcvs-defs.el (cvs-global-menu):
6131 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6132 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6133 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6134
321decc8
GM
6135 * net/tls.el: Fix case of "GnuTLS".
6136
420b63ad
GM
6137 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6138
cb825e5d
GM
6139 * version.el (emacs-build-system): Give it a doc-string.
6140
a0649f08
JL
61412011-11-24 Juri Linkov <juri@jurta.org>
6142
6143 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6144
c0bc0fd4
GM
61452011-11-24 Glenn Morris <rgm@gnu.org>
6146
6147 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6148 if called on a non-mime message just toggle the headers. (Bug#8006)
6149
20db1522
JB
61502011-11-24 Juanma Barranquero <lekktu@gmail.com>
6151
6152 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6153 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6154 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6155 (allout-rebullet-heading, allout-open-sibtopic)
6156 (allout-toggle-current-subtree-encryption)
6157 (allout-toggle-subtree-encryption, allout-encrypt-string)
6158 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6159 (allout-distinctive-bullets-string, allout-auto-activation):
6160 * window.el (window-normalize-buffer-to-display):
6161 * progmodes/verilog-mode.el (verilog-batch-indent):
6162 * textmodes/bibtex.el (bibtex-field-braces-opt)
6163 (bibtex-field-strings-opt):
6164 * vc/cvs-status.el (cvs-tree-merge):
6165 Fix typos.
6166
7262a87c
MA
61672011-11-23 Michael Albinus <michael.albinus@gmx.de>
6168
6169 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6170 `non-essential' to t, in order to avoid remote connections.
6171
283430a1
EZ
61722011-11-23 Eli Zaretskii <eliz@gnu.org>
6173
a1beca85
SM
6174 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6175 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6176 case-insensitively.
6177
d2992a38
ML
61782011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6179
6180 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6181
50419064
GM
61822011-11-23 Glenn Morris <rgm@gnu.org>
6183
da94eca1
GM
6184 * paths.el (rmail-file-name): Reformat the doc-string so that it
6185 is picked up.
6186
9aac4de2
GM
6187 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6188 (rmail-auto-file): Ignore case in the "special" field names,
6189 as mail-fetch-field does for all others.
6190
8038d2d2
GM
6191 * mail/rmail.el (rmail-forward):
6192 * mail/rmailkwd.el (rmail-set-label):
6193 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6194 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6195
f3fe222a
GM
6196 * mail/rmail.el (rmail-current-message): Doc fix.
6197
50419064
GM
6198 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6199
28109f49
SM
62002011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6203
394c65f1
GM
62042011-11-22 Glenn Morris <rgm@gnu.org>
6205
6206 * mail/rmailmm.el (test-rmail-mime-handler)
6207 (test-rmail-mime-bulk-handler)
6208 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6209
f2a0aa3a
JL
62102011-11-21 Juri Linkov <juri@jurta.org>
6211
1154d12e
JB
6212 * calc/calc.el (calc-read-key-sequence):
6213 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6214
9c34a344
LMI
62152011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6216
6217 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6218 Tell the caller that the next line needs recomputation, even
6219 though it doesn't start a sexp (bug#10094).
6220
f04a3be9
SM
62212011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6224
7978747f
SM
62252011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6226
f04a3be9
SM
6227 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6228 Use force-same-window.
7978747f 6229
fe7a3057
JB
62302011-11-20 Juanma Barranquero <lekktu@gmail.com>
6231
6232 * descr-text.el (describe-char-unicode-data):
6233 * json.el (json-string-escape):
6234 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6235 (Footnote-unicode, Footnote-style-p):
6236 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6237
24901d61
CY
62382011-11-20 Chong Yidong <cyd@gnu.org>
6239
6240 * window.el (replace-buffer-in-windows): Restore interactive spec.
6241
bac7ff22
SM
62422011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6243
24f3d7b9
SM
6244 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6245
bac7ff22
SM
6246 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6247 (byte-compile-global-not-obsolete-vars): New var.
6248 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6249 Use it.
6250 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6251
cd1181db
JB
62522011-11-20 Juanma Barranquero <lekktu@gmail.com>
6253
6254 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6255 * progmodes/pascal.el (electric-pascal-equal):
6256 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6257 * xml.el (xml-substitute-special): Fix typos.
6258
7fb18e9e
GM
62592011-11-20 Glenn Morris <rgm@gnu.org>
6260
6261 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6262 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6263 Doc fixes.
6264 (rmail-decode-mime-charset): Mark as obsolete.
6265
6266 * mail/rmailsum.el (rmail-message-regexp-p-1):
6267 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6268 Before using mime functions, check they are set. (Bug#10077)
6269
d5a6b3ba
JL
62702011-11-19 Juri Linkov <juri@jurta.org>
6271
6272 * info.el (Info-finder-find-node): Use `package--builtins' instead
6273 of `package-alist'. Use node names formed by the pattern "Keyword "
6274 and the keyword name.
6275
e981b61f
AS
62762011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6277
1d00653d 6278 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6279
3ffbc301
JL
62802011-11-19 Juri Linkov <juri@jurta.org>
6281
6282 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6283 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6284 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6285 `old-history', `old-history-forward'. Add let-binding
6286 `window-selected'. Remove calls to `kill-buffer',
6287 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6288 before calling `Info-find-node', so `Info-find-node-2' will reread
6289 the Info file. Restore window positions only when `window-selected'
6290 is non-nil.
6291
30c62133
JL
62922011-11-19 Juri Linkov <juri@jurta.org>
6293
6294 * isearch.el (isearch-lazy-highlight-new-loop):
6295 Remove condition `(not isearch-error)'. (Bug#9918)
6296
6297 * misearch.el (multi-isearch-search-fun): Add condition
6298 `(not bound)' to ignore lazy-highlighting search.
6299 Add the search-failed message "end of multi" when the end of
6300 multi-sequence is reached. Uncapitalize the search-failed
6301 message "Repeat for next buffer".
6302
6303 * info.el (Info-search): Add the search-failed message
6304 "end of the manual" when the end of the manual is reached
6305 in Isearch mode.
6306
645ca9cf
JL
63072011-11-19 Juri Linkov <juri@jurta.org>
6308
6309 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6310 Use non-destructive `remove' instead of `delete' because
6311 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6312 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6313
df754f66
JL
63142011-11-19 Juri Linkov <juri@jurta.org>
6315
6316 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6317 to nil instead of binding `search-ring' and `regexp-search-ring'.
6318 (Bug#9185)
6319
0e23d96a
EZ
63202011-11-19 Eli Zaretskii <eliz@gnu.org>
6321
6322 * simple.el (line-move): Force movement by logical lines for any
6323 hscrolled window, not only when auto-hscroll-mode is on.
6324 (line-move-visual): Update doc string to that effect. (Bug#10076)
6325
8a6ccb66
AS
63262011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6327
6328 * language/european.el (macintosh): Define as alias for mac-roman.
6329
49ae5b39
EZ
63302011-11-19 Eli Zaretskii <eliz@gnu.org>
6331
6332 * mail/rmailmm.el (rmail-mime-display-header)
6333 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6334 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6335 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6336 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6337 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6338 of a raw aref.
6339 (rmail-mime-entity-segment): To get past the tagline, move forward
6340 2 more lines, to account for the 2 empty lines that precede and
6341 follow the line with the buttons.
6342 (rmail-mime-update-tagline): Move one more line, to get past the
6343 empty line that follows the buttons in the tagline. (Bug#9520)
6344
c56cad4a
MR
63452011-11-19 Martin Rudalics <rudalics@gmx.at>
6346
6347 * window.el (window-max-delta-1, window-min-delta-1)
6348 (window-min-size-1, window-state-get-1, window-state-put-1)
6349 (window-state-put-2): Use "window--" prefix.
6350
cbe71af3
SM
63512011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6352
2ad52c60
SM
6353 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6354 (smie-warning-count): New var.
6355 (smie-set-prec2tab): Use it.
6356 (smie-bnf->prec2): Improve warnings. Add docstring.
6357 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6358 (smie-bnf--set-class): New function.
6359 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6360 corner case.
6361
6944dbc1
SM
6362 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6363 (compilation-error-properties, compilation-move-to-column):
6364 Handle compilation-first-column while in the target buffer.
6365
c400c4d7
SM
6366 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6367 Don't hardcode point-min==1.
6368
6dbe3e96
SM
6369 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6370 (eshell-rewrite-for-command): Remove workaround.
6371 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6372 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6373 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6374
cbe71af3
SM
6375 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6376
a8e1496d
GM
63772011-11-17 Glenn Morris <rgm@gnu.org>
6378
6379 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6380 Ignore buffer-local generated-autoload-file if it is the same
6381 as the global value. (Bug#10049)
6382
df85d315
JB
63832011-11-17 Juanma Barranquero <lekktu@gmail.com>
6384
6385 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6386 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6387 (reftex-toc-previous-heading, reftex-toc-max-level)
6388 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6389 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6390 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6391 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6392 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6393 (reftex-toc-rename-label, reftex-toc-visit-location)
6394 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6395 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6396 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6397 leaving "*toc*" only for references to the buffer.
6398
a0c2d0ae
MR
63992011-11-17 Martin Rudalics <rudalics@gmx.at>
6400
6401 * window.el (window-resize, delete-window, split-window):
6402 Replace window-splits by window-combination-resize.
1d00653d 6403 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6404
35c0bac8
GM
64052011-11-17 Glenn Morris <rgm@gnu.org>
6406
6407 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6408 Make bash entry derive from sh entry, not shell entry.
6409
d0c8fc8a
MA
64102011-11-16 Michael Albinus <michael.albinus@gmx.de>
6411
7262a87c
MA
6412 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6413 local file name.
6414
7877f373
JB
64152011-11-16 Juanma Barranquero <lekktu@gmail.com>
6416
6417 * menu-bar.el (menu-bar-file-menu):
6418 * printing.el (pr-ps-utility):
6419 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6420 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6421 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6422 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6423 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6424 (icalendar--convert-cyclic-to-ical)
6425 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6426 (icalendar--convert-ical-to-diary)
6427 (icalendar--convert-recurring-to-diary)
6428 (icalendar--convert-non-recurring-all-day-to-diary)
6429 (icalendar-import-format-sample):
6430 * progmodes/idlw-shell.el (idlwave-shell-mode):
6431 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6432 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6433 (vhdl-ps-print-init): Fix typos.
6434
10649b82
KM
64352011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6436
9d0cfcd6
GM
6437 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6438 FSF and collapse date sequence, obscure author/maintainer email address
6439 better, remove extra version line, track relocation of author's webpage.
10649b82 6440
9d0cfcd6
GM
6441 * progmodes/python.el (python-pdbtrack-input-prompt)
6442 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6443 regular python pdb prompts. Adjustments shamelessly taken exactly as
6444 suggested in EmacsWiki page (tiny change):
6445 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6446
58179cce
JB
64472011-11-16 Juanma Barranquero <lekktu@gmail.com>
6448
6449 * expand.el (expand-pos, expand-index, expand-point):
6450 Remove redundant info from docstring.
6451 (expand-add-abbrevs): Doc fix.
6452 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6453 (expand-sample-perl-mode-expand-list): Fix typos.
6454
6455 * net/dbus.el (dbus-event-member-name):
6456 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6457 * term/pc-win.el (msdos-create-frame-with-faces):
6458 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6459
b6f67890
MR
64602011-11-16 Martin Rudalics <rudalics@gmx.at>
6461
6462 * window.el (split-window, window-state-get-1)
6463 (window-state-put-1, window-state-put-2): Rename occurrences of
6464 window-nest to window-combination-limit.
1d00653d 6465 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6466
ce7ddba0
CY
64672011-11-16 Chong Yidong <cyd@gnu.org>
6468
6469 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6470 regexp (Bug#10033).
6471
3ae704f4
SM
64722011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6475 `completing-read' will remove *Completions* and will preserve
6476 current-buffer for us.
6477 (tmm-add-prompt): Users of *Completions* will always (re)set its
6478 major mode.
6479 (tmm-old-comp-map): Remove.
6480
6ad1cdde
GM
64812011-11-16 Glenn Morris <rgm@gnu.org>
6482
6483 * mail/rmailedit.el: Require rmailmm when compiling.
6484 (rmail-old-mime-state): New declaration.
6485 (rmail-edit-current-message): If editing a mime message,
6486 edit the "raw" message from the mbox buffer.
6487 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6488
d20faa20
GM
64892011-11-15 Glenn Morris <rgm@gnu.org>
6490
6491 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6492 which wasn't being used. Add optional arg to force given state.
6493 (rmail-mime): Add optional arg to force given state.
6494
c7015153
JB
64952011-11-15 Juanma Barranquero <lekktu@gmail.com>
6496
6497 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6498 * frame.el (display-mm-dimensions-alist):
6499 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6500 (outline-move-subtree-down):
6501 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6502 (newsticker--treeview-do-get-node):
6503 * net/quickurl.el (quickurl-list-buffer-name):
6504 * progmodes/dcl-mode.el (dcl-mode):
6505 * progmodes/gdb-mi.el (gdb-mapcar*):
6506 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6507
45261b50
GM
65082011-11-15 Glenn Morris <rgm@gnu.org>
6509
6510 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6511 in a boolean sense, so just make it a boolean, and fix the doc.
6512 (rmail-show-mime-function, rmail-mime-feature)
6513 (rmail-require-mime-maybe): Doc fixes.
6514 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6515
6516 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6517
0d26e0b6
JB
65182011-11-15 Juanma Barranquero <lekktu@gmail.com>
6519
6520 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6521 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6522 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6523 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6524
447f30f6
GM
65252011-11-15 Glenn Morris <rgm@gnu.org>
6526
672b871d
GM
6527 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6528 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6529 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6530 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6531 (rmail-mime, rmail-show-mime): Doc fixes.
6532
f6aa5bb1
GM
6533 * term/ns-win.el (mode-line-frame-identification):
6534 Leave it alone. (Bug#10051)
6535
947cd66b
GM
6536 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6537
447f30f6
GM
6538 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6539 Handle empty buffers. (Bug#9978)
6540
0b381c7e
JB
65412011-11-14 Juanma Barranquero <lekktu@gmail.com>
6542
6543 * international/mule.el (define-charset):
6544 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6545 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6546 * progmodes/verilog-mode.el (verilog-backward-token):
6547 * textmodes/ispell.el (lookup-words):
6548 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6549
71e027ac
GM
65502011-11-14 Glenn Morris <rgm@gnu.org>
6551
56632ce4
GM
6552 * progmodes/executable.el
6553 (executable-make-buffer-file-executable-if-script-p):
6554 Handle file-modes returning nil.
6555
40500957
GM
6556 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6557 message - not necessary, and causes problems. (Bug#9831)
6558
071c2340
GM
6559 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6560
d3cfca60
GM
6561 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6562
71e027ac
GM
6563 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6564 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6565 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6566
89d61221
MR
65672011-11-12 Martin Rudalics <rudalics@gmx.at>
6568
6569 * window.el (window-resize, delete-window): Use window-splits
6570 variable instead of function.
6571 (window-state-get-1, window-state-put-2, window-state-put):
6572 Don't deal with windows' splits status.
6573
98282f6f
GM
65742011-11-12 Glenn Morris <rgm@gnu.org>
6575
6576 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6577 (apropos-documentation): Doc fixes.
6578
40a8bdf6
JB
65792011-11-11 Juanma Barranquero <lekktu@gmail.com>
6580
6581 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6582 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6583
65bd19ff
SM
65842011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * electric.el (electric-indent-post-self-insert-function): Make it
6587 possible for a char to only indent in some circumstances.
6588 (electric-indent-mode): Simplify.
6589
54f9154c
MR
65902011-11-11 Martin Rudalics <rudalics@gmx.at>
6591
6592 * window.el (windows-with-parameter): Remove unused function.
6593 (windows-at-side): Rename to window-at-side-list.
6594 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6595 (window-side-check, window-size-ignore, window-size-fixed-1)
6596 (window-in-direction-2): Prefix with "window--".
6597 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6598
68cbc58b
GM
65992011-11-11 Glenn Morris <rgm@gnu.org>
6600
6601 * subr.el (eval-after-load): If FILE is already loaded,
6602 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6603
b2621720
GM
66042011-11-10 Glenn Morris <rgm@gnu.org>
6605
9a4de110
GM
6606 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6607 Call svn via vc-svn-command rather than vc-do-command.
6608 (vc-svn-command): Add --non-interactive. (Bug#9993)
6609 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6610
b2621720
GM
6611 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6612 Add toggle-read-only. (Bug#7292)
6613 * files.el (toggle-read-only): Mention that it should only
6614 be used interactively. (Bug#10006)
6615
1dce7193
SM
66162011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6617
d9ac1a1e
SM
6618 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6619 Adjust regexp for OCaml warnings.
6620
0c325082
SM
6621 * electric.el (electric-pair-post-self-insert-function): Let user
6622 turn it off buffer-locally (bug#9932).
6623
90132c14
SM
6624 * progmodes/python.el (python-beginning-of-statement):
6625 Rewrite (bug#2703).
6626
1dce7193
SM
6627 * progmodes/compile.el: Better handle TABs (bug#9749).
6628 (compilation-internal-error-properties)
6629 (compilation-next-error-function): Obey the target buffer's
6630 compilation-error-screen-columns.
6631
c4e7c63a
JB
66322011-11-09 Juanma Barranquero <lekktu@gmail.com>
6633
6634 * progmodes/meta-mode.el: Remove obsolete comments.
6635 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6636 Fix typos in docstrings.
6637
2cffd681
MR
66382011-11-09 Martin Rudalics <rudalics@gmx.at>
6639
6640 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6641 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6642 (window--resizable): New function. Make all callers of
6643 window-resizable call window--resizable instead.
6644 (window-resizable): Rewrite in terms of window--resizable.
6645
0edcba87
GM
66462011-11-08 Glenn Morris <rgm@gnu.org>
6647
6648 * progmodes/delphi.el (delphi-mode-syntax-table):
6649 Let define-derived-mode define a proper syntax table. (Bug#9994)
6650
4b0d61e3
SM
66512011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6652
6653 * window.el: Stay away from defsubst.
6654 (window-list-no-nils): Remove.
6655 (window-state-get-1, window-state-get): Use backquote instead.
6656
cd394be1 66572011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6658
4b0d61e3 6659 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6660 Fix incorrect use of default argument in `completing-read'.
6661
e1c2c6f2
MR
66622011-11-08 Martin Rudalics <rudalics@gmx.at>
6663
6664 * window.el (display-buffer-function, special-display-function):
6665 Mention display-buffer-record-window but do not mention
6666 help-setup parameter in doc-strings.
b3f4a882 6667 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6668
105216ed
CY
66692011-11-08 Chong Yidong <cyd@gnu.org>
6670
6671 * window.el (window-total-height, window-total-width): Doc fix.
6672 (window-body-size): Move from C.
6673 (window-body-height, window-body-width): Move to C.
6674
0a9f9ab5
SM
66752011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6676
6677 * window.el: Make special-display like display-buffer-alist (bug#9532).
6678 (display-buffer--special-action): New function, morphed
6679 from display-buffer--special.
6680 (display-buffer): Use it to handle special-display-buffers at higher
6681 priority (just after display-buffer-alist).
6682 (display-buffer-fallback-action, display-buffer--other-frame-action)
6683 (pop-to-buffer-same-window): Remove display-buffer--special.
6684
a769dd15
GM
66852011-11-07 Glenn Morris <rgm@gnu.org>
6686
6687 * calendar/cal-menu.el (cal-menu-set-date-title):
6688 Do nothing if not in a calendar. (Bug#9976)
6689
05a61ee3
SM
66902011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6691
6692 * files.el (find-file): Always use selected-window.
6693
be7f5545
MR
66942011-11-07 Martin Rudalics <rudalics@gmx.at>
6695
6696 * window.el (window-combinations): Make WINDOW argument
6697 mandatory. Rewrite doc-string.
6698 (walk-window-subtree, window-atom-check, window-min-delta)
6699 (window-max-delta, window--resize-this-window)
6700 (window--resize-root-window-vertically, window-tree)
6701 (balance-windows, window-state-put): Rewrite doc-strings as to
6702 not mention the term "subwindow".
6703 (window--resize-subwindows-skip-p): Rename to
6704 window--resize-child-windows-skip-p.
6705 (window--resize-subwindows-normal): Rename to
6706 window--resize-child-windows-normal.
6707 (window--resize-subwindows): Rename to
6708 window--resize-child-windows.
6709 (window-or-subwindow-p): Rename to window--in-subtree-p.
6710
3c6702ef
ML
67112011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6712
6713 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6714 Ensure that mbox format messages end in two newlines (Bug#9974).
6715
49745b39
CY
67162011-11-06 Chong Yidong <cyd@gnu.org>
6717
6718 * window.el (window-combination-p): Function deleted; its
6719 side-effect is not used in any existing code.
6720 (window-combinations, window-combined-p): Call window-*-child
6721 directly.
6722
24300f5f
CY
67232011-11-05 Chong Yidong <cyd@gnu.org>
6724
6725 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6726 (window-size-ignore, window-state-get): Callers changed.
6727 (window-normalize-window): Rename from window-normalize-any-window.
6728 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6729 (window-normalize-live-window): Delete.
447f16b8
CY
6730 (window-combination-p, window-combined-p, window-combinations)
6731 (walk-window-subtree, window-atom-root, window-min-size)
6732 (window-sizable, window-sizable-p, window-size-fixed-p)
6733 (window-min-delta, window-max-delta, window-resizable)
6734 (window-resizable-p, window-full-height-p, window-full-width-p)
6735 (window-current-scroll-bars, window-point-1, set-window-point-1)
6736 (window-at-side-p, window-in-direction, window-resize)
6737 (adjust-window-trailing-edge, maximize-window, minimize-window)
6738 (window-deletable-p, delete-window, delete-other-windows)
6739 (record-window-buffer, unrecord-window-buffer)
6740 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6741 (quit-window, split-window, window-state-put)
6742 (set-window-text-height, fit-window-to-buffer)
6743 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6744
89bd5ee1
EZ
67452011-11-04 Eli Zaretskii <eliz@gnu.org>
6746
53479029
EZ
6747 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6748 rfc2047-decode-string.
6749 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6750 warnings.
6751
89bd5ee1
EZ
6752 * window.el (window-body-height, window-body-width): Mention in
6753 the doc string that the return values are in frame's canonical
6754 units. (Bug#9949)
6755
bd17fdee
AM
67562011-11-03 Alan Mackenzie <acm@muc.de>
6757
6758 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6759 change in cc-engine.el.
6760
acc825c5
SM
67612011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6764
1885e5b8
MR
67652011-11-02 Martin Rudalics <rudalics@gmx.at>
6766
6767 * window.el (quit-window): Call unrecord-window-buffer after
6768 showing another buffer in the window. (Bug#9937)
acc825c5 6769 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6770
ebe06da9
JB
67712011-11-02 Juanma Barranquero <lekktu@gmail.com>
6772
6773 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6774 Accept status with more than 9 shelves. (Bug#9935)
6775 Reported by Colin D Bennett <colin@gibibit.com>.
6776
4ee88440
MR
67772011-11-01 Martin Rudalics <rudalics@gmx.at>
6778
6779 * help.el (with-help-window): Don't reference
6780 temp-buffer-show-specifiers in doc-string.
6781
08e1d82c
AS
67822011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6783
6784 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6785 menu-item.
6786
84bd6e9e
VJL
67872011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6788
6789 * whitespace.el: New version 13.2.2.
6790 (whitespace-newline-mode): Disable properly. Reported by Sarah
6791 <EmacsWiki>.
6792
dba0634a
UJ
67932011-10-30 Ulf Jasper <ulf.jasper@web.de>
6794
6795 * net/newst-treeview.el: Remove "Time-stamp".
6796 (newsticker--group-manage-orphan-feeds): Do not call
6797 newsticker--treeview-tree-update.
db22a3c2
JB
6798 (newsticker-treeview-update, newsticker-treeview):
6799 Call newsticker--treeview-tree-update if necessary.
dba0634a 6800
3d8daefe
MR
68012011-10-30 Martin Rudalics <rudalics@gmx.at>
6802
6803 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6804 (window-iso-combinations): Remove "iso-" infix.
6805 Suggested by Chong Yidong.
3d8daefe
MR
6806 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6807 (window-max-delta-1, window-resize, window--resize-siblings)
6808 (window--resize-this-window, adjust-window-trailing-edge)
6809 (split-window, balance-windows-1)
6810 (shrink-window-if-larger-than-buffer):
6811 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6812 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6813
1bc4c3ae
SM
68142011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6817 in place (bug#9907).
6818 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6819 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6820 (eshell-structure-basic-command, eshell-rewrite-while-command)
6821 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6822 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6823 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6824 (eshell-do-pipelines-synchronously, eshell-eval-command):
6825 Use backquotes and prefer setq to set.
6826 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6827 (eshell-macrop): Use functionp.
c1e2f5fa 6828 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6829
30b65d9c
CY
68302011-10-30 Chong Yidong <cyd@gnu.org>
6831
6832 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6833 instead of set-mark (Bug#9810).
6834
2d197ffb
CY
68352011-10-30 Chong Yidong <cyd@gnu.org>
6836
6837 * window.el (split-window-below, split-window-right): Rename from
6838 split-window-above-each-other and split-window-side-by-side
6839 respectively. All callers changed.
6840 (split-window-sensibly, split-window-sensibly): Use them.
6841 (split-window-keep-point): Doc fix.
6842
6843 * isearch.el: Add isearch-scroll property to split-window-below
6844 and split-window-right.
6845
6846 * follow.el (follow-mode):
6847 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6848 * progmodes/ada-xref.el (ada-gdb-application):
6849 * emulation/vip.el (vip-buffer-in-two-windows):
6850 * image-dired.el (image-dired-dired-with-window-configuration):
6851 * dired-x.el (dired-do-find-marked-files):
6852 * dired.el (dired-pop-to-buffer):
6853 * bs.el (bs--show-with-configuration):
6854 * vc/emerge.el (emerge-setup-windows):
6855 * textmodes/two-column.el (2C-two-columns):
6856 * textmodes/reftex-toc.el (reftex-toc):
6857 * progmodes/gdb-mi.el (gdb-setup-windows):
6858 * progmodes/fortran.el (fortran-window-create):
6859 * net/newst-treeview.el (newsticker--treeview-window-init):
6860 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6861 * emulation/tpu-edt.el (tpu-gold-map):
6862 * emulation/crisp.el (crisp-mode-map):
6863 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6864
38bb2ca8
CY
68652011-10-29 Chong Yidong <cyd@gnu.org>
6866
aa4de341
CY
6867 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6868
e1eb5385
CY
6869 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6870
5d2ece3c
CY
6871 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6872 forged Ispell output (Bug#7904).
6873
38bb2ca8
CY
6874 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6875
d0af9f77
SM
68762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6877
6878 * doc-view.el: Avoid ugly errors about not finding nil.
6879 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6880 (doc-view-dvipdf-program, doc-view-unoconv-program)
6881 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6882 Avoid nil or absolute file name as default value.
6883 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6884
52bedd34
AM
68852011-10-28 Alan Mackenzie <acm@muc.de>
6886
db22a3c2 6887 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6888
7e43cfa5
AM
68892011-10-28 Alan Mackenzie <acm@muc.de>
6890
6891 Amend the handling of c-beginning/end-of-defun in nested declaration
6892 scopes.
6893
52bedd34
AM
6894 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6895 cc-langs.el. Change it to a defcustom.
7e43cfa5 6896
52bedd34
AM
6897 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6898 cc-vars.el.
7e43cfa5 6899
d0af9f77
SM
6900 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6901 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6902
52bedd34 6903 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6904 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6905 (c-widen-to-enclosing-decl-scope): New function.
6906 (c-while-widening-to-decl-block): New macro.
6907 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6908 outward for defun boundaries, and correspondingly change symbol
6909 `respect-enclosure' to `go-outward'.
6910 (c-declaration-limits): Change algorithm to report only the "innermost"
6911 defun's boundaries.
6912
1a2ce9ee
DD
69132011-10-28 Deniz Dogan <deniz@dogan.se>
6914
6915 * net/rcirc.el (rcirc-mode): Use hard newlines.
6916
bc97a826
AM
69172011-10-28 Alan Mackenzie <acm@muc.de>
6918
6919 Amend to indent and fontify macros "which include their own semicolon"
6920 correctly, using the "virtual semicolon" mechanism.
6921
52bedd34 6922 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6923
d0af9f77 6924 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6925 Recode to scan one line at a time rather than having \n and \r
58179cce 6926 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6927 (c-forward-label): Amend for virtual semicolons.
58179cce 6928 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6929
52bedd34
AM
6930 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6931 of the new C macros.
bc97a826 6932
52bedd34 6933 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6934 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6935 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6936 (c-opt-cpp-macro-define): Make into a full language variable.
6937 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6938 AWK Mode (including \n, \r) removed, no longer needed.
6939
d0af9f77
SM
6940 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6941 Invoke c-make-macro-with-semi-re.
bc97a826 6942
52bedd34
AM
6943 * progmodes/cc-vars.el (c-macro-with-semi-re):
6944 (c-macro-names-with-semicolon): New variables.
58179cce 6945 (c-make-macro-with-semi-re): New function.
bc97a826 6946
7a6c0941
SM
69472011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 * vc/log-edit.el: Fill empty field rather than adding new one.
6950 (log-edit-add-field): New function.
6951 (log-edit-insert-changelog): Use it.
6952
b0c4cdcf
ML
69532011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6954
6955 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6956
ee1f1da9
SM
69572011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6960 (gdb--check-interpreter): New function.
6961 (gdb): Use it.
6962
51bc5f8b
GM
69632011-10-27 Glenn Morris <rgm@gnu.org>
6964
416a2c45
GM
6965 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6966 (least-positive-float, least-negative-float)
6967 (least-positive-normalized-float, least-negative-normalized-float)
6968 (float-epsilon, float-negative-epsilon):
6969 Remove unnecessary declarations.
6970
6971 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6972 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6973 (least-positive-float, least-negative-float)
6974 (least-positive-normalized-float, least-negative-normalized-float)
6975 (float-epsilon, float-negative-epsilon): Add doc-strings,
6976 based on those in cl.texi.
6977
51bc5f8b
GM
6978 * files.el (set-visited-file-name): If the major-mode changed,
6979 reload the local variables. (Bug#9796)
6980
15de15c6
CY
69812011-10-27 Chong Yidong <cyd@gnu.org>
6982
6983 * subr.el (change-major-mode-after-body-hook): New hook.
6984 (run-mode-hooks): Run it.
6985
ee1f1da9
SM
6986 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6987 Use change-major-mode-before-body-hook.
15de15c6
CY
6988
6989 * simple.el (fundamental-mode):
6990 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6991 change introducing fundamental-mode-hook.
6992
5430d399
JB
69932011-10-26 Juanma Barranquero <lekktu@gmail.com>
6994
acc825c5 6995 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6996
ad74a69e
MA
69972011-10-26 Michael Albinus <michael.albinus@gmx.de>
6998
6999 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7000 tramp.el explicitly. (Bug#7583)
ad74a69e 7001
71d4c2a5
SM
70022011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7003
7004 * progmodes/octave-mod.el:
7005 * progmodes/octave-inf.el: Update maintainer.
7006
b1f6fa26
CY
70072011-10-26 Chong Yidong <cyd@gnu.org>
7008
7009 * subr.el (with-wrapper-hook): Rewrite doc.
7010
3f04efd6
MA
70112011-10-25 Michael Albinus <michael.albinus@gmx.de>
7012
7013 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7014 filenames "/method:foo:". (Bug#9793)
3f04efd6 7015
410488d3
SM
70162011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7019 (bug#9865).
7020
c1ebb47e
GM
70212011-10-24 Glenn Morris <rgm@gnu.org>
7022
7023 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7024
7f5c46c7
MA
70252011-10-24 Michael Albinus <michael.albinus@gmx.de>
7026
7027 * notifications.el: Add the requirement of a running D-Bus session
7028 bus to the Commentary.
7029
db2440b6
JL
70302011-10-24 Juri Linkov <juri@jurta.org>
7031
7032 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7033 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7034 (Bug#9364)
7035
feecf435
JL
70362011-10-24 Juri Linkov <juri@jurta.org>
7037
7038 * info.el (Info-following-node-name-re): Add newline to the list
7039 of allowed characters for leading space. (Bug#9824)
7040
a3839de2
SM
70412011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7042
acc825c5
SM
7043 * progmodes/octave-inf.el (inferior-octave-mode-map):
7044 Fix C-c C-h binding.
a3839de2
SM
7045 * progmodes/octave-mod.el (octave-help): Remove.
7046
09388e76
MA
70472011-10-23 Michael Albinus <michael.albinus@gmx.de>
7048
7049 Sync with Tramp 2.2.3.
7050
7051 * net/tramp-cache.el (top): Pacify byte-compiler using
7052 `init-file-user' and `site-run-file'.
7053
7054 * net/trampver.el: Update release number.
7055
86c60681
CY
70562011-10-23 Chong Yidong <cyd@gnu.org>
7057
7058 * files.el (toggle-read-only): Remove obsolete comment about
7059 version control.
7060
7061 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7062 for toggle-read-only. Note that this hasn't called vc-next-action
7063 since 2008-05-02, though it wasn't documented at the time.
7064
a3839de2
SM
7065 * vc/ediff-init.el (ediff-toggle-read-only-function):
7066 Use toggle-read-only.
86c60681 7067
cd5495ff
AM
70682011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7069
7070 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7071 of c-parse-state.
7072
00b77525 7073 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7074 correct faulty logical expression.
cd5495ff
AM
7075 (c-parse-state-state, c-record-parse-state-state):
7076 (c-replay-parse-state-state): New defvar/defuns.
7077 (c-debug-parse-state): Use new functions.
7078
42ee24ed
MR
70792011-10-22 Martin Rudalics <rudalics@gmx.at>
7080
7081 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7082 last fix. Use window-in-direction correctly.
42ee24ed 7083
a7dee7e7
CY
70842011-10-21 Chong Yidong <cyd@gnu.org>
7085
7086 * progmodes/idlwave.el (idlwave-mode):
7087 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7088 require-final-newline; that's done in prog-mode.
7089 Suggested by Stefan Monnier.
a7dee7e7 7090
e07b9a6d
MR
70912011-10-21 Martin Rudalics <rudalics@gmx.at>
7092
7093 * mouse.el (mouse-drag-window-above)
7094 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7095 (mouse-drag-mode-line-1, mouse-drag-header-line)
7096 (mouse-drag-vertical-line-rightward-window): Remove.
7097 (mouse-drag-line): New function.
7098 (mouse-drag-mode-line, mouse-drag-header-line)
7099 (mouse-drag-vertical-line): Call mouse-drag-line.
7100 * window.el (window-at-side-p, windows-at-side): New functions.
7101
7e1361d9
UM
71022011-10-21 Ulrich Mueller <ulm@gentoo.org>
7103
7104 * tar-mode.el (tar-grind-file-mode):
7105 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7106
30fcaf3a
CY
71072011-10-21 Chong Yidong <cyd@gnu.org>
7108
7109 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7110 * progmodes/vera-mode.el (vera-mode):
7111 Use mode-require-final-newline.
30fcaf3a 7112
516eddb0
GM
71132011-10-20 Glenn Morris <rgm@gnu.org>
7114
db22a3c2 7115 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7116
10d5f513
CS
71172011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7118
7119 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7120
ac6c8639
CY
71212011-10-20 Chong Yidong <cyd@gnu.org>
7122
7123 * emulation/cua-base.el (cua-mode):
7124 * mail/footnote.el (footnote-mode):
7125 * mail/mailabbrev.el (mail-abbrevs-mode):
7126 * net/xesam.el (xesam-minor-mode):
7127 * progmodes/bug-reference.el (bug-reference-mode):
7128 * progmodes/cap-words.el (capitalized-words-mode):
7129 * progmodes/compile.el (compilation-minor-mode)
7130 (compilation-shell-minor-mode):
7131 * progmodes/gud.el (gud-tooltip-mode):
7132 * progmodes/hideif.el (hide-ifdef-mode):
7133 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7134 * progmodes/subword.el (subword-mode):
7135 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7136 * progmodes/which-func.el (which-function-mode):
7137 * term/tvi970.el (tvi970-set-keypad-mode):
7138 * term/vt100.el (vt100-wide-mode):
7139 * textmodes/flyspell.el (flyspell-mode):
7140 * textmodes/ispell.el (ispell-minor-mode):
7141 * textmodes/nroff-mode.el (nroff-electric-mode):
7142 * textmodes/paragraphs.el (use-hard-newlines):
7143 * textmodes/refill.el (refill-mode):
7144 * textmodes/reftex.el (reftex-mode):
7145 * textmodes/rst.el (rst-minor-mode):
7146 * textmodes/sgml-mode.el (html-autoview-mode)
7147 (sgml-electric-tag-pair-mode):
7148 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7149 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7150 * emulation/crisp.el (crisp-mode):
7151 * emacs-lisp/eldoc.el (eldoc-mode):
7152 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7153 minor mode behavior.
7154
aa42ab43
JL
71552011-10-19 Juri Linkov <juri@jurta.org>
7156
7157 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7158 the list of hard-coded chars with escape-glyph face.
7159
89400f1d
SM
71602011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7163
305c07f6
MA
71642011-10-19 Michael Albinus <michael.albinus@gmx.de>
7165
7166 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7167 running process.
7168
13754b54
GM
71692011-10-19 Glenn Morris <rgm@gnu.org>
7170
7171 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7172 Ignore ignored files. (Bug#9726)
7173
06e21633
CY
71742011-10-19 Chong Yidong <cyd@gnu.org>
7175
7176 Doc fix for minor modes, stating that an omitted argument enables
7177 the mode unconditionally when called from Lisp.
7178
7179 * abbrev.el (abbrev-mode):
7180 * allout.el (allout-mode):
7181 * autoinsert.el (auto-insert-mode):
7182 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7183 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7184 (global-auto-revert-mode):
7185 * battery.el (display-battery-mode):
7186 * composite.el (global-auto-composition-mode)
7187 (auto-composition-mode):
7188 * delsel.el (delete-selection-mode):
7189 * desktop.el (desktop-save-mode):
7190 * dired-x.el (dired-omit-mode):
7191 * dirtrack.el (dirtrack-mode):
7192 * doc-view.el (doc-view-minor-mode):
7193 * double.el (double-mode):
7194 * electric.el (electric-indent-mode, electric-pair-mode):
7195 * emacs-lock.el (emacs-lock-mode):
7196 * epa-hook.el (auto-encryption-mode):
7197 * follow.el (follow-mode):
7198 * font-core.el (font-lock-mode):
7199 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7200 * help.el (temp-buffer-resize-mode):
7201 * hilit-chg.el (highlight-changes-mode)
7202 (highlight-changes-visible-mode):
7203 * hi-lock.el (hi-lock-mode):
7204 * hl-line.el (hl-line-mode, global-hl-line-mode):
7205 * icomplete.el (icomplete-mode):
7206 * ido.el (ido-everywhere):
7207 * image-file.el (auto-image-file-mode):
7208 * image-mode.el (image-minor-mode):
7209 * iswitchb.el (iswitchb-mode):
7210 * jka-cmpr-hook.el (auto-compression-mode):
7211 * linum.el (linum-mode):
7212 * longlines.el (longlines-mode):
7213 * master.el (master-mode):
7214 * mb-depth.el (minibuffer-depth-indicate-mode):
7215 * menu-bar.el (menu-bar-mode):
7216 * minibuf-eldef.el (minibuffer-electric-default-mode):
7217 * mouse-sel.el (mouse-sel-mode):
7218 * msb.el (msb-mode):
7219 * mwheel.el (mouse-wheel-mode):
7220 * outline.el (outline-minor-mode):
7221 * paren.el (show-paren-mode):
7222 * recentf.el (recentf-mode):
7223 * reveal.el (reveal-mode, global-reveal-mode):
7224 * rfn-eshadow.el (file-name-shadow-mode):
7225 * ruler-mode.el (ruler-mode):
7226 * savehist.el (savehist-mode):
7227 * scroll-all.el (scroll-all-mode):
7228 * scroll-bar.el (scroll-bar-mode):
7229 * server.el (server-mode):
7230 * shell.el (shell-dirtrack-mode):
7231 * simple.el (auto-fill-mode, transient-mark-mode)
7232 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7233 (line-number-mode, column-number-mode, size-indication-mode)
7234 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7235 * strokes.el (strokes-mode):
7236 * time.el (display-time-mode):
7237 * t-mouse.el (gpm-mouse-mode):
7238 * tool-bar.el (tool-bar-mode):
7239 * tooltip.el (tooltip-mode):
7240 * type-break.el (type-break-mode-line-message-mode)
7241 (type-break-query-mode):
7242 * view.el (view-mode):
7243 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7244 (global-whitespace-mode, global-whitespace-newline-mode):
7245 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7246
a3839de2
SM
7247 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7248 Fix autogenerated docstring.
06e21633 7249
5214e501
JL
72502011-10-19 Juri Linkov <juri@jurta.org>
7251
7252 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7253 by checking environment variables "DESKTOP_SESSION" and
7254 "XDG_CURRENT_DESKTOP". (Bug#9779)
7255
195f8db9
JL
72562011-10-19 Juri Linkov <juri@jurta.org>
7257
7258 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7259 (browse-url-chromium-program, browse-url-chromium-arguments):
7260 New defcustoms.
7261 (browse-url-default-browser): Check for `browse-url-chromium' and
7262 call `browse-url-chromium-program'.
7263 (browse-url-chromium): New command. (Bug#9779)
7264
343a34ff
JB
72652011-10-18 Juanma Barranquero <lekktu@gmail.com>
7266
7267 * facemenu.el (list-colors-duplicates): On Windows, detect more
7268 duplicates by assuming that only colors matching "^System" are
7269 special "system colors". (Bug#9722)
7270
6978a151
SM
72712011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7272
7273 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7274 to distinguish the author from the committer.
7275
6a80b297
MA
72762011-10-18 Michael Albinus <michael.albinus@gmx.de>
7277
7278 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7279
b31a5677
JK
72802011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7281
7282 * international/mule.el (sgml-html-meta-auto-coding-function):
7283 Add support for detecting encoding in HTML5 specified only as
7284 <meta charset="UTF-8">. Implementation just makes http-equiv and
7285 content-type parts from HTML4 encoding string optional. (Bug#9716)
7286
80c6d77f
GM
72872011-10-18 Glenn Morris <rgm@gnu.org>
7288
7289 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7290
08b0fee8
CY
72912011-10-18 Chong Yidong <cyd@gnu.org>
7292
7293 * faces.el (cursor): Doc fix.
7294
67e729a5
CY
72952011-10-17 Chong Yidong <cyd@gnu.org>
7296
7297 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7298
343a34ff 72992011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7300
7301 * dirtrack.el (dirtrack): Support shell buffers with path
7302 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7303
0bc06380
TZ
73042011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7305
7306 * json.el: Bump version to 1.3 and note change in History.
7307 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7308
8b79f3e0
SM
73092011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7310
5a7c536b
SM
7311 * comint.el (comint-insert-input, comint-send-input)
7312 (comint-get-old-input-default, comint-backward-matching-input)
7313 (comint-next-prompt): Use nil instead of `input' for field property of
7314 past user input (bug#114).
7315
96a8a0df
SM
7316 * minibuffer.el (completion--replace): Inherit surrounding properties
7317 (bug#114).
7318 (minibuffer-complete-and-exit): Use it.
7319
8b79f3e0
SM
7320 * comint.el (comint--table-subvert): Quote the all-completions output
7321 (bug#9160).
7322
b8f7ff0d
MR
73232011-10-17 Martin Rudalics <rudalics@gmx.at>
7324
8b79f3e0 7325 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7326
b8f7ff0d 7327 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7328 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7329 entries and separate them from frame entries.
7330
c235b555
GM
73312011-10-15 Glenn Morris <rgm@gnu.org>
7332
7333 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7334 Doc fixes.
7335
6bbfa6e1
CY
73362011-10-15 Chong Yidong <cyd@stupidchicken.com>
7337
8b79f3e0
SM
7338 * net/network-stream.el (network-stream-open-starttls):
7339 Improve detection of failure due to lack of TLS support.
ec5c990d 7340
6bbfa6e1
CY
7341 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7342 putting the input text in front and in bold.
7343
98488977
SM
73442011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7345
3d1337be
SM
7346 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7347
ee0b45e4
SM
7348 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7349 empty buffer.
7350
98488977
SM
7351 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7352 unread-command-events rather than pushing yet-another event.
7353
186f4720
EZ
73542011-10-14 Eli Zaretskii <eliz@gnu.org>
7355
7356 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7357 the explanation of the possible choices. Make the options passed
7358 to completing-read shorter.
7359
8b7a997c
AM
73602011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7361
7362 * textmodes/flyspell.el (flyspell-large-region): Make sure
7363 extended character mode is used if defined (Bug#1339).
7364
12587bbb
EZ
73652011-10-13 Eli Zaretskii <eliz@gnu.org>
7366
7367 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7368 character info for LRE, LRO, RLE, and RLO characters by appending
7369 an invisible PDF.
12587bbb 7370
bad41229
SM
73712011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7374 even in case of error; add debug spec; simplify data flow.
7375 (with-timeout-handler): Remove.
7376
28dbc92f
MA
73772011-10-12 Michael Albinus <michael.albinus@gmx.de>
7378
7379 Fix Bug#6019, Bug#9315.
7380
7381 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7382 complete `buffer-file-name', the local file name part could look
7383 remotely (for example on VMS).
7384
7385 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7386 `tramp-run-real-handler'.
7387 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7388 already quoted by '"'.
7389
7390 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7391 Let `file-name-handler-alist' be nil, the local file name part
7392 could look remotely (for example on VMS).
7393
e1b0b23a
SM
73942011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7397 from here...
7398 (flyspell-post-command-hook): ...to here.
7399
a120bde9
SM
74002011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7401
7402 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7403 if not needed.
7404 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7405 using completion. Protect against "slow" callers.
7406 Remove the "message hack".
7407
7ce7717b
JL
74082011-10-11 Juri Linkov <juri@jurta.org>
7409
7410 * isearch.el (isearch-lazy-highlight-word): New variable.
7411 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7412 Use it. (Bug#9727)
7413
c02ee9d6
GM
74142011-10-11 Glenn Morris <rgm@gnu.org>
7415
7416 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7417 like f90-previous-statement does.
7418
93e616fd 74192011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7420
1f190e73 7421 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7422 only in interactive use, to avoid error.
7423
af7b6078
SM
74242011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7425
7426 * minibuffer.el (completion-file-name-table): Fix last change,
7427 i.e. ignore normal errors but not the other ones.
7428
0563dae9
MR
74292011-10-10 Martin Rudalics <rudalics@gmx.at>
7430
7431 * window.el (special-display-buffer-names)
7432 (special-display-regexps): Remove some remnants of earlier
7433 changes from doc-strings.
366ca7f3
MR
7434 (quit-windows-on): New function.
7435
7436 * vc/vc.el (vc-revert, vc-rollback):
7437 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7438 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7439 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7440
49677495
MR
74412011-10-09 Martin Rudalics <rudalics@gmx.at>
7442
7443 * window.el (frame-auto-hide-function): Add version tag.
7444 (Bug#9699)
7445
56f2d1e1
MA
74462011-10-09 Michael Albinus <michael.albinus@gmx.de>
7447
7448 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7449 condition.
7450
112a6592
LL
74512011-10-09 Leo Liu <sdl.web@gmail.com>
7452
7453 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7454 (Bug#9701)
7455
0812589b
GM
74562011-10-08 Glenn Morris <rgm@gnu.org>
7457
7458 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7459 before the first code statement zero indent. (Bug#9690)
7460
b2b0776e
CY
74612011-10-08 Chong Yidong <cyd@stupidchicken.com>
7462
7463 * simple.el (count-words-region): Always count in the region.
7464 Report the number of lines and characters too.
7465 (count-words): New command, which counts in the buffer if the
7466 region is inactive, as count-words-region used to.
7467 (count-words--message): New function. Handle plurals.
7468 (count-lines-region): Make it an alias for count-words-region.
7469
7470 * bindings.el (esc-map): Replace count-lines-region with
7471 count-words-region.
7472
c557cd6b
MR
74732011-10-08 Martin Rudalics <rudalics@gmx.at>
7474
7475 * window.el (window--delete): Delete dedicated frame
7476 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7477 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7478
61a57ef4 74792011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7480
3a7d293b 7481 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7482
c3833279
CY
74832011-10-07 Chong Yidong <cyd@stupidchicken.com>
7484
7485 * bindings.el ([M-left],[M-right]): Bind to left-word and
7486 right-word respectively.
7487
21ce8245
GM
74882011-10-07 Glenn Morris <rgm@gnu.org>
7489
7490 * cus-start.el (debug-on-quit): Fix custom type.
7491
6d823bb2
LMI
74922011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7493
0181e193
LMI
7494 * subr.el (define-key-after): Clarify that the function is not
7495 useful for non-menu keymaps.
7496
6d823bb2
LMI
7497 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7498
8e3459ce 74992011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7500
21ce8245 7501 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7502 in current minibuffer (Fix bug with recursive minibuffers).
7503
a1c2d21e
CY
75042011-10-06 Chong Yidong <cyd@stupidchicken.com>
7505
7506 * progmodes/gdb-mi.el (gdb): Doc fix.
7507
5a4cf282
MR
75082011-10-05 Martin Rudalics <rudalics@gmx.at>
7509
7510 * window.el (frame-auto-hide-function): New option replacing
7511 frame-auto-delete. Suggested by Stefan Monnier.
7512 (window--delete): Call frame-auto-hide-function instead of
7513 investigating frame-auto-delete.
c96111ea
MR
7514 (window-point-1, set-window-point-1): New functions.
7515 (window-in-direction, record-window-buffer, window-state-get-1)
7516 (display-buffer-record-window): Use window-point-1 instead of
7517 window-point.
7518 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7519
9854542e
SM
75202011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7523
8943cfb0
GM
75242011-10-05 Glenn Morris <rgm@gnu.org>
7525
7526 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7527 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7528
647ab967
LL
75292011-10-05 Leo Liu <sdl.web@gmail.com>
7530
7531 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7532 works with buffer object.
7533
3ddfbced
SM
75342011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * mpc.el (mpc-tool-bar-map): Add labels.
7537
bdfa5dd2
GM
75382011-10-04 Glenn Morris <rgm@gnu.org>
7539
7540 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7541
0e2070b5
MR
75422011-10-04 Martin Rudalics <rudalics@gmx.at>
7543
7544 * window.el (window--delete): New function.
7545 (frame-auto-delete): Resuscitate option.
7546 (bury-buffer, replace-buffer-in-windows)
7547 (quit-window): Rewrite using window--delete.
7548 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7549 Pass display-buffer-mark-dedicated to window--display-buffer-2
7550 (Bug#9639).
7551
3dc61a09
SM
75522011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7553
915a9b64
SM
7554 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7555 returns a list (bug#9554). Add remote file name completion.
7556 * comint.el (comint--table-subvert): Curry and get quote&unquote
7557 functions as arguments.
7558 (comint--complete-file-name-data): Adjust call accordingly.
7559 * pcomplete.el (pcomplete--table-subvert): Remove.
7560 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7561
3dc61a09
SM
7562 * minibuffer.el (completion-table-case-fold): Use currying.
7563 (completion--styles-type, completion--cycling-threshold-type):
7564 New constants.
7565 (completion-styles, completion-category-overrides)
7566 (completion-cycle-threshold): Use them.
7567 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7568 completion-table-case-fold.
7569
8ea0a993
SB
75702011-10-03 Stephen Berman <stephen.berman@gmx.net>
7571
7572 * minibuffer.el (completion-category-overrides): Fix type of styles
7573 and add more user friendly tags (bug#9660).
7574
8c24b7f6
SM
75752011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7576
7577 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7578 (mule-input-method-string): New widget.
7579 (default-input-method, language-info-custom-alist): Use it.
7580
428fe61a
SM
75812011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7582
32c1fffd
SM
7583 * pcomplete.el: Require comint.
7584 (pcomplete--common-suffix): Remove.
7585 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7586 (pcomplete--table-subvert): Sync with comint--table-subvert.
7587 (pcomplete--entries): Use comint-completion-file-name-table.
7588 * comint.el (comint-unquote-filename): Simplify.
7589 (comint-completion-file-name-table): New function (bug#9616).
7590 (comint--complete-file-name-data): Use it.
7591
428fe61a
SM
7592 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7593 (pcmpl-gnu-tar-buffer): Remove.
7594 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7595 around. Make sure pcomplete-suffix-list is only changed temporarily.
7596 Don't look inside the tar's file if it's too large.
428fe61a 7597
04c52e2f
CY
75982011-10-01 Chong Yidong <cyd@stupidchicken.com>
7599
ce3cefcc
CY
7600 * cus-edit.el (custom-mode-map):
7601 * epa.el (epa-key-list-mode-map):
7602 * man.el (Man-mode-map):
7603 * startup.el (splash-screen-keymap):
7604 * simple.el (special-mode-map): Use scroll-up-command and
7605 scroll-down-command.
7606
7607 * progmodes/idlw-help.el (idlwave-help-mode-map):
7608 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7609 * net/newst-plainview.el (newsticker-mode-map):
7610 * emulation/ws-mode.el (wordstar-mode-map):
7611 * emulation/vi.el (vi-com-map):
7612 * calc/calc-graph.el (calc-graph-show-dumb):
7613 * term/sun.el (terminal-init-sun):
7614 * term/ns-win.el (global-map):
7615 * progmodes/grep.el (grep-mode-map):
7616 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7617 * mail/rmail.el (rmail-mode-map):
7618 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7619
04c52e2f
CY
7620 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7621 custom-safe-themes as special.
7622
79adf8c8
JD
76232011-10-01 Julien Danjou <julien@danjou.info>
7624
7625 * notifications.el (notifications-notify): Fix docstring.
7626
63bd50d3
PS
76272011-10-01 Per Starbäck <per@starback.se>
7628
7629 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7630
199e4c7e
MR
76312011-09-30 Martin Rudalics <rudalics@gmx.at>
7632
7633 * startup.el (command-line-1): Fix last fix by inserting
7634 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7635 (Bug#9605) and (Bug#9636)
199e4c7e 7636
fe5f08dd
EZ
76372011-09-29 Eli Zaretskii <eliz@gnu.org>
7638
7639 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7640 window is hscrolled, move by logical lines. (Bug#9607)
7641 (line-move-visual): Update the doc string to the above effect.
7642
b5516bbd
MR
76432011-09-29 Martin Rudalics <rudalics@gmx.at>
7644
ccee00c0
MR
7645 * window.el (display-buffer-record-window): When WINDOW is the
7646 selected window use `point' instead of `window-point'. (Bug#9626)
7647
b5516bbd
MR
7648 * startup.el (command-line-1): Use insert-before-markers when
7649 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7650
b5516bbd
MR
7651 * help.el (help-window): Remove variable.
7652
52aa0014
GM
76532011-09-29 Glenn Morris <rgm@gnu.org>
7654
7655 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7656
df9a7357
JB
76572011-09-29 Juanma Barranquero <lekktu@gmail.com>
7658
7659 * descr-text.el (describe-char-categories): Accept category
7660 descriptions more than one line long.
7661
a8406c20
SM
76622011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7663
88d9610c
SM
7664 * simple.el (delete-trailing-whitespace): Fix last change.
7665
a5daf810
SM
7666 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7667 Don't confuse "y => 3" as the beginning of a `y' operation.
7668
a8406c20
SM
7669 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7670 object has more than 4 slots (bug#9613).
7671
a239d4e9
JB
76722011-09-28 Juanma Barranquero <lekktu@gmail.com>
7673
7674 * subr.el (with-output-to-temp-buffer):
7675 * net/quickurl.el (quickurl, quickurl-browse-url):
7676 Fix typos in docstrings.
7677
693fbdb6
EZ
76782011-09-27 Eli Zaretskii <eliz@gnu.org>
7679
7680 * minibuffer.el (completion-styles)
7681 (completion-category-overrides): Cross reference each other in doc
7682 strings.
7683
8b457e28
GM
76842011-09-27 Glenn Morris <rgm@gnu.org>
7685
7686 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7687 to split-string. (Bug#9606)
7688
85a16208
LMI
76892011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7690
7691 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7692 (bug#9615).
7693
502f9ebd
CY
76942011-09-27 Chong Yidong <cyd@stupidchicken.com>
7695
7696 * emacs-lisp/package.el (list-packages): Fix echo area message.
7697
7690bdea
LL
76982011-09-27 Leo Liu <sdl.web@gmail.com>
7699
7700 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7701
e2ee6f30
MA
77022011-09-25 Michael Albinus <michael.albinus@gmx.de>
7703
7704 * net/dbus.el (dbus-unregister-object): Don't release services for
7705 registered signals. (Bug#9581)
7706
f3f98342
TZ
77072011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7708
7709 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7710 function that picks between cfengine 2 and 3 support
7711 automatically. Update docs accordingly.
7712
dd7aa8dd
KH
77132011-09-22 Kenichi Handa <handa@m17n.org>
7714
7715 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7716 ZERO.
7717 (indian-itrans-v5-table-for-tamil): New variable.
7718 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7719
3f2b07f8
KM
77202011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7721
7722 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7723 that's true if the current command involved collapsing of text.
7724 It's reset to false at the beginning of the next command.
7725 (allout-post-command-business): Move the cursor to the beginning
7726 of entry if the cursor is hidden and collapsing activity just
7727 happened.
7728
371d6a61
CY
77292011-09-24 Chong Yidong <cyd@stupidchicken.com>
7730
7731 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7732 tracking (Bug#9541).
7733
2ac2721a
UJ
77342011-09-24 Ulf Jasper <ulf.jasper@web.de>
7735
7736 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7737 (newsticker-show-news): Automatically load html rendering package
7738 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7739 because w3m-fill-column is let-bound" and the error "Symbol's value
7740 as variable is void: w3m-fill-column".
2ac2721a 7741
fac7ae53
MA
77422011-09-24 Michael Albinus <michael.albinus@gmx.de>
7743
7744 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7745 Release services only if they are defined. (Bug#9581)
7746
e08b633b
RS
77472011-09-23 Richard Stallman <rms@gnu.org>
7748
e488d29c
RS
7749 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7750 distinguish start of paragraph from start of its text.
7751
19c38752
RS
7752 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7753
e08b633b
RS
7754 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7755 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7756 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7757
0a39f27e
AS
77582011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7759
7760 * international/mule-diag.el (mule-diag): Insert a newline after
7761 each fontset description.
7762
db4e950d
SM
77632011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7764
7765 * simple.el (delete-trailing-whitespace):
7766 Document last change; simplify.
7767
eca3f3ea
PW
77682011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7769
d68e189a
PW
7770 * simple.el (delete-trailing-whitespace): Also delete
7771 extra newlines at the end of the buffer.
7772
eca3f3ea
PW
7773 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7774 (picture-newline): Use forward-line so as to ignore fields.
7775
01c157cc
SM
77762011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * subr.el (with-wrapper-hook): Fix edebug spec.
7779
022de23e
LMI
77802011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7781
7782 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7783 (bug#4538).
7784
91683089
MA
77852011-09-23 Michael Albinus <michael.albinus@gmx.de>
7786
eca3f3ea
PW
7787 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7788 Fix nasty bug using wrong cached values.
91683089 7789
5bdd6fa4
AM
77902011-09-23 Alan Mackenzie <acm@muc.de>
7791
7792 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7793
97adfb97
CY
77942011-09-23 Chong Yidong <cyd@stupidchicken.com>
7795
7796 * window.el (pop-to-buffer): Ensure right window is selected if we
7797 chose another frame.
7798
d4ef2b50
EZ
77992011-09-22 Eli Zaretskii <eliz@gnu.org>
7800
7801 * simple.el (what-cursor-position): Use get-char-property-change
7802 and next-single-char-property-change, to be able to show display
7803 properties that come from overlays as well as text properties.
7804
72258fe5
CY
78052011-09-22 Chong Yidong <cyd@stupidchicken.com>
7806
7807 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7808
7809 * cmuscheme.el (run-scheme, switch-to-scheme):
7810 * cus-edit.el (customize-group, custom-buffer-create)
7811 (customize-browse):
7812 * info.el (info):
7813 * shell.el (shell):
7814 * mail/sendmail.el (mail):
7815 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7816
8f098516
RS
78172011-09-22 Richard Stallman <rms@gnu.org>
7818
7819 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7820 move back only to line beg, don't move back over blank lines.
7821
e74f1bb6
MA
78222011-09-22 Michael Albinus <michael.albinus@gmx.de>
7823
7824 * files.el (copy-directory): Set directory attributes only in case
7825 they could be retrieved from the source directory. (Bug#9565)
7826
bfeef8b6
DK
78272011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7828
7829 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7830 (hs-find-block-beginning, hs-hide-level-recursive):
7831 Ignore strings as well as comments. (Bug#9502)
7832
7e423bb8
AS
78332011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7834
7835 * progmodes/sql.el (sql-comint-postgres):
7836 Convert port number to a string. (Bug#9566)
7837
b4d72fcf
MR
78382011-09-22 Martin Rudalics <rudalics@gmx.at>
7839
7840 * window.el (quit-window): Undedicate window when switching to
7841 previous buffer. Reported by Thierry Volpiatto
7842 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7843 (special-display-popup-frame): When popping up a new frame reset
7844 its previous buffers to nil. Simplify code.
b4d72fcf 7845
a7b88dc6
MA
78462011-09-21 Michael Albinus <michael.albinus@gmx.de>
7847
7848 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7849 and process filter, as done also in `shell-command'.
7850
cf4eacfd
MR
78512011-09-21 Martin Rudalics <rudalics@gmx.at>
7852
eca3f3ea 7853 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7854 Call set-window-start with NOFORCE argument t.
7855 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7856 (quit-window): Reword doc-string. Handle new format of
7857 quit-restore parameter. Don't delete window if it has a
7858 previous buffer we can show instead of the present one.
7859 (display-buffer-record-window): Rewrite using a new format for
7860 the quit-restore window parameter
7861 (special-display-popup-frame, display-buffer-same-window)
7862 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7863 (display-buffer-pop-up-window, display-buffer-use-some-window):
7864 Adapt symbol passed to display-buffer-record-window.
7865 * help.el (help-window-setup): Handle new format of quit-restore
7866 parameter.
7867
8d28cb95
SM
78682011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7869
94ab793f
SM
7870 * faces.el (face-list): Fix docstring (bug#9564).
7871
8d28cb95
SM
7872 * window.el (display-buffer--action-function-custom-type):
7873 Don't include internal functions in the Custom interface.
7874
3820edeb
JL
78752011-09-20 Juri Linkov <juri@jurta.org>
7876
7877 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7878 (Info-forward-node, Info-backward-node, Info-next-preorder)
7879 (Info-last-preorder): Use it. (Bug#9528)
7880
5147931d
JL
78812011-09-20 Juri Linkov <juri@jurta.org>
7882
7883 * info.el (Info-last-preorder): Visit last menu item only when
7884 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7885
cf499a1a
JD
78862011-09-20 Julien Danjou <julien@danjou.info>
7887
7888 * password-cache.el (password-cache-remove): Remove entries even if the
7889 value is nil, so that password with a nil value (negative caching) is
7890 possible to invalidate.
7891
f84e2fe2
LM
78922011-09-20 Lawrence Mitchell <wence@gmx.li>
7893
7894 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7895 all whitespace around breakpoint. (Bug#9553)
7896 (f90-find-breakpoint): Only break at whitespace inside a comment.
7897
78054a46
SM
78982011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * minibuffer.el (completion-file-name-table): Keep track of errors.
7901 (completion-table-with-predicate): Handle the case where pred1 is nil.
7902 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7903
345083b2
SM
79042011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7905
e24e27be
SM
7906 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7907 (debugger-return-value): Signal an error if the debugging context does
7908 not await any return value.
7909
345083b2
SM
7910 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7911 * image-mode.el (image-toggle-display-text)
7912 (image-toggle-display-image): Stay away from evil `intangible'.
7913
08d355e3
LL
79142011-09-19 Leo Liu <sdl.web@gmail.com>
7915
7916 * replace.el (occur-revert-arguments): Make it permanent-local.
7917 (occur-mode): Don't call font-lock-defontify.
7918
f01da43f
CY
79192011-09-19 Chong Yidong <cyd@stupidchicken.com>
7920
7921 * net/ldap.el (ldap-search-internal): Don't push empty search
7922 result (Bug#9508).
7923
b6072fa6
SM
79242011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7925
7926 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7927
443d6696
MA
79282011-09-19 Michael Albinus <michael.albinus@gmx.de>
7929
7930 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7931 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7932
7cc6e154
JL
79332011-09-18 Juri Linkov <juri@jurta.org>
7934
7935 * buff-menu.el (Buffer-menu-mode-map):
7936 * dired.el (dired-mode-map):
7937 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7938 (lisp-interaction-mode-map):
7939 * emacs-lisp/package.el (package-menu-mode-map):
7940 * epa.el (epa-key-list-mode-map):
7941 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7942 (menu-bar-options-menu):
7943 * outline.el (outline-mode-menu-bar-map):
7944 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7945 * vc/vc-dir.el (vc-dir-menu-map):
7946 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7947 Capitalize non-function content words in menu item strings.
7948
7949 * dired.el (dired-mode-map): Add menu item for
7950 `image-dired-dired-toggle-marked-thumbs'.
7951
80302a81
JL
79522011-09-18 Juri Linkov <juri@jurta.org>
7953
7954 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7955 to `isearch-case-fold-search' and restore its original value
7956 after the `isearch-mode' call.
7957
46c5cf66
JL
79582011-09-18 Juri Linkov <juri@jurta.org>
7959
7960 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7961 because `zgrep' returns 1 for successful matches (bug#9226).
7962
d18b513b
JL
79632011-09-18 Juri Linkov <juri@jurta.org>
7964
7965 * info.el (Info-extract-menu-node-name): Check the second match
7966 for empty string (second test-case of bug#9528).
7967 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7968 intermediate nodes to the history (first test-case of bug#9528).
7969
72753f87
JL
79702011-09-18 Juri Linkov <juri@jurta.org>
7971
7972 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7973 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7974
c9384295
JL
79752011-09-18 Juri Linkov <juri@jurta.org>
7976
1154d12e
JB
7977 * info.el (Info-file-supports-index-cookies):
7978 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7979 outputs one more line for long file names (bug#4142).
c9384295 7980
d473dce8
CY
79812011-09-18 Chong Yidong <cyd@stupidchicken.com>
7982
7983 * newcomment.el (comment-normalize-vars): If prompting for
7984 comment-start, set comment-start-skip too (Bug#8424).
7985
2176854d
JB
79862011-09-18 Johan Bockgård <bojohan@gnu.org>
7987
7988 * icomplete.el: Fix previous fix of Bug#5849.
7989 (icomplete-mode): Don't set completion-show-inline-help.
7990 (icomplete-minibuffer-setup): Set completion-show-inline-help
7991 locally during icompletion.
7992
3aace4e4
CY
79932011-09-18 Chong Yidong <cyd@stupidchicken.com>
7994
c940224f
CY
7995 * woman.el (woman2-process-escapes): Don't delete unrecognized
7996 escapes (Bug#7843).
7997
3aace4e4
CY
7998 * files.el (inhibit-first-line-modes-regexps): Add image files.
7999 (hack-local-variables-prop-line): Return nil for malformed
8000 prop-lines (Bug#9044).
8001
710dec63
MA
80022011-09-18 Michael Albinus <michael.albinus@gmx.de>
8003
8004 * net/tramp.el (top): Don't require 'shell.
8005 (tramp-methods): Fix docstring.
8006 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8007 Return complete remote file name. Handle "smb" case.
8008 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8009 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8010
8011 * net/tramp-compat.el (top): Require 'shell.
8012
8013 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8014 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8015 `tramp-current-host'.
8016 (tramp-get-remote-tmpdir): Remove.
8017
8018 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8019 `tramp-tmpdir' entries.
8020 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8021 (tramp-smb-handle-file-attributes): Ignore errors.
8022 (tramp-smb-wait-for-output): Check also for process end.
8023
5d5ac8ec
LMI
80242011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8025
8026 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8027 when sending QUIT (bug#9312).
8028
8c0f49f0
CY
80292011-09-17 Chong Yidong <cyd@stupidchicken.com>
8030
8031 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8032 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8033 occur-mode-display-occurrence.
8034 (occur-edit-mode): Add usage message.
8035 (occur-cease-edit): New command.
8036 (occur-after-change-function): Use text properties to find the
8037 position of the prefix text.
8038 (occur-engine): Set stickiness of prefix text properties.
8039
8f1383f7
GM
80402011-09-17 Glenn Morris <rgm@gnu.org>
8041
8042 * progmodes/etags.el (complete-tag):
8043 Fix call to completion-in-region. (Bug#9526)
8044
744ba0e3
JL
80452011-09-17 Juri Linkov <juri@jurta.org>
8046
8047 * textmodes/ispell.el (ispell-word): Add to the error message
8048 the word, ispell program name and current dictionary (bug#9121).
8049 (ispell-tex-arg-end): Capitalize "error" in the error message.
8050
d9bbf400
AS
80512011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8052
8053 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8054 check. (Bug#4251)
8055
8da11505
JL
80562011-09-17 Juri Linkov <juri@jurta.org>
8057
8058 * window.el (window-safe-min-height, window-safe-min-width):
8059 Fix typos (followup to bug#9522).
8060
a91adc7e
SJ
80612011-09-17 Sven Joachim <svenjoac@gmx.de>
8062
8063 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8064
064f328a
EZ
80652011-09-16 Eli Zaretskii <eliz@gnu.org>
8066
8067 * simple.el (line-move): If goal-column is set, move by logical
8068 lines, not by display lines. (Bug#971)
8069 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8070 to reflect the above change.
8071
e69df516
SM
80722011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8073
8074 * image.el (imagemagick-register-types): Use regexp-opt.
8075
cbb0f9ab
CY
80762011-09-15 Chong Yidong <cyd@stupidchicken.com>
8077
8078 * window.el (display-buffer-base-action): Rename from
8079 display-buffer-default-action. Make default value empty.
8080 (display-buffer-overriding-action): Convert to defvar.
8081 (display-buffer-fallback-action): New var.
8082
25322144
CY
80832011-09-15 Chong Yidong <cyd@stupidchicken.com>
8084
8085 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8086 declaration.
8087 (package--add-to-archive-contents): If there is a duplicate entry
8088 with an older version, remove it.
8089 (package-menu-mark-delete, package-menu-mark-install)
8090 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8091 (package-menu-mark-obsolete-for-deletion):
8092 Use package-menu-get-status instead of a regexp search.
25322144
CY
8093 (package-menu-get-status): Use tabulated-list-entry.
8094 (package-menu-mark-upgrades): New command.
d770725a 8095 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8096 (package-menu-execute): Do installation before deletion.
8097 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8098 instead of checking major-mode.
8099 (package-menu--find-upgrades): New function.
8100
7520339c
LMI
81012011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8102
8103 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8104 passwords in the log buffer.
65a046c4
LMI
8105 (smtpmail-process-filter): Update the process marker so that the
8106 "broken by peer" status message is inserted in the right place.
7520339c 8107
d3c30954
SM
81082011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8109
3fe48822
SM
8110 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8111 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8112 bibtex-completion-at-point-function.
8113 (bibtex-completion-at-point-function): Use them.
8114
1b8b3954
SM
8115 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8116
d3c30954
SM
8117 * mpc.el (mpc-constraints-tag-lookup): New function.
8118 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8119 also to browser "album|playlist".
8120
72779976
JL
81212011-09-14 Juri Linkov <juri@jurta.org>
8122
8123 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8124 (isearch-edit-string): Use length of `isearch-string' when
8125 `isearch-fail-pos' returns nil.
8126 (isearch-message): Remove duplicate code and call
8127 `isearch-fail-pos' with arg `t'.
8128
a0bf2bcd
CY
81292011-09-14 Chong Yidong <cyd@stupidchicken.com>
8130
17bb0a2d
CY
8131 * replace.el (occur-mode-goto-occurrence): Don't force using other
8132 window (Bug#9499).
8133
a0bf2bcd
CY
8134 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8135
f678e0b6
MR
81362011-09-14 Martin Rudalics <rudalics@gmx.at>
8137
8138 * window.el (display-buffer-window): Remove.
8139 (display-buffer-record-window): Use help-setup window parameter
8140 instead of variable display-buffer-window.
8141 (display-buffer-function, special-display-buffer-names)
8142 (special-display-function): Mention help-setup parameter instead
8143 of display-buffer-window in doc-string.
d3c30954
SM
8144 * help.el (help-window-setup): New argument help-window.
8145 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8146 Reword some messages.
8147 (with-help-window): Pass window used for displaying the buffer
8148 to help-window-setup. Don't set display-buffer-window.
8149
8e39b2e8
GM
81502011-09-13 Glenn Morris <rgm@gnu.org>
8151
8152 * emacs-lisp/debug.el (debugger-make-xrefs):
8153 Preserve point. (Bug#9462)
8154
85e9c04b
CY
81552011-09-13 Chong Yidong <cyd@stupidchicken.com>
8156
8157 * window.el (window-deletable-p): Use next-frame.
8158
1b36ed6a
MR
81592011-09-13 Martin Rudalics <rudalics@gmx.at>
8160
8161 * window.el (window-auto-delete): Remove.
8162 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8163 dedication and previous buffers.
1b36ed6a
MR
8164 (switch-to-prev-buffer): Don't delete window.
8165 (delete-windows-on): Delete a window's frame if and only if the
8166 window is dedicated.
8167 (replace-buffer-in-windows): Delete buffer's window or frame if
8168 and only if window is dedicated.
8169 (quit-window): Handle quit-restore as before last change.
4d61f28d 8170 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8171
ef8ef9fb
CY
81722011-09-13 Chong Yidong <cyd@stupidchicken.com>
8173
8174 * window.el (window-deletable-p): Never delete the last frame on a
8175 given terminal.
8176
b2cba41e
GM
81772011-09-13 Glenn Morris <rgm@gnu.org>
8178
8179 * help.el (describe-key-briefly): Copy previous standard-output change.
8180
51553db6 81812011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8182
8183 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8184
b7556719
GM
81852011-09-13 Glenn Morris <rgm@gnu.org>
8186
8187 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8188 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8189
64b51947
CY
81902011-09-12 Chong Yidong <cyd@stupidchicken.com>
8191
8192 * dired-aux.el (dired-mark-read-string): Don't return default
8193 value on empty input (Bug#9361).
8194 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8195 Omit initial minibuffer contents.
8196 (dired-do-chmod): Signal an error on empty input.
8197 (dired-mark-read-string): Don't return default on empty input.
8198
8199 * files.el (file-modes-symbolic-to-number): Doc fix.
8200
393a301e
SM
82012011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * international/mule-cmds.el (ucs-completions): Remove.
8204 (read-char-by-name): Use complete-with-action instead; add metadata.
8205
fa5660f9
CY
82062011-09-11 Chong Yidong <cyd@stupidchicken.com>
8207
8208 * window.el (display-buffer--action-function-custom-type)
8209 (display-buffer--action-custom-type): New vars.
8210 (display-buffer-alist, display-buffer-default-action)
8211 (display-buffer-overriding-action): Add defcustom types.
8212
4a592f66
CY
8213 * frame.el (delete-other-frames): Doc fix (Bug#276).
8214
73d56dbd
LMI
82152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8216
8217 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8218
37ac18a3
CY
82192011-09-11 Chong Yidong <cyd@stupidchicken.com>
8220
8221 Change modes that used same-window-* vars to use switch-to-buffer.
8222
8223 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8224 Use switch-to-buffer.
8225
8226 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8227 (customize-browse, custom-buffer-create-other-window):
8228 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8229
8230 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8231 (Info-prev, Info-up, Info-speedbar-goto-node)
8232 (info-display-manual): Use switch-to-buffer.
8233 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8234
8235 * mail/sendmail.el (mail): Use switch-to-buffer.
8236 (mail-recover): Use switch-to-buffer-other-window.
8237
8238 * cmuscheme.el (run-scheme, switch-to-scheme):
8239 * ielm.el (ielm):
8240 * shell.el (shell):
8241 * net/rlogin.el (rlogin):
8242 * net/telnet.el (telnet, rsh):
8243 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8244
10195bd6
AS
82452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8246
8247 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8248
b322f63a
LMI
82492011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8250
39d7fed6
LMI
8251 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8252 so don't mention it (bug#9301).
ba5a81f1 8253 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8254
ee0e9f11
LMI
8255 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8256 match `x', `w32' and `ns', like the manual says (bug#9029).
8257
0b1c89c1 8258 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8259 (process-kill-buffer-query-function): Mention the buffer name in
8260 the query.
0b1c89c1 8261
77549ea8
LMI
8262 * image-mode.el (image-next-line): The line parameter is mandatory
8263 (bug#9258).
8264
803ef892
LMI
8265 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8266 which can be useful (bug#9301).
8267
12980837
LMI
8268 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8269
91054f8f
LMI
8270 * subr.el (match-string): Mention that the current buffer should
8271 be the same as the search was done in (bug#9282).
8272
b322f63a
LMI
8273 * facemenu.el: Disable the remove-* commands if the mark isn't
8274 active (bug#9162).
8275
3199b96f
CY
82762011-09-10 Chong Yidong <cyd@stupidchicken.com>
8277
8278 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8279 of display-buffer.
8280 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8281
8282 * replace.el (occur-mode-goto-occurrence)
8283 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8284 and display-buffer.
8285
8286 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8287 display-buffer.
8288
8289 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8290 special-display and same-window variables.
8291 (mail-other-window): Use switch-to-buffer-other-window.
8292 (mail-other-frame): USe switch-to-buffer-other-frame.
8293
393a301e
SM
8294 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8295 Use display-buffer-other-frame.
3199b96f
CY
8296 (gdb-display-gdb-buffer): Use pop-to-buffer.
8297
8298 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8299
8300 * progmodes/python.el: Don't set same-window-buffer-names.
8301
8302 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8303
8304 * window.el (display-buffer-alist): Add *Python*.
8305
8319e0bf
CY
83062011-09-10 Chong Yidong <cyd@stupidchicken.com>
8307
8308 * window.el (display-buffer-alist): Add entry for buffers
8309 previously handled same-window-*.
8310 (display-buffer-alist, display-buffer-default-action)
8311 (display-buffer-overriding-action): Mark as risky.
8312 (display-buffer-alist): Document action function changes.
8313 (display-buffer--same-window-action)
8314 (display-buffer--other-frame-action): New variables.
8315 (switch-to-buffer, display-buffer-other-frame): Use them.
8316 (display-buffer): Rename reuse-frame entry to reusable-frames.
8317 (display-buffer-reuse-selected-window): Function deleted.
8318 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8319 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8320 (display-buffer-special): New function.
8321 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8322 display-buffer-reuse-or-pop-window. Split off special-display
8323 part into display-buffer-special.
8324 (display-buffer-use-some-window): Don't perform any special
8325 pop-up-frames handling.
8326 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8327 (display-buffer--maybe-same-window): Rename from
0d3ff375 8328 display-buffer-maybe-same-window.
8319e0bf 8329
919a69aa
CY
8330 * info.el: Don't set same-window-regexps.
8331 (info-setup): New function.
8332 (info-other-window, info): Call it.
8333
8334 * cus-edit.el: Don't set same-window-regexps.
8335 (customize-group): New argument.
8336 (customize-group-other-window): Use it.
8337 (customize-face, customize-face-other-window): Likewise.
8338 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8339
8319e0bf
CY
8340 * net/rlogin.el:
8341 * net/telnet.el:
8342 * progmodes/gud.el: Don't set same-window-regexps.
8343
8344 * cmuscheme.el:
8345 * ielm.el:
8346 * shell.el:
8347 * mail/sendmail.el:
8348 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8349
25173000
JL
83502011-09-10 Juri Linkov <juri@jurta.org>
8351
8352 * isearch.el (isearch-edit-string): Remove obsolete mention of
8353 `C-w' (`isearch-yank-word-or-char') from docstring.
8354 (isearch-query-replace): Fix typo in docstring (bug#9466).
8355
056e44ef
JL
83562011-09-10 Juri Linkov <juri@jurta.org>
8357
8358 * paren.el (show-paren-function): Don't show escaped parens.
8359 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8360
c3760c17
EZ
83612011-09-10 Eli Zaretskii <eliz@gnu.org>
8362
8363 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8364 (mm-default-file-encoding): Remove autoload forms, they are
8365 replaced with autoload cookies in mml.el and mm-encode.el.
8366 (mail-add-attachment): New command.
8367 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8368 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8369 the doc string.
8370 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8371
fece895e
RT
83722011-09-10 Reuben Thomas <rrt@sc3d.org>
8373
e69df516
SM
8374 * simple.el (count-words-region): Use buffer if there's no region
8375 (bug#9429).
fece895e 8376
5e68ce4a
JL
83772011-09-09 Juri Linkov <juri@jurta.org>
8378
8379 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8380 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8381 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8382
0a6b9622
AM
83832011-09-09 Alan Mackenzie <acm@muc.de>
8384
8385 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8386 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8387
14a29deb
EZ
83882011-09-09 Eli Zaretskii <eliz@gnu.org>
8389
8390 Fix for Savannah bug#9392.
8391 * simple.el (mail-encode-mml): New defvar.
8392
8393 * mail/rmail.el (mail-encode-mml): Add a defvar.
8394 (rmail-enable-mime-composing): Default to t.
8395 (rmail-forward): Use MIME method of forwarding only if both
8396 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8397 Set mail-encode-mml non-nil if the MIME method was used.
8398
8399 * mail/sendmail.el (mml-to-mime): Add autoload form.
8400 (mail-encode-mml): Add a defvar.
8401 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8402 to nil.
8403 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8404 message through mml-to-mime, and reset mail-encode-mml to nil.
8405
28c45130
GM
84062011-09-09 Glenn Morris <rgm@gnu.org>
8407
8408 * woman.el (woman-if-body): When processing an .el block,
8409 do not delete the next .el block as well. (Bug#9447)
69f4b618 8410 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8411
9b1c252e
MR
84122011-09-08 Martin Rudalics <rudalics@gmx.at>
8413
8414 * window.el (window-deletable-p): Make sure window is live before
8415 invoking window-prev-buffers.
8416
567457e3
LL
84172011-09-08 Leo Liu <sdl.web@gmail.com>
8418
8419 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8420
97f05794
JL
84212011-09-08 Juri Linkov <juri@jurta.org>
8422
8423 * progmodes/compile.el (compilation-environment): Make it
8424 a defcustom (bug#8340).
8425
8b0874b5
MR
84262011-09-08 Martin Rudalics <rudalics@gmx.at>
8427
8428 * window.el (frame-auto-delete): Rename to window-auto-delete.
8429 Make it control auto-deletion of windows and/or frames.
8430 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8431 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8432 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8433 Rewrite handling of case when window/frame can be deleted.
8434 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8435 argument t. (Bug#9456)
8b0874b5 8436
4feb6e73
CY
84372011-09-07 Chong Yidong <cyd@stupidchicken.com>
8438
8439 * help-mode.el (help-mode): Restore autoload.
8440
91ab9c13
JL
84412011-09-07 Juri Linkov <juri@jurta.org>
8442
8443 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8444 `compilation-environment'. Set buffer-local
8445 `compilation-environment' to `thisenv' later after (funcall mode).
8446 (Bug#8340)
8447
8448 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8449 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8450 instead of replacing its value. (Bug#8340)
8451
0527e251
JL
84522011-09-07 Juri Linkov <juri@jurta.org>
8453
8454 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8455 based on text properties put by `grep-filter' instead of matching
8456 escape sequences.
8457 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8458 to the value of `grep-error-screen-columns' (bug#9438).
8459
249f792c
JL
84602011-09-07 Juri Linkov <juri@jurta.org>
8461
8462 * simple.el (next-error-highlight, next-error-highlight-no-select):
8463 Doc fix (bug#9432).
8464
ff7271b9
OT
84652011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8466
8467 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8468 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8469
183fc730
LL
84702011-09-07 Leo Liu <sdl.web@gmail.com>
8471
8472 * net/rcirc.el (rcirc-mode): Conditionally initialize
8473 rcirc-input-ring.
8474
77694924
SM
84752011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8476
8477 * emacs-lisp/find-func.el (find-function-C-source): Only set
8478 find-function-C-source-directory after checking that we found a source
8479 file there (bug#9440).
8480
d809b8eb
AM
84812011-09-06 Alan Mackenzie <acm@muc.de>
8482
8483 * isearch.el (isearch-other-meta-char): Wherever a key list is
8484 unread, "unread" the prefix arg, too. This fixes bug #8901.
8485
453de99f
OG
84862011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8487
8488 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8489
90439906
JL
84902011-09-05 Juri Linkov <juri@jurta.org>
8491
8492 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8493
f62bd846
JL
84942011-09-05 Juri Linkov <juri@jurta.org>
8495
8496 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8497 keeping point where processing of grep matches begins, and
8498 continue to delete remaining escape sequences from the same point.
8499 (grep-filter): Make leading zero optional in "0?1;31m" because
8500 git-grep emits "\033[1;31m" escape sequences unlike expected
8501 "\033[01;31m" as GNU Grep does (bug#9408).
8502 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8503
045820ec
JL
85042011-09-05 Juri Linkov <juri@jurta.org>
8505
8506 * subr.el (y-or-n-p): Capitalize "yes".
8507
f5e29b9b
MA
85082011-09-04 Michael Albinus <michael.albinus@gmx.de>
8509
8510 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8511 `tramp-cache-unload-hook' where appropriate.
8512 (tramp-methods): Rename `tramp-remote-sh' to
8513 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8514 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8515
8516 * net/tramp-sh.el (top): Don't require 'shell.
8517 (tramp-methods): Add `tramp-remote-shell' and
8518 `tramp-remote-shell-args' entries.
8519 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8520 (tramp-sh-handle-shell-command): Remove.
8521 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8522 Use `tramp-remote-shell'.
8523
2784c434
CY
85242011-09-03 Chong Yidong <cyd@stupidchicken.com>
8525
393a301e 8526 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8527 (sendmail-query-once): Save directly to send-mail-function.
8528 Update message-send-mail-function too.
8529
8530 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8531
464cdf56
CS
85322011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8533
8534 * progmodes/python.el (python-mode-map): Use correct function to
8535 start python interpreter from menu-bar (as reported by Geert
8536 Kloosterman).
8537 (inferior-python-mode-map): Fix typo.
393a301e 8538 (python-shell-map): Remove.
464cdf56 8539
d37e5c87
DD
85402011-09-03 Deniz Dogan <deniz@dogan.se>
8541
8542 * net/rcirc.el (rcirc-print): Simplify code for
8543 rcirc-scroll-show-maximum-output. There is no need to walk
8544 through all windows to find the right one.
8545
f3ada0ee
CS
85462011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8547
8548 * help.el (help-return-method): Doc fix.
8549
1f3c99ca
MR
85502011-09-03 Martin Rudalics <rudalics@gmx.at>
8551
8552 * window.el (window-deletable-p): Don't return a non-nil value
8553 when there's a buffer that was shown in the window before.
8554 (Bug#9419)
393a301e
SM
8555 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8556 Set window's previous buffers to nil.
1f3c99ca 8557
a3cf097f
EZ
85582011-09-03 Eli Zaretskii <eliz@gnu.org>
8559
8560 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8561 newline before and after the tag line, so it doesn't interfere
8562 with determining the paragraph direction of bidirectional text.
8563
3d03de90
LL
85642011-09-03 Leo Liu <sdl.web@gmail.com>
8565
8566 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8567
c3313451
CY
85682011-09-02 Chong Yidong <cyd@stupidchicken.com>
8569
393a301e 8570 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8571 (pop-to-buffer): Change interactive spec. Pass second argument
8572 directly to display-buffer.
8573 (display-buffer): Fix interactive spec. Use functionp to
8574 distinguish between a function and a list of functions.
8575
8576 * abbrev.el (edit-abbrevs):
8577 * arc-mode.el (archive-extract):
8578 * autoinsert.el (auto-insert):
8579 * bookmark.el (bookmark-bmenu-list):
8580 * files.el (find-file):
8581 * view.el (view-buffer):
8582 * progmodes/compile.el (compilation-goto-locus):
8583 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8584
89894cd8
CY
85852011-09-02 Chong Yidong <cyd@stupidchicken.com>
8586
8587 * window.el (display-buffer-alist): Doc fix.
8588 (display-buffer): Add docstring. Don't treat
8589 display-buffer-default specially.
8590 (display-buffer-reuse-selected-window)
8591 (display-buffer-same-window, display-buffer-maybe-same-window)
8592 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8593 (display-buffer-pop-up-window)
8594 (display-buffer-reuse-or-pop-window)
8595 (display-buffer-use-some-window): New functions.
8596 (display-buffer-default-action): Use them.
393a301e 8597 (display-buffer-default): Delete.
89894cd8
CY
8598 (pop-to-buffer-1): Fix choice of actions.
8599
ae0bc9fb
SM
86002011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * minibuffer.el (completion--insert-strings): Don't get confused by
8603 completion entries that end with an LF char.
8604
e9d90883
EZ
86052011-09-01 Eli Zaretskii <eliz@gnu.org>
8606
8607 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8608
437014c8
CY
86092011-09-01 Chong Yidong <cyd@stupidchicken.com>
8610
8611 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8612 (display-buffer-same-window, display-buffer-other-window):
8613 New functions.
437014c8
CY
8614 (pop-to-buffer-1): New function. Use the above.
8615 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8616 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8617
8618 * view.el (view-buffer-other-window, view-buffer-other-frame):
8619 Just use pop-to-buffer.
8620
a5e063d5
TV
86212011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8622
8623 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8624
793d32bb
WH
86252011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8626
8627 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8628
d65e4c15
RS
86292011-08-31 Richard Stallman <rms@gnu.org>
8630
8631 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8632 of the separation of rmail-view-buffer from rmail-buffer.
8633 If you say no to "replace original", the decrypt is in the
8634 view buffer. If you say yes, the decrypt goes into the
8635 rmail buffer also.
8636
f818cd2a
MR
86372011-08-31 Martin Rudalics <rudalics@gmx.at>
8638
8639 * window.el (display-buffer-window): Rewrite doc-string.
8640 (display-buffer-record-window): New function.
8641 (display-buffer-macro-specifiers)
8642 (display-buffer-even-window-sizes, display-buffer-set-height)
8643 (display-buffer-set-width, display-buffer-in-window)
8644 (display-buffer-reuse-window, display-buffer-split-specifiers)
8645 (display-buffer-side-specifiers, display-buffer-split-window-1)
8646 (display-buffer-split-window, display-buffer-split-atom-window)
8647 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8648 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8649 (display-buffer-other-window-means-other-frame)
8650 (display-buffer-normalize-special)
8651 (display-buffer-normalize-default)
8652 (display-buffer-normalize-argument)
8653 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8654 (display-buffer-normalize-specifiers, display-buffer-frame)
8655 (display-buffer-same-window, display-buffer-same-frame)
8656 (display-buffer-other-window)
8657 (display-buffer-same-frame-other-window)
8658 (display-buffer-other-frame, pop-to-buffer-same-window)
8659 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8660 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8661 (switch-to-buffer-same-frame)
8662 (switch-to-buffer-other-window-same-frame)
8663 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8664 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8665 (display-buffer-alist-set): Remove.
8666 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8667 (special-display-regexps, special-display-function):
8668 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8669 parameter.
8670 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8671 (special-display-frame-alist, special-display-popup-frame)
8672 (same-window-buffer-names, same-window-regexps, same-window-p)
8673 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8674 (split-window-preferred-function, split-height-threshold)
8675 (split-width-threshold, window-splittable-p)
8676 (split-window-sensibly, window--try-to-split-window)
8677 (window--frame-usable-p, even-window-heights)
8678 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8679 (window--display-buffer-2, display-buffer-other-frame):
8680 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8681 (display-buffer-default, display-buffer-assq-regexp): New functions.
8682 (display-buffer-alist): Rewrite doc-string.
8683 (display-buffer-default-action)
8684 (display-buffer-overriding-action): New variables.
8685 (display-buffer, switch-to-buffer): Rewrite.
8686 (pop-to-buffer): Restore Emacs 23 behavior but use
8687 window-normalize-buffer-to-display.
8688 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8689 Restore Emacs 23 behavior but use
8690 window-normalize-buffer-to-switch-to.
8691 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8692 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8693 Rewrite using Emacs 23 options.
f818cd2a 8694
5bc3b51d
MA
86952011-08-31 Michael Albinus <michael.albinus@gmx.de>
8696
8697 * net/tramp.el (tramp-root-regexp): Remove.
8698 (tramp-completion-file-name-regexp-unified)
8699 (tramp-completion-file-name-regexp-separate)
8700 (tramp-completion-file-name-regexp-url): Don't use leading volume
8701 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8702 (tramp-drop-volume-letter): Simplify definition.
8703 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8704
b1a4f8e1
SM
87052011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8708 (bug#9356).
8709
5664fa7b
RT
87102011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8711
b1a4f8e1 8712 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8713
9a45d6c3
JL
87142011-08-29 Juri Linkov <juri@jurta.org>
8715
8716 * isearch.el (isearch-done): Don't display message "Mark saved"
8717 when arg `edit' is non-nil to prevent its flicker in the echo area.
8718
fb87e0fb
CY
87192011-08-28 Chong Yidong <cyd@stupidchicken.com>
8720
8721 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8722 obsolete packages for deletion.
8723
09ac1c2a
CS
87242011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8725
8726 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8727 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8728 view-mode from help-mode.
8729 (help-xref-override-view-map): Remove.
8730 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8731 view-mode is not used anymore.
8732
7a1ff57f
CY
87332011-08-28 Chong Yidong <cyd@stupidchicken.com>
8734
8735 * server.el (server-port): Doc fix.
8736
b9696605
CY
8737 * cus-theme.el (custom-theme-choose-mode): Inherit from
8738 special-mode (Bug#9124).
8739 (custom-theme-choose-mode-map): Add special-mode to parent.
8740
ef8cdf8c
AM
87412011-08-28 Alan Mackenzie <acm@muc.de>
8742
8743 * progmodes/cc-fonts.el
8744 (c-make-font-lock-BO-decl-search-function): New function.
8745 (c-basic-matchers-after - "Fontify the clauses after various
8746 keywords"): Extract the three keyword lists for the 3 erroneous
8747 constructs from the list of four, and use the new function above
8748 in place of an old one.
8749
27de4e20
DD
87502011-08-28 Deniz Dogan <deniz@dogan.se>
8751
8752 * net/rcirc.el (rcirc-insert-prev-input)
8753 (rcirc-insert-next-input): Remove unused argument.
8754
356a3681
SM
87552011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8756
8757 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8758
3fc9b218
AM
87592011-08-27 Alan Mackenzie <acm@muc.de>
8760
8761 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8762 handle function pointer parameters properly.
8763
538a061c
MR
87642011-08-27 Martin Rudalics <rudalics@gmx.at>
8765
8766 * window.el (display-buffer-reuse-window): Fix case where
8767 selected window was reused with non-nil OTHER-WINDOW argument.
8768 (Bug#9381)
8769
35b1c40c
DD
87702011-08-27 Deniz Dogan <deniz@dogan.se>
8771
8772 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8773 oftc's NickServ messages.
8774
2f6a3e79
GM
87752011-08-27 Glenn Morris <rgm@gnu.org>
8776
8777 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8778
7254299e
CY
87792011-08-26 Chong Yidong <cyd@stupidchicken.com>
8780
8781 * emacs-lisp/package.el (package-install): Call package-initialize
8782 if called interactively.
8783
f8ccf167
LL
87842011-08-26 Leo Liu <sdl.web@gmail.com>
8785
8786 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8787
3e8cd5ce
JL
87882011-08-25 Juri Linkov <juri@jurta.org>
8789
8790 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8791 `search-whitespace-regexp' (bug#9364).
8792
93eb7113
JL
87932011-08-25 Juri Linkov <juri@jurta.org>
8794
8795 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8796 `regexp-search-ring' to their global values to protect from
8797 updating by `read-from-minibuffer' (bug#9185).
8798
f65d1611
JL
87992011-08-25 Juri Linkov <juri@jurta.org>
8800
8801 * textmodes/ispell.el (ispell-command-loop): Add newline
8802 at the end of the "Use option `i'..." line.
8803
f1cf7a31
JL
88042011-08-25 Juri Linkov <juri@jurta.org>
8805
8806 * battery.el (display-battery-mode): If `battery-status-function'
8807 or `battery-mode-line-format' is nil, display the message and set
8808 `display-battery-mode' to nil (bug#9363).
8809
0c95fcf7
EZ
88102011-08-25 Eli Zaretskii <eliz@gnu.org>
8811
8812 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8813 bidi-string-mark-left-to-right; they are unnecessary now.
8814
a2ebe600
DD
88152011-08-25 Deniz Dogan <deniz@dogan.se>
8816
8817 * net/quickurl.el: Documentation typo fixes.
8818
e4ed06f1
CY
88192011-08-25 Chong Yidong <cyd@stupidchicken.com>
8820
8821 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8822
e5f1c99e
GM
88232011-08-25 Glenn Morris <rgm@gnu.org>
8824
b2948976
GM
8825 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8826
e5f1c99e
GM
8827 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8828 (smtpmail-via-smtp): Handle nil response from smtp.
8829
f22f4808
JL
88302011-08-24 Juri Linkov <juri@jurta.org>
8831
8832 * proced.el (proced-marked): Inherit from `error' instead of
8833 `font-lock-warning-face'.
8834
8835 * ibuffer.el (ibuffer-marked-face): Change default face from
8836 `font-lock-warning-face' to `warning'.
8837 (ibuffer-deletion-face): Change default face from
8838 `font-lock-type-face' to `error'.
8839
8840 * battery.el (battery-update): Use the face `error' instead of
8841 `font-lock-warning-face' (bug#6117).
8842
6a93965e
JL
88432011-08-24 Juri Linkov <juri@jurta.org>
8844
8845 * faces.el (success): Change face color from "Green3" to
8846 "ForestGreen" on light background (bug#9353).
8847
1ed43b09
CY
88482011-08-24 Chong Yidong <cyd@stupidchicken.com>
8849
5664fa7b
RT
8850 * window.el (quit-window): Rename from quit-restore-window.
8851 Use same arglist as old quit-window.
1ed43b09
CY
8852 (frame-auto-delete): Doc fix.
8853
8854 * view.el (view-mode-exit): Use quit-window.
8855
11dcdbb2
JL
88562011-08-24 Juri Linkov <juri@jurta.org>
8857
8858 * isearch.el (isearch-ring-adjust1): Start visiting previous
8859 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8860 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8861 for empty search string (when the last search string is reused
8862 automatically) to adjust the isearch ring to the last element and
8863 prepare the correct index for further M-p commands (bug#9185).
8864
de62b4df
KH
88652011-08-24 Kenichi Handa <handa@m17n.org>
8866
8867 * international/ucs-normalize.el: If decomposition property of
8868 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8869 nil.
8870 (nfd, nfkd): Likewise.
8871
963b492b
SM
88722011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8875 from process filters aren't reliably transmitted to the surrounding
8876 accept-process-output.
8877 (mpc-proc-check): New function.
8878 (mpc-proc-sync): Use it (bug#8293)
8879
93b6b5e1
SM
88802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8881
8882 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8883 Add compatibility functions (bug#9313).
8884
bca633fb
EZ
88852011-08-23 Eli Zaretskii <eliz@gnu.org>
8886
b177498a
EZ
8887 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8888
6df6ae42 8889 * international/uni-bidi.el: Regenerate.
bca633fb 8890
0902a04e
KH
88912011-08-23 Kenichi Handa <handa@m17n.org>
8892
8893 * international/charprop.el:
8894 * international/uni-bidi.el:
8895 * international/uni-category.el:
8896 * international/uni-combining.el:
8897 * international/uni-comment.el:
8898 * international/uni-decimal.el:
8899 * international/uni-decomposition.el:
8900 * international/uni-digit.el:
8901 * international/uni-lowercase.el:
8902 * international/uni-mirrored.el:
8903 * international/uni-name.el:
8904 * international/uni-numeric.el:
8905 * international/uni-old-name.el:
8906 * international/uni-titlecase.el:
8907 * international/uni-uppercase.el: Regenerate.
8908
3bbf23bc
MR
89092011-08-23 Martin Rudalics <rudalics@gmx.at>
8910
8911 * help.el (help-window-setup): Fix message displayed when other
8912 window is reused. (Bug#9341)
8913
b3fd59bd
SM
89142011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8915
1802e444
SM
8916 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8917 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8918
b3fd59bd
SM
8919 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8920 Mark obsolete.
8921 * shell.el (shell-parse-pcomplete-arguments): New function.
8922 (shell-completion-vars): Use it instead (bug#9160).
8923
4eb61348
SM
89242011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8925
867cab74
SM
8926 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8927 strings and comments (bug#9333).
8928
4eb61348
SM
8929 * emacs-lisp/debug.el (debug-arglist): New function.
8930 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8931 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8932
262a1439
JL
89332011-08-22 Juri Linkov <juri@jurta.org>
8934
56ee679c
JL
8935 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8936 Revert regexp that highlights output switches to its old
8937 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8938
262a1439
JL
8939 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8940 to check for empty output (bug#9226).
8941
f13f86fb
CY
89422011-08-22 Chong Yidong <cyd@stupidchicken.com>
8943
8944 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8945 symbol-constituent as the default, as that stops font-lock from
8946 working properly (Bug#8843).
8947
c65c9622
LMI
89482011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8949
8950 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8951 `coding-system-for-*' around the process open call to avoid
8952 auth-source side effects.
e7f2c178 8953 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8954 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8955 probe hangs.
c65c9622 8956
23a8a5ab
CY
89572011-08-21 Chong Yidong <cyd@stupidchicken.com>
8958
ff98b2dd
CY
8959 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8960
23a8a5ab
CY
8961 * emacs-lisp/find-func.el (find-function-noselect): New arg
8962 lisp-only.
8963
8964 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8965 signal an error for built-in functions (Bug#6664).
8966
f5e3c598
LMI
89672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8968
8969 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8970 (smtpmail-try-auth-methods): Use it.
8971
a3f2468a
CY
89722011-08-21 Chong Yidong <cyd@stupidchicken.com>
8973
2c34e8da
CY
8974 * font-lock.el (font-lock-fontify-region)
8975 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8976 (font-lock-default-unfontify-buffer)
8977 (font-lock-default-fontify-region)
8978 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8979
b3fd59bd
SM
8980 * progmodes/compile.el (compilation-error-properties):
8981 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8982 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8983 `ant' regexp.
ee31aabc 8984
a3f2468a
CY
8985 * net/browse-url.el (browse-url-firefox): Don't call
8986 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8987
8e999f70
GM
89882011-08-20 Glenn Morris <rgm@gnu.org>
8989
c21a496a
GM
8990 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8991
59ee0542
GM
8992 * tutorial.el (tutorial--default-keys): Update some default bindings.
8993
8e999f70
GM
8994 * files.el (hack-local-variables): Fully ignore case for "mode:".
8995
e3715033
AM
89962011-08-20 Alan Mackenzie <acm@muc.de>
8997
8998 Resolve invalid use of a regexp in regexp-opt.
8999
4d61f28d
JB
9000 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9001 detection for a java annotation.
e3715033 9002
4d61f28d 9003 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9004 detection for a java annotation.
9005
4d61f28d
JB
9006 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9007 handling for java.
e3715033
AM
9008 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9009
04ed2e9c
CY
90102011-08-20 Chong Yidong <cyd@stupidchicken.com>
9011
9012 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9013 (Bug#9274).
9014
826cee64
AM
90152011-08-20 Alan Mackenzie <acm@muc.de>
9016
58179cce 9017 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9018 such a construct. Mainly for when jit-lock etc. starts a chunk
9019 here.
9020
58179cce 9021 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9022 variable.
58179cce 9023 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9024 c-make-font-lock-search-function.
9025 (c-make-font-lock-search-function): Use the above function.
9026 (c-make-font-lock-context-search-function): New function.
9027 (c-cpp-matchers): Enhance the preprocessor expression case with
9028 the above function
9029 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9030 which takes an expression.
9031
9032 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9033
13009bd8
MR
90342011-08-20 Martin Rudalics <rudalics@gmx.at>
9035
9036 * window.el (display-buffer-reuse-window)
9037 (display-buffer-pop-up-window): Don't reuse or split a side
9038 window.
9039
9234ff7f
GM
90402011-08-19 Glenn Morris <rgm@gnu.org>
9041
9042 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9043 Downcase "Mode:". (Bug#9331)
9234ff7f 9044
f635daa1
CY
90452011-08-18 Chong Yidong <cyd@stupidchicken.com>
9046
9047 * international/characters.el: Add L and R categories.
9048
9049 * subr.el (bidi-string-mark-left-to-right): Rename from
9050 string-mark-left-to-right. Use category search.
9051
9052 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9053
bc987f8b
JL
90542011-08-18 Juri Linkov <juri@jurta.org>
9055
9056 * faces.el (error, warning, success): New faces with definitions
9057 copied from old default values of `font-lock-warning-face',
9058 `compilation-warning', `compilation-info' (bug#6117).
9059
9060 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9061
9062 * progmodes/compile.el (compilation-error): Inherit from `error'.
9063 (compilation-warning): Inherit from `warning'.
9064 (compilation-info): Inherit from `success'.
9065
9066 * dired.el (dired-marked): Inherit from `warning'.
9067 (dired-flagged): Inherit from `error'.
9068
57173b96
LMI
90692011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9070
3e79eb87
LMI
9071 * mail/smtpmail.el (auth-source): Require to avoid problems with
9072 binding variables (bug#9298). Also clean up some unused
9073 autoloads.
9074
b3fd59bd
SM
9075 * net/network-stream.el (network-stream-open-starttls):
9076 Support using starttls.el without using gnutls-cli.
57173b96 9077
02b404de
JL
90782011-08-17 Juri Linkov <juri@jurta.org>
9079
9080 * progmodes/grep.el (rgrep): Handle the case when
9081 `grep-find-command' is a cons cell (bug#9278).
9082
8c9177f2
MR
90832011-08-17 Martin Rudalics <rudalics@gmx.at>
9084
9085 * window.el (display-buffer-pop-up-frame): Run frame creation
9086 function with BUFFER current (as special-display-popup-frame
9087 does). Reported by Drew Adams.
9088
3644a0ab
DU
90892011-08-17 Daiki Ueno <ueno@unixuser.org>
9090
9091 * epa-mail.el: Simplify GnuPG group expansion using
9092 epg-expand-group.
9093 (epa-mail-group-alist, epa-mail-group-modtime)
9094 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9095 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9096 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9097 Remove.
9098
5e617bc2 90992011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9100
9101 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9102
9c4aeabf
AM
91032011-08-16 Alan Mackenzie <acm@muc.de>
9104
9105 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9106 Correct, to avoid the inside of macros.
9107
3a99bf64
RS
91082011-08-16 Richard Stallman <rms@gnu.org>
9109
04963aa8
RS
9110 * epa-mail.el: Handle GnuPG group definitions.
9111 (epa-mail-group-alist, epa-mail-group-modtime)
9112 (epa-mail-gnupg-conf-file): New variables.
9113 (epa-mail-parse-groups, epa-mail-sync-groups)
9114 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9115 (epa-mail-expand-recipients): New functions.
9116 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9117
177549d0
RS
9118 * mail/rmail.el (rmail-epa-decrypt): New command.
9119
fe38beef
RS
9120 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9121 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9122 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9123 (epa-decrypt-armor-in-region): Make error message clearer.
9124
934eacb9
SM
91252011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9128 and "a2b" to "ab" for `prefix'.
9129
d024fb4e
CY
91302011-08-14 Chong Yidong <cyd@stupidchicken.com>
9131
9132 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9133 filter groups.
de148fee
CY
9134 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9135 Fourquet (Bug#8804).
d024fb4e 9136
62f1ca49
JB
91372011-08-12 Juanma Barranquero <lekktu@gmail.com>
9138
9139 * startup.el (argi): Declare as global variable (bug#9275).
9140
9ccaaa4b
CY
91412011-08-12 Chong Yidong <cyd@stupidchicken.com>
9142
9143 * subr.el (string-mark-left-to-right): Search the entire string
9144 for RTL script, not just the terminating character. Doc fix.
9145
a3dae87a
SM
91462011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9147
6cd18349
SM
9148 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9149 New function.
9150 (js--regexp-literal, js-syntax-propertize-function): Remove.
9151 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9152 (js-mode-map): Don't rebind electric keys.
9153 (js-insert-and-indent): Remove.
9154 (js-mode): Setup electric-layout and electric-indent instead.
9155
a3dae87a
SM
9156 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9157
9d5cb631
DU
91582011-08-12 Daiki Ueno <ueno@unixuser.org>
9159
9160 * epa.el (epa-progress-callback-function): Fix the logic of
9161 displaying progress.
9162 * epa-file.el (epa-file-insert-file-contents): Make progress
9163 display more user-friendly.
9164 (epa-file-write-region): Ditto.
9165
3e26a4a2
CY
91662011-08-10 Chong Yidong <cyd@stupidchicken.com>
9167
9168 * subr.el (string-mark-left-to-right): New function.
9169
9170 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9171 Use string-mark-left-to-right.
9172 (list-buffers-noselect): Caller changed.
9173
a3dae87a
SM
9174 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9175 Use string-mark-left-to-right.
3e26a4a2
CY
9176 (tabulated-list-print): Recenter after moving point.
9177
ac8cf6e6
JL
91782011-08-10 Juri Linkov <juri@jurta.org>
9179
9180 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9181 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9182 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9183
8d96c9a4
CY
91842011-08-09 Chong Yidong <cyd@stupidchicken.com>
9185
9186 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9187 (Bug#7554).
9188
7be1c708 91892011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9190
9191 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9192 character. (Bug#6594)
9193
37e11a63
CY
91942011-08-08 Chong Yidong <cyd@stupidchicken.com>
9195
839dde57
CY
9196 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9197 (image-dired--with-db-file): New macro.
9198 (image-dired-write-tags, image-dired-remove-tag)
9199 (image-dired-create-gallery-lists, image-dired-write-comments)
9200 (image-dired-get-comment, image-dired-mark-tagged-files)
9201 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9202 (image-dired-gallery-generate): Use insert-file-contents.
9203
37e11a63
CY
9204 * time.el (display-time-world-list, display-time-world-display):
9205 * time-stamp.el (time-stamp-string):
9206 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9207 set-time-zone-rule (Bug#7337).
9208
0b4946c4
DU
92092011-08-08 Daiki Ueno <ueno@unixuser.org>
9210
9211 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9212 (epg-error-to-string, epg-errors-to-string): New function.
9213 (epg-wait-for-completion): Reverse errors list.
9214 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9215 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9216 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9217 (epg-sign-keys, epg-generate-key-from-file)
9218 (epg-generate-key-from-string): Format errors by using
9219 epg-errors-to-string (bug#9255).
9220 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9221
75bfc667
JL
92222011-08-07 Juri Linkov <juri@jurta.org>
9223
9224 * faces.el (list-faces-display): Remove extra angle bracket
9225 from `help-mode-map'.
9226
9227 * info.el (Info-history-toc-nodes): Doc fix.
9228
9229 * longlines.el (longlines-mode): Doc fix.
9230
673e08bb
SM
92312011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9232
4640dd88
SM
9233 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9234 of statements and in a few more cases (bug#9183).
9235
673e08bb
SM
9236 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9237 New functions.
9238 (cl-transform-lambda): Use them (bug#9239).
9239
89b3f019
MR
92402011-08-05 Martin Rudalics <rudalics@gmx.at>
9241
9242 * window.el (display-buffer-same-window)
9243 (display-buffer-same-frame, display-buffer-other-window)
9244 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9245 (pop-to-buffer-other-window)
9246 (pop-to-buffer-same-frame-other-window)
9247 (pop-to-buffer-other-frame): Make them defuns.
9248 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9249
640c8776
SM
92502011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * subr.el (make-composed-keymap): Move from C. Change calling
9253 convention, and improve docstring to bring attention to a subtle point.
9254 * minibuffer.el (completing-read-default): Adjust accordingly.
9255
63648a95
MA
92562011-08-03 Michael Albinus <michael.albinus@gmx.de>
9257
9258 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9259 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9260
9261 * net/trampver.el: Update release number.
9262
b796c9b7
SM
92632011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9264
9265 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9266 "in" (bug#9190).
9267
2239d7d5
LMI
92682011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9269
e07dd7c3
LMI
9270 * mail/sendmail.el (sendmail-query-once): Restore the current
9271 buffer after querying (bug#9074).
9272
0e6a2bd7
LMI
9273 * dired.el (dired-flagged): Use different faces for marked and
9274 flagged files (bug#6117).
9275
ce887515
LMI
9276 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9277 (bug#4433).
9278
92f2affc
LMI
9279 * ido.el (ido-mode): Switch off the message if called
9280 non-interactively.
9281
57d5aff0
LMI
9282 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9283 before 587, since it appears that that's more likely to work for
9284 more people.
9285
98cd6c18 9286 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9287 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9288 exist.
9289
b96dec83
LMI
9290 * info.el: Remove the `Info-beginning-of-buffer' function
9291 (bug#8325).
9292
b796c9b7
SM
9293 * net/network-stream.el (network-stream-open-starttls):
9294 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9295
d90e2ea0
MR
92962011-08-01 Martin Rudalics <rudalics@gmx.at>
9297
9298 * window.el (display-buffer-in-window): Don't set dedicated status
9299 of window here (Bug#9215).
9300 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9301 (display-buffer-pop-up-side-window)
b796c9b7 9302 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9303
cca09170
SM
93042011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9305
9306 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9307 before binding generated-autoload-file.
9308
027b979c
DD
93092011-08-01 Deniz Dogan <deniz@dogan.se>
9310
9311 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9312
3c7ee4f3
MA
93132011-07-30 Michael Albinus <michael.albinus@gmx.de>
9314
9315 Sync with Tramp 2.2.2.
9316
9317 * net/trampver.el: Update release number.
9318
2cc8e51a
JL
93192011-07-30 Juri Linkov <juri@jurta.org>
9320
9321 * dired-aux.el (dired-touch-initial): Remove function.
9322 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9323 current time, and `default' to the last modification time of the
9324 current marked file (bug#6887).
9325
a514d856
JM
93262011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9327
9328 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9329 numeric argument to read-number (bug#9163).
a514d856 9330
8a7eddd7
MA
93312011-07-27 Michael Albinus <michael.albinus@gmx.de>
9332
9333 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9334 connection process, it could be nil.
9335
1ddd96f5
LL
93362011-07-27 Leo Liu <sdl.web@gmail.com>
9337
9338 Simplify url handling in rcirc-mode.
9339
9340 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9341 (rcirc-browse-url-at-mouse): Remove.
9342 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9343
b248a85d
AM
93442011-07-26 Alan Mackenzie <acm@muc.de>
9345
9346 Fontify bitfield declarations properly.
9347
9348 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9349 (c-symbol-chars): Now exported as a lang variable.
9350 (c-not-primitive-type-keywords): New lang variable.
9351
9352 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9353 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9354 parsed as a bitfield declaration.
b248a85d 9355
b796c9b7
SM
9356 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9357 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9358 (c-punctuation-in): New function.
9359 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9360 declarations properly.
9361
68575ab0
UJ
93622011-07-26 Ulf Jasper <ulf.jasper@web.de>
9363
9364 * calendar/icalendar.el (icalendar--all-events): Take care of
9365 multiple vcalendars in a single file.
b796c9b7 9366 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9367
0f0a88b9
DD
93682011-07-25 Deniz Dogan <deniz@dogan.se>
9369
9370 * image.el (insert-image): Clarifying docstring.
9371
0b3f36df
MA
93722011-07-24 Michael Albinus <michael.albinus@gmx.de>
9373
9374 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9375 `tramp-send-command-and-check' if there is no error.
9376 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9377
a9901f61
AM
93782011-07-22 Alan Mackenzie <acm@muc.de>
9379
9380 Prevent cc-langs.elc being loaded at run time.
9381
9382 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9383 cc-langs.
9384
4d61f28d 9385 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9386 "(require 'cc-langs)". Quote a form so it will evaluate at
9387 (cc-mode's) compilation time.
9388
11d074b2
MA
93892011-07-22 Michael Albinus <michael.albinus@gmx.de>
9390
9391 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9392 loading. (Bug#9114)
9393
938b94c8
MR
93942011-07-21 Martin Rudalics <rudalics@gmx.at>
9395
9396 * window.el (display-buffer-pop-up-window)
9397 (display-buffer-pop-up-side-window)
9398 (display-buffer-in-side-window): Call display-buffer-set-height
9399 and display-buffer-set-width after setting the new window's
b796c9b7 9400 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9401
bfa4f190
SS
94022011-07-20 Sam Steingold <sds@gnu.org>
9403
9404 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9405 (etags-tags-included-tables): Call `convert-standard-filename' on
9406 the file names contained in TAGS so that windows Emacs can handle
9407 TAGS files created by cygwin ctags.
9408
8ca42262
LMI
94092011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9410
9411 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9412 which apparently didn't work.
9413
5db2afd2 94142011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9415
5db2afd2
RW
9416 * proced.el (proced-send-signal): For *Marked Processes* buffer
9417 put point at beginning of buffer.
9418
92e15d10
SB
94192011-07-19 Stephen Berman <stephen.berman@gmx.net>
9420
9421 * proced.el (proced-format): Make header lines align with the text
9422 (bug#1779).
9423
1bfd59e5
LMI
94242011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9425
9426 * view.el (view-buffer): Allow running in `special' modes if we're
9427 visiting a file (bug#8615).
9428
f5aae37c
MR
94292011-07-19 Martin Rudalics <rudalics@gmx.at>
9430
9431 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9432 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9433 New functions.
f5aae37c
MR
9434 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9435 more accurately.
9436
bf2c1571
AM
94372011-07-18 Alan Mackenzie <acm@muc.de>
9438
9439 Fontify declarators properly when, e.g., a jit-lock chunk begins
9440 inside a declaration.
9441
9442 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9443
b796c9b7
SM
9444 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9445 New function.
bf2c1571
AM
9446 (c-complex-decl-matchers): Insert reference to
9447 c-font-lock-enclosing-decls.
9448
9449 * progmodes/cc-engine.el (c-backward-single-comment):
9450 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9451 to nil around calls to (forward-comment -1).
9452
4e190b80
LMI
94532011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9454
12dc863d
LMI
9455 * image.el (put-image): Doc typo fix.
9456
a762e966
LMI
9457 * progmodes/etags.el (tags-search): Doc typo fix.
9458
4e190b80
LMI
9459 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9460 password if we get errors 550 to 554.
9461
f019fb21
LMI
94622011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9463
b796c9b7 9464 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9465
81746738
LMI
9466 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9467 indentation character (bug#6380).
9468
3ee3a1b5
LMI
9469 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9470
c82f64de
LMI
9471 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9472 to clarify what the problem is (bug#4291).
9473
f019fb21
LMI
9474 * simple.el (current-kill): Clarify what
9475 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9476 (auto-fill-mode): Document `auto-fill-function' in relation to
9477 `auto-fill-mode' (bug#2470).
f019fb21 9478
0794775d
LM
94792011-07-16 Lawrence Mitchell <wence@gmx.li>
9480
9481 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9482 method if slot is read-only (bug#9035).
9483
be39b8cc
MR
94842011-07-16 Martin Rudalics <rudalics@gmx.at>
9485
b796c9b7 9486 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9487 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9488 selected before, see discussion of (Bug#8615), (Bug#6954).
9489 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9490
6ccf7859
GM
94912011-07-15 Glenn Morris <rgm@gnu.org>
9492
9493 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9494 Respect help-form.
6ccf7859 9495
87e86684
LM
94962011-07-09 Lawrence Mitchell <wence@gmx.li>
9497
9498 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9499 (gnutls-negotiate): Use it.
9500
d6066239
LMI
95012011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9502
b796c9b7
SM
9503 * net/gnutls.el (gnutls-negotiate):
9504 Upcase `gnutls-algorithm-priority'.
d6066239 9505
bd23ebc0
GM
95062011-07-15 Glenn Morris <rgm@gnu.org>
9507
c65bca65
GM
9508 * jka-compr.el (jka-compr-verbose): Move from here...
9509 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9510 Add missing :version tag.
9511 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9512
478615cc
LMI
95132011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9514
7b41decb
LMI
9515 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9516 (gnutls-negotiate): Use it.
9517
dbc44fcd
LMI
9518 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9519
06789f97
LMI
9520 * info.el (Info-beginning-of-buffer): New command.
9521 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9522 announcing `b' as the key (bug#8325).
ab896c37 9523 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9524
c39da690
LMI
9525 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9526
3aa5f34b
LMI
9527 * international/mule-cmds.el
9528 (describe-specified-language-support): Make the error message
9529 clearer (bug#8905).
9530
4bf0979f
LMI
9531 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9532
478615cc
LMI
9533 * isearch.el (isearch-barrier): Add a doc string, since it's
9534 mentioned in a function doc string (bug#8678).
9535
75c68aa1
MR
95362011-07-15 Martin Rudalics <rudalics@gmx.at>
9537
9538 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9539 buffer argument (Bug#9083) and self-identifying label argument.
9540
a7c33da2
GM
95412011-07-15 Glenn Morris <rgm@gnu.org>
9542
9543 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9544
2f5c6024
LMI
95452011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9546
9547 * man.el (Man-fontify-manpage): Fix message when formatting the
9548 man page (bug#7929).
9549
0bb23927 95502011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9551
9552 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9553 argument LRM; if non-nil, append an invisible LRM character to the
9554 buffer name.
9555 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9556 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9557 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9558 paragraph direction.
cce4b0a7 9559
621ef9ab
LMI
95602011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9561
d1583c48
LMI
9562 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9563 the man page name (bug#7929).
9564
6a57fb5f
LMI
9565 * image.el (put-image): Mention the `put-image' overlay property
9566 (bug#7834).
9567
d7956b14
LMI
9568 * scroll-bar.el (set-scroll-bar-mode): Mention that
9569 `scroll-bar-mode' lists the values (bug#7772).
9570
5b2d4a66
LMI
9571 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9572 command (bug#7729).
9573
7509a874
LMI
9574 * rect.el (apply-on-rectangle): Return the point after the last
9575 operation.
9576 (string-rectangle): Go to the point after the last operation
9577 (bug#7522).
9578
4fe74b19
LMI
9579 * printing.el (pr-toggle-region): Clarify the documentation
9580 slightly (bug#7493).
9581
b796c9b7
SM
9582 * time.el (display-time-update):
9583 Allow `display-time-mail-function' to return nil (bug#7158).
9584 Fix suggested by Detlev Zundel.
ab283561 9585
fc233c9d
LMI
9586 * vc/diff.el (diff): Clarify the order the file names are read
9587 (bug#7111).
9588
43f5740b
LMI
9589 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9590 the doc string (bug#7015).
9591
f2182a76
LMI
9592 * font-lock.el (font-lock-maximum-decoration): Mention what
9593 numeric levels mean (bug#6935).
9594
621ef9ab
LMI
9595 * startup.el (initial-buffer-choice): Don't mention the `none'
9596 selection, which is against policy.
9597
adc47434
MR
95982011-07-14 Martin Rudalics <rudalics@gmx.at>
9599
b796c9b7
SM
9600 * window.el (display-buffer-normalize-special):
9601 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9602
7e5bfb8f
EZ
96032011-07-14 Eli Zaretskii <eliz@gnu.org>
9604
9605 * subr.el (version<, version<=, version=): Mention "-CVS" and
9606 "-12345" alpha version numbers.
9607
27fa387a
CY
96082011-07-14 Chong Yidong <cyd@stupidchicken.com>
9609
9610 * bindings.el: Add advertised binding for set-mark-command
9611 (Bug#5772).
9612
8bdfa064
CY
96132011-07-14 Chong Yidong <cyd@stupidchicken.com>
9614
9615 * bindings.el (mode-line-other-buffer):
9616 * bookmark.el (bookmark-bmenu-2-window):
9617 * bs.el (bs-cycle-next, bs-cycle-previous):
9618 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9619 switch-to-buffer.
9620
9621 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9622 Delete.
8bdfa064 9623
5eba16a3
JB
96242011-07-14 Juanma Barranquero <lekktu@gmail.com>
9625
9626 * follow.el (follow-debug-message, follow-redisplay):
9627 * jka-cmpr-hook.el (with-auto-compression-mode):
9628 Fix typos in docstrings.
9629
15853710
LMI
96302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9631
a28e4607
LMI
9632 * subr.el (with-silent-modifications): Clarify somewhat what the
9633 macro inhibits (bug#6525).
9634
15853710
LMI
9635 * simple.el (eval-expression): Note what it does if called
9636 interactively (bug#6495).
9637
bee0fcef
CY
96382011-07-13 Chong Yidong <cyd@stupidchicken.com>
9639
b796c9b7
SM
9640 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9641 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9642
9643 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9644 Remove switch-to-buffer.
9645
58274504
LMI
96462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9647
bd2fcc8d
LMI
9648 * files.el (make-directory): Clarify that an error will be raised
9649 if there's an error (bug#6397).
9650
0f04b32c
LMI
9651 * startup.el (initial-buffer-choice): Add `none' as a choice
9652 (bug#6234).
9653
465c5fc8
LMI
9654 * subr.el (add-hook): Clarify section about buffer-local hooks
9655 (bug#6218).
9656
58274504
LMI
9657 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9658
bead9a43
JB
96592011-07-13 Juanma Barranquero <lekktu@gmail.com>
9660
9661 * tabify.el (untabify): Preserve the current column so that point
9662 doesn't move (bug#6032).
9663
3af98a7b
LMI
96642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9665
b796c9b7
SM
9666 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9667 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9668
6240145a
GM
96692011-07-13 Glenn Morris <rgm@gnu.org>
9670
9671 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9672 (dired-insert-directory): Give a message the first time
9673 if ls is found not to support --dired.
9674
1d8c2ccc
LMI
96752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9676
9677 * simple.el (toggle-truncate-lines): Clarify what is toggled
9678 (bug#5580). Text by Drew Adams.
9679
5fc4038e
CY
96802011-07-13 Chong Yidong <cyd@stupidchicken.com>
9681
9682 * simple.el (blink-matching-open): Make the error message from the
9683 last change less verbose.
9684
bf6012e5
DN
96852011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9686
9687 * font-lock.el (font-lock-comment-face): Use the high contrast
9688 "yellow" color for font-lock-comment-face on low color terminals
9689 using a dark background color (bug#4221).
9690
343c3b5a
LMI
96912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9692
7e9505c5
LMI
9693 * dired.el (dired-insert-set-properties): Make the doc string
9694 reflect what it does now (bug#5325).
9695
c26fdcf5
LMI
9696 * simple.el (blink-matching-open): Say that we were unable to find
9697 the match within the limit, if we're limited (bug#5122).
9698
bb388cc5
LMI
9699 * international/mule-cmds.el (prefer-coding-system): Add an
9700 example (bug#4869).
9701
343c3b5a
LMI
9702 * progmodes/etags.el (tags-search): Document `file-list-form'
9703 (bug#4731).
9704
2a517d45
LM
97052011-07-13 Lawrence Mitchell <wence@gmx.li>
9706
9707 * net/browse-url.el (browse-url-default-browser)
9708 (browse-url-browser-function): Make the default browser choice a
9709 bit more logical (bug#4300). Also clean up the doc string.
9710
b6c78ef2
JB
97112011-07-13 Juanma Barranquero <lekktu@gmail.com>
9712
9713 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9714 binary endings (bug#4440).
9715
1c4dd947
LMI
97162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9717
a2014063
LMI
9718 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9719 which can be pretty annoying (bug#8971).
9720
9c9c2d88
LMI
9721 * jka-compr.el (jka-compr-verbose): New variable, and use
9722 throughout (bug#8971).
9723
1c4dd947
LMI
9724 * info.el (Info-find-file): Fall back on the installation
9725 directory if we can't find the info node anywhere else.
9726
a1c9f41b
SO
97272011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9728
9729 * vc/vc.el (vc-revert-file):
9730 Don't set file time-stamp in the past. (Bug#5181)
9731
536f3d36
LMI
97322011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9733
7152b011
LMI
9734 * files.el (after-find-file): Give a better error message when
9735 trying to find a symlink that points to a file that doesn't exist
9736 (bug#4398).
9737
536f3d36
LMI
9738 * progmodes/cc-vars.el: Remove (probably) misleading comment
9739 (bug#4396).
9740
460c0fba
JB
97412011-07-12 Johan Bockgård <bojohan@gnu.org>
9742
9743 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9744
7a6bda45
CY
97452011-07-12 Chong Yidong <cyd@stupidchicken.com>
9746
9747 * mouse-sel.el: Hack restoring functionality, while keeping
9748 compatibility with 2010-07-03 changes to mouse selection.
9749 (mouse-sel-primary-overlay): New var.
9750 (mouse-sel-selection-alist): Use it.
9751 (mouse-sel-mode): Doc fix; remove points that are default features
9752 of mouse.el.
9753
c79598ef
JB
97542011-07-12 Johan Bockgård <bojohan@gnu.org>
9755
9756 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9757 Fix previous fix (bug#2490).
9758
ff8be6ef
RW
97592011-07-12 Roland Winkler <winkler@gnu.org>
9760
b796c9b7
SM
9761 * textmodes/bibtex.el (bibtex-initialize):
9762 Use pop-to-buffer-same-window.
ff8be6ef
RW
9763 (bibtex-search-entries): Fix interactive call.
9764
296ba3ee
LMI
97652011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9766
f5242a02 9767 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9768 Fontise bytecomp Error lines more correctly (bug#2490).
9769 Fix suggested by Johan Bockgård.
f5242a02 9770
296ba3ee
LMI
9771 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9772
9773 * dired-x.el (dired-guess-default): Use `delete-dups'.
9774
f69fd0d2
CY
97752011-07-12 Chong Yidong <cyd@stupidchicken.com>
9776
9777 * dired.el (dired-mark-prompt):
9778 * dired-aux.el (dired-read-shell-command): Doc fix.
9779
eab5dc07
LMI
97802011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9781
b796c9b7
SM
9782 * mail/sendmail.el (sendmail-query-once):
9783 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9784 emacs -Q.
9785
9786 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9787
eab5dc07
LMI
9788 * cus-edit.el (custom-file): Take an optional no-error variable.
9789 (customize-save-variable): Set the variable, and give a warning if
9790 running under "emacs -q".
9791
a1e65d42
JB
97922011-07-11 Juanma Barranquero <lekktu@gmail.com>
9793
9794 * loadhist.el (unload-feature-special-hooks):
9795 Add `auto-coding-functions', `fill-nobreak-predicate' and
9796 `find-directory-functions' (bug#5327).
9797
1d52da10
LMI
97982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9799
be958f1d
LMI
9800 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9801
5bedb26c
LMI
9802 * cus-edit.el (custom-guess-name-alist): -alist variables should
9803 use the `alist' type (bug#3120). Suggested by Drew Adams.
9804
1d52da10
LMI
9805 * printing.el: Add documentation to all the `pr-toggle-' commands.
9806
cd394be1 98072011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9808
9809 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9810 backends where it makes sense (bug#2623).
9811
dcc88d8a
LMI
98122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9813
c3de9feb
LMI
9814 * dired-x.el (dired-guess-default): Remove duplicate shell command
9815 entries (bug#2028).
8a93078b 9816 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9817 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9818
dcc88d8a
LMI
9819 * subr.el (remove-duplicates): New conveniency function.
9820
505e3645
LMI
98212011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9822
9823 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9824 (bug#1526).
9825
98262011-07-10 Martin Rudalics <rudalics@gmx.at>
9827
9828 * window.el (display-buffer-normalize-default): Don't invert
9829 meaning of even-window-heights. Reported by Eli Zaretskii
9830 <eliz@gnu.org>.
9831
455e4fa1
BR
98322011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9833
9834 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9835
8e0bc3e9
CY
98362011-07-10 Chong Yidong <cyd@stupidchicken.com>
9837
9838 * window.el (display-buffer): Fix arguments to
9839 display-buffer-reuse-window in last change.
9840
fa7c3228
CY
9841 * faces.el (link): Use a less saturated blue on light backgrounds.
9842
9843 * startup.el (fancy-startup-text, fancy-about-text)
9844 (fancy-startup-tail): Use font-lock faces, for background safety.
9845
c0a7f300
BN
98462011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9847
b796c9b7
SM
9848 * emulation/viper-cmd.el (viper-change-state-to-vi):
9849 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9850
4dc2a129
MR
98512011-07-09 Martin Rudalics <rudalics@gmx.at>
9852
9853 * window.el (display-buffer-default-specifiers): Remove.
9854 (display-buffer-macro-specifiers): Remove default specifiers.
9855 (display-buffer-alist): Default to nil.
b796c9b7 9856 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9857 (display-buffer-pop-up-window): Allow splitting internal
9858 windows. Check whether a live window was created.
9859 (display-buffer-other-window-means-other-frame)
9860 (display-buffer-normalize-arguments): Rename to
9861 display-buffer-normalize-argument and rewrite. Set the
9862 other-window specifier.
9863 (display-buffer-normalize-special): New function.
9864 (display-buffer-normalize-options): Rename to
9865 display-buffer-normalize-default and rewrite.
9866 (display-buffer-normalize-options-inhibit): Remove.
9867 (display-buffer-normalize-specifiers): Rewrite.
9868 (display-buffer): Process other-window specifier and call
9869 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9870 more faithfully.
b796c9b7 9871 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9872 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9873 (display-buffer-in-window, display-buffer-alist-set):
9874 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9875 <tassilo@member.fsf.org>.
9876
2d43b8c9
LL
98772011-07-09 Leo Liu <sdl.web@gmail.com>
9878
9879 * register.el (insert-register): Restore accidental change on
9880 2011-06-26. (Bug#9028)
9881
7f9b7c53
GM
98822011-07-09 Glenn Morris <rgm@gnu.org>
9883
9884 * subr.el (remq): Handle the empty list. (Bug#9024)
9885
f042cfd8
AS
98862011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9887
9888 * mail/sendmail.el (send-mail-function): No longer delay custom
9889 initialization.
9890 * custom.el (custom-initialize-delay): Doc fix.
9891
856b2f11
SM
98922011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9893
9894 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9895
afae1d68
MA
98962011-07-08 Michael Albinus <michael.albinus@gmx.de>
9897
9898 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9899 human-friendly prompt.
9900
0757af94
SM
99012011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9904 provided by a particular plugin.
9905
d760b731
LMI
99062011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9907
9908 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9909 save customizations (with "emacs -Q"), just set the variable
9910 instead of erroring out.
9911
9912 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9913
cd79ce90
JL
99142011-07-08 Juri Linkov <juri@jurta.org>
9915
9916 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9917 (archive-zip-update-case): Use 7z if found by `executable-find'.
9918 The order of searching the available programs is the same as in
9919 `archive-zip-extract' (bug#8968).
9920
14cc04aa
CY
99212011-07-07 Chong Yidong <cyd@stupidchicken.com>
9922
9923 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9924 (menu-bar-options-menu): Tweak descriptions.
9925
0a1848ec
LMI
99262011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9927
9928 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9929 menu items into verb phrases (bug#1421). Also refill to fit under
9930 80 columns.
9931
f5bd0689
CY
99322011-07-07 Chong Yidong <cyd@stupidchicken.com>
9933
538e85c6
CY
9934 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9935 (Info-read-node-name): Doc fix (Bug#1084).
9936
f5bd0689
CY
9937 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9938 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9939 (end-of-sexp, beginning-of-sexp)
9940 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9941 (forward-symbol, forward-same-syntax, word-at-point)
9942 (sentence-at-point): Doc fix (Bug#1144).
9943
56ec5115
LMI
99442011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9945
f3f8e37f
LMI
9946 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9947 should cover it (bug#1281).
9948
0757af94 9949 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9950
e9fce1ac 9951 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9952 negotiation fails, then possibly try again with a non-encrypted
9953 connection (bug#9017).
9954
56ec5115
LMI
9955 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9956 be used.
9957
c2f9aec8
RS
99582011-07-07 Richard Stallman <rms@gnu.org>
9959
9960 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9961 property, and handle its changed format.
9962 Look for the correct line number.
9963 Use file's line contents (but not past first =) to find
9964 correct line in message.
9965
ef7b981d 99662011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9967
9968 * international/characters.el (build-unicode-category-table):
9969 Delete it.
0757af94 9970 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9971
0757af94 9972 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9973 to src/chartab.c.
9974 (get-char-code-property): Call unicode-property-table-internal to
9975 load a file. Call get-unicode-property-internal where necessary.
9976 (put-char-code-property): Call unicode-property-table-internal to
9977 load a file. Call put-unicode-property-internal where necessary.
9978 put-unicode-property-internal where necessary.
0757af94
SM
9979 (char-code-property-description):
9980 Call unicode-property-table-internal to load a file.
c805dec0
KH
9981
9982 * international/charprop.el:
9983 * international/uni-bidi.el:
9984 * international/uni-category.el:
9985 * international/uni-combining.el:
9986 * international/uni-comment.el:
9987 * international/uni-decimal.el:
9988 * international/uni-decomposition.el:
9989 * international/uni-digit.el:
9990 * international/uni-lowercase.el:
9991 * international/uni-mirrored.el:
9992 * international/uni-name.el:
9993 * international/uni-numeric.el:
9994 * international/uni-old-name.el:
9995 * international/uni-titlecase.el:
9996 * international/uni-uppercase.el: Regenerate.
9997
9998 * loadup.el: Load international/charprop.el before
9999 international/characters.
10000
e14b388a
CY
100012011-07-07 Chong Yidong <cyd@stupidchicken.com>
10002
10003 * window.el (next-buffer, previous-buffer): Signal an error if
10004 called from a minibuffer window.
10005
10006 * bindings.el: Revert 2011-07-04 change.
10007
354cf0ba
RS
100082011-07-06 Richard Stallman <rms@gnu.org>
10009
10010 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10011 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10012 Treat markers like ints.
10013 (rmail-mime-entity): Doc fix.
10014
a48868a7
LMI
100152011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10016
4906cd3d
LMI
10017 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10018 defcustom again for backwards compatibility.
10019
e0457abe
LMI
10020 * simple.el (shell-command-on-region): Fill.
10021
d67f7e1f
LMI
10022 * dired-aux.el (dired-kill-line): Add a doc string.
10023
fe204702
LMI
10024 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10025 to "\\sw\\|\\s_" (bug#358).
10026
a48868a7
LMI
10027 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10028 (dired-unmark-backward): Ditto.
10029 (dired-flag-backup-files): Ditto.
10030
10031 * dired-x.el (dired-mark-sexp): Ditto.
10032
aa8a705c
RS
100332011-07-06 Richard Stallman <rms@gnu.org>
10034
10035 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10036 (rmail-mime-entity): New arg TRUNCATED.
10037 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10038 New functions.
10039 (rmail-mime-save): Warn if entity is truncated.
10040 (rmail-mime-toggle-hidden): Likewise, for showing.
10041 (rmail-mime-process-multipart): Record when an entity is truncated.
10042
a9a936b9
RS
10043 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10044 if ENTITY is a string.
10045
1f2b92cb
LMI
100462011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10047
f4f73198 10048 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10049 of faces when `M-C-x'-ing their definitions (bug#8378).
10050 Also clean up the code slightly.
f4f73198 10051
12b16734 10052 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10053 because that makes the colors go away.
12b16734 10054
f0691d22
LMI
10055 * mail/sendmail.el (send-mail-function): Change the default to
10056 `sendmail-query-once'.
9e87df06 10057 (sendmail-query-once): Add an autoload cookie.
f0691d22 10058
1f2b92cb
LMI
10059 * net/network-stream.el (network-stream-open-starttls): Try using
10060 a plain connection even if the server offered STARTTLS, and we
10061 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10062 capability. This should make smtpmail.el work in slightly more
10063 configurations.
10064
1cdd2a1b
MA
100652011-07-06 Michael Albinus <michael.albinus@gmx.de>
10066
10067 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10068 New defun.
10069 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10070
fbcc67e2
MM
100712011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10072
10073 * progmodes/sql.el: Version 3.0
0757af94 10074 (sql-product-alist): Add product :completion-object,
fbcc67e2 10075 :completion-column, and :statement attributes.
0757af94 10076 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10077 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10078 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10079 ansi keywords.
10080 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10081 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10082 (sql-oracle-show-reserved-words): New function for development.
10083 (sql-product-font-lock): Simplify for source code buffers.
10084 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10085 New functions.
10086 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10087 (sql-mode-map): Add statement movement functions.
10088 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10089 New variable.
fbcc67e2
MM
10090 (sql-statement-regexp, sql-beginning-of-statement)
10091 (sql-end-of-statement, sql-signum): New functions.
0757af94 10092 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10093 (sql-show-sqli-buffer): Bug fix.
10094 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10095 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10096 with sql-interactive-mode.
10097 (sql-save-connection): Save buffer local settings.
0757af94 10098 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10099 (sql-product-interactive): Bug fix.
10100 (sql-preoutput-hold): New variable.
10101 (sql-interactive-remove-continuation-prompt): Bug fixes.
10102 (sql-debug-redirect): New variable.
10103 (sql-str-literal): New function.
10104 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10105 Redesign.
fbcc67e2
MM
10106 (sql-oracle-save-settings, sql-oracle-restore-settings)
10107 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10108 (sql-completion-object, sql-completion-column)
10109 (sql-completion-sqlbuf): New variables.
10110 (sql-build-completions-1, sql-build-completions)
10111 (sql-try-completion): New functions.
10112 (sql-read-table-name): Use them.
10113 (sql-contains-names): New buffer local variable.
10114 (sql-list-all, sql-list-table): Use it.
10115 (sql-oracle-completion-types): New variable.
10116 (sql-oracle-completion-object, sql-sqlite-completion-object)
10117 (sql-postgres-completion-object): New functions.
10118
d4eaeab1
GM
101192011-07-06 Glenn Morris <rgm@gnu.org>
10120
10121 * window.el (pop-to-buffer): Doc fix.
10122
322b7dab 101232011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10124
10125 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10126
322b7dab 101272011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10128
322b7dab 10129 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10130
322b7dab 10131 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10132
605dd5bf
CY
101332011-07-05 Chong Yidong <cyd@stupidchicken.com>
10134
10135 * button.el (button): Inherit from link face. Suggested by Dan
10136 Nicolaescu.
10137
7dbfa719
SM
101382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10139
3db614b0
SM
10140 * progmodes/gdb-mi.el: Fit in 80 columns.
10141 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10142 switch-to-buffer.
10143
7dbfa719
SM
10144 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10145 if imenu is simply not configured (bug#8941).
10146
919d884a
KM
101472011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10148
10149 * allout.el (allout-post-undo-hook): New allout outline-change
10150 event hook to signal undo activity.
10151 (allout-post-command-business): Run allout-post-undo-hook if an
10152 undo just occurred.
7dbfa719
SM
10153 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10154 * allout-widgets.el (allout-widgets-after-undo-function):
10155 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10156 in the vicinity of an undo.
10157 (allout-widgets-mode): Include allout-widgets-after-undo-function
10158 on the new allout-post-undo-hook.
10159
450a0f09
SM
101602011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10161
10162 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10163 Let define-derived-mode define it.
10164 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10165 cycles of abbrev-table inheritance (bug#8998).
10166
2de69e00
RW
101672011-07-05 Roland Winkler <winkler@gnu.org>
10168
10169 * textmodes/bibtex.el: Add support for biblatex.
10170 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10171 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10172 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10173 (bibtex-entry-alist, bibtex-field-alist): New variables.
10174 (bibtex-entry-field-alist): Obsolete alias for
10175 bibtex-BibTeX-entry-alist.
10176 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10177 (bibtex-set-dialect): New command.
10178 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10179 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10180 Bind via bibtex-set-dialect.
2de69e00
RW
10181 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10182 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10183 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10184 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10185 Define via bibtex-set-dialect.
450a0f09
SM
10186 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10187 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10188 (bibtex-vec-push, bibtex-vec-incr): New functions.
10189 (bibtex-format-entry, bibtex-field-list)
10190 (bibtex-print-help-message, bibtex-validate)
10191 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10192
2dcdbdd9
SM
101932011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10194
10195 * progmodes/compile.el (compilation-goto-locus):
10196 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10197 * bs.el (bs-cycle-next, bs-cycle-previous):
10198 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10199 * bindings.el (mode-line-other-buffer):
10200 * autoinsert.el (auto-insert):
10201 * arc-mode.el (archive-extract):
10202 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10203
b27640fe
JB
102042011-07-05 Juanma Barranquero <lekktu@gmail.com>
10205
10206 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10207 Fix check of `emacs-lock-unlockable-modes'.
10208 Coerce true values of `emacs-lock--try-unlocking' to t.
10209
53bbe3ad
JB
102102011-07-05 Juanma Barranquero <lekktu@gmail.com>
10211
10212 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10213 * emacs-lock.el: New file.
10214
1d3cdbc7
JD
102152011-07-05 Julien Danjou <julien@danjou.info>
10216
10217 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10218 than `boundp' to check if face is set.
10219
9173deec
JB
102202011-07-05 Juanma Barranquero <lekktu@gmail.com>
10221
10222 * register.el (registerv-make):
10223 * window.el (window-min-height): Fix typos in docstrings.
10224
869795d6
JD
102252011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10226
9173deec 10227 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10228 Update doc string.
10229
b768cdcd
JB
102302011-07-04 Juanma Barranquero <lekktu@gmail.com>
10231
10232 * server.el (server-execute): Catch quit and call
10233 `server-return-error' to pass the error back to emacsclient and
10234 close the connection (bug#8942).
10235
13aa217b
KM
102362011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10237
10238 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10239 insecure exception for current topic. Also note that auto-saves
10240 are handled differently.
10241
5d3385a0 10242 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10243 State variables for tracking auto-save inhibition situation.
10244
10245 (allout-write-contents-hook-handler): Rename from
10246 'allout-write-file-hook-handler', and describe how it depends on
10247 write-contents-functions sensitivity to non-nil value to prevent
10248 file write.
10249
10250 (allout-auto-save-hook-handler): Remove. auto-save does not check
10251 this in individual buffers, only in the starting buffer, so this
10252 is not the right way for us to inhibit auto-save in a buffer
10253 according to its condition.
10254
10255 (allout-mode): Use new allout-write-contents-hook-handler, and
10256 only with write-contents-functions. Remove auto-save provisions -
10257 they're implemented elsewhere.
10258
10259 (allout-before-change-handler): If undo is in progress, note that
10260 for attention of allout-post-command-business.
10261
10262 (allout-post-command-business): If the command we're following was
10263 an undo, check for change in the status of encrypted items and
10264 adjust auto-save inhibitions accordingly.
10265
10266 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10267 according to whether there are or aren't any plain-text topics
10268 pending encryption.
10269
2dcdbdd9 10270 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10271 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10272 if there are plain-text topics pending encryption.
13aa217b
KM
10273
10274 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10275 buffer-saved-size and some allout state to not inhibit auto-saves
10276 if there are no longer any plain-text topics pending encryption.
10277
0757af94
SM
10278 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10279 No longer provide for exemption of the current topic.
13aa217b 10280
ac89b32c
JL
102812011-07-04 Juri Linkov <juri@jurta.org>
10282
10283 Add 7z operations to delete and save changed members (bug#8968).
10284 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10285 New defcustoms.
10286 (archive-7z-write-file-member): New function.
10287 (archive-7z-summarize): Fix the number of dashes in the
10288 listing output.
10289
8fa39615
SM
102902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10291
10292 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10293 (bug#8958).
10294
2f11b3f1
CY
102952011-07-04 Chong Yidong <cyd@stupidchicken.com>
10296
d66fef2b
CY
10297 * bindings.el: Ignore next-buffer and previous-buffer in
10298 minibuffer-local-map.
10299
2f11b3f1
CY
10300 * font-lock.el (font-lock-builtin-face): Change light background
10301 color to dark slate blue (Bug#6693).
10302
f932a347
WD
103032011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10304
10305 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10306
c8af70e1
SM
103072011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10310 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10311 Add switch-to-buffer.
10312
f158badc
LMI
103132011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10314
10315 * isearch.el (isearch-search-fun-function): Clarify further the
10316 meaning of the function returned.
10317
6d95bd46
MA
103182011-07-04 Michael Albinus <michael.albinus@gmx.de>
10319
10320 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10321
10322 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10323 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10324 Use it.
10325 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10326 `tramp-default-remote-path' does not exist.
10327 (tramp-send-command-and-read): New optional argument NOERROR.
10328 (tramp-open-connection-setup-interactive-shell)
10329 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10330 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10331 (tramp-process-sentinel): Flush also process' connection property.
10332 (tramp-sh-handle-start-file-process): Do not set process
10333 sentinel. It is done now ...
10334 (tramp-maybe-open-connection): ... here. (Bug#8929)
10335
909e6b67
MK
103362011-07-04 MON KEY <monkey@sandpframing.com>
10337
10338 * play/animate.el (animate-string): Doc fixes and allow changing
10339 the buffer name (bug#5417).
10340
103412011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10342
c8af70e1 10343 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10344
f34755dc
PE
103452011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10346
396cec72
PE
10347 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10348 This is simpler and helps future-proof the code.
10349 (timer-until): Use time-subtract and float-time.
08235028 10350 (timer--time-less-p): Use time-less-p.
f34755dc 10351
56e6cc31
JB
103522011-07-04 Juanma Barranquero <lekktu@gmail.com>
10353
3abb79e5
JB
10354 * type-break.el (timep): Use the value of `float-time' to avoid a
10355 byte-compiler warning.
10356
56e6cc31
JB
10357 * server.el (server-eval-and-print): Return any result, even nil.
10358
7b9430b4
PE
103592011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10360
10361 * type-break.el: Accept time formats that the builtins accept.
10362 (timep, type-break-time-difference): Accept any format that
10363 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10364 This is simpler and helps future-proof the code.
10365 (type-break-time-difference): Round rather than ignoring
10366 subseconds components.
10367
3034e9e7
LMI
103682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10369
10370 * info.el (Info-apropos-matches): Make non-interactive, since it
10371 doesn't seem to do anything useful as a command (bug#8829).
10372
1485f4c0
CY
103732011-07-03 Chong Yidong <cyd@stupidchicken.com>
10374
10375 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10376 Move from faces.el.
1485f4c0
CY
10377 (frame-default-terminal-background): New function.
10378
10379 * custom.el (custom-push-theme): Don't record faces in `changed'
10380 theme; this doesn't work correctly for per-frame face settings.
10381 (disable-theme): Use face-set-after-frame-default to reset faces.
10382 (custom--frame-color-default): New function.
10383
9fa3dd45
LMI
103842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10385
c8af70e1 10386 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10387 (bug#8769).
10388
6cbbc20c
KR
103892011-03-29 Kevin Ryde <user42@zip.com.au>
10390
10391 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10392 `perl-Test2' extend to match possible "fail #N" rep count
10393 (bug#8377).
10394
c7f98048
LMI
103952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10396
65676592
LMI
10397 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10398 `smtpmail-via-smtp' now returns the error instead of nil.
10399
c7f98048
LMI
10400 * isearch.el (isearch-search-fun-function): Clarify the doc string
10401 (bug#8101).
10402
56e6cc31 104032011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10404
10405 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10406 unnecessary spaces (bug#8987).
10407
2b216704
LMI
104082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10409
10410 * net/network-stream.el (open-network-stream): Use the
10411 :end-of-capability command thoughout.
10412
104132011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10414
10415 * net/network-stream.el (open-network-stream): Add the
10416 :end-of-capability command parameter, used by pop3.el.
10417
36adf6ce
LMI
104182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10419
1ca0da0e
LMI
10420 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10421
fc00f69c
LMI
10422 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10423 for list)" (bug#6475).
10424
28fd8759 10425 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10426 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10427 an error (bug#6297).
10428
0dd8b6da
LMI
10429 * man.el (Man-reference-regexp): Allow matching possible
10430 word-wrapped references (bug#6289).
10431
ce1438d6
LMI
10432 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10433 for consistency with the other vc buffers (bug#6197).
10434 (vc-checkin): Ditto.
10435
10436 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10437
36adf6ce
LMI
10438 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10439
e83cc1f7
LMI
104402011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10441
8a20ca4c
LMI
10442 * custom.el (defcustom): Clarify that :set is only used in the
10443 Customize user interface (bug#6089).
10444
83319045
LMI
10445 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10446 associated with a file, refuse to run instead of erroring out
10447 (bug#6084).
10448
a8392169
LMI
10449 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10450 the doc string, since it appears that using `fill-column' always
10451 controls the width (bug#7845).
10452
e83cc1f7
LMI
10453 * simple.el (shell-command-on-region): Say where the error output
10454 went if `shell-command-default-error-buffer' is set (bug#6857).
10455
e47ca23b
KM
104562011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10457
10458 * allout.el (allout-yank-processing): Adjust cursor position for
10459 backwards-deleted space.
10460
10461 (allout-rebullet-heading): Register changes with
10462 allout-exposure-changed-hook, so the modified topic is properly
10463 decorated.
10464
5cf56143
LMI
104652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10466
08549772
LMI
10467 * minibuffer.el (completion-in-region): Document PREDICATE
10468 (bug#7136).
10469
48e96771
LMI
10470 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10471 of keyword/argument pairs (bug#6904).
10472
c8af70e1
SM
10473 * replace.el (multi-occur):
10474 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10475
e17d05e2
LMI
104762011-07-02 Drew Adams <drew.adams@oracle.com>
10477
10478 * dired.el (dired-mark-if): Make the message about whether it's
10479 marking or unmarking clearer (bug#8523).
10480
063b0e45
LMI
104812011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10482
10483 * disp-table.el (display-table-print-array): New function.
10484 (describe-display-table): Use it to print the vectors more pretty
10485 (Bug#8859).
10486
28545e04
MR
104872011-07-02 Martin Rudalics <rudalics@gmx.at>
10488
10489 * window.el (window-state-get-1): Don't assign clone numbers.
10490 Add clone-of item to list of window parameters.
10491 (window-state-put-2): Don't process clone numbers.
10492 (display-buffer-alist): Fix doc-string.
10493
3349e122
SM
104942011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10495
10496 * subr.el (remq): Don't allocate if it's not needed.
10497 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10498 (keymap--merge-bindings): New functions.
10499 (keymap-canonicalize): Use them to refine the canonicalization.
10500 * minibuffer.el (minibuffer-local-completion-map)
10501 (minibuffer-local-must-match-map): Move initialization from C.
10502 (minibuffer-local-filename-completion-map): Move initialization from C;
10503 don't inherit from anything here.
10504 (minibuffer-local-filename-must-match-map): Make obsolete.
10505 (completing-read-default): Use make-composed-keymap to combine
10506 minibuffer-local-filename-completion-map with either
10507 minibuffer-local-must-match-map or
10508 minibuffer-local-filename-completion-map.
10509
d224ac83
GM
105102011-07-01 Glenn Morris <rgm@gnu.org>
10511
3de63bf8
GM
10512 * type-break.el (type-break-time-sum): Use dolist.
10513
d224ac83
GM
10514 * textmodes/flyspell.el (flyspell-word-search-backward):
10515 Replace CL function.
10516
1a1e3f32
SM
105172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10518
fe3f64d5
SM
10519 * mouse.el (mouse--strip-first-event): New function.
10520 (function-key-map): Use it to map fringe clicks to normal clicks
10521 by default.
10522
eb604e34
SM
10523 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10524 (vc-bzr-revision-completion-table): Add support for annotate and date.
10525
1a1e3f32
SM
10526 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10527 inherit from parent.
10528
5bd35902
LMI
105292011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10530
ace6c69c 10531 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10532 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10533
191e2bed
LMI
10534 * dired.el (dired-mode): Fix up the doc string as suggested by
10535 Drew Adams (bug#8817).
10536
5bd35902
LMI
10537 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10538 cookie, since the manual says that it should be possible to add
10539 this function to `find-file-hook' (bug#8709).
10540
eee8207a
TZ
105412011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10542
10543 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10544 here. Noted Ted Zlatanov as the maintainer.
10545 (cfengine-common-settings, cfengine-common-syntax): New functions
10546 to set up common things between `cfengine-mode' and
10547 `cfengine3-mode'.
10548 (cfengine3-mode): New mode.
10549 (cfengine3-defuns cfengine3-defuns-regex
10550 (cfengine3-class-selector-regex cfengine3-category-regex)
10551 (cfengine3-vartypes cfengine3-font-lock-keywords)
10552 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10553 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10554
36b148cf
MA
105552011-07-01 Michael Albinus <michael.albinus@gmx.de>
10556
10557 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10558
10559 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10560
0bf4ba9a
MR
105612011-07-01 Martin Rudalics <rudalics@gmx.at>
10562
10563 * window.el (same-window-buffer-names, same-window-regexps)
10564 (same-window-p, special-display-frame-alist)
10565 (special-display-popup-frame, special-display-function)
10566 (special-display-buffer-names, special-display-regexps)
10567 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10568 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10569 (split-window-preferred-function, split-height-threshold)
10570 (split-width-threshold, even-window-heights)
10571 (display-buffer-mark-dedicated, window-splittable-p)
10572 (split-window-sensibly, window-safely-shrinkable-p):
10573 Un-obsolete.
10574 (display-buffer): Don't spread args with function specifier
10575 because special-display-popup-frame won't like it.
10576
35837f51
PE
105772011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10578
d0672f86
PE
10579 Time-stamp simplifications and fixes.
10580 These improve accuracy slightly, and future-proof the code
10581 against some potential changes to current-time format.
10582
b9444d97
PE
10583 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10584 by using time-since and float-time.
10585
0ef923dc
PE
10586 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10587 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10588 + NNN microseconds".
10589
2f81380d
PE
10590 * type-break.el (type-break-time-sum): Rewrite using time-add.
10591
845b5c3e
PE
10592 * play/hanoi.el (hanoi-current-time-float): Remove.
10593 All uses replaced by float-time.
10594
ee6f1be0
PE
10595 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10596 This yields a more-accurate answer.
10597 (rng-time-to-float): Remove; no longer needed.
10598
fe955043
PE
10599 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10600
5777162a
PE
10601 * calendar/timeclock.el (timeclock-seconds-to-time):
10602 Defalias to seconds-to-time, since they're the same thing.
10603
3103f8b6 10604 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10605 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10606 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10607
0e61a35f
SM
106082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * window.el (bury-buffer): Don't iconify the only frame.
10611 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10612 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10613
ddd63a1e
CY
106142011-07-01 Chong Yidong <cyd@stupidchicken.com>
10615
0e61a35f
SM
10616 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10617 Add mouse-yank-primary.
ddd63a1e 10618
055f4923
TZ
106192011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10620
10621 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10622
6a2fb145
SM
106232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10624
10625 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10626 (find-library-name): Use it to find relative load names when provided
10627 absolute file name (bug#8803).
10628
fd4983f2
LMI
106292011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10630
887d14ad
LMI
10631 * textmodes/flyspell.el (flyspell-word): Consider words that
10632 differ only in case as potential doublons (bug#5687).
10633
c53dc7fc
LMI
10634 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10635 Remove two rather uninteresting debugging-like messages to make
10636 debbugs.el more silent.
10637
fd4983f2
LMI
10638 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10639 a password-like phrase.
10640
7a71b18d 106412011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10642
10643 * progmodes/cc-guess.el: New file.
10644
6a2fb145 10645 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10646
10647 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10648 derived from `c-basic-common-init'.
10649
10650 * progmodes/cc-mode.el (top-level): Require cc-guess.
10651 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10652
1fa280a3
LM
106532011-06-30 Lawrence Mitchell <wence@gmx.li>
10654
10655 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10656
e6597158
AM
106572011-06-30 Alan Mackenzie <acm@muc.de>
10658
1fa280a3
LM
10659 * progmodes/cc-engine.el (c-guess-continued-construct):
10660 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10661 lock is disabled. Name this case as "CASE G".
10662
68ba37fb
KM
106632011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10664
10665 * allout.el (allout-yank-processing): Fix injection of extra space
10666 between bullet and non-whitespace character in first topic when
10667 pasting, ensuring that the actual spacing in the pasted topic
10668 following the bullet char is preserved. This extra space was
10669 causing pasted encrypted topics to get a decrypted status even
10670 when the content was actually still encrypted. Now the decryption
10671 status from before the paste is preserved.
10672
10673 (allout-flag-region): Set all allout overlays so they evaporate
10674 when reduced to zero length (evanescent), to prevent overlay
10675 leakage.
10676
887a0b34
GM
106772011-06-30 Glenn Morris <rgm@gnu.org>
10678
94b9acce
GM
10679 * w32-fns.el (w32-charset-info-alist): Declare.
10680
1d9b46d4
GM
10681 * find-dired.el (find-grep-options): Simplify.
10682
cc232200
GM
10683 * term/ns-win.el (ns-set-resource): Declare.
10684
28e77c46
GM
10685 * ses.el (row, col): Declare dynamic variables honestly.
10686
887a0b34
GM
10687 * textmodes/reftex-parse.el (index-tags): Declare.
10688
658d8eb8
CY
106892011-06-30 Chong Yidong <cyd@stupidchicken.com>
10690
10691 * cus-edit.el (customize-push-and-save): New function.
10692
10693 * files.el (hack-local-variables-confirm): Use it.
10694
1fa280a3
LM
10695 * custom.el (load-theme): New arg NO-CONFIRM.
10696 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10697 (custom-enabled-themes): Doc fix.
10698
10699 * cus-theme.el (customize-create-theme)
10700 (custom-theme-merge-theme): Callers to load-theme changed.
10701
bb617717
LMI
107022011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10703
d61bdd5d
LMI
10704 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10705 short URLs have at least one dot in them (bug #7614).
10706
bb617717
LMI
10707 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10708 nil, because using a pty is apparently too slow (bug #895).
10709
2f31f37a
LMI
107102011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10711
10712 * mail/sendmail.el (sendmail-query-once): New function.
10713 (sendmail-query-once-function): New variable.
10714
3076b24e
GM
107152011-06-29 Glenn Morris <rgm@gnu.org>
10716
faf2a174
GM
10717 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10718
3076b24e
GM
10719 * ses.el (top-level): Require cl when compiling.
10720 (ses-set-localvars): Fix error statement.
10721 Call it at compile time to silence a storm of warnings.
10722
5386012d
MR
107232011-06-29 Martin Rudalics <rudalics@gmx.at>
10724
10725 * window.el (normalize-live-buffer): Rename to
10726 window-normalize-buffer.
10727 (normalize-live-frame): Rename to window-normalize-frame.
10728 (normalize-any-window): Rename to window-normalize-any-window.
10729 (normalize-live-window): Rename to window-normalize-live-window.
10730 (make-window-atom): Rename to window-make-atom.
10731 (window-resize-reset): Rename to window--resize-reset.
10732 (window-resize-reset-1): Rename to window--resize-reset-1.
10733 (resize-mini-window): Rename to window--resize-mini-window.
10734 (resize-subwindows-skip-p): Rename to
10735 window--resize-subwindows-skip-p.
10736 (resize-subwindows-normal): Rename to
10737 window--resize-subwindows-normal.
10738 (resize-subwindows): Rename to window--resize-subwindows.
10739 (resize-other-windows): Rename to window--resize-siblings.
10740 (resize-this-window): Rename to window--resize-this-window.
10741 (resize-root-window): Rename to window--resize-root-window.
10742 (resize-root-window-vertically): Rename to
10743 window--resize-root-window-vertically.
10744 (normalize-buffer-to-display): Rename to
10745 window-normalize-buffer-to-display.
10746 (normalize-buffer-to-switch-to): Rename to
10747 window-normalize-buffer-to-switch-to.
10748 Correspondingly update all callers of the functions listed
10749 above.
10750 (display-buffer-alist, display-buffer-normalize-arguments)
10751 (display-buffer-normalize-options, display-buffer)
10752 (display-buffer-alist-set): Use "function" instead of
10753 "fun-with-args".
10754
1176868d
CY
107552011-06-28 Chong Yidong <cyd@stupidchicken.com>
10756
10757 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10758 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10759 debbugs.gnu.org. Mention acknowledgment email.
10760
20a7a65f
LMI
107612011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10762
10763 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10764 buffer multibyteness, since it shouldn't matter.
10765
5f45cca5
MR
107662011-06-28 Martin Rudalics <rudalics@gmx.at>
10767
10768 * window.el (display-buffer-in-side-window): Handle dedicated
10769 windows as in display-buffer-reuse-window.
10770 (display-buffer-normalize-alist): Use value of override
10771 specifier.
10772 (display-buffer-normalize-specifiers): Use value of
10773 other-window-means-other-frame specifier.
10774 (display-buffer-alist): Rewrite some texts in widgets.
10775 (display-buffer): Spread arguments when calling function
10776 specified by fun-with-args.
10777
ad85fe1f
DD
107782011-06-28 Deniz Dogan <deniz@dogan.se>
10779
1fa280a3
LM
10780 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10781 Unnest `let'.
da68c4c8 10782
ad85fe1f
DD
10783 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10784 selectors (Bug#5732).
ec49bd31 10785 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10786
a08cc025
JA
107872011-06-27 Jari Aalto <jari.aalto@cante.net>
10788
10789 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10790 (eshell-ls-date-format): New defcustom.
10791 (eshell-ls-file): Use it.
10792
e2b551c5
SM
107932011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10794
10795 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10796
8982b231
KY
107972011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10798
10799 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10800 (ange-ftp-make-tmp-name): New arg.
10801 (ange-ftp-file-local-copy): Use it.
10802
36c9fa27
J
108032011-06-27 Jambunathan K <kjambunathan@gmail.com>
10804
10805 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10806 no-conversion (Bug#8870).
10807
d68443dc
MR
108082011-06-27 Martin Rudalics <rudalics@gmx.at>
10809
10810 * window.el (window-right, window-left, window-child)
10811 (window-child-count, window-last-child)
10812 (window-iso-combination-p, walk-window-tree-1)
10813 (window-atom-check-1, window-tree-1, delete-window)
10814 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10815 new naming conventions - window-vchild, window-hchild,
10816 window-next and window-prev are now called window-top-child,
10817 window-left-child, window-next-sibling and window-prev-sibling
10818 respectively.
d615d6d2
MR
10819 (resize-window-reset): Rename to window-resize-reset.
10820 (resize-window-reset-1): Rename to window-resize-reset-1.
10821 (resize-window): Rename to window-resize.
10822 (window-min-height, window-min-width)
10823 (resize-mini-window, resize-this-window, resize-root-window)
10824 (resize-root-window-vertically, adjust-window-trailing-edge)
10825 (enlarge-window, shrink-window, maximize-window)
10826 (minimize-window, delete-window, quit-restore-window)
10827 (split-window, balance-windows, balance-windows-area-adjust)
10828 (balance-windows-area, window-state-put-2)
10829 (display-buffer-even-window-sizes, display-buffer-set-height)
10830 (display-buffer-set-width, set-window-text-height)
10831 (fit-window-to-buffer): Rename all "resize-window" prefixed
10832 calls to use the "window-resize" prefix convention.
10833 (display-buffer-alist): Fix symbol for label specifier.
10834 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10835 corresponding specifier.
10836 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10837
b6458526
VB
108382011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10839
10840 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10841 convention.
10842 (ses-call-printer): Does not pass an empty string to formatter when the
10843 cell is empty to keep from barking printer Calc math-format-value.
10844
d31fd9ac
RS
108452011-06-27 Richard Stallman <rms@gnu.org>
10846
43d5bf84
RS
10847 * battery.el (battery-mode-line-limit): New variable.
10848 (battery-update): Handle it.
10849
d31fd9ac
RS
10850 * mail/rmailmm.el (rmail-mime-process-multipart):
10851 Handle truncated messages.
10852
819a6054
GM
108532011-06-27 Glenn Morris <rgm@gnu.org>
10854
10855 * progmodes/flymake.el (flymake-err-line-patterns):
10856 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10857
cedc73f2
VB
108582011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10859
819a6054 10860 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10861 (ses--clean-!, ses--clean-_): New functions.
10862 (ses-range): Add configurability of readout order, and conversion
10863 to Calc vector.
10864
5e5d49b6
VB
10865 * ses.el (ses-repair-cell-reference-all): New function.
10866 (ses-cell-symbol): Set macro as safe, so that it can be used in
10867 formulas.
10868
56e6cc31 10869 * ses.el: Update cycle detection algorithm.
90ca8b49 10870 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10871 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10872 (ses-set-localvars): New function.
10873 (ses-make-cell): Add property-list as a cell element.
10874 (ses-cell-property-get-fun, ses-cell-property-get)
10875 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10876 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10877 New functions.
90ca8b49
VB
10878 (ses-cell-property-set, ses-cell-property-pop)
10879 (ses-cell-property-get-handle): New macro.
10880 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10881 New aliases, used for code readability.
10882 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10883 cycle detection.
10884 (ses-self-reference-early-detection): New defcustom.
fac916bf 10885 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10886 (ses-mode): Use ses-set-localvars.
10887 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10888 before lauching the update processing.
10889 (ses-initialize-Dijkstra-attempt): New function.
10890 (ses-recalculate-cell): Update for cycle detection based on
10891 Dijkstra algorithm.
10892
2bb63e81
VB
10893 * ses.el: Fix commenting and indenting convention.
10894
c9d29fb8
SM
108952011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * bs.el (bs-cycle-next): Complete last change.
10898
d8e4b68b
JB
108992011-06-27 Drew Adams <drew.adams@oracle.com>
10900
10901 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10902
40098786
LMI
109032011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10904
c9d29fb8
SM
10905 * net/network-stream.el (network-stream-open-starttls):
10906 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10907 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10908
40098786
LMI
10909 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10910 to binary to possibly avoid line encoding issues on Windows (among
10911 other things).
10912
468d09d4
LMI
109132011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10914
10915 * net/network-stream.el (open-network-stream): Return an :error
10916 saying what the problem was, if possible.
10917
10918 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10919 server.
10920
10921 * net/network-stream.el (network-stream-open-starttls): If we
10922 wanted to use STARTTLS, and the server offered it, but we weren't
10923 able to because we had no STARTTLS support, then close the connection.
10924 (open-network-stream): Return an :error element, if present.
10925
16f07dd7
CY
109262011-06-26 Chong Yidong <cyd@stupidchicken.com>
10927
88821ca0
CY
10928 * hl-line.el (hl-line-sticky-flag): Doc fix.
10929 (global-hl-line-sticky-flag): New option (Bug#8323).
10930 (global-hl-line-highlight): Obey it.
10931
16f07dd7
CY
10932 * vc/vc.el (vc-revert-show-diff): Default to t.
10933
6b5ccddf
KM
109342011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10935
c9d29fb8
SM
10936 * allout-widgets.el (allout-widgets-post-command-business):
10937 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10938 undecorated when an isearch is continued past, and isearch
10939 automatically collapses them. This leads to "widget leaks", where
10940 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10941 hidden widgets can slow down cursor travel, substantially.
10942 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10943 so we're doing without this nicety.
10944
10945 (allout-widgets-tally-string): Don't try to do a hash-table-count
10946 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10947 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10948 *Messages* when allout-widgets-maintain-tally is t.
10949
355f2e07
MR
109502011-06-26 Martin Rudalics <rudalics@gmx.at>
10951
10952 * window.el (display-buffer-normalize-argument): Rename to
10953 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10954 LABEL argument. Respect special-display-function when popping up
10955 a new frame. Fix code searching for a window showing the buffer
10956 on another frame.
c9d29fb8
SM
10957 (display-buffer-normalize-specifiers):
10958 Call display-buffer-normalize-arguments.
355f2e07
MR
10959 (display-buffer-in-window): Don't undedicate the window if its
10960 buffer remains the same.
10961 Reported by Drew Adams <drew.adams@oracle.com>.
10962 (display-buffer-alist): Add choice for same-window macro
10963 specfier.
10964 (display-buffer): Mention special meaning of LABEL argument in
10965 doc-string. Fix quoting. Don't pop up a new frame even as
10966 fallback.
10967
7ca8fc42
JB
109682011-06-26 Juanma Barranquero <lekktu@gmail.com>
10969
10970 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10971 avoid deleting the current window in some cases (bug#8911).
10972
bc312254
AS
109732011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10974
10975 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10976 (Bug#8934)
10977
2db18f3f
LMI
109782011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10979
c9d29fb8
SM
10980 * net/network-stream.el (network-stream-open-starttls):
10981 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10982 (network-stream-open-tls): Ditto.
10983
6302e0d3
LL
109842011-06-26 Leo Liu <sdl.web@gmail.com>
10985
10986 * register.el (registerv): New struct.
10987 (registerv-make): New function.
c9d29fb8
SM
10988 (jump-to-register, describe-register-1, insert-register):
10989 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10990 struct. (Bug#8415)
10991
5fdd4046
CY
109922011-06-26 Chong Yidong <cyd@stupidchicken.com>
10993
2afef60a
CY
10994 * vc/vc.el (vc-revert-show-diff): New defcustom.
10995 (vc-diff-internal): New arg specifying diff buffer.
10996 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10997 reuse an existing *vc-diff* buffer (Bug#8927).
10998
5fdd4046
CY
10999 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11000
e93db24a
GM
110012011-06-26 Glenn Morris <rgm@gnu.org>
11002
11003 * progmodes/f90.el (f90-critical-indent): New option.
11004 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11005 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11006 (f90-mode): Doc fix.
11007 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11008 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11009 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11010 (f90-match-end): Handle block, critical.
11011
eefff499
GM
110122011-06-25 Glenn Morris <rgm@gnu.org>
11013
f6ba4cc9
GM
11014 * calendar/diary-lib.el (diary-included-files): Doc fix.
11015 (diary-include-files): New function, extracted from
11016 diary-include-other-diary-files and diary-mark-included-diary-files.
11017 (diary-include-other-diary-files, diary-mark-included-diary-files):
11018 Just call diary-include-files.
11019 (diary-mark-entries): Reset diary-included-files on first call.
11020
16712304
GM
11021 * calendar/diary-lib.el (diary-mark-entries)
11022 (diary-mark-included-diary-files):
11023 Visit included diary-files in temp buffers.
11024
5d8e0d43
GM
11025 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11026 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11027 (f90-start-block-re, f90-imenu-generic-expression)
11028 (f90-looking-at-program-block-start, f90-no-block-limit):
11029 Add support for submodules.
11030
ccf7a5d5
GM
11031 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11032 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11033
11fdef7d 110342011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11035
11036 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11037 buffer-file-type before setting its value, to avoid disastrous
eefff499 11038 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11039
74f53697
JB
110402011-06-25 Juanma Barranquero <lekktu@gmail.com>
11041
11042 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11043
11044 * ses.el (ses-unload-function):
11045 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11046
11047 * proced.el (proced-unload-function):
11048 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11049
18a4ce5e
AR
110502011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11051
11052 * server.el (server-create-window-system-frame): Add parameters arg.
11053 (server-process-filter): Doc fix. Handle frame-parameters.
11054
519d22cc
JB
110552011-06-25 Juanma Barranquero <lekktu@gmail.com>
11056
11057 Fix bug#8730, bug#8781.
11058
11059 * loadhist.el (unload--set-major-mode): New function.
11060 (unload-feature): Use it.
11061
11062 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11063 (python-unload-function): New function.
11064
c206f5b0
SM
110652011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11066
11067 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11068
f9ad64f3
GS
110692011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11070
11071 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11072 the candidates list.
11073
7d0da90e
JB
110742011-06-24 Juanma Barranquero <lekktu@gmail.com>
11075
11076 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11077
14b4e83d
RS
110782011-06-23 Richard Stallman <rms@gnu.org>
11079
11080 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11081 (rmail-variables): Set next-error-move-function.
11082 (rmail-what-message): Take argument POS.
11083 (rmail-next-error-move): New function.
11084
273d2baf
SM
110852011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11088 messages for adjacent non-terminals.
11089
56c2cc9a
RS
110902011-06-23 Richard Stallman <rms@gnu.org>
11091
11092 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11093 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11094 (rmail-start-mail): Don't specify use of rmail-mail-return;
11095 that's done by mail-bury now.
11096 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11097
d59eb518
MA
110982011-06-23 Michael Albinus <michael.albinus@gmx.de>
11099
11100 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11101 SIZE is a number.
11102
02cfc6d6
MR
111032011-06-23 Martin Rudalics <rudalics@gmx.at>
11104
11105 * window.el (get-lru-window, get-mru-window)
11106 (get-largest-window): Never return a minibuffer window.
11107 (display-buffer-pop-up-window): Fix a bug that could lead to
11108 reusing the minibuffer window.
11109 (display-buffer): Pass original specifier argument to
11110 display-buffer-function instead of the normalized one.
11111 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11112
4e323265
LL
111132011-06-22 Leo Liu <sdl.web@gmail.com>
11114
11115 * minibuffer.el (completing-read-function)
11116 (completing-read-default): Move from minibuf.c
11117
7a70468f
RS
111182011-06-22 Richard Stallman <rms@gnu.org>
11119
50718fc2
RS
11120 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11121 to Rmail even if not started by a special Rmail command.
11122
7a70468f
RS
11123 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11124 Copy the buffer currently showing just one message.
11125
297dde5a
RW
111262011-06-22 Roland Winkler <winkler@gnu.org>
11127
11128 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11129 (bibtex-clean-entry): First delete the old key so that a
11130 customized algorithm for generating the new key does not get
11131 confused by the old key.
11132 (bibtex-url): Obey regexp of first step.
11133 (bibtex-search-entries): Do not use add-to-list with local
11134 list-var.
11135
97bb1093
LMI
111362011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11137
11138 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11139 stored a user name, then query for the password first, instead of
11140 waiting for SMTP to give an error message and the trying again.
11141
1c0f1a19
JD
111422011-06-22 Lawrence Mitchell <wence@gmx.li>
11143
11144 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11145 BUFFER in call-process.
11146
396f7c9d
LMI
111472011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11148
11149 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11150 QUIT twice.
ddb7ffee
LMI
11151 (smtpmail-try-auth-methods): Require user name and password from
11152 auth-source.
396f7c9d 11153
8998d1b3
MR
111542011-06-22 Martin Rudalics <rudalics@gmx.at>
11155
11156 * window.el (display-buffer-default-specifiers)
11157 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11158 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11159 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11160
11161 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11162 (special-display-frame-alist, special-display-popup-frame):
11163 Remove duplicate declarations. These are now in window.el.
11164
4ea31e07
LMI
111652011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11166
c9d29fb8
SM
11167 * mail/smtpmail.el (smtpmail-via-smtp):
11168 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11169 server supports it. SMTP servers that support STARTTLS commonly
11170 require it.
11171
11172 * net/network-stream.el (network-stream-open-starttls): Support
11173 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11174 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11175
95f41d9a
LMI
11176 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11177 upgrades with `open-network-stream', and rely solely on
11178 auth-source for all credentials. Big changes throughout the file,
11179 but in particular:
c9d29fb8
SM
11180 (smtpmail-auth-credentials): Remove.
11181 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11182 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11183 MAIL FROM, too.
95f41d9a 11184
c9d29fb8
SM
11185 * net/network-stream.el (network-stream-open-starttls):
11186 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11187 STARTTLS.
11188 (auth-source): Require.
11189 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11190 (network-stream-certificate): Change cert-cert to cert and
11191 cert-key to key.
4ea31e07 11192
065ec2c7
MA
111932011-06-21 Michael Albinus <michael.albinus@gmx.de>
11194
11195 * net/tramp-cache.el (top): Don't load the persistency file when
11196 "emacs -Q" has been called.
11197
cd93b359
DR
111982011-06-21 Tim Harper <timcharper@gmail.com>
11199
d8e4b68b
JB
11200 * term/ns-win.el (ns-initialize-window-system):
11201 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11202 resource to NO as it is not yet supported by the NS port.
11203
ae9c0411
JB
112042011-06-21 Juanma Barranquero <lekktu@gmail.com>
11205
11206 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11207 (list-dynamic-libraries): ...not here.
11208
7f3f739f
LL
112092011-06-21 Leo Liu <sdl.web@gmail.com>
11210
11211 * subr.el (sha1): Implement sha1 using secure-hash.
11212
327c8fb1
MR
112132011-06-21 Martin Rudalics <rudalics@gmx.at>
11214
11215 * window.el (display-buffer-alist): In default value do not
11216 enforce searching a window on any but the selected frame.
11217 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11218 (display-buffer-select-window): Remove function.
11219 (display-buffer-in-window): When a window on another frame gets
11220 reused, do not select it any more but just raise its frame if
11221 necessary (Bug#8851) and (Bug#8856).
11222 (display-buffer-normalize-options): Handle pop-up-frames related
11223 options more faithfully.
11224 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11225 window if it is on another frame.
c9d29fb8
SM
11226 (display-buffer-alist, display-buffer-default-specifiers):
11227 Don't make new frame unsplittable by default.
9e9de014
MR
11228 (display-buffer-normalize-argument): Fix doc-string typo and use
11229 'same-frame-other-window instead of 'other-window when associating
11230 with display-buffer-macro-specifiers.
327c8fb1 11231
7cf3f556
VB
112322011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11233
11234 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11235 New functions.
11236 (5x5-mode-map, 5x5-mode-menu): Bind them.
11237 (5x5-draw-grid): Tweak the solver's rendering.
11238
60a406cf
SM
112392011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11240
11241 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11242 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11243
d8e4b68b 112442011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11245
11246 * menu-bar.el: Use function variable instead of switch-to-buffer.
11247 (menu-bar-select-buffer-function): New variable.
60a406cf 11248 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11249
478d6f95
SM
112502011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11251
11252 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11253 variable's status.
11254
ca530739
JD
112552011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11256
11257 * x-dnd.el (x-dnd-version-from-flags)
11258 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11259 and long as number (Bug#8899).
11260 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11261
bcd70d97
SM
112622011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11263
60a406cf 11264 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11265 (completion-try-completion, completion-all-completions): Compute the
11266 metadata argument if it's missing; make it optional (bug#8795).
11267
60a406cf 11268 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11269 (widget-complete): Use new :completion-function property.
11270 (widget-completions-at-point): New function.
11271 (default): Use :completion-function instead of :complete.
60a406cf
SM
11272 (widget-default-completions): Rename from widget-default-complete;
11273 Rewrite.
bcd70d97
SM
11274 (widget-string-complete, widget-file-complete, widget-color-complete):
11275 Remove functions.
11276 (file, symbol, function, variable, coding-system, color):
11277 * international/mule-cmds.el (default-input-method, charset)
11278 (language-info-custom-alist):
11279 * cus-edit.el (face): Use new property :completions.
11280
11281 * progmodes/pascal.el (pascal-completions-at-point): New function.
11282 (pascal-mode): Use it.
11283 (pascal-mode-map): Use completion-at-point.
11284 (pascal-toggle-completions): Make obsolete.
11285 (pascal-complete-word, pascal-show-completions):
11286 * progmodes/octave-mod.el (octave-complete-symbol):
11287 Redefine as obsolete alias.
11288 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11289 Signal absence of completion info for old Octave,
11290 (inferior-octave-complete): Redefine as obsolete alias.
11291 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11292 (meta-completions-at-point): Rename from meta-complete-symbol and
11293 adapt it for use on completion-at-point-functions.
11294 (meta-common-mode): Use it.
11295 (meta-looking-at-backward, meta-match-buffer): Remove.
11296 (meta-complete-symbol): Redefine as obsolete alias.
11297 (meta-common-mode-map): Use completion-at-point.
11298 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11299 (makefile-mode-map): Use completion-at-point.
11300 (makefile-completions-at-point): Rename from makefile-complete and
11301 adapt it for use on completion-at-point-functions.
11302 (makefile-mode): Use it.
11303 (makefile-complete): Redefine as obsolete alias.
11304
aebf69c8
DD
113052011-06-20 Deniz Dogan <deniz@dogan.se>
11306
11307 * net/rcirc.el: Delete trailing whitespaces once and for all.
11308
bfbbb27d
DC
113092011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11310
11311 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11312
d264a46b
CY
113132011-06-19 Chong Yidong <cyd@stupidchicken.com>
11314
4ca009e5
CY
11315 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11316
d264a46b
CY
11317 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11318
fbf5b3ce
MR
113192011-06-19 Martin Rudalics <rudalics@gmx.at>
11320
11321 * window.el (display-buffer-other-window-means-other-frame):
11322 Call display-buffer-normalize-alist.
11323 (display-buffer-normalize-specifiers-1): Rename to
11324 display-buffer-normalize-argument. New argument other-frame.
11325 Rewrite.
11326 (display-buffer-normalize-specifiers-2): Rename to
11327 display-buffer-normalize-options.
11328 (display-buffer-normalize-alist-1): New function.
11329 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11330 display-buffer-normalize-alist.
11331 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11332 (display-buffer-normalize-options-inhibit): New variable.
11333 (display-buffer-normalize-specifiers): Rewrite calling
11334 display-buffer-normalize-alist,
11335 display-buffer-normalize-argument, and
11336 display-buffer-normalize-options. Don't call the latter if
11337 display-buffer-normalize-options-inhibit is non-nil.
11338 (frame-auto-delete): New option.
11339 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11340 (window-list-no-nils, window-state-ignored-parameters)
11341 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11342 (window-state-put-1, window-state-put-2, window-state-put):
11343 New functions.
9a028c23
MR
11344 (display-buffer-normalize-options): Move special-display-p group
11345 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11346
6d10d800
CY
113472011-06-18 Chong Yidong <cyd@stupidchicken.com>
11348
6420d28b
CY
11349 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11350 groups (Bug#8776).
11351 (rx-submatch-n): New function.
11352 (rx): Document it.
11353
ddb8b596
CY
11354 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11355 (Bug#8768).
11356
11357 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11358
77080289
CY
11359 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11360
61dfb316
CY
11361 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11362 anytime existing face settings are present (Bug#8889).
11363
6d10d800
CY
11364 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11365 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11366 Remove unused argument.
11367
be3fb2b8
MR
113682011-06-18 Martin Rudalics <rudalics@gmx.at>
11369
bcd70d97
SM
11370 * window.el (display-buffer-default-specifiers):
11371 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11372 pop-up-window-min-width, and another reuse-window specifier
11373 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11374 (display-buffer-normalize-specifiers-2):
11375 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11376 pop-up-windows is unset. Add a reuse-window specifier for the
11377 case popping up a new window fails.
11378 (special-display-popup-frame): Remove double quoting.
28dec25a 11379 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11380
1c6d8c76
SM
113812011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11382
11383 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11384 according to comint-completion-addsuffix.
11385
11386 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11387 (pcomplete-suffix-list): Mark as obsolete.
11388 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11389 pcomplete-seen in the closure.
11390 (pcomplete-comint-setup): Setup completion-at-point as well.
11391 (pcomplete--entries): New function.
11392 (pcomplete--env-regexp): New var.
11393 (pcomplete-entries): Rewrite to work with partial-completion and
11394 without relying on pcomplete-suffix-list.
11395 (pcomplete-pare-list): Remove, unused.
11396
25aef8b8
MR
113972011-06-17 Martin Rudalics <rudalics@gmx.at>
11398
11399 * window.el (display-buffer-alist): Set pop-up-window-min-height
11400 and pop-up-window-min-width in default value. Reported by
11401 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11402 other-window-means-other-frame.
11403 (display-buffer-macro-specifiers): Comment out entry for
11404 other-window specifier.
11405 (display-buffer-other-window-means-other-frame): New function.
11406 (display-buffer-normalize-specifiers-1): New arguments
11407 buffer-name and label. Treat other-window case specially.
11408 (display-buffer-normalize-specifiers-2): Treat other-window case
11409 specially.
11410 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11411 (display-buffer-normalize-specifiers):
11412 Call display-buffer-normalize-specifiers-3.
25aef8b8 11413
dbad4f69
MR
114142011-06-17 Martin Rudalics <rudalics@gmx.at>
11415
11416 * window.el (same-window-p): Fix two typos introduced when
11417 adding with-no-warnings.
d1067961
MR
11418 (display-buffer-normalize-specifiers-1): Don't check
11419 pop-up-frames for 'unset initialization.
11420 (display-buffer-normalize-specifiers-2): Major rewrite using
11421 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11422 (pop-up-frames, display-buffer-reuse-frames)
11423 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11424 Suggested by David Engster <deng@randomsample.de>.
11425 (even-window-heights): Initialize to 'unset.
11426 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11427 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11428 other window case.
dbad4f69 11429
9b9c9e3a
MR
114302011-06-16 Martin Rudalics <rudalics@gmx.at>
11431
bcd70d97
SM
11432 * window.el (display-buffer-normalize-specifiers-1):
11433 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11434 second argument of display-buffer (Bug#8865).
981d5c09
MR
11435 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11436 (switch-to-buffer-other-window-same-frame)
11437 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11438 Adams (Bug#8875).
9c2755e9
MR
11439 (display-buffer): Don't check noninteractive when calling
11440 display-buffer-pop-up-frame.
11441 (display-buffer-pop-up-frame): Never pop up a frame in
11442 noninteractive mode (Bug#8857).
67222e1d
MR
11443 (enlarge-window, shrink-window): Don't report an error when the
11444 window can't be resized as requested (Bug#8862).
9b9c9e3a 11445
2b75be67
SM
114462011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11447
9ffdd3ba
SM
11448 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11449
cb581a67
SM
11450 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11451
2b75be67
SM
11452 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11453
8c0e3589
AM
114542011-06-15 Alan Mackenzie <acm@muc.de>
11455
cb581a67
SM
11456 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11457 for declarators, disable knr checking to speed up for normal files.
11458 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11459
b96e6cde
LMI
114602011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11461
4bba86e6
LMI
11462 * net/network-stream.el (open-network-stream): Add the keyword
11463 :always-query-capabilities for the case where you want to force a
11464 `plain' network connection, but the protocol still requires the
11465 capabilitiy command (i.e., SMTP and EHLO).
11466
2b75be67 11467 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11468 consistency with other `-live-p' functions.
11469
efdcdbf8
SM
114702011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11471
11472 * window.el (same-window-buffer-names, same-window-regexps)
11473 (special-display-frame-alist, special-display-popup-frame)
11474 (special-display-function, special-display-buffer-names)
11475 (special-display-regexps, pop-up-frame-alist)
11476 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11477 (pop-up-windows, split-window-preferred-function)
11478 (split-height-threshold, split-width-threshold, even-window-heights)
11479 (display-buffer-mark-dedicated): Don't encourage the use of
11480 display-buffer-alist from Elisp code.
11481
c5cde042
DN
114822011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11483
11484 * progmodes/python.el (python-mode): Derive from prog-mode.
11485 * progmodes/ps-mode.el (ps-mode):
11486 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11487 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11488 * progmodes/ld-script.el (ld-script-mode): Likewise.
11489
baa1c9ab
MR
114902011-06-15 Martin Rudalics <rudalics@gmx.at>
11491
11492 * window.el (display-buffer-alist): Trim default value to avoid
11493 popping up a new frame (Bug#8857) or reusing an arbitrary window
11494 on another frame.
11495 (display-buffer): Do not fall back on popping up a new frame in
11496 batch mode (Bug#8857).
11497
c5dd5a51
CY
114982011-06-14 Chong Yidong <cyd@stupidchicken.com>
11499
11500 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11501 (custom-theme-summary): New function.
11502 (customize-themes): Use it.
11503
d647b7c4
GM
115042011-06-13 Glenn Morris <rgm@gnu.org>
11505
11506 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11507
9481c002
MR
115082011-06-13 Martin Rudalics <rudalics@gmx.at>
11509
357f93d2
MR
11510 * help.el (help-window): Remove variable.
11511 (help-window-point-marker, temp-buffer-max-height)
11512 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11513 (help-print-return-message): Don't set help-window.
11514 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11515 (help-window-setup-finish): Remove.
11516 (help-window-display-message, help-window-setup)
11517 (with-help-window): Major rewrite based on new
11518 display-buffer-window variable.
11519
11520 * help-mode.el (help-mode-finish): Remove help-window related
11521 code.
11522
11523 * view.el (view-exits-all-viewing-windows): Remove reference to
11524 view-return-to-alist in doc-string.
11525 (view-return-to-alist): Make obsolete.
11526 (view-buffer): Call pop-to-buffer-same-window and remove
11527 undo-window code.
11528 (view-buffer-other-window): Call pop-to-buffer-other-window and
11529 simplify code. Ignore second argument.
11530 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11531 simplify code. Ignore second argument.
11532 (view-return-to-alist-update): Make obsolete.
11533 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11534 Rewrite using quit-restore window parameters.
2b75be67
SM
11535 (view-mode-exit): Rename second argument to EXIT-ONLY.
11536 Rewrite using quit-restore-window.
357f93d2
MR
11537 (View-exit, View-exit-and-edit, View-leave, View-quit)
11538 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11539 appropriate arguments.
11540 (view-end-message): Use quit-restore window parameter.
11541
9481c002
MR
11542 * window.el (display-buffer-function): Rewrite doc-string.
11543 (display-buffer-window, display-buffer-alist): New variables.
11544 (display-buffer-split-specifiers)
11545 (display-buffer-side-specifiers)
11546 (display-buffer-macro-specifiers): New constants.
11547 (display-buffer-even-window-sizes, display-buffer-set-height)
11548 (display-buffer-set-width, display-buffer-select-window)
11549 (display-buffer-in-window, display-buffer-reuse-window)
11550 (display-buffer-split-window-1, display-buffer-split-window)
11551 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11552 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11553 (display-buffer-in-side-window, normalize-buffer-to-display)
11554 (display-buffer-normalize-specifiers-1)
11555 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11556 (display-buffer-normalize-specifiers, display-buffer-frame):
11557 New functions.
9481c002
MR
11558 (display-buffer): Major rewrite.
11559 (display-buffer-other-window, display-buffer-other-frame)
11560 (pop-to-buffer, switch-to-buffer-other-window)
11561 (switch-to-buffer-other-frame): Rewrite.
11562 (display-buffer-same-window, display-buffer-same-frame)
11563 (display-buffer-same-frame-other-window)
11564 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11565 (pop-to-buffer-other-window)
11566 (pop-to-buffer-same-frame-other-window)
11567 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11568 (switch-to-buffer-other-window-same-frame): New functions.
11569 (same-window-p, special-display-p): Rewrite disabling warnings.
11570 Make obsolete.
11571 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11572 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11573 Make obsolete
11574 (same-window-buffer-names, same-window-regexps)
11575 (special-display-frame-alist, special-display-popup-frame)
11576 (special-display-function, special-display-buffer-names)
11577 (special-display-regexps, pop-up-frame-alist)
11578 (pop-up-frame-function, split-window-preferred-function)
11579 (split-height-threshold, split-width-threshold)
11580 (even-window-heights): Make obsolete.
11581
9db51aca
GM
115822011-06-12 Glenn Morris <rgm@gnu.org>
11583
11584 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11585 Misc simplifications.
9db51aca 11586
39cffb44
MR
115872011-06-12 Martin Rudalics <rudalics@gmx.at>
11588
11589 * window.el (window-safely-shrinkable-p): Restore function which
11590 was inadvertently removed in change from 2011-06-11. Declare as
11591 obsolete.
11592
2b75be67
SM
11593 * calendar/calendar.el (calendar-generate-window):
11594 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11595 window-safely-shrinkable-p.
11596
a8955be7
GM
115972011-06-12 Glenn Morris <rgm@gnu.org>
11598
11599 * progmodes/fortran.el (fortran-mode-syntax-table):
11600 * progmodes/f90.el (f90-mode-syntax-table):
11601 Set % to punctuation. (Bug#8820)
11602 (f90-find-tag-default): Remove, no longer needed.
11603
f0d4059d
DC
116042011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11605
11606 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11607
1100a63c
CY
116082011-06-11 Chong Yidong <cyd@stupidchicken.com>
11609
11610 * image.el (image-animated-p): Return animation delay in seconds.
11611 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11612 (image-animate-timeout): Remove DELAY argument. Don't assume
11613 every subimage has the same delay; get it from image-animated-p.
11614 (image-animate): Caller changed.
11615
def722bf
MA
116162011-06-11 Michael Albinus <michael.albinus@gmx.de>
11617
11618 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11619 to ignored backtrace functions.
11620
0a2bb1a9
GM
116212011-06-11 Glenn Morris <rgm@gnu.org>
11622
11623 * calendar/appt.el (appt-disp-window-function): Doc fix.
11624 (appt-check): Handle overlapping appointments. (Bug#8337)
11625
6198ccd0
MR
116262011-06-11 Martin Rudalics <rudalics@gmx.at>
11627
11628 * window.el (window-tree-1, window-tree): New functions, moving
11629 the latter to window.el.
11630 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11631 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11632 (bw-refresh-edges): Remove.
11633 (balance-windows-1, balance-windows-2): New functions.
11634 (balance-windows): Rewrite in terms of window tree functions,
11635 balance-windows-1 and balance-windows-2.
11636 (bw-adjust-window): Remove.
11637 (balance-windows-area-adjust): New function with functionality of
11638 bw-adjust-window but using resize-window.
2b75be67
SM
11639 (set-window-text-height): Rewrite doc-string.
11640 Use normalize-live-window and resize-window.
11641 (enlarge-window-horizontally, shrink-window-horizontally):
11642 Rename argument to DELTA.
6198ccd0
MR
11643 (window-buffer-height): New function.
11644 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11645 Rewrite using new window resize routines.
2b75be67
SM
11646 (kill-buffer-and-window, mouse-autoselect-window-select):
11647 Use ignore-errors instead of condition-case.
6198ccd0
MR
11648 (quit-window): Call delete-frame instead of delete-windows-on
11649 for the only buffer on frame.
11650
9397e56f
MR
116512011-06-10 Martin Rudalics <rudalics@gmx.at>
11652
11653 * loadup.el (top-level): Load window before files for the sake
11654 of replace-buffer-in-windows.
11655
11656 * files.el (read-buffer-to-switch)
11657 (switch-to-buffer-other-window)
2b75be67
SM
11658 (switch-to-buffer-other-frame, display-buffer-other-frame):
11659 Move to window.el.
9397e56f
MR
11660
11661 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11662 (previous-buffer): Move to window.el.
11663
11664 * bindings.el (unbury-buffer): Move to window.el.
11665
11666 * window.el (delete-other-windows-vertically): Move after
11667 definition of delete-other-windows.
11668 (other-window, delete-windows-on, replace-buffer-in-windows):
11669 Move here from window.c.
11670 (record-window-buffer, unrecord-window-buffer)
11671 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11672 (switch-to-next-buffer): New functions.
11673 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11674 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11675 (previous-buffer): Move here from simple.el.
11676 Call switch-to-prev-buffer.
9397e56f
MR
11677 (bury-buffer): Move here from buffer.c. Switch to previous
11678 buffer when window cannot be deleted.
11679 (unbury-buffer): Move here from bindings.el.
11680 (ctl-x-map): Move binding for other-window from window.c to
11681 here.
11682 (read-buffer-to-switch, switch-to-buffer-other-window)
11683 (switch-to-buffer-other-frame): Move here from files.el.
11684 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11685 (switch-to-buffer): Move here from buffer.c.
11686 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11687
562dd5e9
MR
116882011-06-10 Martin Rudalics <rudalics@gmx.at>
11689
11690 * window.el (window-min-height, window-min-width): Move here
11691 from window.c. Add defcustoms and rewrite doc-strings.
11692 (resize-mini-window, resize-window): New functions.
11693 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11694 Move here from window.c.
11695 (maximize-window, minimize-window): New functions.
11696 (delete-window, delete-other-windows, split-window): Move here
11697 from window.c.
11698 (window-split-min-size): New function.
11699 (split-window-keep-point): Mention split-window-above-each-other
11700 instead of split-window-vertically.
2b75be67 11701 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11702 Rename split-window-vertically to split-window-above-each-other
11703 and provide defalias for old definition.
11704 (split-window-side-by-side, split-window-horizontally):
11705 Rename split-window-horizontally to split-window-side-by-side
11706 and provide defalias for the old definition.
562dd5e9
MR
11707 (ctl-x-map): Move bindings for delete-window,
11708 delete-other-windows and enlarge-window here from window.c.
11709 Replace bindings for split-window-vertically and
11710 split-window-horizontally by bindings for
11711 split-window-above-each-other and split-window-side-by-side.
11712
11713 * cus-start.el (all): Remove entries for window-min-height and
11714 window-min-width. Add entries for window-splits and
11715 window-nest.
11716
f0da764a
GM
117172011-06-09 Glenn Morris <rgm@gnu.org>
11718
80675c21
GM
11719 * calendar/appt.el (appt-mode-line): New function.
11720 (appt-check, appt-disp-window): Use it.
11721
f0da764a
GM
11722 * files.el (hack-one-local-variable-eval-safep):
11723 Allow minor-modes with explicit +/-1 arguments.
11724
59f623b7
TZ
117252011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11726
11727 * term/xterm.el (xterm): Add defgroup.
11728 (xterm-extra-capabilities): Add defcustom to supply known xterm
11729 capabilities, skip querying them, or query them (default).
11730 (terminal-init-xterm): Use it.
11731 (terminal-init-xterm-modify-other-keys): New function to set up
11732 modifyOtherKeys support to simplify `terminal-init-xterm'.
11733
9aab8e0d
MR
117342011-06-09 Martin Rudalics <rudalics@gmx.at>
11735
11736 * window.el (resize-window-reset, resize-window-reset-1)
11737 (resize-subwindows-skip-p, resize-subwindows-normal)
11738 (resize-subwindows, resize-other-windows, resize-this-window)
11739 (resize-root-window, resize-root-window-vertically)
11740 (window-deletable-p, window-or-subwindow-p)
11741 (frame-root-window-p): New functions.
11742
e8b08aee
GM
117432011-06-09 Glenn Morris <rgm@gnu.org>
11744
11745 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11746 (ange-ftp-get-files): Use it.
11747
254c37a5
AK
117482011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11749
11750 * mail/sendmail.el (mail-recover-1, mail-recover):
11751 * files.el (recover-file, recover-session):
11752 Handle dired-listing-switches not being just a single short option.
11753
35d7dbd3
GM
117542011-06-09 Glenn Morris <rgm@gnu.org>
11755
11756 * calendar/appt.el (appt-display-message, appt-disp-window):
11757 Handle lists of appointments.
11758
387522b2
MR
117592011-06-08 Martin Rudalics <rudalics@gmx.at>
11760
2b75be67
SM
11761 * window.el (one-window-p): Move down in code.
11762 Rewrite doc-string.
11763 (window-current-scroll-bars): Rewrite doc-string.
11764 Normalize live window argument.
387522b2
MR
11765 (walk-windows, get-window-with-predicate, count-windows):
11766 Rewrite doc-string. Use window-list-1.
11767 (window-in-direction-2, window-in-direction, get-mru-window):
11768 New functions.
11769
d8e4b68b 117702011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11771
11772 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11773 Doc fix (Bug#8713).
11774
117752011-06-08 Chong Yidong <cyd@stupidchicken.com>
11776
11777 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11778
117792011-06-08 Juanma Barranquero <lekktu@gmail.com>
11780
11781 * loadhist.el (unload-feature-special-hooks):
11782 Add `comint-output-filter-functions'.
11783
0de12c52
IK
117842011-06-08 Ivan Kanis <gnu@kanis.fr>
11785
11786 * calendar/appt.el (appt-check): Move some initializations into the let.
11787
f3d1777e
MR
117882011-06-08 Martin Rudalics <rudalics@gmx.at>
11789
11790 * window.el (window-height): Defalias to window-total-height.
11791 (window-width): Defalias to window-body-width.
11792
18af70d0
CY
117932011-06-07 Chong Yidong <cyd@stupidchicken.com>
11794
11795 * image-mode.el (image-toggle-animation): New command.
11796 (image-mode-map): Bind it to RET.
11797 (image-mode): Update message.
11798 (image-toggle-display-image): Avoid a spurious cache flush.
11799 (image-transform-rotation): Doc fix.
11800 (image-transform-properties): Return quickly in the normal case.
11801 (image-animate-loop): Rename from image-animate-max-time.
11802
2b75be67 11803 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11804 (create-animated-image): Remove unnecessary function.
11805 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11806 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11807 (image-animate-timer): Use car-safe.
11808 (image-animate-timeout): Rename argument.
11809
190b47e6
MR
118102011-06-07 Martin Rudalics <rudalics@gmx.at>
11811
11812 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11813 window.c. Rename first argument to ALL-FRAMES.
11814 Rephrase doc-strings.
11815 (get-buffer-window-list): Rewrite using window-list-1.
11816 Rephrase doc-string.
a1511caf
MR
11817 (window-safe-min-height, window-safe-min-width): New constants.
11818 (window-size-ignore, window-min-size, window-min-size-1)
11819 (window-sizable, window-sizable-p, window-size-fixed-1)
11820 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11821 (window-max-delta-1, window-max-delta, window-resizable)
11822 (window-resizable-p, window-total-height, window-total-width)
11823 (window-body-width): New functions.
11824 (window-full-height-p, window-full-width-p): Rewrite using
11825 window-total-size.
11826 (window-body-height): Rewrite using window-body-size.
190b47e6 11827
85cc1f11
MR
118282011-06-06 Martin Rudalics <rudalics@gmx.at>
11829
11830 * window.el (window-right, window-left, window-child)
11831 (window-child-count, window-last-child, window-any-p)
11832 (normalize-live-buffer, normalize-live-frame)
11833 (normalize-any-window, normalize-live-window)
11834 (window-iso-combination-p, window-iso-combined-p)
11835 (window-iso-combinations)
11836 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11837 (windows-with-parameter, window-with-parameter)
11838 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11839 (window-atom-check, window-side-check, window-check):
11840 New functions.
85cc1f11
MR
11841 (ignore-window-parameters, window-sides, window-sides-vertical)
11842 (window-sides-slots): New variables.
11843 (window-size-fixed): Move down in code. Minor doc-string fix.
11844
e7156492
AS
118452011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11846
11847 * comint.el (comint-dynamic-complete-as-filename)
11848 (comint-dynamic-complete-filename): Correctly call
11849 completion-in-region.
11850
7e821d0d
DD
118512011-06-05 Deniz Dogan <deniz@dogan.se>
11852
11853 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11854 in last change.
11855
ac09b8a1
DD
118562011-06-05 Deniz Dogan <deniz@dogan.se>
11857
11858 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11859 (rcirc): Use it to prompt for encryption.
11860
34699b85
RW
118612011-06-05 Roland Winkler <winkler@gnu.org>
11862
11863 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11864 (bibtex-search-entries): New command bound to C-c C-a.
11865 (bibtex-display-entries): New function.
11866
004dedd3
RW
118672011-06-05 Roland Winkler <winkler@gnu.org>
11868
11869 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11870 (bibtex-insert-kill): After yanking insert newline if necessary.
11871 (bibtex-initialize): Call bibtex-string-files-init only once.
11872 (bibtex-mode): Do not call easy-menu-add.
11873 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11874 (bibtex-yank): Set arg properly if nil.
11875
022fe7ce
RW
118762011-06-05 Roland Winkler <winkler@gnu.org>
11877
2b75be67
SM
11878 * textmodes/bibtex.el (bibtex-search-entry-globally):
11879 New variable.
022fe7ce
RW
11880 (bibtex-search-entry): Use it.
11881
b7c3692a
RW
118822011-06-05 Roland Winkler <winkler@gnu.org>
11883
11884 * textmodes/bibtex.el (bibtex-entry-format): New option
11885 sort-fields.
11886 (bibtex-format-entry, bibtex-reformat): Honor this option.
11887 (bibtex-parse-entry): Return fields in proper order.
11888
8eda563d
JB
118892011-06-05 Juanma Barranquero <lekktu@gmail.com>
11890
11891 * doc-view.el (doc-view-remove-if): Move computation of result out
11892 of `dolist' to silence misleading lexical-binding warning.
11893
7dbe3dbc
CY
118942011-06-04 Chong Yidong <cyd@stupidchicken.com>
11895
11896 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11897 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11898
0c33dd17
MA
118992011-06-04 Michael Albinus <michael.albinus@gmx.de>
11900
11901 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11902 "SunOS 5.10".
11903
f8f91c2b
MA
119042011-06-04 Michael Albinus <michael.albinus@gmx.de>
11905
11906 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11907 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11908 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11909 (tramp-parse-putty):
11910 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11911 (tramp-completion-function-alist-ssh)
11912 (tramp-completion-function-alist-telnet)
11913 (tramp-completion-function-alist-su)
11914 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11915 cookie.
11916
11917 * net/tramp-ftp.el:
11918 * net/tramp-sh.el:
11919 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11920 load "tramp.el" `tramp-set-completion-function'.
11921
e17d9003
SM
119222011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11923
11924 * shell.el: Require and use pcomplete.
11925 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11926 (shell-completion-vars): Set pcomplete-default-completion-function.
11927
6c4cab03
DD
119282011-06-04 Deniz Dogan <deniz@dogan.se>
11929
11930 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11931 `memq' (Bug#8799).
11932
ea9fafe0
SM
119332011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11934
11935 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11936
b3e945d3
JB
119372011-06-02 Juanma Barranquero <lekktu@gmail.com>
11938
11939 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11940 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11941 * vc/log-view.el (log-view-beginning-of-defun):
11942 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11943 (smerge-refine-forward, smerge-refine-chopup-region):
11944 Silence warning for unused `dotimes' counter variables.
11945
7d520089
SM
119462011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11947
11948 * net/tramp.el (tramp-with-progress-reporter): Rename from
11949 with-progress-reporter. Use `declare'.
11950 * net/tramp-smb.el:
11951 * net/tramp-sh.el:
11952 * net/tramp-gvfs.el: Update all uses.
11953
a1c2400f
JB
119542011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11955
11956 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11957 buffer isn't killed before making it current.
11958
2403c841
SM
119592011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11960
11961 Silence various byte-compiler warnings.
11962 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11963 `access-type' and new obsolescence format.
11964 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11965 new format.
11966 (byte-compile-check-variable): New `access-type' argument.
11967 Only warn if the access-type is obsolete.
11968 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11969 (byte-compile-variable-set): Adjust callers.
11970 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11971 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11972 setting it as obsolete.
11973 * simple.el (minibuffer-completing-symbol):
11974 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11975 access as obsolete.
11976 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11977 obsolete yet.
11978 * international/quail.el (quail-mouse-choose-completion): Remove unused
11979 code referring to obsolete var.
11980 (quail-choose-completion-string): Remove.
11981 * server.el (server-clients-with, server-kill-buffer-query-function)
11982 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11983 * proced.el (proced-send-signal):
11984 * emacs-lisp/lisp.el (lisp-complete-symbol):
11985 Replace completion-annotate-function with completion-extra-properties.
11986
2462470b
SM
119872011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11988
fb5b2591
SM
11989 * simple.el (goto-line): Use read-number.
11990 (overriding-map-is-bound): Remove.
11991 (saved-overriding-map): Change default.
11992 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11993 Take the map as argument.
11994 (universal-argument, negative-argument, digit-argument): Use it.
11995 (restore-overriding-map): Adjust.
11996 (do-auto-fill): Use fill-forward-paragraph.
11997 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11998
fd6fa53f
SM
11999 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12000 (minibuffer-inactive-mode): New major mode.
12001 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12002 the *Messages* buffer" hack.
12003 (mouse-popup-menubar): Don't burp if the event is a normal key.
12004
2462470b
SM
12005 Miscellaneous tweaks.
12006 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12007 lexical scoping as in subr.el's dolist and dotimes.
12008 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12009 Silence compiler warning.
12010 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12011 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12012 * international/ccl.el (ccl-compile): Trivial simplification.
12013 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12014 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12015 `printflag' argument.
12016 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12017 Purecopy the whole obsolescence data.
12018
108bf785
LL
120192011-06-01 Leo Liu <sdl.web@gmail.com>
12020
12021 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12022 improve doc-string as suggested by Marco Pessotto
12023 <melmothx@gmail.com>.
12024 (rcirc-print): Fix last change.
12025
30a23501
SM
120262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * minibuffer.el (complete-with-action): Return nil for the metadata and
12029 boundaries of non-functional tables.
12030 (completion-table-dynamic): Return nil for the metadata.
12031 (completion-table-with-terminator): Add default case, using
12032 complete-with-action.
12033 (completion--metadata): New function.
12034 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12035 to try and avoid pathological performance problems.
12036 (completion--embedded-envvar-table): Return `category' metadata.
12037
bcd54f83
LMI
120382011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12039
12040 * subr.el (process-alive-p): New tiny convenience function.
12041
e227544d
SM
120422011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12043
12044 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12045 content but also its previous major mode.
12046
e8296fdc
HE
120472011-05-31 Helmut Eller <eller.helmut@gmail.com>
12048
4d61f28d 12049 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12050 *Backtrace* buffer when we exit with C-M-c.
12051
620c53a6
SM
120522011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * minibuffer.el: Add metadata method to completion tables.
12055 (completion-category-overrides): New defcustom.
12056 (completion-metadata, completion--field-metadata)
12057 (completion-metadata-get, completion--styles)
12058 (completion--cycle-threshold): New functions.
12059 (completion-try-completion, completion-all-completions):
12060 Add `metadata' argument to choose completion-styles.
12061 (completion--do-completion): Use metadata to choose cycling.
12062 (completion-all-sorted-completions): Use metadata for sorting.
12063 Remove :completion-cycle-penalty which is not needed any more.
12064 (completion--try-word-completion): Add `metadata' argument.
12065 (minibuffer-completion-help): Check metadata for annotation function
12066 and sorting.
12067 (completion-file-name-table): Return `category' metadata.
12068 (minibuffer-completing-file-name): Make obsolete.
12069 * simple.el (minibuffer-completing-symbol): Make obsolete.
12070 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12071 completion-try-completion.
12072
1257e755
SM
120732011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12074
12075 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12076
3767e706
LL
120772011-05-30 Leo Liu <sdl.web@gmail.com>
12078
12079 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12080 (rcirc-print): Decode all incoming messages (bug#8744).
12081 (rcirc-decode-coding-system): Allow value nil for automatic coding
12082 system detection.
3767e706 12083
d1a5d56a
GM
120842011-06-01 Glenn Morris <rgm@gnu.org>
12085
12086 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12087
e8cbec34
CY
120882011-05-29 Chong Yidong <cyd@stupidchicken.com>
12089
12090 * image.el (image-animate-max-time): Allow nil and t values.
12091 Default to nil.
12092 (create-animated-image): Doc fix.
12093 (image-animate-start): Remove second arg; just use
12094 image-animate-max-time.
12095 (image-animate-timeout): Doc fix. Args changed.
12096
12097 * image-mode.el (image-toggle-display-image): Ensure that the
12098 image spec passed to the animate timer is the same object as in
58179cce 12099 the buffer's display property (Bug#6981).
e8cbec34
CY
12100 (image-transform-properties): Doc fix.
12101
12102 * image.el (image-animate-max-time): Default to nil.
12103
159daf87
MR
121042011-05-29 Martin Rudalics <rudalics@gmx.at>
12105
12106 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12107 entire buffer list (Bug#8184).
12108
d66c4c7c
CY
121092011-05-29 Chong Yidong <cyd@stupidchicken.com>
12110
12111 * image.el (imagemagick-types-inhibit)
12112 (imagemagick-register-types): Doc fix.
12113
80aec780
DD
121142011-05-29 Deniz Dogan <deniz@dogan.se>
12115
12116 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12117 default.
12118
1dd3c2d9
CY
121192011-05-29 Chong Yidong <cyd@stupidchicken.com>
12120
12121 * select.el: Don't perform clipboard-manager saving in hooks;
12122 leave the hooks empty.
12123
60e56523
LL
121242011-05-28 Leo Liu <sdl.web@gmail.com>
12125
12126 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12127 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12128 (occur-edit-mode): New major mode (Bug#8463).
12129 (occur-after-change-function): New function.
12130 (occur-engine): Give Occur tags a read-only property.
12131
2b1e1a22
KR
121322011-05-28 Kevin Ryde <user42@zip.com.au>
12133
12134 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12135
5d344e88
CY
121362011-05-28 Chong Yidong <cyd@stupidchicken.com>
12137
8e6ca83d
CY
12138 * bindings.el (help-echo): Make the initial non-indicator dash
12139 empty on graphical terminals (Bug#7295).
12140
5d344e88
CY
12141 * files.el (auto-mode-alist): Move config rule after the
12142 in-stripping one (Bug#8547).
12143
bfbbace7
CY
12144 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12145
fbeba6e2
CY
12146 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12147 setting (Bug#8740).
12148
60ed8c72
AA
121492011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12150
4ac619f0
AA
12151 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12152 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12153 (Bug#8539).
60ed8c72 12154
23db196e
CY
121552011-05-28 Chong Yidong <cyd@stupidchicken.com>
12156
12157 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12158
5012f24c
DK
121592011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12160
12161 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12162 (hs-hide-block-at-point, hs-find-block-beginning)
12163 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12164 (Bug#8279).
12165
6a639b16
GM
121662011-05-28 Glenn Morris <rgm@gnu.org>
12167
12168 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12169
d43eaf2c
CY
121702011-05-28 Chong Yidong <cyd@stupidchicken.com>
12171
5199bde1
CY
12172 * help-fns.el (describe-function-1): If the function is a derived
12173 major mode, print the parent mode.
12174
d43eaf2c
CY
12175 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12176 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12177
423428a8
SM
121782011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12179
0ff8e1ba 12180 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12181 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12182 * progmodes/etags.el (tags-completion-at-point-function):
12183 * info-look.el (info-lookup-completions-at-point): Mark as
12184 non-exclusive.
12185 (info-complete): Adjust accordingly.
12186
423428a8
SM
12187 * info-look.el: Convert to lexical-binding and completion-at-point.
12188 (info-lookup-completions-at-point): New function.
12189 (info-complete): Use it and completion-in-region.
12190
b74aa22b
DA
121912011-05-28 Drew Adams <drew.adams@oracle.com>
12192
12193 * isearch.el: Let M-e start with point at the first mismatched char.
12194 (isearch-fail-pos): New function.
12195 (isearch-edit-string): Use it.
12196
66e2e71d
DK
121972011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12198
12199 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12200
b1890b0f 122012011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12202
12203 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12204 traversal functions for avl-trees.
12205 (avl-tree--stack): New struct.
12206 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12207 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12208 (avl-tree--do-enter): Add optional `updatefun' arg.
12209 Change return value.
eb95d01d 12210 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12211 (avl-tree--do-delete): Add `test' and `nilflag' args.
12212 Change return value.
eb95d01d
TC
12213 (avl-tree-member): Add optional `nilflag'
12214 (avl-tree-member-p): New function.
12215 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12216 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12217 (avl-tree-stack-empty-p): New functions.
12218
3769ddcf
TC
12219 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12220 avl-tree--del-balance1 and make it work both ways.
12221 (avl-tree--del-balance2): Remove.
12222 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12223 make it work both ways.
12224 (avl-tree--enter-balance2): Remove.
12225 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12226 New macros.
12227 (avl-tree--mapc, avl-tree-map): Add direction argument.
12228
eb95d01d 122292011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12230
12231 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12232
a9f737ee
CY
122332011-05-27 Chong Yidong <cyd@stupidchicken.com>
12234
12235 * select.el: Support clipboard managers with built-in function
12236 x-clipboard-manager-save, via delete-frame-functions and
12237 kill-emacs-hook.
12238 (xselect-convert-to-targets): Add MULTIPLE target to list.
12239 (xselect-convert-to-save-targets): New function.
12240
c92a1e54
KH
122412011-05-27 Kenichi Handa <handa@m17n.org>
12242
12243 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12244 let-binding rfc2047-encode-encoded-words to nil.
12245
e145f188
GM
122462011-05-27 Glenn Morris <rgm@gnu.org>
12247
5ec8a862
GM
12248 * mail/emacsbug.el: Don't require url-util.
12249
4b29d9fb
GM
12250 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12251
e145f188
GM
12252 * files.el (set-auto-mode):
12253 Also respect mode: entries at the end of the file. (Bug#8586)
12254
7d15102b
GM
122552011-05-26 Glenn Morris <rgm@gnu.org>
12256
98f593b8
GM
12257 * files.el (hack-local-variables-prop-line, hack-local-variables):
12258 Downcase mode names, as seems to be traditional.
27b48e63 12259 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12260
7d15102b
GM
12261 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12262 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12263
51d5b4ec
JD
122642011-05-25 Julien Danjou <julien@danjou.info>
12265
12266 * textmodes/rst.el (rst-define-level-faces): Do not define face
12267 symbol if it is already defined.
12268
91513f63
VB
122692011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12270
12271 * play/5x5.el (5x5-new-game, 5x5-randomize):
12272 Reset 5x5-solver-output to nil when a new grid is cast.
12273 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12274 these debugging traces, as defmacro breaks the compiled code.
12275
4d90d6d0
DK
122762011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12277
12278 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12279
e1b90ef6
LL
122802011-05-24 Leo Liu <sdl.web@gmail.com>
12281
12282 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12283 (vc-bzr-sha1): Adapt.
12284
d8e4b68b 12285 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12286
12287 * bindings.el: Provide sha1 feature.
12288
db0406bb 122892011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12290
12291 * mail/sendmail.el: Require `rfc2047'.
12292 (mail-insert-from-field): Do not perform RFC2047 encoding.
12293 (mail-encode-header): New function.
12294 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12295 buffer to the return value of select-message-coding-system.
12296 Call mail-encode-header.
b8d747b9
KH
12297
12298 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12299
db0406bb 123002011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12301
4d90d6d0
DK
12302 * mail/supercite.el (sc-default-cite-frame):
12303 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12304
eb8a5e9b
GM
123052011-05-24 Glenn Morris <rgm@gnu.org>
12306
f8630703
GM
12307 * progmodes/python.el (brm-menu): Declare.
12308
8831bbed
GM
12309 * emulation/viper.el (viper-set-hooks): Declare.
12310
eb8a5e9b
GM
12311 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12312 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12313 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12314 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12315 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12316 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12317
a2a25d24
SM
123182011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12319
12320 Add an :exit-function for completion-at-point.
12321
12322 * minibuffer.el (completion--done): New fun.
12323 (completion--do-completion): Use it. New arg `expect-exact'.
12324 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12325 since completion--do-completion does it for us now.
12326 (minibuffer-force-complete): Use completion--done and
12327 completion--replace. Handle sole-completion case with more care.
12328 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12329 (completion-extra-properties): New var.
12330 (completion-annotate-function): Make obsolete.
12331 (minibuffer-completion-help): Adjust accordingly.
12332 Use completion-list-insert-choice-function.
12333 (completion-at-point, completion-help-at-point):
12334 Bind completion-extra-properties.
12335 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12336 * simple.el (completion-list-insert-choice-function): New var.
12337 (completion-setup-function): Preserve it.
12338 (choose-completion): Pay attention to it, shuffle the code a bit.
12339 (choose-completion-string): New arg `insert-function'.
12340
12341 * textmodes/bibtex.el: Convert to lexical binding.
12342 (bibtex-mode-map): Use completion-at-point.
12343 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12344 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12345 (bibtex-complete): Define as obsolete alias.
12346 (bibtex-complete-internal): Remove.
12347 (bibtex-format-entry): Remove unused sub-group in regexp.
12348 * shell.el (shell--command-completion-data)
12349 (shell-environment-variable-completion):
12350 * pcomplete.el (pcomplete-completions-at-point):
12351 * comint.el (comint--complete-file-name-data): Use :exit-function
12352 instead of completion-table-with-terminator so it also works for
12353 choose-completion.
12354
e44e373d
SM
123552011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12356
4f91a816
SM
12357 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12358
782fc819
SM
12359 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12360 (bug#8710).
12361
e44e373d
SM
12362 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12363
381987c3
KM
123642011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12365
12366 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12367 customization variable and implement: If non-nil, auto-fill will
12368 be inhibited while on topic's header line.
12369
b776bc70
VB
123702011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12371
12372 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12373 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12374 always have a solution in grid size = 5 cases.
12375 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12376 (5x5-solver-output, 5x5-log-buffer): New vars.
12377 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12378 Make these variables buffer local to achieve 5x5 multi-session-ness.
12379 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12380 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12381 (5x5-solve-suggest): New funs.
12382 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12383 randomize a grid so that we ensure that there is always a solution.
12384 (5x5-make-random-grid): Allow other movement than flipping.
12385
7de88b6e
KR
123862011-05-23 Kevin Ryde <user42@zip.com.au>
12387
12388 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12389 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12390 advice and passes PREDICATE.
12391
b1ef1257
SM
123922011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12393
bbca48fe
SM
12394 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12395 byte-compile-lambda if it's actually a lambda.
12396
b1ef1257
SM
12397 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12398 Fix function quoting. Use backquote better.
12399
92a9cc65
YS
124002011-05-22 Yuanle Song <sylecn@gmail.com>
12401
12402 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12403 matching (Bug#8516).
12404
f0fb8059
JA
124052011-01-22 Jari Aalto <jari.aalto@cante.net>
12406
12407 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12408 different face (Bug#8178).
12409
d5b44c93
CY
124102011-05-22 Chong Yidong <cyd@stupidchicken.com>
12411
12412 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12413 defface (Bug#8144).
12414
79106a44
SM
124152011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12416
9c848d8a
SM
12417 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12418 funcall as well (bug#8712). Warn when performing those conversions.
12419 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12420
79106a44
SM
12421 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12422
88dfa756
GM
124232011-05-22 Glenn Morris <rgm@gnu.org>
12424
12425 * files.el (hack-local-variables-prop-line): Small simplifications.
12426 (hack-local-variables, hack-local-variables-prop-line):
12427 If MODE-ONLY, return the mode, rather than just `t'.
12428
b7cf2c79
SM
124292011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12430
12431 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12432
3f1a8558
GM
124332011-05-21 Glenn Morris <rgm@gnu.org>
12434
7e4ccca3
GM
12435 * files.el (hack-local-variables-prop-line, hack-local-variables):
12436 If only interested in the mode, don't bother doing the other stuff.
12437
637d46ca
GM
12438 * image-mode.el (image-after-revert-hook):
12439 Redraw all frames on which the image is visible. (Bug#8567)
12440
973d955b
GM
12441 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12442
3f1a8558
GM
12443 * wid-edit.el (widget-checklist-match-inline):
12444 Fix 2011-04-19 change. (Bug#8649)
12445
96479927
SM
124462011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12447
1dcf791f
SM
12448 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12449 Also allow singlespace after single-letter capitals followed by a dot.
12450
96479927
SM
12451 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12452 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12453
35fd0881
N
124542011-05-20 Nix <nix@esperi.org.uk>
12455
12456 * files.el (basic-save-buffer-2):
12457 Fix handling of break-hardlink-on-save with non-existent files.
12458
82745640
DD
124592011-05-19 Deniz Dogan <deniz@dogan.se>
12460
12461 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12462 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12463
4a720484
GM
124642011-05-19 Glenn Morris <rgm@gnu.org>
12465
d1f21341
GM
12466 * progmodes/f90.el (f90-type-def-re):
12467 Handle "type, bind(c)". (Bug#8691)
12468
4a720484
GM
12469 * emacs-lisp/autoload.el (batch-update-autoloads):
12470 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12471
2fb0a219
MA
124722011-05-18 Michael Albinus <michael.albinus@gmx.de>
12473
12474 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12475 property for the correct connection in case of multihops.
12476
e565dd37
GM
124772011-05-18 Glenn Morris <rgm@gnu.org>
12478
c2571358 12479 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12480 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12481
e565dd37
GM
12482 Rationalize calendar handling of day and month abbrev-arrays.
12483 * calendar/calendar.el (calendar-customized-p): New function.
12484 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12485 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12486 Add :set function.
12487 (calendar-abbrev-length, calendar-day-abbrev-array)
12488 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12489 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12490 Elements may no longer be nil.
12491 (calendar-day-name, calendar-month-name):
12492 Update for changed nature of abbrev arrays.
12493 * calendar/diary-lib.el (diary-name-pattern):
12494 Update for changed nature of abbrev arrays.
12495 (diary-mark-entries-1): Update calendar-make-alist calls.
12496 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12497 * calendar/cal-html.el (cal-html-day-abbrev-array):
12498 Simply inherit from calendar-day-abbrev-array.
12499
1d99a745
SM
125002011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12501
12502 * progmodes/grep.el (grep-mode): Disable default
12503 compilation-directory-matcher setting (bug#8684).
12504
7c1d9aa0
MA
125052011-05-17 Michael Albinus <michael.albinus@gmx.de>
12506
12507 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12508 instead of "head" and "tail". There were problems with SunOS 5.9,
12509 and it performs better.
12510
3952e9d8
GM
125112011-05-17 Glenn Morris <rgm@gnu.org>
12512
2dd12e7f
GM
12513 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12514
e4157b9c
GM
12515 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12516 Replace obsolete function.
12517
8e249bbd
GM
12518 * shell.el (pcomplete-parse-arguments-function): Declare.
12519
3952e9d8
GM
12520 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12521 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12522 (appt-check): Doc fixes.
12523 (appt-disp-window-function, appt-delete-window-function):
12524 Remove needless special case in custom :type.
12525 (appt-display-count): Default to 0, not nil.
12526 (appt-check): Reset appt-display-count to 0, not nil.
12527
c71a0d48 125282011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12529
c71a0d48
GM
12530 * progmodes/python.el (python-font-lock-keywords):
12531 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12532
31d55be9
SM
125332011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12534
12535 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12536
3bfacb2f
KR
125372011-05-16 Kevin Ryde <user42@zip.com.au>
12538
12539 * info-look.el (makefile-automake-mode): New setups, looking in
12540 automake manual, then makefile-mode.
12541 (makefile-mode): Remove automake manual, have it just in
12542 makefile-automake-mode since there's various things different or
12543 not relevant to plain make.
12544 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12545 believe a hypothetical automake-mode would go to makefile-mode,
12546 not the other way around.
12547
c8e83751
CY
125482011-05-15 Chong Yidong <cyd@stupidchicken.com>
12549
5e9e35cd
CY
12550 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12551 hunk-end tags (Bug#8672).
12552
c8e83751
CY
12553 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12554 vc-annotate-show-diff-revision-at-line (Bug#8671).
12555
50b23e5a
GM
125562011-05-14 Glenn Morris <rgm@gnu.org>
12557
7210a739
GM
12558 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12559 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12560 (change-log-font-lock-keywords): Also handle multiple author lines
12561 with leading tabs. (Bug#8644)
7210a739 12562
4691905a
GM
12563 * calendar/appt.el (appt-check): Rename some local variables.
12564 Some simplification/reordering.
12565
50b23e5a
GM
12566 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12567 (feedmail-sendmail-f-doesnt-sell-me-out)
12568 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12569 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12570 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12571 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12572 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12573 (feedmail-binmail-gnulinuxish-template):
12574 Rename from feedmail-binmail-linuxish-template.
12575 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12576 Use insert-buffer-substring.
12577
215cda7c
BC
125782011-05-14 Bill Carpenter <bill@carpenter.org>
12579
12580 * mail/feedmail.el (feedmail-patch-level): Increase.
12581 (feedmail-debug): New custom group.
12582 (feedmail-confirm-outgoing-timeout)
12583 (feedmail-sendmail-f-doesnt-sell-me-out)
12584 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12585 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12586 (feedmail-sender-line, feedmail-from-line)
12587 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12588 (feedmail-spray-this-address)
215cda7c
BC
12589 (feedmail-spray-address-fiddle-plex-list)
12590 (feedmail-queue-use-send-time-for-date)
12591 (feedmail-queue-use-send-time-for-message-id)
12592 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12593 (feedmail-buffer-eating-function):
12594 Doc fixes.
12595 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12596 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12597 (feedmail-message-action-scroll-down): New functions.
12598 (feedmail-queue-directory, feedmail-queue-draft-directory):
12599 Use expand-file-name.
12600 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12601 Remove C-v help entry.
12602 (feedmail-queue-buffer-file-name): New variable.
12603 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12604 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12605 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12606 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12607 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12608 (feedmail-message-action-toggle-spray)
12609 (feedmail-run-the-queue-no-prompts)
12610 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12611 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12612 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12613 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12614 (feedmail-envelope-deducer, feedmail-fiddle-from)
12615 (feedmail-fiddle-sender, feedmail-default-date-generator)
12616 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12617 (feedmail-fiddle-spray-address)
12618 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12619 (feedmail-fiddle-list-of-fiddle-plexes)
12620 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12621 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12622 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12623 Change default. Doc fix.
12624 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12625 (feedmail-binmail-linuxish-template): New constant.
12626 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12627 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12628 (feedmail-send-it): Add debug call.
12629 Use feedmail-queue-buffer-file-name, and
12630 feedmail-send-it-immediately-wrapper.
12631 (feedmail-message-action-send): Add debug call.
12632 Use feedmail-send-it-immediately-wrapper.
12633 (feedmail-queue-express-to-queue): Add debug call.
12634 Run feedmail-queue-express-hook.
12635 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12636 (feedmail-message-action-help-blat):
12637 Rename from feedmail-queue-send-edit-prompt-help-first.
12638 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12639 Check line-endings. Handle errors better.
12640 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12641 Doc fix. Add debug call.
12642 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12643 Use feedmail-queue-send-edit-prompt-inner.
12644 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12645 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12646 from feedmail-queue-send-edit-prompt.
12647 (feedmail-queue-send-edit-prompt-help)
12648 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12649 (feedmail-tidy-up-slug): Add debug call.
12650 Respect feedmail-queue-slug-suspect-regexp.
12651 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12652 (feedmail-dump-message-to-queue): Add debug call.
12653 Expand queue-directory.
12654 (feedmail-dump-message-to-queue): Change message slightly.
12655 Use feedmail-say-chatter.
12656 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12657 (feedmail-send-it-immediately-wrapper): New function.
12658 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12659 Insert empty string rather than newline. Handle full-frame case.
12660 Use catch/throw. Use feedmail-say-chatter.
12661 (feedmail-fiddle-from): Try mail-host-address.
12662 (feedmail-default-message-id-generator): Doc fix.
12663 Bind system-time-locale. Handle missing end.
12664 (feedmail-fiddle-x-mailer): Add debug call.
12665 Handle feedmail-x-mailer-line being nil.
12666 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12667 Add debug call. Use buffer-substring-no-properties.
12668 (feedmail-say-debug, feedmail-say-chatter): New functions.
12669 (feedmail-find-eoh): Give an explicit error.
12670
42c7e61e
UJ
126712011-05-13 Ulf Jasper <ulf.jasper@web.de>
12672
c2571358 12673 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12674 family from helvetica to sans.
c2571358 12675 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12676 etc/images/newsticker.
12677
c2571358 12678 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12679 family from helvetica to sans.
12680
12681 * net/newst-plainview.el (newsticker-new-item-face)
12682 (newsticker-old-item-face, newsticker-immortal-item-face)
12683 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12684 (newsticker-statistics-face): Change default family from
42c7e61e 12685 helvetica to sans.
c2571358 12686 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12687 etc/images/newsticker.
12688
5d3385a0
JB
12689 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12690 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12691 auto-marking.
12692
8497a297
DV
126932011-05-13 Didier Verna <didier@xemacs.org>
12694
12695 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12696 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12697 TODO entries.
8497a297
DV
12698 (lisp-lambda-list-keyword-parameter-indentation)
12699 (lisp-lambda-list-keyword-parameter-alignment)
12700 (lisp-lambda-list-keyword-alignment): New customizable user options.
12701 (lisp-indent-defun-method): Improve docstring.
12702 (extended-loop-p): Fix comment.
12703 (lisp-indent-lambda-list-keywords-regexp): New variable.
12704 (lisp-indent-lambda-list): New function.
12705 (lisp-indent-259): Use it.
12706 (lisp-indent-defmethod): Support for more than one
12707 method qualifier and properly indent methods lambda-lists.
12708 (defgeneric): Provide a missing common-lisp-indent-function property.
12709
f278f87f
SM
127102011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12711
12712 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12713 bounds for the empty string (bug#8667).
12714
5233edd7
GM
127152011-05-13 Glenn Morris <rgm@gnu.org>
12716
5237a44f
GM
12717 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12718
8340026c 12719 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12720 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12721
5233edd7 12722 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12723 (appt-time-msg-list): Doc fix.
a5464014 12724 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12725
92d10796
AS
127262011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12727
12728 * progmodes/ld-script.el (ld-script-keywords)
12729 (ld-script-builtins): Update keywords list.
12730
914a0ae1
SM
127312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12732
c89be45f
SM
12733 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12734
914a0ae1
SM
12735 * shell.el (shell-completion-vars): New function.
12736 (shell-mode):
12737 * simple.el (read-shell-command): Use it.
12738 (blink-matching-open): No need for " [...]" in minibuffer-message.
12739
98dc3df3
GM
127402011-05-12 Glenn Morris <rgm@gnu.org>
12741
12742 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12743 (appt-check): Simplify.
12744
d2fc7e3d 127452011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12746
4d61f28d 12747 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12748 literal "/dev/null".
12749
d2fc7e3d 127502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12751
12752 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12753 Fix typo.
12754
d2fc7e3d 127552011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12756
3f254caa
SM
12757 * progmodes/which-func.el (which-function):
12758 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12759 which might not be defined (Bug#8260).
12760
d45885f7
GM
127612011-05-12 Glenn Morris <rgm@gnu.org>
12762
12763 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12764 Let byte-compile-initial-macro-environment always take precedence.
12765
488086f4
SM
127662011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12767
12768 * net/rcirc.el: Add support for SSL/TLS connections.
12769 (rcirc-server-alist): New field `encryption'.
12770 (rcirc): Check `encryption' settings.
12771 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12772 Merge make-local-variable into `set'.
12773 (rcirc--connection-open-p): New function.
12774 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12775 the process is not a network process (e.g. running gnutls-cli).
12776 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12777 Make rcirc-(en|de)code-coding-system local here.
12778 (rcirc-mode): Merge make-local-variable into `set'.
12779 (rcirc-parent-buffer): Make permanent buffer-local.
12780 (rcirc-multiline-minor-mode): Don't do it here.
12781 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12782 there's no server buffer.
12783
7d3b9d44
GM
127842011-05-11 Glenn Morris <rgm@gnu.org>
12785
f64049c6
GM
12786 * newcomment.el (comment-kill): Prefix "unused" local.
12787
93c9df73
GM
12788 * term/w32console.el (get-screen-color): Declare.
12789
7d3b9d44
GM
12790 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12791 Handle symbol elements of byte-compile-initial-macro-environment.
12792
9e2dd53f
LL
127932011-05-10 Leo Liu <sdl.web@gmail.com>
12794
488086f4
SM
12795 * bookmark.el (bookmark-bmenu-mode-map):
12796 Bind bookmark-bmenu-search to `/'.
8b340240 12797
9e2dd53f 12798 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12799 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12800 (Footnote-unicode): New function.
12801 (footnote-style-alist): Add unicode style to the list.
12802 (footnote-style): Doc fix.
9e2dd53f 12803
79b70037
GM
128042011-05-10 Jim Meyering <meyering@redhat.com>
12805
12806 Fix doubled-word typos.
12807 * international/quail.el (quail-insert-kbd-layout): and and -> and
12808 * kermit.el: and and -> and
12809 * net/ldap.el (ldap-search-internal): to to -> to
12810 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12811 * progmodes/js.el (js-mode): and and -> and
12812 * textmodes/artist.el (artist-move-to-xy): at at -> at
12813 (artist-draw-region-trim-line-endings): if if -> if
12814 And Safetyc -> Safety.
12815 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12816
b8f82dc1 128172011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12818 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12819
12820 * files.el (hack-one-local-variable-eval-safep):
12821 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12822
4f99f44b
GM
128232011-05-10 Glenn Morris <rgm@gnu.org>
12824
12825 * calendar/diary-lib.el (diary-list-entries-hook)
12826 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12827 (diary-nongregorian-marking-hook, diary-list-entries)
12828 (diary-include-other-diary-files, diary-mark-entries)
12829 (diary-mark-included-diary-files): Doc fixes.
12830
84f29e6b
JB
128312011-05-09 Juanma Barranquero <lekktu@gmail.com>
12832
12833 * misc.el: Require tabulated-list.el during compilation.
12834
9bedd73a
CY
128352011-05-09 Chong Yidong <cyd@stupidchicken.com>
12836
488086f4
SM
12837 * progmodes/compile.el (compilation-start):
12838 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12839 (compilation-filter-hook): Doc fix.
12840
797c735c
DD
128412011-05-09 Deniz Dogan <deniz@dogan.se>
12842
12843 * wdired.el: Remove outdated installation comment. Fix usage
12844 comment.
12845
5f4b1dfe
JB
128462011-05-09 Juanma Barranquero <lekktu@gmail.com>
12847
12848 * misc.el: Implement new command `list-dynamic-libraries'.
12849 (list-dynamic-libraries--loaded-only-p): New variable.
12850 (list-dynamic-libraries--refresh): New function.
12851 (list-dynamic-libraries): New command.
12852
4c44026c
CY
128532011-05-09 Chong Yidong <cyd@stupidchicken.com>
12854
488086f4
SM
12855 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12856 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12857 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12858 higher priority to avoid clobbering by gnu.
12859
027f966d
CY
128602011-05-08 Chong Yidong <cyd@stupidchicken.com>
12861
12862 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12863 if the face has existing theme settings (Bug#8454).
12864
085f5d7d
CY
128652011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12866
488086f4
SM
12867 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12868 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12869
2a86a00c
RS
12870 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12871 special file names `.' and `..' (Bug#8259).
12872
d9c54a06
CY
128732011-05-08 Chong Yidong <cyd@stupidchicken.com>
12874
488086f4
SM
12875 * progmodes/grep.el (grep-mode-font-lock-keywords):
12876 Remove buffer-changing entries.
d9c54a06
CY
12877 (grep-filter): New function.
12878 (grep-mode): Add it to compilation-filter-hook.
12879
12880 * progmodes/compile.el (compilation-filter-hook)
12881 (compilation-filter-start): New defvars.
12882 (compilation-filter): Call compilation-filter-hook prior to
12883 updating the process mark.
12884
c4662635
SM
128852011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12886
12887 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12888
b0512a1d
EZ
128892011-05-07 Eli Zaretskii <eliz@gnu.org>
12890
605c9376
EZ
12891 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12892 mailclient-send-it even if window-system is nil. (Bug#8595)
12893
c4662635
SM
12894 * term/w32console.el (terminal-init-w32console):
12895 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12896 background-mode. (Bug#8597)
12897
d1dc2cc2
SM
128982011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12899
12900 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12901 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12902 New functions.
12903 (defgeneric, eieio--defmethod): Use them.
12904 (eieio-defgeneric): Remove.
12905 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12906
915d1300
GM
129072011-05-07 Glenn Morris <rgm@gnu.org>
12908
a3961c3e
GM
12909 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12910 Use let rather than let*.
12911 (timeclock-find-discrep): Remove unused local.
12912
314347b9
GM
12913 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12914
915d1300
GM
12915 * calendar/appt.el (appt-time-msg-list): Doc fix.
12916
275b59b0
NF
129172011-05-06 Noah Friedman <friedman@splode.com>
12918
12919 * apropos.el (apropos-print-doc): Only use
12920 emacs-lisp-docstring-fill-column when it is bound to an integer,
12921 per that variable's documentation.
12922
6c19f744
SM
129232011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12924
12925 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12926 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12927
60f884b2
GM
129282011-05-06 Glenn Morris <rgm@gnu.org>
12929
5006e634
GM
12930 * calendar/appt.el (appt-message-warning-time): Doc fix.
12931 (appt-warning-time-regexp): New option.
12932 (appt-make-list): Respect appt-message-warning-time.
12933
548d0a63
GM
12934 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12935 New options.
12936 (diary-add-to-list): Strip comments from the displayed string.
12937 (diary-mode): Set comment-start and comment-end.
12938
60f884b2
GM
12939 * vc/diff-mode.el (smerge-refine-subst): Declare.
12940 (diff-refine-hunk): Don't require smerge-mode when compiling.
12941
989681bb
JB
129422011-05-06 Juanma Barranquero <lekktu@gmail.com>
12943
12944 * simple.el (list-processes): Return nil as the docstring says.
12945
a6bc05e1
MA
129462011-05-05 Michael Albinus <michael.albinus@gmx.de>
12947
12948 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12949 to "".
12950 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12951 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12952 determining of binary transfer. (Bug#7383)
12953
23c22e9a
MA
129542011-05-05 Michael Albinus <michael.albinus@gmx.de>
12955
c4662635
SM
12956 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12957 Fix port computation bug. (Bug#8618)
23c22e9a 12958
0bff894f
GM
129592011-05-05 Glenn Morris <rgm@gnu.org>
12960
b8296902
GM
12961 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12962
1f522ce8
GM
12963 * simple.el (shell-dynamic-complete-functions)
12964 (comint-dynamic-complete-functions): Declare.
12965
cf5bee67
GM
12966 * net/network-stream.el (gnutls-negotiate):
12967 * simple.el (tabulated-list-print): Fix declarations.
12968
12969 * progmodes/gud.el (syntax-symbol, syntax-point):
12970 Remove unnecessary and incorrect declarations.
12971
0bff894f
GM
12972 * emacs-lisp/check-declare.el (check-declare-scan):
12973 Handle byte-compile-initial-macro-environment in bytecomp.el
12974
9869b3ae
SM
129752011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 Fix earlier half-done eieio-defmethod change (bug#8338).
12978 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12979 Streamline and change calling convention.
12980 (defmethod): Adjust accordingly and simplify.
12981 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12982 new eieio--defmethod.
12983 (slot-boundp): Minor CSE simplification.
12984
9c1d5ac5
MZ
129852011-05-05 Milan Zamazal <pdm@zamazal.org>
12986
12987 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12988 (glasses-make-readable): Use glasses-separate-capital-groups.
12989
455c834e
JB
129902011-05-05 Juanma Barranquero <lekktu@gmail.com>
12991
12992 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12993 (warning-series): Doc fix.
12994 (display-warning): Don't try to create the buffer if we just found it.
12995
9ed7c8cb
CY
129962011-05-04 Chong Yidong <cyd@stupidchicken.com>
12997
12998 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12999 (autoload-find-generated-file): New function.
13000 (generate-file-autoloads): Bind generated-autoload-file to
13001 buffer-file-name.
9869b3ae
SM
13002 (update-file-autoloads, update-directory-autoloads):
13003 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13004 output file (Bug#7989).
13005 (batch-update-autoloads): Doc fix.
13006
0898ca10
JB
130072011-05-04 Juanma Barranquero <lekktu@gmail.com>
13008
13009 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13010
31dfb76c
GM
130112011-05-04 Glenn Morris <rgm@gnu.org>
13012
f330b642
GM
13013 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13014 function, so it follows changes in calendar-date-style.
13015 (diary-fancy-date-matcher): New function.
13016 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13017 (diary-fancy-font-lock-fontify-region-function):
13018 Use diary-fancy-date-pattern as a function.
13019
31dfb76c
GM
13020 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13021 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13022
48e79d6a
TZ
130232011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13024
13025 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13026 instead of positional arguments. Allow :keylist and :crlfiles
13027 arguments.
13028 (open-gnutls-stream): Call it.
13029
13030 * net/network-stream.el (network-stream-open-starttls): Adjust to
13031 call `gnutls-negotiate' with :process and :hostname arguments.
13032
dd5a5ee0
SM
130332011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13034
ef80fc09
SM
13035 * minibuffer.el (completion--message): New function.
13036 (completion--do-completion, minibuffer-complete)
13037 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13038 (completion--do-completion): Don't ignore completion-auto-help when in
13039 icomplete-mode.
13040
dd5a5ee0
SM
13041 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13042 internal encoding (e.g. tibetan zero is not whitespace).
13043 (global-whitespace-mode): Prefer save-current-buffer.
13044 (whitespace-trailing-regexp): Remove useless save-match-data.
13045 (whitespace-empty-at-bob-regexp): Minor simplification.
13046
b7d22a83
CY
130472011-05-03 Chong Yidong <cyd@stupidchicken.com>
13048
13049 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13050
5192af46
AM
130512011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13052
13053 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13054 Use `concat' to create string for insertion.
5192af46 13055
5767d190
SM
130562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13059 Avoid open-line which runs post-self-insert-hook.
13060 (bibtex-fill-entry): Remove unused `end' var.
13061
bf242939
AM
130622011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13063
5767d190
SM
13064 * textmodes/ispell.el (ispell-add-per-file-word-list):
13065 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13066
25666126
LL
130672011-05-03 Leo Liu <sdl.web@gmail.com>
13068
13069 * isearch.el (isearch-yank-pop): New command.
5767d190 13070 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13071 (isearch-forward): Mention it.
13072
52d3c2d0
SM
130732011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13074
1bcace58
SM
13075 * simple.el (minibuffer-complete-shell-command): Remove.
13076 (minibuffer-local-shell-command-map): Use completion-at-point.
13077 (read-shell-command): Setup completion vars here instead.
13078 (read-expression-map): Bind TAB to symbol completion.
13079
52d3c2d0
SM
13080 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13081 error directly rather via storing it into `results'.
13082
35813471
LL
130832011-05-02 Leo Liu <sdl.web@gmail.com>
13084
13085 * vc/diff.el: Fix description.
13086
e793a940
LMI
130872011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13088
13089 * server.el (server-eval-at): New function.
13090
8de66e05
LMI
130912011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13092
13093 * net/network-stream.el (open-network-stream): Take a :nowait
13094 parameter and pass it on to `make-network-process'.
13095 (network-stream-open-plain): Ditto.
13096
dcb79f20
AS
130972011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13098
13099 * faces.el (face-spec-set-match-display): Don't match toolkit
13100 options on terminal frames.
13101
14a7fbd8
SM
131022011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13103
7eabc1be
SM
13104 * progmodes/pascal.el: Use lexical binding.
13105 (pascal-mode-map): Remove author preferences.
13106
14a7fbd8
SM
13107 * pcomplete.el (pcomplete-std-complete): Don't abuse
13108 completion-at-point.
13109
50f84510
JB
131102011-04-28 Juanma Barranquero <lekktu@gmail.com>
13111
6e087a44
JB
13112 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13113 removing code that has been dead since 1991 or so.
13114
50f84510
JB
13115 * startup.el (command-line): When warning about "_emacs", use a
13116 delayed warning to allow the user to filter it out.
13117
0ba690bd
DD
131182011-04-28 Deniz Dogan <deniz@dogan.se>
13119
13120 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13121 user has not joined.
13122
08abfaad
SM
131232011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13124
13125 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13126 aren't any completions at point.
13127
638f053a
JB
131282011-04-28 Juanma Barranquero <lekktu@gmail.com>
13129
13130 * subr.el (display-delayed-warnings): New function.
13131 (delayed-warnings-hook): New variable.
13132
8fff8daa
SM
131332011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13134
08abfaad
SM
13135 * minibuffer.el (completion-at-point, completion-help-at-point):
13136 Don't presume that a given completion-at-point-function will always
13137 use the same calling convention.
13138
8fff8daa
SM
13139 * pcomplete.el (pcomplete-completions-at-point):
13140 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13141 pcomplete-seen is non-nil.
13142 (pcomplete-comint-setup): Also recognize the new comint/shell
13143 completion functions.
13144 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13145 pcomplete-seen is non-nil.
13146
841a1577 131472011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13148
841a1577 13149 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13150 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13151 the first character in the entry. This allows for code to add its
211ec907
UJ
13152 own uid to the entry.
13153 (icalendar--convert-float-to-ical): Add export of
13154 `diary-float'-entries save for those with the optional DAY
13155 argument.
13156
2a782793
DC
131572011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13158
13159 * subr.el (shell-quote-argument): Use alternate escaping strategy
13160 when we spot a variable reference in a string.
13161
0438ce91
DC
131622011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13163
13164 * cus-start.el (all): Define customization for debug-on-event.
13165
841a1577 131662011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13167
13168 * subr.el (shell-quote-argument): Escape correctly under Windows.
13169
d090ed6c
SM
131702011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13171
13172 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13173
bfd31217
MA
131742011-04-25 Michael Albinus <michael.albinus@gmx.de>
13175
d090ed6c
SM
13176 * net/tramp.el (tramp-process-actions): Add POS argument.
13177 Delete region between POS and (pos).
bfd31217 13178
d090ed6c
SM
13179 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13180 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13181 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13182
13183 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13184 position in `tramp-process-actions' call.
13185
13186 * net/trampver.el: Update release number.
13187
e92f3bd3
SM
131882011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13189
850256b5
SM
13190 * custom.el (defcustom): Obey lexical-binding.
13191
e92f3bd3
SM
13192 Fix octave-inf completion problems reported by Alexander Klimov.
13193 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13194 Inherit from octave-mode-syntax-table.
13195 (inferior-octave-mode): Set info-lookup-mode.
13196 (inferior-octave-completion-at-point): New function.
13197 (inferior-octave-complete): Use it and completion-in-region.
13198 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13199 comint-filename-completion.
13200 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13201 symbol elements which shouldn't be word elements.
13202 (octave-font-lock-keywords, octave-beginning-of-defun)
13203 (octave-function-header-regexp): Adjust regexps accordingly.
13204 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13205
cd22b309
JB
132062011-04-25 Juanma Barranquero <lekktu@gmail.com>
13207
13208 * net/gnutls.el (gnutls-errorp): Declare before first use.
13209
8b492194
TZ
132102011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13211
13212 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13213 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13214 default trustfile exists before going to use it. Add missing
5a5fa834 13215 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13216 Reported by Claudio Bley <claudio.bley@gmail.com>.
13217 (open-gnutls-stream): Add usage example.
13218
13219 * net/network-stream.el (network-stream-open-starttls): Give host
13220 parameter to `gnutls-negotiate'.
13221 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13222 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13223
841a1577 132242011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13225
cd22b309
JB
13226 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13227 Use correct match group (bug#8438).
05842630 13228
3ba7869c
CY
132292011-04-24 Chong Yidong <cyd@stupidchicken.com>
13230
512e3ae1
CY
13231 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13232 (package-menu--generate): New arg specifying packages to show.
13233 (package-menu-refresh, package-menu-execute, list-packages):
13234 Callers changed.
13235 (package-show-package-list): New function, replacing deleted
13236 package--list-packages (renamed because it is non-internal).
13237
13238 * finder.el (finder-list-matches): Use package-show-package-list
13239 instead of deleted package--list-packages.
13240
e92f3bd3
SM
13241 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13242 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13243 (vc-annotate-mode-map): Bind it to RET.
13244
7031be6d
UR
132452011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13246
13247 * progmodes/etags.el (next-file): Don't use set-buffer to change
13248 buffers (Bug#8478).
13249
4ef177aa
CY
132502011-04-24 Chong Yidong <cyd@stupidchicken.com>
13251
c8d173eb
CY
13252 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13253
4ef177aa
CY
13254 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13255 (apropos-accumulator): Doc fix.
13256 (apropos-function, apropos-macro, apropos-command)
13257 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13258 (apropos-plist): Add face property.
13259 (apropos-symbols-internal): Fix indentation.
13260 (apropos-print): Simplify help, and recognize apropos-multi-type.
13261 (apropos-print-doc): Use button-type-get to extract the button's
13262 face property. Fill docstring (Bug#8352).
13263
4ffd0d6b 132642011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13265
13266 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13267
c6c32125 13268 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13269 (mpuz-mode-map): Use mapc.
c6c32125
JB
13270 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13271 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13272 Fix typos in docstrings.
13273
58d468b4
JB
13274 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13275 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13276
6470c3c6
JB
13277 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13278
4ffd0d6b 132792011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13280
13281 * minibuffer.el (completion--do-completion): Avoid the "Next char
13282 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13283
3ad8bad0
CY
13284 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13285 mouse-2 into unread-command-events, it is interpreted correctly.
13286
71d73c9c 13287 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13288 (image-toggle-display): Doc fix.
71d73c9c 13289
841a1577 132902011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13291
4ffd0d6b
GM
13292 * textmodes/page.el (what-page): Use line-number-at-pos to
13293 calculate line number (Bug#6825).
6e1dbaa9 13294
c2fb1b60
JB
132952011-04-22 Juanma Barranquero <lekktu@gmail.com>
13296
13297 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13298 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13299 Pass argument NO-DEFAULT to `find-tag-interactive'.
13300
e02f48d7
JB
133012011-04-22 Juanma Barranquero <lekktu@gmail.com>
13302
13303 Lexical-binding cleanup.
13304
13305 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13306 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13307 * progmodes/ada-prj.el (ada-prj-initialize-values)
13308 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13309 (ada-prj-show-value):
13310 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13311 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13312 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13313 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13314 * progmodes/bug-reference.el (bug-reference-push-button):
13315 * progmodes/fortran.el (fortran-line-length):
13316 * progmodes/glasses.el (glasses-change):
13317 * progmodes/octave-mod.el (octave-fill-paragraph):
13318 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13319 (python-pdbtrack-grub-for-buffer, python-sentinel):
13320 * progmodes/sql.el (sql-save-connection):
13321 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13322 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13323 Mark unused parameters.
13324
13325 * progmodes/compile.el (compilation--flush-directory-cache)
13326 (compilation--flush-parse, compile-internal): Mark unused parameters.
13327 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13328 (compilation-next-error-function): Remove unused variable `timestamp'.
13329
13330 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13331 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13332
13333 * progmodes/dcl-mode.el (dcl-end-of-command):
13334 Remove unused variable `start'.
13335 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13336 (dcl-option-value-basic, dcl-option-value-offset)
13337 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13338 Mark unused parameters.
13339 (dcl-save-local-variable): Remove unused variable `val'.
13340 (mode): Declare.
13341
13342 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13343 Mark unused parameters.
13344 (delphi-ignore-changes): Move before first use.
13345 (delphi-charset-token-at): Remove unused variable `start'.
13346 (delphi-else-start): Remove unused variable `if-count'.
13347 (delphi-comment-block-start, delphi-comment-block-end):
13348 Remove unused variable `kind'.
13349 (delphi-indent-line): Remove unused variable `new-point'.
13350
13351 * progmodes/ebrowse.el (ebrowse-files-list)
13352 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13353 Mark unused parameters. Don't quote `lambda'.
13354 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13355 Don't quote `lambda'.
13356 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13357 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13358 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13359 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13360 Use `ignore-errors'.
13361 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13362 (ebrowse-view/find-file-and-search-pattern)
13363 (ebrowse-view/find-member-declaration/definition):
13364 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13365 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13366 Rename parameter PREFIX-ARG to PREFIX.
13367 (ebrowse-tags-read-name): Remove unused variables `start' and
13368 `member-info'.
13369 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13370 to `tags-file'.
13371
13372 * progmodes/etags.el (local-find-tag-hook): Declare.
13373 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13374 Mark unused parameters.
13375
13376 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13377 (executable-interpret): Mark unused parameter.
13378
13379 * progmodes/flymake.el (flymake-process-sentinel)
13380 (flymake-after-change-function)
13381 (flymake-create-temp-with-folder-structure)
13382 (flymake-get-include-dirs-dot): Mark unused parameters.
13383 (flymake-safe-delete-directory): Remove unused variable `err'.
13384
13385 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13386 (speedbar-timer-fn, speedbar-line-text)
13387 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13388 (speedbar-center-buffer-smartly): Declare functions.
13389 (gdb-find-watch-expression): Remove unused variable `array'.
13390 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13391 (gdb-starting): Mark unused parameters.
13392 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13393 (gdb-table-string): Remove unused variable `res'.
13394 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13395 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13396 (gdb-display-buffer): Remove unused variable `cur-size'.
13397
13398 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13399 allow lexical-binding compilation.
13400 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13401 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13402 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13403 Mark unused parameters.
13404 (gud-gdb-marker-filter): Remove unused variable `match'.
13405 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13406 lambda expressions and funcall them, instead of using `fset'.
13407
13408 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13409 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13410
13411 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13412 variable `header-beg'; use `let'.
13413
13414 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13415 `restart', `last-sexp' and `at-do'.
13416
13417 * progmodes/js.el (js--debug): Mark unused parameter.
13418 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13419 (js--splice-into-items): Remove unused variable `item'.
13420 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13421
13422 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13423 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13424 (makefile-complete): Remove unused variable `try'.
13425 (makefile-fill-paragraph, makefile-match-function-end):
13426 Mark unused parameters.
13427
13428 * progmodes/octave-inf.el (inferior-octave-complete):
13429 Remove unused variable `proc'.
13430 (inferior-octave-output-digest): Mark unused parameter.
13431
13432 * progmodes/perl-mode.el (perl-calculate-indent):
13433 Remove unused variable `err'.
13434
13435 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13436 (prolog-indent-line): Mark unused parameters.
13437 (prolog-indent-line): Remove unused variable `beg'.
13438
13439 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13440 (reporter-dont-compact-list): Declare.
13441
13442 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13443 Remove unused variable `char'.
13444 (sh-debug): Mark unused parameter.
13445 (sh-get-indent-info): Remove unused variable `start'.
13446 (sh-calculate-indent): Remove unused variable `var'.
13447
13448 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13449 (simula-electric-keyword): Remove unused variable `null'.
13450 (simula-search-backward, simula-search-forward): Remove unused
13451 variables `begin' and `end'.
13452
13453 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13454 Remove unused variable `pos'.
13455 (vera-electric-tab, vera-comment-uncomment-region):
13456 Mark unused parameters.
13457 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13458
7ede3b65
CY
134592011-04-22 Chong Yidong <cyd@stupidchicken.com>
13460
13461 * emacs-lisp/package.el (package--builtins, package-alist)
13462 (package-load-descriptor, package-built-in-p, package-activate)
13463 (define-package, package-installed-p)
13464 (package-compute-transaction, package-buffer-info)
13465 (package--push): Doc fix. Distinguish more clearly between
13466 version strings and version lists.
13467
121656e9
JB
134682011-04-21 Juanma Barranquero <lekktu@gmail.com>
13469
13470 Lexical-binding cleanup.
13471
13472 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13473 (5x5-make-mutate-best):
13474 * play/fortune.el (fortune-in-buffer):
13475 * play/gomoku.el (gomoku-init-display):
13476 * play/solitaire.el (solitaire, solitaire-do-check):
13477 * play/tetris.el (tetris-default-update-speed-function):
13478 Mark unused parameters.
13479
13480 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13481 (bubbles--shift): Remove unused variable `char-org'.
13482 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13483 (bubbles--show-images): Remove unused variable `char'.
13484
13485 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13486 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13487 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13488 (decipher-analyze-buffer): Use ?\s.
13489 (decipher-make-checkpoint): Remove unused variable `mapping'.
13490
13491 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13492
13493 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13494 Remove unused variable `result'; use `let'.
13495
13496 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13497 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13498 (gametree-children-shown-p, gametree-compute-reduced-score):
13499 Use `ignore-errors'.
13500
13501 * play/handwrite.el (ps-lpr-switches): Declare.
13502 (handwrite): Remove unused variables `pmin' and `lastp'.
13503
13504 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13505
13506 * play/landmark.el (landmark-init-display)
13507 (landmark-update-naught-weights): Mark unused parameters.
13508 (landmark-y): Remove unused variable `noise'. Simplify.
13509 (landmark-human-plays): Remove unused variable `score'.
13510
13511 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13512 (mpuz-try-proposal): Remove unused variable `game'.
13513
13514 * play/zone.el (life-patterns): Declare.
13515
80f499c7
JB
135162011-04-20 Juanma Barranquero <lekktu@gmail.com>
13517
13518 * vc/vc.el (ediff-vc-internal): Declare function.
13519
024ff170
SM
135202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13521
c0a193ea
SM
13522 * shell.el: Use lexical-binding and std completion UI.
13523 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13524 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13525 comint-preoutput-filter-functions rather than on
13526 comint-output-filter-functions.
13527 (shell-command-completion, shell--command-completion-data)
13528 (shell-filename-completion, shell-environment-variable-completion)
13529 (shell-c-a-p-replace-by-expanded-directory): New functions.
13530 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13531 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13532 (shell-dynamic-complete-environment-variable): Use them.
13533 (shell-dynamic-complete-as-environment-variable)
13534 (shell-dynamic-complete-as-command): Remove.
13535 (shell-match-partial-variable): Match past point.
13536 * comint.el: Clean up use of completion-at-point-functions.
13537 (comint-completion-at-point): New function.
13538 (comint-mode): Use it completion-at-point-functions.
13539 (comint-dynamic-complete): Make it obsolete.
13540 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13541 (comint-c-a-p-replace-by-expanded-history): New function.
13542 (comint-dynamic-complete-functions)
13543 (comint-replace-by-expanded-history): Use it.
13544 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13545 termination strings. Try harder to avoid second try-completion.
13546 (completion-in-region-mode-map): Disable bindings that don't work yet.
13547
2dbaa080
SM
13548 * comint.el: Use lexical-binding. Require CL.
13549 (comint-dynamic-complete-functions): Use comint-filename-completion.
13550 (comint-completion-addsuffix): Tweak custom type.
13551 (comint-filename-completion, comint--common-suffix)
13552 (comint--common-quoted-suffix, comint--table-subvert)
13553 (comint--complete-file-name-data): New functions.
13554 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13555 (comint-dynamic-list-filename-completions): Use them.
13556 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13557
2dbaa080
SM
13558 * minibuffer.el (completion-in-region-mode):
13559 Keep completion-in-region-mode--predicate global.
13560 (completion-in-region--postch):
13561 Assume completion-in-region-mode--predicate is not null.
13562
c79a6f38
SM
13563 * progmodes/flymake.el (flymake-start-syntax-check-process):
13564 Obey `dir'. Simplify.
13565
024ff170
SM
13566 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13567 we're in VC after all.
13568
1c6c854e
CS
135692011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13570
13571 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13572 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13573 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13574
bed7f140
SM
135752011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13576
332e62ab
SM
13577 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13578 add sanity check.
13579
bed7f140
SM
13580 * obsolete/erc-hecomplete.el: Make obsolete.
13581 * obsolete/: Standardize obsolescence info in the header.
13582
f195c582
GM
135832011-04-20 Glenn Morris <rgm@gnu.org>
13584
13585 * calendar/solar.el (solar-horizontal-coordinates):
13586 Use the longitude argument rather than `calendar-longitude'.
13587 (solar-date-next-longitude): Remove unused locals.
13588
cb79b8c0
VJL
135892011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13590
13591 * whitespace.el: New version 13.2.1.
13592
135932011-04-20 felix <EmacsWiki> (tiny change)
13594
d8e4b68b 13595 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13596 switching between major modes on a file.
13597
602ea69d
SM
135982011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13599
13600 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13601 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13602 multi-line comments as well.
13603
06b60517
JB
136042011-04-19 Juanma Barranquero <lekktu@gmail.com>
13605
13606 Lexical-binding cleanup.
13607
13608 * arc-mode.el (archive-mode-revert):
13609 * cmuscheme.el (scheme-interactively-start-process):
13610 * custom.el (custom-initialize-delay):
13611 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13612 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13613 * emacs-lock.el (emacs-lock-clear-sentinel):
13614 * ezimage.el (defezimage):
13615 * follow.el (follow-avoid-tail-recenter):
13616 * fringe.el (set-fringe-mode-1):
13617 * generic-x.el (bat-generic-mode-compile):
13618 * help-mode.el (help-info-variable, help-do-xref)
13619 (help-mode-revert-buffer):
13620 * help.el (view-emacs-todo):
13621 * iswitchb.el (iswitchb-completion-help):
13622 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13623 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13624 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13625 * locate.el (locate-update):
13626 * longlines.el (longlines-encode-region)
13627 (longlines-after-change-function):
13628 * outline.el (outline-isearch-open-invisible):
13629 * ps-def.el (declare-function, charset-dimension, char-width)
13630 (encode-char):
13631 * ps-mule.el (ps-mule-plot-string):
13632 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13633 (recentf-edit-list-select, recentf-edit-list-validate)
13634 (recentf-open-files-action):
13635 * rect.el (delete-whitespace-rectangle-line)
13636 (rectangle-number-line-callback):
13637 * register.el (window-configuration-to-register)
13638 (frame-configuration-to-register):
13639 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13640 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13641 (xselect-convert-to-targets, xselect-convert-to-delete)
13642 (xselect-convert-to-filename, xselect-convert-to-charpos)
13643 (xselect-convert-to-lineno, xselect-convert-to-colno)
13644 (xselect-convert-to-os, xselect-convert-to-host)
13645 (xselect-convert-to-user, xselect-convert-to-class)
13646 (xselect-convert-to-name, xselect-convert-to-integer)
13647 (xselect-convert-to-atom, xselect-convert-to-identity):
13648 * subr.el (declare, ignore, process-kill-without-query)
13649 (text-clone-maintain):
13650 * terminal.el (te-get-char, te-tic-sentinel):
13651 * tool-bar.el (tool-bar-make-keymap):
13652 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13653 * type-break.el (type-break-mode, type-break-noninteractive-query):
13654 * view.el (View-back-to-mark):
13655 * wid-browse.el (widget-browse-action, widget-browse-widget)
13656 (widget-browse-widgets, widget-browse-sexp):
13657 * widget.el (define-widget-keywords):
13658 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13659 Mark unused parameters.
13660
13661 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13662 (align-areas): Remove unused variable `look'.
13663 (align-region): Remove unused variables `real-end' and `pos-list'.
13664
13665 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13666
13667 * bindings.el (mode-line-modified, mode-line-remote):
13668 Mark unused parameters.
13669 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13670
13671 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13672 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13673
13674 * comint.el (comint-history-isearch-pop-state)
13675 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13676 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13677 (comint-substitute-in-file-name): Doc fix.
13678
13679 * completion.el (cmpl-statistics-block): Mark unused parameter.
13680 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13681 (save-completions-to-file, load-completions-from-file):
13682 Remove unused local variable `e'.
13683
13684 * composite.el (compose-chars): Remove unused variable `len'.
13685 (lgstring-insert-glyph): Remove unused variable `g'.
13686 (compose-glyph-string): Remove unused variables `ascent',
13687 `descent', `lbearing' and `rbearing'.
13688 (compose-glyph-string-relative): Remove unused variables
13689 `lbearing', `rbearing' and `wadjust'.
13690 (compose-gstring-for-graphic): Remove unused variables `header',
13691 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13692 (compose-gstring-for-terminal): Remove unused variables `header'
13693 and `nchars'. Use `let', not `let*'.
13694
13695 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13696 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13697 (Custom-buffer-done, custom-buffer-create-internal)
13698 (custom-browse-visibility-action, custom-browse-group-tag-action)
13699 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13700 (widget-magic-mouse-down-action, custom-toggle-parent)
13701 (custom-add-parent-links, custom-toggle-hide-variable)
13702 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13703 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13704 (custom-face-menu-create, custom-variable-menu-create, get)
13705 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13706 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13707 (customize-apropos): Remove unused variable `tests'.
13708 (custom-group-value-create): Remove unused variable `hidden-p'.
13709 (sort-fold-case): Declare.
13710
13711 * cus-theme.el (custom-reset-standard-faces-list)
13712 (custom-reset-standard-variables-list): Declare.
13713 (customize-create-theme, custom-theme-revert, custom-theme-write)
13714 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13715 Mark unused parameters.
13716
13717 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13718
13719 * delim-col.el (delimit-columns-max): Move defvar before first use.
13720
13721 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13722 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13723
13724 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13725 (auto-insert): Declare.
13726 (desktop-restore-file-buffer): Rename desktop-* parameters;
13727 mark unused ones.
13728 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13729 (desktop-buffer): Rename desktop-* parameters.
13730
13731 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13732 (dframe-reposition-frame-xemacs, dframe-help-echo)
13733 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13734 Mark unused parameters.
13735
13736 * dired-aux.el (backup-extract-version-start, overwrite-query)
13737 (overwrite-backup-query, rename-regexp-query)
13738 (rename-non-directory-query): Declare.
13739 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13740 (dired-add-entry): Remove unused variable `orig-file-name'.
13741 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13742 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13743 `dired-copy-preserve-time' directly.
13744 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13745 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13746
13747 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13748 (dired-virtual-revert, dired-make-relative-symlink):
13749 Mark unused parameters.
13750 (manual-program): Declare.
13751 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13752 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13753 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13754
13755 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13756
13757 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13758
13759 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13760 Declare.
13761
13762 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13763
13764 * electric.el (Electric-command-loop): Rename parameter
13765 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13766
13767 * expand.el (expand-in-literal): Remove unused variable `here'.
13768
13769 * facemenu.el (facemenu-add-new-color):
13770 Remove unused variable `docstring'.
13771
13772 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13773 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13774 (face-attr-construct): Mark unused parameter. Doc fix.
13775 (read-color): Remove unused variable `hex-string'.
13776
13777 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13778 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13779 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13780 (display-buffer-other-frame): Remove unused variable `old-window'.
13781 (kill-buffer-hook): Declare.
13782 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13783 Mark unused parameters.
13784 (after-find-file): Pass 1 to `auto-save-mode', not t.
13785
13786 * files-x.el (auto-insert): Declare.
13787 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13788
13789 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13790 variable `buf'. Mark unused parameter.
06b60517
JB
13791 (find-lisp-insert-directory): Mark unused parameter.
13792
13793 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13794 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13795 (format-common-tail): Remove, unused.
13796 (format-deannotate-region): Remove unused variable `loc'.
13797 (format-annotate-region): Remove unused variable `p'.
13798 (format-annotate-single-property-change): Remove unused variables
13799 `default' and `tail'.
13800
13801 * forms.el (read-file-filter): Declare.
13802 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13803
13804 * frame.el (frame-creation-function-alist): Mark unused parameter.
13805 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13806
13807 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13808 Remove unused parameters.
13809 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13810 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13811
13812 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13813 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13814 (hfy-prepare-tag-map): Mark unused parameters.
13815 (htmlfontify-buffer): Use `called-interactively-p'.
13816
13817 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13818 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13819 (ibuffer-do-occur): Mark unused parameters.
13820 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13821 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13822
13823 * ibuffer.el: Don't quote `lambda'.
13824 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13825 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13826 Mark unused parameters.
13827
13828 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13829 (ido-completing-read): Mark unused parameters.
13830 (ido-copy-current-word): Mark unused parameters;
13831 remove unused variable `name'.
13832 (ido-sort-merged-list): Remove unused parameter `dirs'.
13833
13834 * ielm.el (ielm-input-sender): Mark unused parameter.
13835 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13836 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13837 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13838 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13839 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13840
13841 * image-dired.el (image-dired-display-thumbs): Remove unused
13842 variables `curr-file' and `count'.
13843 (image-dired-remove-tag): Remove unused variable `start'.
13844 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13845 variable `curr-file'
13846 (image-dired-rotate-original): Remove unused variable `temp-file'.
13847 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13848 Remove unused variable `file'.
13849 (image-dired-gallery-generate): Remove unused variable `curr'.
13850 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13851
13852 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13853
13854 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13855
13856 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13857
13858 * isearch.el (minibuffer-history-symbol): Declare.
13859 (isearch-edit-string): Remove unused variable `err'.
13860 (isearch-message-prefix, isearch-message-suffix):
13861 Mark unused parameters.
13862
13863 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13864
13865 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13866
13867 * makesum.el (double-column): Remove unused variable `cnt'.
13868
13869 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13870 (ido-ignore-item-temp-list): Declare.
13871
13872 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13873 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13874 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13875 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13876 `mouse-col-delta'.
13877
13878 * mouse-sel.el (mouse-extend-internal):
13879 Remove unused variable `orig-window-frame'.
13880
13881 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13882 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13883 Move declarations before first use.
13884 (pcomplete-opt): Mark unused parameters; doc fix.
13885
13886 * proced.el (proced-revert): Mark unused parameter.
13887 (proced-send-signal): Remove unused variable `err'.
13888
13889 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13890 Rename parameter PREFIX-ARG to ARG.
13891 (ps-basic-plot-string, ps-basic-plot-whitespace):
13892 Mark unused parameters.
13893
13894 * replace.el (replace-count): Define.
13895 (occur-revert-function): Mark unused parameters.
13896 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13897 (isearch-case-fold-search, isearch-string): Declare.
13898 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13899 bind `case-fold-search'. Remove unused variables `beg' and `end',
13900 and simplify.
13901 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13902 COUNT and bind `replace-count'.
13903 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13904 to COUNT.
13905
13906 * savehist.el (print-readably, print-string-length): Declare.
13907
13908 * shadowfile.el (shadow-expand-cluster-in-file-name):
13909 Remove unused variable `cluster'.
13910 (shadow-copy-file): Remove unused variable `i'.
13911 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13912 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13913 (shadow-define-literal-group, shadow-define-regexp-group)
13914 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13915
13916 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13917 (shell): Use `called-interactively-p'.
13918 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13919
13920 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13921 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13922 (delete-backward-char): Remove unused variable `ocol'.
13923 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13924 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13925 (event-apply-hyper-modifier, event-apply-shift-modifier)
13926 (event-apply-control-modifier, event-apply-meta-modifier):
13927 Mark unused parameters.
13928 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13929 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13930
13931 * speedbar.el (speedbar-ignored-directory-expressions)
13932 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13933 (speedbar-find-file, speedbar-dir-follow)
13934 (speedbar-directory-buttons-follow, speedbar-tag-find)
13935 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13936 (speedbar-buffers-line-directory, speedbar-buffer-click):
13937 Mark unused parameters.
13938 (speedbar-tag-file): Remove unused variable `mode'.
13939 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13940
13941 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13942
13943 * talk.el (talk): Remove unused variable `display'.
13944
13945 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13946 (tar-write-region-annotate): Mark unused parameter.
13947
13948 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13949 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13950 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13951 warning by another.
13952
13953 * time-stamp.el (time-stamp-string-preprocess):
13954 Remove unused variable `require-padding'.
13955
13956 * tree-widget.el (widget-glyph-enable): Declare.
13957 (tree-widget-action): Mark unused parameter.
13958
13959 * w32-fns.el (x-get-selection): Mark unused parameter.
13960 (autoload-make-program, generated-autoload-file): Declare.
13961
13962 * wdired.el (wdired-revert): Mark unused parameters.
13963 (wdired-xcase-word): Remove unused variable `err'.
13964
13965 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13966 (whitespace-help-scroll): Remove unused variable `data-help'.
13967
13968 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13969 (widget-image-insert, widget-after-change, default)
13970 (widget-default-format-handler, widget-default-notify)
13971 (widget-default-prompt-value, widget-info-link-action)
13972 (widget-url-link-action, widget-function-link-action)
13973 (widget-variable-link-action, widget-file-link-action)
13974 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13975 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13976 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13977 (widget-insert-button-action, widget-delete-button-action, visibility)
13978 (widget-documentation-link-action, widget-documentation-string-action)
13979 (widget-const-prompt-value, widget-regexp-match, symbol)
13980 (widget-coding-system-prompt-value)
13981 (widget-key-sequence-value-to-external, sexp)
13982 (widget-sexp-value-to-internal, character, vector, cons)
13983 (widget-choice-prompt-value, widget-boolean-prompt-value)
13984 (widget-color--choose-action): Mark unused parameters.
13985 (widget-item-match-inline, widget-choice-match-inline)
13986 (widget-checklist-match, widget-checklist-match-inline)
13987 (widget-group-match): Rename parameter VALUES to VALS.
13988 (widget-field-value-set): Remove unused variable `size'.
13989 (widget-color-action): Remove unused variables `value' and `start'.
13990
13991 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13992 variable `dir'. Doc fix.
06b60517
JB
13993 (windmove-find-other-window): Don't pass it.
13994
13995 * window.el (count-windows): Mark unused parameter.
13996 (bw-adjust-window): Remove unused variable `err'.
13997
13998 * woman.el (woman-file-name): Remove unused variable `default'.
13999 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14000 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14001 (global-font-lock-mode): Declare.
14002 (woman-decode-region): Mark unused parameter.
14003 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14004
14005 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14006 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14007 (x-dnd-handle-moz-url): Remove unused variable `title'.
14008 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14009
14010 * xml.el (xml-parse-tag, xml-parse-attlist):
14011 Remove unused variable `pos'.
14012
bc4f7f3d
GM
140132011-04-19 Glenn Morris <rgm@gnu.org>
14014
14015 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14016 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14017 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14018 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14019 * calendar/cal-html.el (cal-html-insert-minical):
14020 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14021 (calendar-mark-date-pattern):
14022 Prefix "unused" locals.
14023
14024 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14025 optional argument `style'.
14026
14027 * calendar/appt.el (appt-make-list):
14028 * calendar/cal-china.el (calendar-chinese-date-string):
14029 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14030 (diary-hebrew-yahrzeit):
14031 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14032 * calendar/calendar.el (calendar-generate-window):
14033 * calendar/time-date.el (time-to-days):
14034 Remove unused local variables.
14035
16a43933
CY
140362011-04-18 Chong Yidong <cyd@stupidchicken.com>
14037
14038 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14039 glyphless-char-display table.
14040 (tabulated-list-glyphless-char-display): New var.
14041
7eed1860
SS
140422011-04-18 Sam Steingold <sds@gnu.org>
14043
14044 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14045 to acknowledgments.
14046
4d2d1ccd
GM
140472011-04-17 Glenn Morris <rgm@gnu.org>
14048
14049 * calendar/diary-lib.el (diary-sexp-entry):
14050 * calendar/holidays.el (holiday-sexp):
14051 Set debug-on-error rather than the removed stack-trace-on-error.
14052
239da61d
GM
140532011-04-16 Glenn Morris <rgm@gnu.org>
14054
14055 * progmodes/f90.el: Use lexical-binding.
14056 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14057
8b05752a
SM
140582011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14059
daca8ba5
SM
14060 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14061 (mail-mode): Setup mailalias completion here instead.
14062 * mail/mailalias.el: Use lexical-binding.
14063 (pattern, mailalias-done): Declare dynamic.
14064 (mail-completion-at-point-function): New function, from mail-complete.
14065 (mail-complete): Use it.
14066 (mail-completion-expand): New function.
14067 (mail-get-names): Use it.
14068 (mail-directory, mail-directory-process, mail-directory-stream):
14069 Don't use `pattern' for lexically bound arg.
14070
6f542485
SM
14071 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14072
037e7c3f
SM
14073 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14074 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14075 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14076
8b05752a
SM
14077 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14078 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14079 (byte-interactive-p): Define them again, for use when inlining
14080 old code.
14081
49093f60
JB
140822011-04-15 Juanma Barranquero <lekktu@gmail.com>
14083
14084 * loadup.el: Use `string-to-number', not `string-to-int'.
14085
b5b8e7de
SM
140862011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14087
14088 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14089 gud-gdb-complete-command.
14090 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14091 (gud-gdb-completion-at-point): New function.
14092 (gud-gdb-completions): Remove.
14093
f42efeb5
MA
140942011-04-14 Michael Albinus <michael.albinus@gmx.de>
14095
49093f60
JB
14096 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14097 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14098 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14099 whether `executable-find' is bound.
f42efeb5
MA
14100
14101 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14102
e240cc21
SM
141032011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14104
14105 * minibuffer.el (completion-in-region-mode-predicate)
14106 (completion-in-region-mode--predicate): New vars.
14107 (completion-in-region, completion-in-region--postch)
14108 (completion-in-region-mode): Use them.
14109 (completion--capf-wrapper): Also return the hook function.
14110 (completion-at-point, completion-help-at-point):
14111 Adjust and provide a predicate.
c2bd2ab0
SM
14112
14113 Preserve arg names for advice of subr and lexical functions (bug#8457).
14114 * help-fns.el (help-function-arglist): Consolidate the subr and
14115 new-byte-code cases. Add argument `preserve-names' to extract names
14116 from the docstring when needed.
14117 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14118 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14119 (ad-arglist): Use help-function-arglist's new arg.
14120 (ad-definition-type): Use cond.
14121
c183f693
JB
141222011-04-13 Juanma Barranquero <lekktu@gmail.com>
14123
06641a47
JB
14124 * autorevert.el (auto-revert-handler):
14125 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14126 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14127 Don't quote lambda.
14128
c183f693
JB
14129 * image-mode.el (image-transform-set-scale):
14130 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14131
1e3b6001
G
141322011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14133
14134 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14135 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14136 Upgrades via gnutls-cli are too slow to be done opportunistically.
14137
2d6af8dd
JB
141382011-04-12 Juanma Barranquero <lekktu@gmail.com>
14139
14140 * dframe.el (dframe-current-frame): Remove spurious quote.
14141
c0749a51
GM
141422011-04-12 Glenn Morris <rgm@gnu.org>
14143
088d0d61
GM
14144 * calendar/cal-tex.el (cal-tex-end-document):
14145 Try to automatically use latin1 input if needed.
14146
c0749a51
GM
14147 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14148 Don't try to cons a mark onto an empty element.
14149
5c90fde0
LL
141502011-04-11 Leo Liu <sdl.web@gmail.com>
14151
14152 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14153 buffers.
14154 (ido-kill-buffer-at-head): Support killing virtual buffers.
14155
369e974d
CY
141562011-04-10 Chong Yidong <cyd@stupidchicken.com>
14157
14158 * minibuffer.el (completion-show-inline-help): New var.
14159 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14160 (minibuffer-force-complete, minibuffer-complete-word):
14161 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14162
14163 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14164 to avoid interference from inline help (Bug#5849).
14165
37f1c930
LL
141662011-04-10 Leo Liu <sdl.web@gmail.com>
14167
099c39a4
JB
14168 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14169 Fix typo.
37f1c930 14170
a32d4040
CY
141712011-04-09 Chong Yidong <cyd@stupidchicken.com>
14172
14173 * image-mode.el (image-toggle-display-image): Signal an error if
14174 not in Image mode.
14175 (image-transform-mode, image-transform-resize)
14176 (image-transform-set-rotation): Doc fix.
daca8ba5 14177 (image-transform-set-resize): Delete.
a32d4040
CY
14178 (image-transform-set-scale, image-transform-fit-to-height)
14179 (image-transform-fit-to-width): Handle image-toggle-display-image
14180 and image-transform-resize directly.
14181
099c39a4 141822011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14183
14184 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14185 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14186 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14187 (doc-view-mode-map): Add bindings for the new functions.
14188
099c39a4 141892011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14190
4d61f28d 14191 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14192 Fix typo in docstring.
14193
3726838a
EZ
141942011-04-08 Eli Zaretskii <eliz@gnu.org>
14195
04f33f1e
EZ
14196 * files.el (file-size-human-readable): Produce one digit after
14197 decimal, like "ls -lh" does.
14198
14199 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14200 the file size representation.
14201
3726838a
EZ
14202 * simple.el (list-processes): If async subprocesses are not
14203 available, error out with a clear error message.
14204
cbb59342
CY
142052011-04-08 Chong Yidong <cyd@stupidchicken.com>
14206
14207 * help.el (help-form-show): New function, to be called from C.
14208 Put help-form output in a buffer named differently than *Help*.
14209
e3971c44
EZ
142102011-04-08 Eli Zaretskii <eliz@gnu.org>
14211
14212 * files.el (file-size-human-readable): New function.
14213
14214 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14215 computing the representation inline. Don't require `cl'.
14216
12544bbe
GM
142172011-04-08 Glenn Morris <rgm@gnu.org>
14218
a1de6c6a
GM
14219 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14220
3c4671f4
GM
14221 * net/browse-url.el (browse-url-firefox):
14222 Test system-type, not system-configuration.
14223
b605679c
GM
14224 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14225 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14226 Use log-edit-empty-buffer-p. (Bug#7598)
14227
56442f0c
GM
14228 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14229 (rlogin-mode-map): Initialize in the defvar.
14230 (rlogin): Use ignore-errors.
14231
12544bbe
GM
14232 * replace.el (occur-mode-map): Some fixes for menu items.
14233
eb237b0f
AH
142342011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14235
14236 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14237
7d668f2c
CY
142382011-04-06 Chong Yidong <cyd@stupidchicken.com>
14239
e67a13ab
CY
14240 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14241 issuing unused warnings.
14242
14243 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14244 macro directly.
14245
7d668f2c
CY
14246 * simple.el: Lisp reimplement of list-processes. Based on an
14247 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14248 (process-menu-mode): New major mode.
14249 (list-processes--refresh, list-processes):
14250 (process-menu-visit-buffer): New functions.
14251
14252 * files.el (save-buffers-kill-emacs): Don't assume any return
14253 value of list-processes, which is undocumented anyway.
14254
a83ec3c9
CY
142552011-04-06 Chong Yidong <cyd@stupidchicken.com>
14256
14257 * emacs-lisp/tabulated-list.el: New file.
14258
e91a96fe
CY
14259 * emacs-lisp/package.el: Use Tabulated List mode.
14260 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14261 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14262 table format using Tabulated List mode variables.
14263 (package--push): New macro, replacing package-list-maybe-add.
14264 (package-menu--generate): Use package--push. Renamed from
14265 package--generate-package-list.
14266 (package-menu-refresh, list-packages): Use it.
daca8ba5 14267 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14268 Return insertion data instead of inserting it directly.
099c39a4
JB
14269 (package-menu-describe-package, package-menu-execute):
14270 Use tabulated-list-get-id.
e91a96fe
CY
14271 (package-menu-mark-delete, package-menu-mark-install)
14272 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14273 (package-menu-mark-obsolete-for-deletion):
14274 Use tabulated-list-put-tag.
e91a96fe
CY
14275 (package--list-packages, package-menu-revert)
14276 (package-menu-get-package, package-menu-get-version)
14277 (package-menu-sort-by-column): Functions deleted.
14278 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14279 (package-menu--status-predicate, package-menu--version-predicate)
14280 (package-menu--name-predicate)
14281 (package-menu--description-predicate): Handle arguments in the
14282 Tabulated List format.
14283 (package-list-packages-no-fetch): Call list-packages.
14284
3e214b50
JB
142852011-04-06 Juanma Barranquero <lekktu@gmail.com>
14286
14287 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14288 (after-find-file): Don't bind it.
3e214b50
JB
14289 (revert-buffer-in-progress-p): New variable.
14290 (revert-buffer): Bind it.
14291 Pass nil for `after-find-file-from-revert-buffer'.
14292
14293 * saveplace.el (save-place-find-file-hook): Use new variable
14294 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14295
3f0f1700
GM
142962011-04-06 Glenn Morris <rgm@gnu.org>
14297
c0274801
GM
14298 * Makefile.in (AUTOGEN_VCS): New variable.
14299 (autoloads): Use $AUTOGEN_VCS.
14300
3f0f1700
GM
14301 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14302 * calendar/calendar.el (calendar-mode-map):
14303 Check for toolkit scroll bars. (Bug#8305)
14304
41ea9e48
CY
143052011-04-05 Chong Yidong <cyd@stupidchicken.com>
14306
14307 * minibuffer.el (completion-in-region--postch)
14308 (completion-in-region-mode): Remove unnecessary messages.
14309
6194c800
JB
143102011-04-05 Juanma Barranquero <lekktu@gmail.com>
14311
33256f14
JB
14312 * font-lock.el (font-lock-refresh-defaults):
14313 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14314 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14315
6194c800
JB
14316 * info.el (Info-directory-list, Info-read-node-name-2)
14317 (Info-split-parameter-string): Doc fixes.
14318 (Info-virtual-nodes): Reflow docstring.
14319 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14320 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14321 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14322 Fix typos in docstrings.
14323 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14324 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14325 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14326 (Info-restore-desktop-buffer): Mark unused parameters.
14327 (Info-directory-find-file, Info-directory-find-node)
14328 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14329 (Info-virtual-index-find-node, Info-apropos-find-file)
14330 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14331 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14332 (Info-virtual-index): Remove unused local variable `nodename'.
14333
b87a8200 143342011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14335
b87a8200
DD
14336 * net/rcirc.el: Update my e-mail address.
14337 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14338
3b2ff876
CY
143392011-04-05 Chong Yidong <cyd@stupidchicken.com>
14340
14341 * startup.el (command-line): Save the cursor's theme-face
14342 directly, instead of using face-override-spec.
14343
14344 * custom.el (load-theme): Minor optimization in assigning faces.
14345
8d17e7ca
JB
143462011-04-04 Juanma Barranquero <lekktu@gmail.com>
14347
14348 * help-fns.el (describe-variable): Complete all variables having
14349 documentation, including keywords.
14350 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14351
2fbc1934
JB
143522011-04-04 Juanma Barranquero <lekktu@gmail.com>
14353
14354 Convert to lexical-binding.
14355
14356 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14357 (bs--get-marked-string, bs--get-modified-string)
14358 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14359 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14360 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14361
14362 * ehelp.el (electric-help-execute-extended)
14363 (electric-help-ctrl-x-prefix):
14364 * hexl.el (hexl-revert-buffer-function):
14365 * linum.el (linum-after-change, linum-after-scroll):
14366 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14367
14368 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14369
74f50695
DU
143702011-04-04 Daiki Ueno <ueno@unixuser.org>
14371
14372 * epa-dired.el:
14373 * epa-mail.el:
14374 * epa-hook.el:
14375 * epa-file.el:
14376 * epa.el:
14377 * epg.el: Use lexical binding.
14378
c11325f7
CY
143792011-04-03 Chong Yidong <cyd@stupidchicken.com>
14380
0d9e9a12
CY
14381 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14382
c11325f7 14383 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14384 dictionary case for flyspell-mark-duplications-exceptions.
14385 Use regexp matching for languages.
c11325f7
CY
14386 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14387 default dictionary (Bug#7926).
14388
da91b5f2
CY
143892011-04-02 Chong Yidong <cyd@stupidchicken.com>
14390
099c39a4
JB
14391 * emacs-lisp/package.el (package--with-work-buffer):
14392 Recognize https URLs.
da91b5f2 14393
099c39a4
JB
14394 * net/network-stream.el: Move from gnus/proto-stream.el.
14395 Change prefix to network-stream throughout.
da91b5f2
CY
14396 (open-protocol-stream): Merge into open-network-stream, leaving
14397 open-protocol-stream as an alias. Handle nil BUFFER args.
14398
14399 * subr.el (open-network-stream): Move to net/network-stream.el.
14400
afa8e9f6
GM
144012011-04-02 Glenn Morris <rgm@gnu.org>
14402
1d2e369d
GM
14403 * find-dired.el (find-exec-terminator): New option.
14404 (find-ls-option): Test for -ls support.
14405 (find-ls-subdir-switches): Test for -b in find-ls-option.
14406 (find-dired, find-grep-dired): Doc fixes.
14407 (find-dired): Use find-exec-terminator.
14408
8abb7da8 14409 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14410 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14411 (find-name-arg): Remove purecopy.
8abb7da8 14412
f3ca7378
GM
14413 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14414 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14415 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14416 accordingly. Don't add the null-device if not needed.
14417
afa8e9f6
GM
14418 * files.el (save-some-buffers): Doc fix.
14419
35eae264
EZ
144202011-04-02 Eli Zaretskii <eliz@gnu.org>
14421
14422 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14423
26b51db5
JB
144242011-04-01 Juanma Barranquero <lekktu@gmail.com>
14425
14426 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14427 Use `dolist' rather than `mapcar'.
14428
7200d79c
SM
144292011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14430
03408648 14431 Add lexical binding.
7200d79c 14432
03408648
SM
14433 * subr.el (apply-partially): Use new closures rather than CL.
14434 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14435 (dolist, dotimes): Use slightly different expansion for lexical code.
14436 (functionp): Move to C.
14437 (letrec): New macro.
14438 (with-wrapper-hook): Use it and apply-partially instead of CL.
14439 (eval-after-load): Preserve lexical-binding.
14440 (save-window-excursion, with-output-to-temp-buffer): Turn them
14441 into macros.
7200d79c 14442
03408648
SM
14443 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14444
14445 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14446 than the arglist.
14447 (help-add-fundoc-usage): Don't add `Not documented'.
14448 (help-function-arglist): Handle closures, subroutines, and new
14449 byte-code-functions.
14450 (help-make-usage): Remove leading underscores.
14451 (describe-function-1): Handle closures.
14452 (describe-variable): Use special-variable-p for completion.
14453
14454 * files.el (lexical-binding): Declare safe.
f488fb65 14455
03408648
SM
14456 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14457 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14458 (pcase): Add `let' pattern.
14459 Change memoization so it actually works.
14460 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14461 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14462 <let>: New case.
f488fb65 14463
03408648
SM
14464 * emacs-lisp/macroexp.el: Use lexical binding.
14465 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14466 Don't convert ' to #' without checking that it's indeed quoting
14467 a lambda.
14468
14469 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14470 Use eval-sexp-add-defvars.
03408648
SM
14471 (eval-sexp-add-defvars): New fun.
14472
14473 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14474
14475 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14476 Don't autoload.
14477 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14478 than the internal `byte-compile-lambda'.
14479 (defmethod): Don't hide code under quotes.
14480 (eieio-defmethod): New `code' argument.
14481
14482 * emacs-lisp/eieio-comp.el: Remove.
14483
14484 * emacs-lisp/edebug.el (edebug-eval-defun)
14485 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14486 (edebug-toggle): Avoid `eval'.
14487
14488 * emacs-lisp/disass.el (disassemble-internal): Handle new
14489 `closure' objects.
14490 (disassemble-1): Handle new byte codes.
14491
14492 * emacs-lisp/cl.el (pushnew): Silence warning.
14493
14494 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14495 (cl-byte-compile-throw): Remove.
14496 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14497
14498 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14499 closures.
14500
14501 * emacs-lisp/cconv.el: New file.
14502
14503 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14504 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14505 (byte-compile-initial-macro-environment):
14506 Handle declare-function here.
14507 (byte-compile--lexical-environment): New var.
14508 (byte-stack-ref, byte-stack-set, byte-discardN)
14509 (byte-discardN-preserve-tos): New lap codes.
14510 (byte-interactive-p): Don't use any more.
14511 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14512 New macros.
14513 (byte-compile-lapcode): Use them and handle new lap codes.
14514 (byte-compile-obsolete): Remove.
14515 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14516 (byte-compile-arglist-warn): Check late def of inlinable funs.
14517 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14518 since they should have been expanded by now.
14519 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14520 (byte-compile-from-buffer): Remove unused second arg.
14521 (byte-compile-preprocess): New function.
14522 (byte-compile-toplevel-file-form): New function to distinguish
14523 file-form calls from outside from file-form calls from hunk-handlers.
14524 (byte-compile-file-form): Simplify.
14525 (byte-compile-file-form-defsubst): Remove.
14526 (byte-compile-file-form-defmumble): Simplify now that
14527 byte-compile-lambda always returns a byte-code-function.
14528 (byte-compile): Preprocess.
14529 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14530 Remove, not used any more.
14531 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14532 (byte-compile-make-args-desc): New funs.
14533 (byte-compile-lambda): Handle lexical functions. Always return
14534 a byte-code-function.
14535 (byte-compile-reserved-constants): New var, to make up room for
14536 closed-over variables.
14537 (byte-compile-constants-vector): Obey it.
14538 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14539 (byte-compile-macroexpand-declare-function): New function.
14540 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14541 byte-code-functions.
14542 (byte-compile-form): Check obsolescence here.
14543 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14544 (byte-compile-variable-ref): Remove.
14545 (byte-compile-dynamic-variable-op): New fun.
14546 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14547 (byte-compile-variable-set): New funs.
14548 (byte-compile-discard): Add 2 args.
14549 (byte-compile-stack-ref, byte-compile-stack-set)
14550 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14551 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14552 macroexpand-all instead.
14553 (byte-compile-quote-form): Remove.
14554 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14555 (byte-compile-bind, byte-compile-unbind): New funs.
14556 (byte-compile-let): Handle let* and lexical binding.
14557 (byte-compile-let*): Remove.
14558 (byte-compile-catch, byte-compile-unwind-protect)
14559 (byte-compile-track-mouse, byte-compile-condition-case):
14560 Handle a new :fun-body form, used for lexical scoping.
14561 (byte-compile-save-window-excursion)
14562 (byte-compile-with-output-to-temp-buffer): Remove.
14563 (byte-compile-defun): Simplify.
14564 (byte-compile-stack-adjustment): New fun.
14565 (byte-compile-out): Use it.
14566 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14567
14568 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14569 handler any more.
14570
14571 * emacs-lisp/byte-opt.el: Use lexical binding.
14572 (byte-inline-lapcode): Remove (to bytecomp).
14573 (byte-compile-inline-expand): Pay attention to inlining to/from
14574 lexically bound code.
14575 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14576 any more.
14577 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14578 any more and don't call compiler-macros.
14579 (byte-compile-splice-in-already-compiled-code): Remove.
14580 (byte-code): Don't inline any more.
14581 (disassemble-offset): Receive `bytes' as argument rather than via
14582 dynamic scoping.
14583 (byte-compile-tag-number): Declare before first use.
14584 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14585 `return' even if make-spliceable.
14586 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14587 obsolete interactive-p.
14588 (byte-optimize-lapcode): Optimize new lap-codes.
14589 Don't trip up on new form of `byte-constant' lap code.
14590
14591 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14592
14593 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14594
14595 * custom.el (custom-initialize-default, custom-declare-variable):
14596 Use `defvar'.
14597
14598 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14599 New variables.
14600 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14601 (COMPILE_FIRST): Add macroexp and cconv.
14602 * makefile.w32-in: Mirror changes in Makefile.in.
14603
14604 * vc/cvs-status.el:
14605 * vc/diff-mode.el:
14606 * vc/log-edit.el:
14607 * vc/log-view.el:
14608 * vc/smerge-mode.el:
14609 * textmodes/bibtex-style.el:
14610 * textmodes/css.el:
14611 * startup.el:
14612 * uniquify.el:
da91b5f2
CY
14613 * minibuffer.el:
14614 * newcomment.el:
14615 * reveal.el:
14616 * server.el:
14617 * mpc.el:
14618 * emacs-lisp/smie.el:
14619 * doc-view.el:
14620 * dired.el:
03408648
SM
14621 * abbrev.el: Use lexical binding.
14622
0f0c1f27
EZ
146232011-04-01 Eli Zaretskii <eliz@gnu.org>
14624
14625 * info.el (info-display-manual): New function.
14626
c82b2579
SM
146272011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14628
14629 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14630
221ddf68
TH
146312011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14632
14633 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14634 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14635
cba6e77e
GM
146362011-03-31 Glenn Morris <rgm@gnu.org>
14637
e040639f
GM
14638 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14639
cba6e77e
GM
14640 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14641
6d0f1c9e
CS
146422011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14643
14644 * progmodes/python.el (python-default-interpreter)
14645 (python-python-command-args, python-jython-command-args)
14646 (python-which-shell, python-which-args, python-which-bufname)
14647 (python-file-queue, python-comint-output-filter-function)
14648 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14649 variables and functions.
14650
3e2d70fd
SM
146512011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14652
14653 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14654 (completion-in-region-mode): New minor mode.
14655 (completion-in-region): Use it.
14656 (completion-in-region--data, completion-in-region-mode-map): New vars.
14657 (completion-in-region--postch): New function.
14658 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14659 New vars.
14660 (completion--capf-wrapper): New function.
14661 (completion-at-point): Use it to track well-behavedness of
14662 hook functions.
14663 (completion-help-at-point): New command.
14664
f3e4086c
JM
146652011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14666
14667 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14668 syntax class to search for whitespace on a single line
14669 (Message-ID: <4D938140.4030905@redhat.com>).
14670
eb7ffc14
LL
146712011-03-30 Leo Liu <sdl.web@gmail.com>
14672
14673 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14674 New commands.
14675 (edit-abbrevs-map): Bind them here.
14676 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14677
d806ab68
KM
146782011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14679
14680 * allout.el (allout-hide-by-annotation, allout-flag-region):
14681 Reduce possibility of overlay leakage by making them volatile.
14682
14683 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14684 hash is not shared between buffers. Mode initialization is
14685 responsible for giving it a useful starting value.
14686 (allout-item-span): Reduce possibility of overlay leakage by
14687 making them volatile.
14688 (allout-widgets-count-buttons-in-region): Add diagnostic function
14689 for tracking down button overlay leaks.
14690
ea622834
LL
146912011-03-29 Leo Liu <sdl.web@gmail.com>
14692
14693 * ido.el (ido-read-internal): Use the default history var
14694 minibuffer-history if no HISTORY is specified.
14695
b62f8267
G
146962011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14697
03408648
SM
14698 * net/imap.el (imap-shell-open, imap-process-connection-type):
14699 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14700 Kerberos, SSL, other subprocesses.
14701
947b6566
LL
147022011-03-28 Leo Liu <sdl.web@gmail.com>
14703
14704 * abbrev.el (abbrev-table-empty-p): New function.
14705 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14706 nonempty ones. (Bug#5937)
14707
5ffb62aa
JD
147082011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14709
14710 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14711
7a097943
LL
147122011-03-27 Leo Liu <sdl.web@gmail.com>
14713
14714 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14715 for foreground and background colors.
14716 (ansi-color-make-color-map): Adapt.
14717
c5b40130
LL
147182011-03-25 Leo Liu <sdl.web@gmail.com>
14719
1f48f7d2
LL
14720 * midnight.el (midnight-time-float): Remove. Note it calculates
14721 the microsecond component incorrectly and seconds-to-time does the
14722 same job.
625897ec 14723 Remove redundant (require 'timer).
1f48f7d2 14724
c5b40130
LL
14725 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14726 (ido-completions): Remove unused arguments. (Bug#8329)
14727
d86d2721
SM
147282011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14729
14730 * minibuffer.el (completion--flush-all-sorted-completions):
14731 Remove itself from hook.
14732 (completion-at-point): Let the functions perform the completion
14733 immediately and return nil or t.
14734 * comint.el (comint-dynamic-complete-functions): Now identical to
14735 completion-at-point-functions.
14736 (comint-dynamic-list-input-ring): Remove unused var `index'.
14737 (comint--match-partial-filename, comint--unquote&expand-filename):
14738 New funs, split from comint-match-partial-filename.
14739 (comint-dynamic-complete): Use completion-at-point.
14740 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14741
e8974c48
DA
147422011-03-24 Drew Adams <drew.adams@oracle.com>
14743
14744 * thingatpt.el: Support `defun'.
14745
def71b5e
LL
147462011-03-23 Leo Liu <sdl.web@gmail.com>
14747
cb5af48e
LL
14748 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14749
def71b5e
LL
14750 * help-mode.el (help-mode-finish): Tweak regexp.
14751
927c53e7
GM
147522011-03-23 Glenn Morris <rgm@gnu.org>
14753
18d05bed
GM
14754 * eshell/esh-opt.el (eshell-eval-using-options):
14755 Do not bind unused local variable `eshell-option-stub'.
14756
927c53e7
GM
14757 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14758
9d0da923
JB
147592011-03-22 Juanma Barranquero <lekktu@gmail.com>
14760
14761 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14762 keymap variable in `with-no-warnings' to avoid a warning when the
14763 keymap has been already `defconst'ed.
14764
4b978a67
LL
147652011-03-22 Leo Liu <sdl.web@gmail.com>
14766
14767 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14768 encode all chars in abbrevs; otherwise use emacs-mule or
14769 utf-8-emacs. (Bug#8308)
14770
5fd62452
JB
147712011-03-22 Juanma Barranquero <lekktu@gmail.com>
14772
0b1596c6
JB
14773 * simple.el (backward-delete-char-untabify):
14774 Avoid warning about using `delete-backward-char'.
14775
5fd62452
JB
14776 * image.el (image-type-file-name-regexps): Make it variable.
14777 `imagemagick-register-types' modifies it, and the user may want
14778 to add new extensions for known image types.
14779 (imagemagick-register-types): Throw error if not using ImageMagick.
14780
0b4e93f1
LL
147812011-03-22 Leo Liu <sdl.web@gmail.com>
14782
14783 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14784 located before rcirc-prompt-end-marker.
14785 (rcirc-complete): Error if point is not after rcirc prompt.
14786 Handle the case when table is nil.
9882e214 14787 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14788
fccee4ab
CY
147892011-03-22 Chong Yidong <cyd@stupidchicken.com>
14790
14791 * custom.el (custom--inhibit-theme-enable): Make it affect only
14792 custom-theme-set-variables and custom-theme-set-faces.
14793 (provide-theme): Ignore custom--inhibit-theme-enable.
14794 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14795 (custom-enabling-themes): Delete variable.
d86d2721
SM
14796 (enable-theme): Accept only loaded themes as arguments.
14797 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14798 (custom-enabled-themes): Forbid themes from setting this.
14799 Eliminate use of custom-enabling-themes.
14800 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14801
af896da6
LL
148022011-03-21 Leo Liu <sdl.web@gmail.com>
14803
14804 * ido.el (ido-read-internal): Add ido-selected to history instead
14805 of user input.
14806
78f64af0
SM
148072011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14808
14809 * subr.el (deferred-action-list, deferred-action-function):
14810 Mark obsolete.
14811
b16ac1ec
LL
148122011-03-21 Leo Liu <sdl.web@gmail.com>
14813
810f7698
LL
14814 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14815 change on 2011-02-13 (bug#8309).
14816
b16ac1ec
LL
14817 * minibuffer.el (read-file-name-function): Change default value.
14818 (read-file-name--defaults): Rename from read-file-name-defaults.
14819 (read-file-name-default): Rename from read-file-name.
14820 (read-file-name): Call read-file-name-function.
14821
4e05e67e
GM
148222011-03-21 Glenn Morris <rgm@gnu.org>
14823
14824 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14825 Doc fixes.
14826
4359915b
CY
148272011-03-21 Chong Yidong <cyd@stupidchicken.com>
14828
14829 * cus-theme.el: Add missing provide statement.
14830 (customize-create-theme): Extract theme value correctly.
14831 (custom-theme-visit-theme): Autoload.
14832 (customize-create-theme): Prompt before inserting default faces.
14833
1fe275ee
JB
148342011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14835
14836 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14837 units and musical notes.
14838
cd394be1 148392011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14840
14841 * ido.el (ido-read-internal): Use completing-read-default.
14842 (ido-completing-read): Fix compatibility with completing-read.
14843
7d476bde
CO
148442011-03-20 Christian Ohler <ohler@gnu.org>
14845
14846 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14847 (ert-delete-all-tests): Use `called-interactively-p' rather than
14848 `interactive-p'.
14849 (ert--make-xrefs-region): Respect END.
14850
fe0fb33e
CY
148512011-03-19 Chong Yidong <cyd@stupidchicken.com>
14852
ff854b0b
CY
14853 * dired-aux.el (dired-create-directory): Signal an error if the
14854 directory already exists (Bug#8246).
14855
fe0fb33e
CY
14856 * facemenu.el (list-colors-display): Call list-faces-display
14857 inside with-help-window.
14858 (list-colors-print): Use display property to align the final
14859 column, instead of checking window-width.
14860
576bce32
EZ
148612011-03-19 Eli Zaretskii <eliz@gnu.org>
14862
4d61f28d 14863 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14864 windows-nt systems.
14865 (emerge-protect-metachars): Quote correctly for ms-dos and
14866 windows-nt systems.
14867
89c41d68 148682011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14869
14870 * info.el (info-initialize): Replace all uses of `:' with
14871 path-separator for compatibility with non-Unix systems.
14872 Cache quoting of path-separator. (Bug#8258)
14873
b14e3e21 148742011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14875
14876 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14877 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14878 (mouse-avoidance-mode): Fix typos in docstrings.
14879
4525ce3e
CY
148802011-03-19 Chong Yidong <cyd@stupidchicken.com>
14881
14882 * startup.el (package-subdirectory-regexp): Move from package.el.
14883 Omit \\` and \\', and let callers add them.
14884
14885 * emacs-lisp/package.el (package-strip-version)
14886 (package-load-all-descriptors): Add \\` and \\' to
14887 package-subdirectory-regexp before using it.
14888 (package-untar-buffer): New arg DIR; ensure that file untars only
14889 into this expected directory. Remove superfluous delete-region.
14890 (package-unpack): Caller changed.
14891 (package-tar-file-info): Use package-subdirectory-regexp.
14892
a904a09a 148932011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14894
a904a09a
SM
14895 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14896 diff-mode-shared-map (bug#8284).
14897 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14898
148992011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14900
14901 * calendar/time-date.el (format-seconds): Use assoc instead of
14902 assoc-string, since assoc-string doesn't exist in XEmacs.
14903
171fc304
JB
149042011-03-17 Juanma Barranquero <lekktu@gmail.com>
14905
14906 * custom.el (custom-known-themes): Reflow docstring.
14907 (custom-theme-load-path): Fix typo in docstring.
14908 (load-theme): Fix typo in error message.
14909 (custom-available-themes, custom-variable-theme-value):
14910 Use `let', not `let*'.
14911
d71990a1
JB
149122011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14913
14914 * calc/README: Mention inclusion of musical notes.
14915
14916 * calc/calc-units.el (calc-lu-quant): Rename from
14917 `calc-logunits-quantity'.
14918 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14919 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14920 (calc-db): Rename from `calc-dblevel'.
14921 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14922 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14923 (calc-np): Rename from `calc-nplevel'.
14924 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14925 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14926 (calc-lu-plus): Rename from `calc-logunits-add'.
14927 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14928 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14929 (calc-lu-minus): Rename from `calc-logunits-sub'.
14930 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14931 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14932 (calc-lu-times): Rename from `calc-logunits-mul'.
14933 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14934 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14935 (calc-lu-divide): Rename from `calc-logunits-div'.
14936 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14937 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14938
14939 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14940 functions being autoloaded.
14941
14942 * calc/calc.el (calc-lu-power-reference): Rename from
14943 `calc-logunits-power-reference'.
14944 (calc-lu-field-reference): Rename from
14945 `calc-logunits-field-reference'.
14946
7a71b18d
GM
14947 * calc/calc-help.el (calc-l-prefix-help):
14948 Mention musical note functions.
d71990a1 14949
40c2934b
SM
149502011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14951
14952 * minibuffer.el (completion-all-sorted-completions):
14953 Use :completion-cycle-penalty text property if present.
14954
b0911414
KM
149552011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14956
14957 * allout.el (allout-yank-processing): Adjust for new rebulleting
14958 regime so bullet being yanked is used without prompting the user
14959 for a choice.
14960
8a05b668
JB
149612011-03-16 Juanma Barranquero <lekktu@gmail.com>
14962
14963 * startup.el (command-line): Warn the user that _emacs is deprecated.
14964
5ba5fb81
JB
149652011-03-16 Juanma Barranquero <lekktu@gmail.com>
14966
14967 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14968 (delphi-verbose, delphi-comment-face, delphi-string-face)
14969 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14970 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14971 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14972 (delphi-new-comment-line, delphi-font-lock-defaults)
14973 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14974 Fix typos in docstrings.
14975
2dab465b
KM
149762011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14977
5ba5fb81 14978 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14979 Invert the roles of character and string values for INSTEAD, so a
14980 string is used for the more common case of a defaulting prompt.
14981
0adf5618
SM
149822011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14983
14984 * progmodes/ruby-mode.el (ruby-backward-sexp):
14985 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14986 * play/gamegrid.el (gamegrid-make-face):
14987 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14988 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14989 * notifications.el (notifications-notify):
14990 * net/xesam.el (xesam-search-engines):
14991 * net/quickurl.el (quickurl-list-insert):
14992 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14993
d72700e5
CY
149942011-03-15 Chong Yidong <cyd@stupidchicken.com>
14995
14996 * startup.el (command-line): Update package subdirectory regexp.
14997
49c5410a
SM
149982011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14999
c6eee9aa
SM
15000 * allout.el (allout-abbreviate-flattened-numbering)
15001 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15002
49c5410a
SM
15003 * subr.el (read-char-choice): Only show the cursor after the prompt,
15004 not after the answer.
15005
047b2bb9
KR
150062011-03-15 Kevin Ryde <user42@zip.com.au>
15007
15008 * help-fns.el (variable-at-point): Skip leading quotes, if any
15009 (bug#8253).
15010
0a57d256
SM
150112011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15012
15013 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15014 warning message.
15015
77c992bc
MA
150162011-03-14 Michael Albinus <michael.albinus@gmx.de>
15017
15018 * shell.el (shell): When called interactively, offer to change the
15019 shell file name on remote hosts.
15020
eebc475d
TZ
150212011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15022
15023 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15024 integration for LDAP parameters. The host, base, user or binddn,
15025 and secret tokens can be specified in a netrc file, for instance.
15026 This is optional because an `auth-source' parameter must be
15027 specified in the search attributes.
15028
9d05d1ba
JB
150292011-03-13 Juanma Barranquero <lekktu@gmail.com>
15030
15031 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15032
09d9db2c
GM
150332011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15034
15035 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15036 into declaration. Remove redundant and harmful binding.
15037
150382011-03-12 Eli Zaretskii <eliz@gnu.org>
15039
15040 * files.el (file-ownership-preserved-p): Pass `integer' as an
15041 explicit 2nd argument to `file-attributes'. If the file's owner
15042 is the Administrators group on Windows, and the current user is
15043 Administrator, consider that a match.
15044
15045 * server.el (server-ensure-safe-dir): Consider server directory
15046 safe on MS-Windows if its owner is the Administrators group while
15047 the current Emacs user is Administrator. Use `=' to compare
15048 numerical UIDs, since they could be integers or floats.
15049
219bd536
JB
150502011-03-12 Juanma Barranquero <lekktu@gmail.com>
15051
15052 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15053
f3afd36b
MA
150542011-03-12 Michael Albinus <michael.albinus@gmx.de>
15055
15056 Sync with Tramp 2.2.1.
15057
15058 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15059
15060 * net/trampver.el: Update release number.
15061
3aaaa6f1
SM
150622011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15063
94642599
SM
15064 * progmodes/compile.el (compilation--previous-directory): Fix up
15065 various nil/dead-marker mismatches (bug#8014).
15066 (compilation-directory-properties, compilation-error-properties):
15067 Don't call it at a position past the one we're about to change.
15068
3aaaa6f1
SM
15069 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15070 Disable obsolescence warnings in the file that declares it.
15071
14239447
KM
150722011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15073
099c39a4
JB
15074 * allout-widgets.el (allout-widgets-tally):
15075 Initialize allout-widgets-tally as a hash table rather than nil to
15076 prevent mode-line redisplay warnings. Also, clarify the module
15077 description and fix a comment typo.
14239447 15078
135e287c
JB
150792011-03-11 Juanma Barranquero <lekktu@gmail.com>
15080
15081 * help-fns.el (describe-variable): Don't complete keywords.
15082 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15083
ffbf300e
CY
150842011-03-10 Chong Yidong <cyd@stupidchicken.com>
15085
ba08b241
CY
15086 * emacs-lisp/package.el (package-version-join): Impose a standard
15087 string representation for pre/alpha/beta version lists.
15088 (package-unpack-single): Standardize the directory name by passing
15089 it through package-version-join.
15090 (package-strip-rcs-id): Accept any version string that does not
15091 signal an error in version-to-list.
ffbf300e 15092
f346fd6b
MA
150932011-03-10 Michael Albinus <michael.albinus@gmx.de>
15094
15095 * simple.el (delete-trailing-whitespace): Return nil for the
15096 benefit of `write-file-functions'.
15097
ccb55d27
GM
150982011-03-10 Glenn Morris <rgm@gnu.org>
15099
5ceaac0c
GM
15100 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15101
02da65ff
GM
15102 * vc/vc-git.el (vc-git-program): New option.
15103 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15104 (vc-git--call): Use it.
15105
b2f603cc
GM
15106 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15107
5772caab
GM
15108 * cus-edit.el (Custom-newline): If no button at point, look
15109 for a subgroup button at start-of-line. (Bug#2298)
15110
ccb55d27
GM
15111 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15112
ec6ecaed
JD
151132011-03-10 Julien Danjou <julien@danjou.info>
15114
15115 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15116 `cursor-type' is nil.
15117
9d5aa01d
JB
151182011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15119
15120 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15121
b6a5875b
KM
151222011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15123
7a71b18d 15124 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15125 preserves the existing header prefix, rebulleting it if necessary,
15126 rather than replacing it. This is necessary for proper operation
15127 of cooperative addons like allout-widgets.
1154d12e
JB
15128 (allout-make-topic-prefix, allout-rebullet-heading):
15129 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15130 value as alternate bullet to be used, instead of prompting the user
15131 for a bullet character.
b6a5875b 15132
ee545c35
MA
151332011-03-09 Michael Albinus <michael.albinus@gmx.de>
15134
d86d2721
SM
15135 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15136 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15137 `tramp-default-port'.
15138
c47971d7
DD
151392011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15140
15141 * net/rcirc.el (rcirc-handler-001): Remove useless
15142 with-rcirc-process-buffer.
15143 (rcirc-check-auth-status): Swap arguments to string-match.
15144
13522cb4
GM
151452011-03-09 Glenn Morris <rgm@gnu.org>
15146
0be6f4f1
GM
15147 * shell.el (shell-mode):
15148 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15149
13522cb4
GM
15150 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15151 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15152
515de2e3
CY
151532011-03-08 Chong Yidong <cyd@stupidchicken.com>
15154
15155 * emacs-lisp/package.el (package-refresh-contents)
15156 (package-menu-execute): Use condition-case-no-debug.
15157
b511b994
MA
151582011-03-08 Michael Albinus <michael.albinus@gmx.de>
15159
15160 * simple.el (shell-command-to-string): Use `process-file'.
15161
15162 * emacs-lisp/package.el (package-tar-file-info): Handle also
15163 remote files.
15164
d86d2721
SM
15165 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15166 Use `equal' for upload base check.
b511b994 15167
25bbfb31
AM
151682011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15169
15170 * textmodes/texinfo.el (texinfo-environments):
15171 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15172
be996521
GM
151732011-03-08 Glenn Morris <rgm@gnu.org>
15174
e9c8529f
GM
15175 * cus-start.el (cursor-in-non-selected-windows):
15176 Fix :set quoting oddness. (Bug#8192)
15177
be996521
GM
15178 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15179 in some setf expressions. (Bug#2159)
15180
2bb5649e
CY
151812011-03-08 Chong Yidong <cyd@stupidchicken.com>
15182
15183 * custom.el (custom-available-themes): Return themes in
15184 alphabetical order.
15185
33383987 15186See ChangeLog.15 for earlier changes.
e3d51b27
MR
15187
15188;; Local Variables:
15189;; coding: utf-8
e3d51b27
MR
15190;; End:
15191
acaf905b 15192 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15193
15194 This file is part of GNU Emacs.
15195
15196 GNU Emacs is free software: you can redistribute it and/or modify
15197 it under the terms of the GNU General Public License as published by
15198 the Free Software Foundation, either version 3 of the License, or
15199 (at your option) any later version.
15200
15201 GNU Emacs is distributed in the hope that it will be useful,
15202 but WITHOUT ANY WARRANTY; without even the implied warranty of
15203 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15204 GNU General Public License for more details.
15205
15206 You should have received a copy of the GNU General Public License
15207 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.