Drop some `quotes' in configure.in's final summary
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f1a4e679
CY
12012-06-12 Chong Yidong <cyd@gnu.org>
2
3 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4 Rename from gud-inhibit-global-bindings.
5
6 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7
8 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9 hook from nxml-glyph-set-hook.
10
11 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12 declaration.
13
14 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
15
16 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
17 Convert to defcustom.
18
0c9e42b5
DA
192012-06-12 Drew Adams <drew.adams@oracle.com>
20
21 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
22 New functions.
23 (help-mode): Use them.
24
09e06855
GM
252012-06-11 Glenn Morris <rgm@gnu.org>
26
27 * progmodes/fortran.el (fortran-font-lock-keywords-3):
28 Use preprocessor face for directives.
29 (fortran-directive-re): Doc fix.
30
71adb94b
SM
312012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
32
2eb87922
SM
33 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
34 conversion to backquotes (bug#11652).
35
71adb94b
SM
36 Fix compiler-expansion of CL's cXXr functions (bug#11673).
37 * emacs-lisp/cl-lib.el (cl--defalias): New function.
38 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
39 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
40 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
41 (cl-ninth, cl-tenth): Mark them as inlinable.
42 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
43 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
44 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
45 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
46 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
47 (cl-list*, cl-adjoin): Don't put an autoload manually.
48 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
49 (cl--compiler-macro-list*): Add autoload cookie.
50 (cl--compiler-macro-cXXr): New function.
2eb87922 51
71adb94b
SM
52 * help-fns.el (help-fns--compiler-macro): New function extracted from
53 describe-function-1; follow aliases and use `compiler-macro' property.
54 (describe-function-1): Use it.
55
a6674402
CY
562012-06-11 Chong Yidong <cyd@gnu.org>
57
58 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
59 is uninstalled, if imagemagick is installed.
60
bb3faf5b
SM
612012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
62
63 * emacs-lisp/cl-lib.el: Use lexical-binding.
64 (cl-map-extents, cl-maclisp-member): Remove.
65 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
66 (cl--set-substring, cl--block-wrapper, cl--block-throw)
67 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
68 * emacs-lisp/cl-extra.el: Use lexical-binding.
69 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
70 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
71 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
72 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
73 * emacs-lisp/cl-seq.el: Use lexical-binding.
74 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
75 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
76 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
77 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
78 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
79 CL's internals.
80
2fe4b125
MA
812012-06-11 Michael Albinus <michael.albinus@gmx.de>
82
83 Sync with Tramp 2.2.6-pre.
84
85 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
86 `print-length' and `print-level' to nil, in order to avoid
87 truncation. Reported by Christopher Schmidt
88 <christopher@ristopher.com>.
89
90 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
91
92 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
93 New defmacro.
94 (tramp-compat-copy-directory): Add optional argument
95 COPY-CONTENTS. It is not handled yet.
96
97 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
98 (tramp-ftp-file-name-p): Simplify.
99
100 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
101 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
102 connection vector.
103
104 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
105 (tramp-methods): Do not use `tramp-password-end-of-line'.
106 (tramp-completion-function-alist-putty): Handle UNIX case.
107 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
108 (tramp-do-file-attributes-with-stat)
109 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
110 gid as real numbers. They could run out of integer range on cygwin.
111 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
112 (tramp-sh-handle-expand-file-name): Handle hops.
113 (tramp-open-connection-setup-interactive-shell): Use
114 `tramp-cleanup'. Move check for busyboxes ...
115 (tramp-find-shell): ... here. Simplify implementation. Set
116 "remote-shell" property also for alternative shells.
117 (tramp-remote-coding-commands): Check "test -c /dev/stdout". If
118 failing, a regular file would be written otherwise. Reported by
119 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
120 (tramp-find-inline-encoding): Cache the coding commands in the
121 process cache. Apply test command on the remote side, if defined.
122 (tramp-find-inline-compress): Cache the compress commands in the
123 process cache.
124 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
125 when requested. Handle hops.
126 (tramp-current-connection): New defvar.
127 (tramp-maybe-open-connection): Use `tramp-cleanup'. Throw
128 `suppress', if there was a failed connection shortly before.
129 Handle user interrupt. (Bug#10187)
130 (tramp-get-inline-compress, tramp-get-inline-coding): Read
131 connection properties from the process cache.
132
133 * net/tramp-smb.el (tramp-smb-server-version)
134 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar): New
135 defconsts.
136 (tramp-smb-prompt): Extend for powershell prompt.
137 (tramp-smb-file-name-handler-alist): Add handlers for
138 `process-file', `shell-command' and `start-file-process'.
139 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
140 (tramp-smb-winexe-shell-command-switch): New defcustoms.
141 (tramp-smb-file-name-p): Simplify.
142 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
143 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
144 (tramp-smb-shell-quote-argument): New defuns.
145 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
146 Implement using "tar". By this, time-stamps are preserved.
147 (tramp-smb-handle-copy-file): Handle also the case of directories.
148 (tramp-smb-do-file-attributes-with-stat)
149 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities): Use
150 `tramp-get-connection-buffer').
151 (tramp-smb-handle-rename-file): Use "rename", when source and
152 target are on the same share.
153 (tramp-smb-maybe-open-connection): Handle wrong passwords. Use
154 `tramp-smb-server-version'.
155 (tramp-smb-wait-for-output): Remove prompt.
156
157 * net/tramp.el (top): Require 'cl.
158 (tramp-methods, tramp-rsh-end-of-line): Remove
159 `tramp-password-end-of-line' from docstring.
160 (tramp-save-ad-hoc-proxies): New defcustom.
161 (tramp-completion-function-alist): Adapt docstring.
162 (tramp-default-password-end-of-line): Remove defcustom.
163 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
164 (tramp-user-regexp, tramp-file-name-regexp-unified)
165 (tramp-file-name-regexp-url): Extend regexp by hop separator.
166 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
167 (tramp-remote-file-name-spec-regexp): New defconst.
168 (tramp-file-name-structure): Extend structure for hops.
169 (tramp-get-method-parameter): Move up.
170 (tramp-file-name-p, tramp-dissect-file-name)
171 (with-parsed-tramp-file-name): Handle hops.
172 (tramp-file-name-hop): New defun.
173 (tramp-make-tramp-file-name): New optional arg HOP.
174 (tramp-message-show-progress-reporter-message): New defvar.
175 (tramp-with-progress-reporter): Use it. We cannot use
176 `tramp-message-show-message' here, because this suppresses also
177 error buffers.
178 (tramp-error-with-buffer): Suppress buffer view, if
179 `tramp-message-show-message' is nil. Use
180 `tramp-get-connection-buffer'.
181 (tramp-cleanup): New defun.
182 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
183 (tramp-file-name-handler): If `debug-on-error' is set, propagate
184 an error unchanged.
185 (tramp-completion-handle-file-name-all-completions): Handle hops.
186 Fix an error when called from ido.
187 (tramp-completion-dissect-file-name): Use better local variable
188 name. Add hop to the vector.
189 (tramp-handle-insert-file-contents): Use progress-reporter for the
190 whole scenario.
191 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
192 to `t'.
193 (tramp-check-for-regexp): Simplify search.
194 (tramp-enter-password): Remove it. Move implementation ...
195 (tramp-action-password): ... here.
196 (tramp-mode-string-to-int, tramp-local-host-p)
197 (tramp-make-tramp-temp-file, tramp-read-passwd)
198 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff): Set
199 tramp-autoload cookie.
200
201 * net/trampver.el: Update release number.
202
2032012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
204 Michael Albinus <michael.albinus@gmx.de>
205
206 * net/tramp.el (tramp-set-completion-function): Fix docstring.
207 (tramp-parse-group, tramp-parse-file)
208 (tramp-parse-shostkeys-sknownhosts): New defuns.
209 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
210 (tramp-parse-shosts-group, tramp-parse-sconfig)
211 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
212 (tramp-parse-sknownhosts, tramp-parse-hosts)
213 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
214 Use them.
215 (tramp-parse-passwd-group, tramp-parse-netrc-group)
216 (tramp-parse-putty-group): Don't narrow.
217 (tramp-parse-putty): Make a loop.
218 (tramp-file-name-handler): Catch the `suppress' signal.
219
72834e10
CY
2202012-06-11 Chong Yidong <cyd@gnu.org>
221
222 * image.el (imagemagick-register-types): Put the ImageMagick entry
223 at the end of image-type-file-name-regexps.
224
a4712e11
JB
2252012-06-11 Johan Bockgård <bojohan@gnu.org>
226
227 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
228 (pcase, pcase-let*, pcase-dolist): Use them.
229
82ad98e3
SM
2302012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
231
232 * emacs-lisp/pcase.el (pcase--let*): New function.
233 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
234 (pcase--expand): Use macroexp-let².
235
f80efb86
SM
2362012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
239 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
240 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
241 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
242 * emacs-lisp/derived.el: Use pcase instead of `cl'.
243 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
244
31ca4639 2452012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 246
31ca4639
CY
247 * mail/rmail.el (rmail-yank-current-message): Leave point at
248 correct position. (Bug#11660)
94f0aa34 249
31ca4639 2502012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 251
31ca4639 252 * allout-widgets.el: Fix code header.
9e1b8ec4 253
31ca4639 2542012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 255
f80efb86
SM
256 * cus-edit.el (customize-changed-options-previous-release):
257 Bump to 24.1.
31ca4639 258
642b6d30
AS
2592012-06-09 Andreas Schwab <schwab@linux-m68k.org>
260
261 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
262
4f5d2ba1
CY
2632012-06-09 Chong Yidong <cyd@gnu.org>
264
265 * ebuff-menu.el (electric-buffer-list): Preserve header line.
266
e75852fd
MR
2672012-06-09 Martin Rudalics <rudalics@gmx.at>
268
269 * window.el (special-display-popup-frame): Don't use
270 window--display-buffer (Bug#11651).
271
1e48e282
EZ
2722012-06-09 Eli Zaretskii <eliz@gnu.org>
273
8a26b487
EZ
274 Fix parallel builds: make sure loaddefs.el is not being written
275 while Lisp files are compiled.
276 (compile): Don't depend on 'mh-autoloads'.
277 (compile-CMD, compile-SH): Depend on 'autoloads'.
278 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
279
1e48e282
EZ
280 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
281
6175e34b
CY
2822012-06-09 Chong Yidong <cyd@gnu.org>
283
284 * face-remap.el (face-remap-add-relative, face-remap-set-base)
285 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
286 Doc fixes (Bug#11225).
287
d9857e53
SM
2882012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
291 a function if there's a clear indication that it has a compiler-macro.
292 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
293 (macro-declarations-alist): Add arglist to declaration functions.
294 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
295 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
296 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
297 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
298 Also add autoload to find the compiler macro.
299 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
300 (cl--compiler-macro-member, cl--compiler-macro-assoc)
301 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
302 (cl--compiler-macro-get): New functions, replacing calls to
303 cl-define-compiler-macro.
304 (cl-typep) [compiler-macro]: Use macroexp-let².
305
f81298f8 3062012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
307
308 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
309 string properly, fixes Bug#11473.
310
4b56d0fe
CY
3112012-06-08 Chong Yidong <cyd@gnu.org>
312
313 * faces.el (set-face-attribute): Doc fix.
314 (modify-face): Don't use :bold and :italic.
315 (error, warning, success): Tweak definitions.
316
317 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
318 (custom-modified, custom-set, custom-changed, custom-themed)
319 (custom-saved, custom-button, custom-button-mouse)
320 (custom-button-pressed, custom-state, custom-comment-tag)
321 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
322 (custom-group-subtitle): Use new-style face specs.
323 (custom-invalid-face, custom-rogue-face, custom-modified-face)
324 (custom-set-face, custom-changed-face, custom-saved-face)
325 (custom-button-face, custom-button-pressed-face)
326 (custom-documentation-face, custom-state-face)
327 (custom-comment-face, custom-comment-tag-face)
328 (custom-variable-tag-face, custom-variable-button-face)
329 (custom-face-tag-face, custom-group-tag-face-1)
330 (custom-group-tag-face): Remove obsolete face alias.
331
332 * epa.el (epa-validity-high, epa-validity-medium)
333 (epa-validity-low, epa-mark, epa-field-name, epa-string)
334 (epa-field-name, epa-field-body):
335 * font-lock.el (font-lock-comment-face, font-lock-string-face)
336 (font-lock-keyword-face, font-lock-builtin-face)
337 (font-lock-function-name-face, font-lock-variable-name-face)
338 (font-lock-type-face, font-lock-constant-face):
339 * ido.el (ido-first-match, ido-only-match, ido-subdir)
340 (ido-virtual, ido-indicator, ido-incomplete-regexp):
341 * speedbar.el (speedbar-button-face, speedbar-file-face)
342 (speedbar-directory-face, speedbar-tag-face)
343 (speedbar-selected-face, speedbar-highlight-face)
344 (speedbar-separator-face):
345 * whitespace.el (whitespace-newline, whitespace-space)
346 (whitespace-hspace, whitespace-tab, whitespace-trailing)
347 (whitespace-line, whitespace-space-before-tab)
348 (whitespace-space-after-tab, whitespace-indentation)
349 (whitespace-empty):
350 * emulation/cua-base.el (cua-global-mark):
351 * eshell/em-prompt.el (eshell-prompt):
352 * net/newst-plainview.el (newsticker-new-item-face)
353 (newsticker-old-item-face, newsticker-immortal-item-face)
354 (newsticker-obsolete-item-face, newsticker-date-face)
355 (newsticker-statistics-face, newsticker-default-face):
356 * net/newst-reader.el (newsticker-feed-face)
357 (newsticker-extra-face, newsticker-enclosure-face):
358 * net/newst-treeview.el (newsticker-treeview-face)
359 (newsticker-treeview-new-face, newsticker-treeview-old-face)
360 (newsticker-treeview-immortal-face)
361 (newsticker-treeview-obsolete-face)
362 (newsticker-treeview-selection-face):
363 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
364 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
365 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
366 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
367 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
368 (nxml-outline-active-indicator, nxml-outline-ellipsis):
369 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
370 (mpuz-text):
371 * progmodes/vera-mode.el (vera-font-lock-number)
372 (vera-font-lock-function, vera-font-lock-interface):
373 * textmodes/table.el (table-cell): Use new-style face specs, and
374 don't use the old :bold and :italic attributes.
375
376 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
377 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
378 (ebrowse-member-class, ebrowse-progress): Likewise.
379 (ebrowse-tree-mark-face, ebrowse-root-class-face)
380 (ebrowse-file-name-face, ebrowse-default-face)
381 (ebrowse-member-attribute-face, ebrowse-member-class-face)
382 (ebrowse-progress-face): Remove obsolete faces.
383
384 * progmodes/flymake.el (flymake-errline, flymake-warnline):
385 Inherit from error and warning faces respectively.
386
387 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
388 Likewise.
f80efb86
SM
389 (flyspell-incorrect-face, flyspell-duplicate-face):
390 Remove obsolete aliases.
4b56d0fe 391
03310646
MA
3922012-06-08 Michael Albinus <michael.albinus@gmx.de>
393
394 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
395 Avoid infloop.
396
513749ee
SM
3972012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
398
399 * startup.el (argv, argi): Make lexically scoped.
400 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
401 * emacs-lisp/cl-macs.el: Use lexical-binding.
402 Rename cl-bind-* to cl--bind-*.
403 * files.el: Don't require `cl' since it doesn't use it.
404 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
405
595ef4ad
JB
4062012-06-08 Juanma Barranquero <lekktu@gmail.com>
407
408 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
409 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
410 instead of calling external sort utility.
411 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
412
e9f66fcb
EZ
4132012-06-08 Eli Zaretskii <eliz@gnu.org>
414
415 * descr-text.el (describe-char): Mention how to insert the
416 character, if the current input method doesn't support it.
417 See the discussion in this thread for the details:
418 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
419
3d10db47
SS
4202012-06-08 Sam Steingold <sds@gnu.org>
421
422 * bindings.el (global-map): Bind XF86Forward to next-buffer and
423 XF86Back to previous-buffer.
424 (minibuffer-local-map): Bind them to next-history-element and
425 previous-history-element respectively.
426 * help-mode.el (help-mode-map): Bind them to help-go-forward and
427 help-go-back respectively.
428 * info.el (Info-mode-map): Bind them to Info-history-forward and
429 Info-history-back respectively.
430 These are the keys next to Up on the ThinkPad keyboard.
431
de7e2b36
SM
4322012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
433
434 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
435 * emacs-lisp/cl-macs.el: Provide itself.
436 (cl--labels-convert-cache): New var.
437 (cl--labels-convert): New function.
438 (cl-flet, cl-labels): New implementation with new semantics, relying on
439 lexical-binding.
440 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
441 (cl-closure-vars, cl--function-convert-cache)
442 (cl--function-convert): Move from cl-macs.el.
443 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
444 rename by removing the "cl-" prefix.
445 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
446
6fa6c4ae
SM
4472012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
450 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
451 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
452 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
453 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
454 (cl-hash-table-count): Add old compatibility aliases.
455
456 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
457 Use macroexpand-all-environment instead.
458 (cl--old-macroexpand): New var.
459 (cl--sm-macroexpand): New function.
460 (cl-symbol-macrolet): Use it during macro expansion.
461 (cl--function-convert-cache): New var.
462 (cl--function-convert): New function, extracted from
463 cl-macroexpand-all.
464 (cl-lexical-let): Use it.
465
466 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
467 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
468 (cl-member): Remove old alias.
469
470 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
471 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
472 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
473 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
474 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
475 (cl-macroexpand-cmacs): Remove var.
476 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
477 Use macroexpand-all instead.
478
4dd1c416
SM
4792012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
482 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
483 (macroexp-copyable-p): New functions and macros.
484 * emacs-lisp/edebug.el (edebug-unwrap):
485 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
486 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
487 (pcase--let*): Remove.
488 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
489 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
490 macroexp-const-p instead.
491 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
492
493 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
494 instead of "cl-" for internal definitions. Use macroexp-const-p.
495 (cl-old-bc-file-form): Remove var.
496 (cl-const-exprs-p): Remove fun.
497 (cl-labels, cl-macrolet): Use backquote.
498 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
499 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
500 (cl-define-setf-expander): Rename from cl-define-setf-method.
501 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
502
503 * international/mule-cmds.el: Don't require CL.
504 (view-hello-file): Don't use `letf'.
505
ed8bd4d7
SM
5062012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
507
7287f2f3
SM
508 * tmm.el (tmm-prompt): Use string-prefix-p.
509 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
510 (tmm-add-prompt): Use minibuffer-completion-help.
511 (tmm-delete-map): Remove.
512
ed8bd4d7
SM
513 * subr.el (kbd): Make it its own function.
514
7b4cdbf4
SM
5152012-06-07 Stefan Merten <smerten@oekonux.de>
516
517 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
518 Silence compiler warnings. Fix versions.
ed8bd4d7 519 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 520 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 521 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
522 (rst-package-emacs-version-alist): Correct Emacs version to
523 represent major merge with upstream.
ed8bd4d7 524 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 525
2b48d721
GM
5262012-06-06 Glenn Morris <rgm@gnu.org>
527
528 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
529 Only print environment variables if set.
530
fa779ab0
SM
5312012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
534 (macroexp--cons): Rename from maybe-cons.
535 (macroexp--accumulate): Rename from macroexp-accumulate.
536 (macroexp--all-forms): Rename from macroexpand-all-forms.
537 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
538 (macroexp--expand-all): Rename from macroexpand-all-1.
539
628299e0
SS
5402012-06-06 Sam Steingold <sds@gnu.org>
541
542 * calendar/calendar.el (calendar-in-read-only-buffer):
543 Call `special-mode' to enable the standard read-only keybindings.
544
b7bb5838
SM
5452012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
548 with "loading" messages (bug#11635).
549
dfb308ba
MA
5502012-06-06 Michael Albinus <michael.albinus@gmx.de>
551
552 * files.el (enable-remote-dir-locals): New option.
553 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
554
0372ee92
MA
555 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
556 Ensure, that the temp directory is local.
557
558 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
559 `temporary-file-directory'.
560
eed0bb91
MA
561 * progmodes/python.el (python-send-region): Ensure, that the
562 temporary file is created also in the remote case.
563
7a58f64d
GM
5642012-06-06 Glenn Morris <rgm@gnu.org>
565
f7dd4e98
GM
566 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
567 (vc-rcs-update-changelog): Use it.
568
276d5f5d
GM
569 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
570
7a58f64d
GM
571 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
572 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
573 (vc-sccs-diff): Replace use of the external vcdiff script.
574
daed4003
GM
5752012-06-05 Glenn Morris <rgm@gnu.org>
576
577 * ledit.el: Move to obsolete/.
578
48c455c7
SS
5792012-06-05 Sam Steingold <sds@gnu.org>
580
581 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
582 patch (Bug#11140).
583
57a7d507
SM
5842012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
585
d32926ff
SM
586 * emacs-list/cust-print.el: Move to obsolete.
587
53aacf21
SM
588 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
589 compiler-macro expansion.
590
57a7d507
SM
591 Add native compiler-macro support.
592 * emacs-lisp/macroexp.el (macroexpand-all-1):
593 Support compiler-macros directly. Properly follow aliases and apply
594 the compiler macros more thoroughly.
595 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
596 macroexpand now properly follows aliases.
597 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
598 (cl-compiler-macroexpand): Use new prop.
599 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
600
601 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
602
51a5f9d8
MR
6032012-06-05 Martin Rudalics <rudalics@gmx.at>
604
605 * window.el (get-lru-window, get-mru-window, get-largest-window):
606 New argument NOT-SELECTED to avoid picking the selected window.
607 (window--display-buffer-1, window--display-buffer-2): Replace by
608 new function window--display-buffer
609 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
610 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
611 Use window--display-buffer.
51a5f9d8
MR
612 (display-buffer-use-some-window): Remove temporary dedication
613 hack by calling get-lru-window and get-largest-window with
614 NOT-SELECTED argument non-nil. Call window--display-buffer.
615
08f9f738
GM
6162012-06-05 Glenn Morris <rgm@gnu.org>
617
618 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
619 Replace external vcdiff script.
620
e364a2b7
SM
6212012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
622
623 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
624
041df390
CY
6252012-06-04 Chong Yidong <cyd@gnu.org>
626
e364a2b7
SM
627 * image.el (imagemagick-types-inhibit): Revert last change.
628 Add INFO and M.
47b36b94 629 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 630
7c1898a7
SM
6312012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
632
633 * emacs-lisp/cl-lib.el: Rename from cl.el.
634 * emacs-lisp/cl.el: New compatibility file.
635 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
636 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
637 to obey the "cl-" prefix.
638 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
639
0c3461de
GM
6402012-06-03 Glenn Morris <rgm@gnu.org>
641
1e266c88
GM
642 * emacs-lisp/authors.el (authors-aliases): Addition.
643
0c3461de
GM
644 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
645 Fix :version.
646
d8a52e15
SM
6472012-06-03 Stefan Merten <smerten@oekonux.de>
648
649 * textmodes/rst.el: Add comments.
650 (rst-transition, rst-adornment): New faces.
651 (rst-adornment-faces-alist): Make default safe to reevaluate.
652 Fixes
653 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
654 Improve customization tags.
655 (rst-define-level-faces): Clarify meaning.
656
5205d6f6
CY
6572012-06-03 Chong Yidong <cyd@gnu.org>
658
659 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
660 (compilation-mode-line-run, compilation-mode-line-exit):
661 New faces.
5205d6f6
CY
662 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
663
757ee657
JD
6642012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
665
7c1898a7
SM
666 * progmodes/which-func.el (which-func-update-ediff-windows):
667 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 668
5f2c76c6
CY
6692012-06-03 Chong Yidong <cyd@gnu.org>
670
671 * bindings.el: Remove explicit help text from format-mode-line.
672 It is now supplied by mode-line-default-help-echo.
673 (mode-line-front-space, mode-line-end-spaces)
674 (mode-line-misc-info): New variables.
675 (mode-line-modes, mode-line-position): Move the default value to
676 the variable definition.
677 (mode-line-default-help-echo): New defcustom.
383f7350
CY
678 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
679 (mode-line-modified-help-echo): New functions.
680 (mode-line-mule-info, mode-line-modified): Use them.
681 (mode-line-eol-desc, propertized-buffer-identification):
682 Consistency fixes for help text.
cbe46e5f
CY
683 (mode-line-coding-system-map): Allow using mouse-3 to invoke
684 set-buffer-file-coding-system (Bug#289).
685 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 686
f2d6a3df
SM
6872012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * simple.el (execute-extended-command): Set real-this-command
690 (bug#11506).
691
37269466
CY
6922012-06-02 Chong Yidong <cyd@gnu.org>
693
694 Remove incorrect uses of "modeline" in comments, docstrings, and
695 function/variable names (Bug#10329).
696
697 * cus-edit.el (mode-line):
698 * dframe.el (dframe-mouse-hscroll):
699 * emacs-lisp/re-builder.el:
700 * emacs-lisp/easy-mmode.el (define-minor-mode):
701 * frame.el (set-frame-name):
702 * help.el (lookup-minor-mode-from-indicator):
703 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
704 * progmodes/cc-cmds.el (c-toggle-auto-newline)
705 (c-toggle-hungry-state):
706 * progmodes/antlr-mode.el (antlr-language-alist):
707 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
708 * progmodes/vhdl-mode.el (vhdl-mode):
709 * progmodes/which-func.el (which-func, which-func-cleanup-function):
710 * term/ns-win.el (ns-face-at-pos):
711 * term/sup-mouse.el (sup-mouse-report):
712 * textmodes/flyspell.el (flyspell-mode-line-string):
713 * textmodes/ispell.el (ispell-highlight-face):
714 * textmodes/reftex-global.el:
715 * vc/vc-arch.el (vc-arch-mode-line-string):
716 * vc/vc-cvs.el (vc-cvs-mode-line-string):
717 * vc/vc-git.el (vc-git-mode-line-string):
718 * vc/vc-hooks.el (vc-display-status)
719 (vc-default-mode-line-string):
720 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
721
722 * ansi-color.el (ansi-color-faces-vector): Change default faces.
723
724 * dired.el (dired-sort-set-mode-line): Rename from
725 dired-sort-set-modeline. All callers changed.
726
727 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
728 eshell-status-in-modeline.
729
730 * foldout.el (foldout-mode-line-string): Rename from
731 foldout-modeline-string. All callers changed.
732 (foldout-update-mode-line): Rename from foldout-update-modeline.
733
734 * subr.el (redraw-modeline): Make into obsolete alias.
735
736 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
737 timeclock-modeline-display. Make old name an alias.
738 (timeclock-update-mode-line): Likewise. All callers changed.
739 (timeclock-mode-line-display): No need to check before using
740 add-hook.
741 (timeclock-relative, timeclock-day-over-hook)
742 (timeclock-use-elapsed, timeclock-mode-string)
743 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
744
745 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
746 crisp-mode-modeline-string.
747
748 * play/solitaire.el (solitaire-build-mode-line): Rename from
749 solitaire-build-modeline. All callers changed.
750
751 * play/zone.el (zone-hiding-mode-line): Rename from
752 zone-hiding-modeline. All callers changed.
753 (zone): Remove unusued `modeline-hidden-level' property.
754
755 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
756 xscheme-modeline-initialize. All callers changed.
757
758 * strokes.el (strokes-lighter): Rename from
759 strokes-modeline-string.
760
761 * textmodes/sgml-mode.el (html-face-tag-alist)
762 (html-tag-face-alist): Use mode-line face instead of obsolete
763 alias modeline.
764
42152ee4
SM
7652012-06-02 Stefan Merten <smerten@oekonux.de>
766
767 * textmodes/rst.el: Always require `cl'.
4cf9b38d 768 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 769
95f520b5
CY
7702012-06-02 Chong Yidong <cyd@gnu.org>
771
772 * image.el (imagemagick-enabled-types): Rename from
773 imagemagick-types-enable. Add many more types.
774 (imagemagick-types-inhibit): Change default to nil.
775 (imagemagick-filter-types): Caller changed.
776
4a5f187a
SM
7772012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
778
03fef3e6
SM
779 * emacs-lisp/cl-macs.el: Use backquotes.
780 (cl-transform-function-property): Use eval-and-compile rather than
781 abusing `require'.
782 (defstruct): Use declare-function instead of with-no-warnings.
783
4a5f187a
SM
784 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
785 (byte-compile-output-docform): Re-add the print-circle bindings.
786 (byte-compile-fix-header): Use #$ just because it's shorter.
787 (byte-compile-output-file-form): Remove defun/defmacro.
788
bd56924f
MR
7892012-06-01 Martin Rudalics <rudalics@gmx.at>
790
791 * simple.el (choose-completion): Remove now obsolete binding for
792 owindow.
793
046e38ce
MA
7942012-06-01 Michael Albinus <michael.albinus@gmx.de>
795
796 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
797 in order to avoid "Stack overflow in regexp matcher".
798
32d72c2f
GM
7992012-05-31 Glenn Morris <rgm@gnu.org>
800
801 * image.el: For clarity, call imagemagick-register-types at
802 top-level, rather than relying on a custom :initialize.
803 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
804 (imagemagick-filter-types): New function. (Bug#7406)
805 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
806 If disabling support, remove elements altogether rather
807 than using an impossible regexp.
808 (imagemagick-types-inhibit): Give it the default init function.
809
dd41169b
SM
8102012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
811
4a5f187a
SM
812 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
813 Handle arbitrary file name lengths (Bug#11585).
dd41169b 814
efc00ab1 8152012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
816
817 * desktop.el (desktop-read): Clear previous and next buffers for
818 all windows and bury *Messages* buffer (bug#11556).
819
500fcedc
SM
8202012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
821
822 Add `declare' for `defun'. Align `defmacro's with it.
823 * emacs-lisp/easy-mmode.el (define-minor-mode)
824 (define-globalized-minor-mode): Don't autoload the var definitions.
825 * emacs-lisp/byte-run.el: Use lexical-binding.
826 (defun-declarations-alist, macro-declarations-alist): New vars.
827 (defmacro, defun): Use them.
828 (make-obsolete, define-obsolete-function-alias)
829 (make-obsolete-variable, define-obsolete-variable-alias):
830 Use `declare'.
831 (macro-declaration-function): Mark obsolete.
832 * emacs-lisp/autoload.el: Use lexical-binding.
833 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
834
6e8a1786
AM
8352012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
836
837 * textmodes/ispell.el (ispell-with-no-warnings):
838 Define as a macro.
500fcedc
SM
839 (ispell-kill-ispell, ispell-change-dictionary):
840 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
841 `interactive-p'.
842
61b108cc
SM
8432012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
844
845 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
846 (macro-declaration-function): Move var from C code.
847 (macro-declaration-function): Define function with defalias.
848 * emacs-lisp/macroexp.el (macroexpand-all-1):
849 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
850 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
851 defun/defmacro any more.
852 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
853 Provide fallback for unknown arglist.
854 (byte-compile-arglist-warn): Change calling convention.
855 (byte-compile-output-file-form): Move print-vars binding.
856 (byte-compile-output-docform): Simplify accordingly.
857 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
858 (byte-compile-defmacro-declaration): Remove.
859 (byte-compile-file-form-defmumble): Generalize to defalias.
860 (byte-compile-output-as-comment): Return byte-positions.
861 Simplify callers accordingly.
862 (byte-compile-lambda): Use `assert'.
863 (byte-compile-defun, byte-compile-defmacro): Remove.
864 (byte-compile-file-form-defalias):
865 Use byte-compile-file-form-defmumble.
866 (byte-compile-defalias-warn): Remove.
867
6d3f7c2f
SM
8682012-05-29 Stefan Merten <smerten@oekonux.de>
869
870 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 871 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
872
873 (rst-mode-abbrev-table): Merge definition.
874 (rst-mode): Make sure `font-lock-defaults' is buffer local.
875 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
876
6dbaa1c7
UJ
8772012-05-29 Ulf Jasper <ulf.jasper@web.de>
878
879 * calendar/icalendar.el
880 (icalendar-export-region): Export UID properly.
881
8822012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
883 * calendar/icalendar.el (icalendar-import-format):
884 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
885 (icalendar-import-format-uid): New.
886 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
887 Export UID.
888
6876a58d
SM
8892012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
892 different alternative patterns.
893 (pcase-codegen): Be more careful to preserve identity.
894 (pcase--u1): Don't forget to mark vars as used.
895
896 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
897 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
898 (byte-compile-from-buffer): ...rather than here.
899
900 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
901 functions from byte-compile-function-environment.
902
46b7967e
TN
9032012-05-29 Troels Nielsen <bn.troels@gmail.com>
904
905 * window.el (window-deletable-p): Avoid deleting the root window
906 of a frame with an active minibuffer.
907
69d565e2
MR
9082012-05-29 Martin Rudalics <rudalics@gmx.at>
909
910 * simple.el (choose-completion): Use quit-window (Bug#11567).
911
a149fa51
CY
9122012-05-29 Chong Yidong <cyd@gnu.org>
913
914 * whitespace.el (whitespace-cleanup): Fix usage of
915 whitespace-empty-at-bob-regexp (Bug#11492).
916
2b311310
AH
9172012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
918
919 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
920 revert (Bug#11488).
921
b9cb2387
JL
9222012-05-29 Juri Linkov <juri@jurta.org>
923
924 * isearch.el (isearch-mode-map): Bind `M-s _' to
925 `isearch-toggle-symbol'. Bind `M-s c' to
926 `isearch-toggle-case-fold'.
927 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
928 (isearch-forward): Add `M-s _' to the docstring.
929 (isearch-forward-symbol, isearch-toggle-case-fold)
930 (isearch-symbol-regexp): New functions. (Bug#11381)
931
d5e61c1c
JL
9322012-05-29 Juri Linkov <juri@jurta.org>
933
934 * isearch.el (isearch-word): Add docstring. (Bug#11381)
935 (isearch-occur, isearch-search-and-update): If `isearch-word' is
936 a function, call it to get the regexp.
937 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
938 property `isearch-message-prefix' instead of the string "word ".
939 (isearch-search-fun-default): For the case of `isearch-word',
940 return a lambda that calls re-search-forward/re-search-backward
941 with a regexp returned by `word-search-regexp' or by the function
942 in `isearch-word'.
943
8cbd80f7
JL
9442012-05-29 Juri Linkov <juri@jurta.org>
945
946 * isearch.el (isearch-search-fun-default): New function.
947 (isearch-search-fun): Move default part to the new function
948 `isearch-search-fun-default'.
949 (isearch-search-fun-function): Set the default value to
950 `isearch-search-fun-default'. (Bug#11381)
951
952 * comint.el (comint-history-isearch-end):
953 Use `isearch-search-fun-default'.
954 (comint-history-isearch-search): Use `isearch-search-fun-default'
955 and remove spacial case for `isearch-word'.
956 (comint-history-isearch-wrap): Remove spacial case for
957 `isearch-word'.
958
959 * hexl.el (hexl-isearch-search-function):
960 Use `isearch-search-fun-default'.
961
962 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
963 Use `word-search-regexp' for `isearch-word'.
964
965 * misearch.el (multi-isearch-search-fun):
966 Use `isearch-search-fun-default'.
967
968 * simple.el (minibuffer-history-isearch-search):
969 Use `isearch-search-fun-default' and remove spacial case for
970 `isearch-word'.
971 (minibuffer-history-isearch-wrap): Remove spacial case for
972 `isearch-word'.
973
974 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
975 Remove spacial case for `isearch-word'.
976 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
977
85c8c5b6
AM
9782012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
979
980 Decrease XEmacs incompatibilities.
981 * textmodes/flyspell.el (flyspell-check-pre-word-p):
982 Use `string-match'.
983 (flyspell-delete-region-overlays): Use alternative definition for
984 XEmacs.
985 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
986 (flyspell-word): Use `process-kill-without-query' if XEmacs.
987 (flyspell-mode-on): Use `interactive-p' if XEmacs.
988 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
989 `define-obsolete-face-alias' under XEmacs, but old method.
990
991 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
992 `with-no-warnings' definition or Emacs alias.
993 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
994 (ispell-word): Do not use `region-p' if XEmacs.
995
8cab9efc
AM
9962012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
997
998 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
999 Check for `ispell-dictionary-base-alist' instead of full
1000 `ispell-dictionary-alist'.
1001 (ispell-init-process): Show spellchecker when starting new Ispell
1002 process.
1003
fda91268
RZ
10042012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1007 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1008
694ea8e3
JB
10092012-05-27 Juanma Barranquero <lekktu@gmail.com>
1010
1011 * version.el (motif-version-string, gtk-version-string)
1012 (ns-version-string): Declare.
1013
e4d4f539
JL
10142012-05-27 Juri Linkov <juri@jurta.org>
1015
1016 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1017 after the `eval-defun-1' specialcaseing
1018 like in `edebug-eval-defun' (bug#10181).
1019
1020 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1021 like in `eval-defun-1'.
1022
33017faf 10232012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1024
fda91268
RZ
1025 * mail/sendmail.el (mail-yank-region):
1026 Recognize rmail-yank-current-message in addition to insert-buffer.
1027 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1028 a *mail* buffer created through rmail-start-mail with sendmail as
1029 mail-user-agent.
1030
33017faf
GM
10312012-05-27 Chong Yidong <cyd@gnu.org>
1032
1033 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1034 Default to 256 (Bug#11267).
1035
1036 * help.el (describe-mode): Doc fix.
1037
04188bb9
GM
10382012-05-26 Glenn Morris <rgm@gnu.org>
1039
38264cc9
GM
1040 * w32-fns.el (w32-init-info): Remove.
1041 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1042
eb7afdad
GM
1043 * info.el (info-initialize): For self-contained NS builds, put the
1044 included info/ directory at the front. (Bug#2791)
1045
04188bb9
GM
1046 * paths.el (Info-default-directory-list): Make it a defcustom,
1047 mainly so that we can use custom-initialize-delay.
1048
a179e3f7
SM
10492012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1050
43416392
SM
1051 * subr.el (buffer-has-markers-at): Mark obsolete.
1052
a179e3f7 1053 * subr.el (lambda): Use declare.
43416392 1054
a179e3f7
SM
1055 * emacs-lisp/lisp-mode.el (lambda):
1056 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1057
34a008d9
AH
10582012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1059
1060 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1061
0a3b289f
GM
10622012-05-26 Glenn Morris <rgm@gnu.org>
1063
1064 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1065
758c81e8
GM
10662012-05-25 Glenn Morris <rgm@gnu.org>
1067
f9f334f0
GM
1068 * paths.el: Remove no-byte-compile.
1069 * loadup.el: No need to load paths.el uncompiled.
1070
87eb79c2
GM
1071 * image.el (imagemagick-types-inhibit): Doc fix.
1072
758c81e8
GM
1073 * version.el: Remove no-byte-compile and associated formatting.
1074 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1075 is ancient code from when there was an "inc-vers.el".
1076
e7e85dc0
SM
10772012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1078
1079 * progmodes/gdb-mi.el: Minor style changes.
1080 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1081 Turn into minor modes.
1082 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1083 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1084 (gdb-shell): Remove unneeded let-binding.
1085 (gdb-get-many-fields): Eliminate O(n²) behavior.
1086
f31237a4
EZ
10872012-05-25 Eli Zaretskii <eliz@gnu.org>
1088
1089 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1090 platforms that don't link in fontset.c.
1091
bc1b21bb
JL
10922012-05-25 Juri Linkov <juri@jurta.org>
1093
1094 Use the same diff color scheme as in modern VCSes (bug#10181).
1095
1096 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1097 to avoid confusion with `diff-added' that now uses green colors.
1098 (diff-removed): Use shades of red.
1099 (diff-added): Use shades of green.
1100 (diff-changed): Leave just the yellow color.
1101 (diff-use-changed-face): New variable.
1102 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1103 how to highlight context diff changes.
1104 (diff-refine-change): Use shades of yellow.
1105 (diff-refine-removed): New face that uses shades of red.
1106 (diff-refine-added): New face that uses shades of green.
1107 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1108 `diff-refine-removed' in the call to `smerge-refine-subst'
1109 depending on the value of `diff-use-changed-face'.
1110
1111 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1112 (smerge-other): Use shades of green.
1113 (smerge-base): Use shades of yellow.
1114 (smerge-refined-change): Empty face.
1115 (smerge-refined-removed): New face that uses shades of red.
1116 (smerge-refined-added): New face that uses shades of green.
1117 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1118 args `props-r' and `props-a', and use them. Doc fix.
1119 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1120 on its value use different faces `smerge-refined-change',
1121 `smerge-refined-removed', `smerge-refined-added' in the call to
1122 `smerge-refine-subst'.
1123
1124 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1125 Add face condition `min-colors 88' with shades of red.
1126 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1127 `min-colors 88' with shades of green.
1128 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1129 `min-colors 88' with shades of yellow.
1130
6df9112c
GM
11312012-05-24 Glenn Morris <rgm@gnu.org>
1132
ead5edc0
GM
1133 * paths.el (prune-directory-list, remote-shell-program): Move to...
1134 * files.el (prune-directory-list, remote-shell-program): ...here.
1135 For the latter, delay initialization, prefer ssh, just search PATH.
1136
f18b81e6
GM
1137 * paths.el (term-file-prefix): Move to faces.el (the only user).
1138 * faces.el (term-file-prefix): Move here, make it a defcustom.
1139
ee2f89a6
GM
1140 * paths.el (news-directory, news-path, news-inews-program):
1141 Move to gnus/nnspool.el.
61a583ca 1142
f8815e4c
GM
1143 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1144
c8f3b42c
GM
1145 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1146 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1147 Make the latter a defcustom, with a delayed initialization.
1148
6df9112c
GM
1149 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1150 These were deleted from Gnus itself late 2010.
1151
5dadff36
JB
11522012-05-22 Juanma Barranquero <lekktu@gmail.com>
1153
9e1701c6
JB
1154 * progmodes/which-func.el (which-func-ff-hook):
1155 Check against user-error, not error.
1156
bd7239f5 1157 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1158 cl-specs.el, which no longer exists.
1159
3290526d
GM
11602012-05-22 Glenn Morris <rgm@gnu.org>
1161
1162 * info.el (info-emacs-bug): New command.
1163 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1164 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1165
ff0c3cfb
GM
11662012-05-21 Glenn Morris <rgm@gnu.org>
1167
1168 * makefile.w32-in (update-subdirs-SH):
1169 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1170
5814f126
SM
11712012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1172
a52c0aa0
SM
1173 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1174
5814f126
SM
1175 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1176 Simplify Maven regexp, and make sure the file can't start with a space
1177 (bug#11517).
1178
b847032c
GM
11792012-05-21 Glenn Morris <rgm@gnu.org>
1180
1181 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1182 Scrap superfluous subshells.
1183
3858bfe7
SM
11842012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1187 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1188
d14b0029
JB
11892012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1190
1191 * calc/calc.el (calc-ensure-consistent-units): New variable.
1192
a52c0aa0
SM
1193 * calc/calc-units.el (math-consistent-units-p)
1194 (math-check-unit-consistency): New functions.
1195 (calc-quick-units, calc-convert-units):
1196 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1197 is non-nil.
d14b0029
JB
1198 (calc-extract-units): Fix typo.
1199
60c4db3a
SM
12002012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1201
77f3b62e
SM
1202 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1203
60c4db3a
SM
1204 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1205 (flyspell-default-deplacement-commands): Don't spell check after
1206 repeated window/frame switches (e.g. triggered by mouse-movement).
1207 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1208 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1209 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1210 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1211 Remove unused vars.
1212 (flyspell-get-casechars, flyspell-get-not-casechars):
1213 Simplify; Don't bother removing a ] just to add it back.
1214 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1215
b1a10716
RS
12162012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1217
1218 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1219 New functions.
bd7239f5 1220 (math-function-table): Add support for more C functions.
b1a10716 1221
3f1b25b5
AM
12222012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1223
1224 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1225 (flyspell-debug-signal-word-checked): Protect delay handling for
1226 otherchars against empty otherchars.
1227
b581bb5c
SM
12282012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1229
1230 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1231 their respective macro declarations.
1232 * skeleton.el (define-skeleton):
1233 * progmodes/compile.el (define-compilation-mode):
1234 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1235 (define-ibuffer-filter):
1236 * emacs-lisp/generic.el (define-generic-mode):
1237 * emacs-lisp/easy-mmode.el (define-minor-mode)
1238 (define-globalized-minor-mode):
1239 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1240 * emacs-lisp/byte-run.el (defsubst):
1241 * custom.el (deftheme): Add doc-string metadata.
1242
70b8ef8f
SM
12432012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1244
1245 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1246
b1198e17
SM
12472012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1248
9abdc45d
SM
1249 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1250
b1198e17
SM
1251 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1252 * emacs-lisp/cl-macs.el: Idem.
1253 * emacs-lisp/cl-specs.el: Remove.
1254
4735906a
SM
12552012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 Minor renaming of internal CL functions and variables.
1258 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1259 (cl--position): Rename from cl-position.
1260 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1261 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1262 (cl--random-state): Rename from *random-state*.
1263
ac348012
SM
12642012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1265
1266 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1267 parens around the arg list (bug#11499).
1268
a0a79cde
JL
12692012-05-17 Juri Linkov <juri@jurta.org>
1270
1271 * isearch.el (word-search-regexp, word-search-backward)
1272 (word-search-forward, word-search-backward-lax)
1273 (word-search-forward-lax): Move functions from search.c
1274 (bug#10145, bug#11381).
1275
65034a51
AM
12762012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1277
1278 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1279 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1280 normal word components.
1281
1a72a195
SM
12822012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 * minibuffer.el (completion--sifn-requote): Fix last change.
1285 (minibuffer-local-must-match-filename-map):
1286 Move define-obsolete-variable-alias before its var.
1287
fdb058c2
SM
12882012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1289
c41045e6
SM
1290 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1291
036dfb8b
SM
1292 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1293 behavior.
1294 (completion--string-equal-p): New function.
1295 (completion--twq-all): Use it to get better assertion failure data.
1296
2473256d
SM
1297 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1298 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1299 (shell--requote-argument): New functions.
1300 (shell-completion-vars): Use them.
1301 (shell--parse-pcomplete-arguments): Rename from
1302 shell-parse-pcomplete-arguments.
1303 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1304 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1305 Obey comint-file-name-quote-list.
1306
fdb058c2
SM
1307 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1308 (smie-indent-keyword): Use it.
1309
51fa99f1
SM
13102012-05-14 Stefan Merten <smerten@oekonux.de>
1311
1312 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1313
e18afed7 13142012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1315
1316 * net/rlogin.el (rlogin-mode-map): Fix last change.
1317
e18afed7 13182012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1319
1320 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1321 the following \r\n using a single `process-send-string', since the
1322 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1323 with two `process-send-string's (Bug#11444).
8633b1f4 1324
e18afed7 13252012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1326
fdb058c2
SM
1327 * shell.el (shell-parse-pcomplete-arguments):
1328 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1329
2d21d7f6
WJ
13302012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1331
e18afed7 1332 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1333 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1334 (image-transform-width, image-transform-fit-width): New functions.
1335 (image-transform-properties): Use them.
1336 (image-transform-check-size): New function.
1337 (image-toggle-display-image): Use it (for testing).
1338 (image-transform-set-rotation): Reduce angle mod 360.
1339 Delete obsolete comment.
1340
7102e6d0
WJ
13412012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1342
1343 * image-mode.el: Fix scaling (bug#11399).
1344 (image-transform-resize): Doc fix.
1345 (image-transform-properties): Default scale is 1 and height should
1346 be an integer.
1347
06bc5e6e
SM
13482012-05-13 Johan Bockgård <bojohan@gnu.org>
1349
1350 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1351 than hard-coding `car', to fix misbehavior when moving forward.
1352
0ae03b6a
CY
13532012-05-13 Chong Yidong <cyd@gnu.org>
1354
1355 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1356 (tabulated-list-entries, tabulated-list-padding)
1357 (tabulated-list-sort-key): Make permanent-local.
1358
1359 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1360 (electric-buffer-list): Put electric buffer menu
1361 command descriptions in this docstring, instead of the docstring
1362 of electric-buffer-menu-mode. Code cleanups.
1363 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1364 Electric-buffer-menu-mode.
1365 (electric-buffer-update-highlight): Minor code cleanup.
1366
205a7391
MA
13672012-05-13 Michael Albinus <michael.albinus@gmx.de>
1368
1369 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1370 (Bug#11447)
1371
e5bd0a28
SM
13722012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 Move define-obsolete-variable-alias before the var's definition.
1375 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1376 * tooltip.el (tooltip-hook):
1377 * textmodes/reftex-toc.el (reftex-toc-map):
1378 * textmodes/reftex-sel.el (reftex-select-label-map)
1379 (reftex-select-bib-map):
1380 * textmodes/reftex-index.el (reftex-index-map)
1381 (reftex-index-phrases-map):
1382 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1383 * progmodes/meta-mode.el (meta-mode-map):
1384 * novice.el (disabled-command-hook):
1385 * loadhist.el (unload-hook-features-list):
1386 * frame.el (blink-cursor):
1387 * files.el (find-file-not-found-hooks, write-file-hooks)
1388 (write-contents-hooks):
1389 * emulation/tpu-edt.el (GOLD-map):
1390 * emacs-lock.el (emacs-lock-from-exiting):
1391 * emacs-lisp/generic.el (generic-font-lock-defaults):
1392 * emacs-lisp/chart.el (chart-map):
1393 * dos-fns.el (register-name-alist):
1394 * dired-x.el (dired-omit-files-p):
1395 * desktop.el (desktop-enable):
1396 * cus-edit.el (custom-mode-hook):
1397 * buff-menu.el (buffer-menu-mode-hook):
1398 * bookmark.el (bookmark-read-annotation-text-func)
1399 (bookmark-exit-hooks):
1400 * allout.el (allout-mode-deactivate-hook)
1401 (allout-exposure-change-hook, allout-structure-added-hook)
1402 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1403 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1404 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1405 comes before the corresponding variable's definition.
1406
ac59c2f6
CY
14072012-05-12 Chong Yidong <cyd@gnu.org>
1408
1409 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1410 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1411 (Buffer-menu-mode-map): Bind it.
1412 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1413
dee6c9a3
SM
14142012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1415
2171cea5
SM
1416 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1417 (prolog-upper-case-string, prolog-lower-case-string)
1418 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1419 (prolog-use-smie, prolog-smie-grammar): New vars.
1420 (prolog-smie-forward-token, prolog-smie-backward-token)
1421 (prolog-smie-rules): New funs.
1422 (prolog-comment-indent): Remove.
1423 (prolog-mode-variables): Use default comment indentation instead.
1424 Setup SMIE.
1425 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1426 (prolog-mode): Don't call them any more.
1427 (prolog-electric-colon, prolog-electric-dash)
1428 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1429
aa0382bd
SM
1430 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1431
dbacb4bd
SM
1432 * minibuffer.el (completion--twq-all): Again, allow case differences.
1433
13bdd94c
SM
1434 * term.el: Move keymap initialization code to be more idiomatic.
1435 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1436 (term-terminal-menu): Move initialization into declaration.
1437 (term-escape-char): Let the user set it in her .emacs.
1438
ff46c759
SM
1439 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1440 Provide SMIE-based indentation (not enabled by default yet).
1441 (sh-mode-map): Don't bind electric keys.
1442 Use electric-pair-mode instead of skeleton-pair.
1443 (sh-assignment-regexp): Fit within 80 columns.
1444 (sh-indent-supported): Specify actual shell name instead of boolean.
1445 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1446 (sh-maybe-here-document): Use it. Make obsolete.
1447 (sh-electric-here-document-mode) New minor mode.
1448 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1449 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1450 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1451 (sh-smie-rc-grammar, sh-use-smie): New vars.
1452 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1453 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1454 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1455 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1456 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1457 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1458 (sh-set-shell): Use smie-setup if requested.
1459
dee6c9a3
SM
1460 * term.el (term-set-escape-char): Properly set term-escape-char.
1461 See http://stackoverflow.com/questions/10524656.
1462
9f9aa044
CY
14632012-05-10 Chong Yidong <cyd@gnu.org>
1464
1465 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1466 Use url-generic-parse-url, and handle host names and Windows
1467 filenames properly.
1468 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1469 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1470 URL schemes to work on.
1471 (ffap--toggle-read-only): New function.
1472 (ffap-read-only, ffap-read-only-other-window)
1473 (ffap-read-only-other-frame): Use it.
1474 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1475 necessary for ffap-url-unwrap-remote.
1476
836d29b3
DA
14772012-05-10 Dave Abrahams <dave@boostpro.com>
1478
1479 * cus-start.el (create-lockfiles): Add it.
1480
00fd78ed
CY
14812012-05-09 Chong Yidong <cyd@gnu.org>
1482
1483 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1484 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1485
666b903b 14862012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1487
1488 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1489
666b903b 14902012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1491
1492 * ansi-color.el (ansi-color-process-output): Check for validity of
1493 comint-last-output-start before using it. This avoids a bad
1494 interaction with gdb-mi's input/output buffer.
1495
666b903b 14962012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1497
1498 * files.el (dir-locals-read-from-file):
1499 Mention dir-locals in any error message.
1500
666b903b 15012012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1502
1503 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1504 package (Bug#11410).
1505
f677562b
CY
1506 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1507 variables into description.
1508
666b903b 15092012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1510
1511 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1512 shell-delimiter-argument-list (bug#11348).
1513 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1514
b499d8d0
JB
15152012-05-09 Juanma Barranquero <lekktu@gmail.com>
1516
8f6b6da8
JB
1517 * textmodes/rst.el: Silence byte-compiler warnings.
1518 (rst-re-alist, rst-reset-section-caches): Move around.
1519 (rst-re): Use `characterp', not `char-valid-p'.
1520 (font-lock-beg, font-lock-end): Declare.
1521
4824146a
JB
1522 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1523 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1524
b499d8d0
JB
1525 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1526
ad89bb83
GM
15272012-05-08 Glenn Morris <rgm@gnu.org>
1528
1529 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1530
8bba5a75
SM
15312012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1532
49ed9c8e
SM
1533 * vc/log-edit.el: Add GNU coding standards highlighting.
1534 (log-edit-font-lock-gnu-style)
1535 (log-edit-font-lock-gnu-keywords): New vars.
1536 (log-edit-font-lock-keywords): New fun.
1537 (log-edit-mode): Don't fold case in font-lock.
1538 (log-edit-font-lock-keywords): Do not assume case-folding.
1539
07d00b56
SM
1540 * imenu.el: Misc cleanup. Make docstrings out of comments.
1541 Use lexical-binding.
1542 (imenu--index-alist, imenu--last-menubar-index-alist)
1543 (imenu-menubar-modified-tick): Use defvar-local.
1544 (imenu--split-menu): Remove unused var.
1545 (imenu--cleanup-seen): Declare as global.
1546 (imenu--cleanup): Use dolist.
1547
8bba5a75
SM
1548 * subr.el (defvar-local): Add debug spec and doc-string position.
1549
5075bdb5
GM
15502012-05-08 Glenn Morris <rgm@gnu.org>
1551
c052c904
GM
1552 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1553 * language/english.el, language/georgian.el, language/greek.el:
1554 * language/japanese.el, language/khmer.el, language/korean.el:
1555 * language/lao.el, language/misc-lang.el, language/romanian.el:
1556 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1557 * language/thai.el, language/utf-8-lang.el:
1558 Remove no-byte-compile setting.
1559
5075bdb5
GM
1560 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1561
06f679a7
AH
15622012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1563
1564 * progmodes/make-mode.el (makefile-browse):
1565 Remove unnecessary interactive. (Bug#11324)
1566
03794570
GM
15672012-05-07 Glenn Morris <rgm@gnu.org>
1568
af8630f4
GM
1569 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1570
03794570
GM
1571 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1572
f0809a9d
SM
15732012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1574
28be5ce7
SM
1575 * loadup.el: Preload newcomment.el.
1576 * newcomment.el: Move autoload-only code to toplevel.
1577
f0809a9d
SM
1578 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1579 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1580 Handle new :right-align column property.
1581 (tabulated-list-print-col): Idem, plus use `display' text-property to
1582 try and preserve alignment for variable pitch fonts.
1583
1241b724
CY
15842012-05-07 Chong Yidong <cyd@gnu.org>
1585
1586 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1587 (tabulated-list-use-header-line): New var.
1588 (tabulated-list-init-header): Use it.
1589 (tabulated-list-print-fake-header): New function.
1590 (tabulated-list-print): Use it.
1591 (tabulated-list-sort-button-map): Add non-header-line commands.
1592 (tabulated-list-init-header): Add column name property to basic
1593 labels as well.
1594 (tabulated-list-col-sort): Handle non-header-line button case.
1595 (tabulated-list--sort-by-column-name): Fix a corner case.
1596
f0809a9d
SM
1597 * buff-menu.el (list-buffers--refresh):
1598 Handle Buffer-menu-use-header-line.
1241b724 1599
e5f9458f
CY
16002012-05-06 Chong Yidong <cyd@gnu.org>
1601
1602 * buff-menu.el: Convert to Tabulated List mode.
1603 (Buffer-menu-buffer+size-width): Make obsolete.
1604 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1605 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1606 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1607 documentation into docstring of buffer-menu.
1608 (Buffer-menu-toggle-files-only): Add an informative message.
1609 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1610 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1611 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1612 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1613 (Buffer-menu-execute, Buffer-menu-select)
1614 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1615 (Buffer-menu-bury): Use Tabulated List machinery.
1616 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1617 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1618 Delete.
e5f9458f
CY
1619 (list-buffers--refresh): New function.
1620 (list-buffers-noselect): Use it.
1621 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1622 (Buffer-menu--pretty-file-name): New helper functions.
1623
1624 * loadup.el: Preload tabulated-list.
1625
1626 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1627 tabulated-list-sort-column.
1628 (tabulated-list-init-header): Add the initial aligning space even
1629 if tabulated-list-padding is zero.
1630
e129292c
CS
16312012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1632
1633 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1634 whose cdr is not a cons cell correctly (bug#11038).
1635
6632d361
CY
16362012-05-06 Chong Yidong <cyd@gnu.org>
1637
e129292c
CS
1638 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1639 Accept additional plist in column descriptors.
6632d361
CY
1640 (tabulated-list-init-header): Obey it.
1641 (tabulated-list-get-entry): New function.
1642 (tabulated-list-put-tag): Use it. Use string-width instead of
1643 length.
1644 (tabulated-list--column-number): New function.
1645 (tabulated-list-print): Use it.
e129292c
CS
1646 (tabulated-list-print-col): New function.
1647 Set `tabulated-list-column-name' property on each column's text.
6632d361 1648 (tabulated-list-print-entry): Use it.
e129292c
CS
1649 (tabulated-list-delete-entry, tabulated-list-set-col):
1650 New functions.
6632d361
CY
1651 (tabulated-list-sort-column): New command (Bug#11337).
1652
3cc99f68
CY
1653 * buff-menu.el (list-buffers): Move C-x C-b binding from
1654 buff-menu.el to bindings.el.
1655
1656 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1657 :advertised-binding feature.
1658
52b61776
TN
16592012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1660
1661 * progmodes/compile.el (compilation-internal-error-properties):
1662 Calculate start position correctly when end-col is set but
1663 end-line is not (Bug#11382).
1664
ebfe2597
WJ
16652012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1666
1667 * man.el (Man-unindent): Use text-property-default-nonsticky to
1668 prevent untabify from inheriting face properties (Bug#11408).
1669
6d3f7c2f
SM
16702012-05-05 Stefan Merten <smerten@oekonux.de>
1671
1672 * textmodes/rst.el: Major merge with upstream development up to
1673 Docutils SVN r7399 / rst.el V1.2.1.
1674
1675 Clarify maintainership and authors.
1676
1677 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1678 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1679 (rst-official-version, rst-official-cvs-rev, rst-version)
1680 (rst-package-emacs-version-alist): New functions and variables
1681 for version information.
1682
1683 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1684 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1685 (rst-mode-syntax-table, rst-mode): New and corrected functions
1686 and variables representing reStructuredText features.
1687
1688 (rst-re): New function for reStructuredText regexes. Use in
1689 many places.
1690
1691 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1692 (rst-mode-map): Rebind keys.
1693
1694 (rst-mode-lazy, rst-font-lock-keywords)
1695 (rst-font-lock-extend-region)
1696 (rst-font-lock-extend-region-internal)
1697 (rst-font-lock-extend-region-extend)
1698 (rst-font-lock-find-unindented-line-limit)
1699 (rst-font-lock-find-unindented-line-match)
1700 (rst-adornment-level, rst-font-lock-adornment-level)
1701 (rst-font-lock-adornment-match)
1702 (rst-font-lock-handle-adornment-pre-match-form)
1703 (rst-font-lock-handle-adornment-matcher): Major revision of
1704 font-locking. Integrate with other code. Use `jit-lock-mode'.
1705
1706 (rst-preferred-adornments, rst-adjust-hook)
1707 (rst-new-adornment-down, rst-preferred-bullets)
1708 (rst-preferred-bullets, rst-indent, rst-indent-width)
1709 (rst-indent-field, rst-indent-literal-normal)
1710 (rst-indent-literal-minimized, rst-indent-comment): Change,
1711 extend and improve customization.
1712
1713 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1714 (rst-normalize-cursor-position, rst-get-decoration)
1715 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1716 (rst-rstrip, rst-toc-insert-find-delete-contents)
1717 (rst-shift-fill-region, rst-compute-bullet-tabs)
1718 (rst-debug-print-tabs, rst-debug-mark-found)
1719 (rst-shift-region-guts, rst-shift-region-right)
1720 (rst-shift-region-left, rst-use-char-classes)
1721 (rst-font-lock-keywords-function)
1722 (rst-font-lock-indentation-point)
1723 (rst-font-lock-find-unindented-line-begin)
1724 (rst-font-lock-find-unindented-line-end)
1725 (rst-font-lock-find-unindented-line)
1726 (rst-font-lock-adornment-point, rst-font-lock-level)
1727 (rst-adornment-level-alist): Remove functions and variables.
1728
1729 (rst-compare-adornments, rst-get-adornment-match)
1730 (rst-suggest-new-adornment, rst-get-adornments-around)
1731 (rst-adornment-complete-p, rst-get-next-adornment)
1732 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1733 (rst-straighten-adornments): Standardize function names to
1734 use "adornment" instead of "decoration". Correct callers.
1735 Similar standardizing in many places.
1736
1737 (rst-update-section, rst-adjust, rst-promote-region)
1738 (rst-enumerate-region, rst-bullet-list-region)
1739 (rst-repeat-last-character): Correct use of `interactive'.
1740
1741 (rst-classify-adornment, rst-find-all-adornments)
1742 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1743 (rst-find-leftmost-column, rst-repeat-last-character):
1744 Refactor functions.
1745
1746 (rst-find-title-line, rst-reset-section-caches)
1747 (rst-get-adornments-around, rst-adjust-adornment-work)
1748 (rst-arabic-to-roman, rst-roman-to-arabic)
1749 (rst-insert-list-pos, rst-insert-list-new-item)
1750 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1751 New functions.
1752
1753 (rst-all-sections, rst-section-hierarchy)
1754 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1755 New variables.
1756
1757 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1758 configuration instead of only buffer. Change where necessary.
1759
1760 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1761 (rst-shift-region, rst-adaptive-fill): New functions for
1762 indentation and filling.
1763
1764 (rst-comment-line-break, rst-comment-indent)
1765 (rst-comment-insert-comment, rst-comment-region)
1766 (rst-uncomment-region): New functions for handling comments.
1767
1768 (rst-compile): Quote shell arguments.
1769
1770 (rst-compile-pdf-preview, rst-compile-slides-preview):
1771 Delete temporary files after use.
1772
a43f98b3
GM
17732012-05-05 Glenn Morris <rgm@gnu.org>
1774
48176e8b
GM
1775 * calendar/cal-html.el: Optionally include holidays in the output.
1776 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1777 (cal-html-holidays): New option.
1778 (cal-html-css-default): Add holiday entry.
1779 (holiday-in-range): Autoload it.
1780 (cal-html-htmlify-entry): Add optional class argument.
1781 (cal-html-htmlify-list): Add optional holidays argument.
1782 (cal-html-insert-agenda-days): Include holidays in the output.
1783 (cal-html-one-month): Maybe include holidays.
1784
a43f98b3
GM
1785 * calendar/holidays.el (holiday-in-range):
1786 Move here from cal-tex-list-holidays.
1787 * calendar/cal-tex.el (cal-tex-list-holidays):
1788 Make it an obsolete alias for holiday-in-range. Update all callers.
1789
fef9d149 17902012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1791
1792 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1793 Nextstep.
1794
248da2f4
RW
17952012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1796
1797 * files.el (file-auto-mode-skip): New var.
1798 (set-auto-mode-1): Use it.
1799
f95e9344
SM
18002012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1801
df96ab1e
SM
1802 * repeat.el: Use lexical-binding.
1803 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1804 (repeat-undo-count): Remove.
1805 (repeat):
1806 * progmodes/octave-mod.el (octave-abbrev-start):
1807 * progmodes/f90.el (f90-abbrev-start):
1808 * face-remap.el (text-scale-adjust):
1809 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1810
5342bb06
SM
1811 * emacs-lisp/pcase.el (pcase--let*): New function.
1812 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1813 a bit more.
1814 (pcase--split-pred): Be more clever about ruling out overlap between
1815 a predicate and some constant pattern.
1816 (pcase--q1): Use `null' instead of (eq foo nil).
1817
f95e9344
SM
1818 * subr.el (setq-local, defvar-local): New macros.
1819 (kbd): Redefine as an alias.
1820 (with-selected-window): Leave unrelated frames alone.
1821 (set-temporary-overlay-map): New function.
1822
71873e2b
SM
18232012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 * subr.el (user-error): New function.
1826 * window.el (switch-to-buffer):
1827 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1828 (smerge-match-conflict):
1829 * simple.el (previous-matching-history-element)
1830 (next-matching-history-element, goto-history-element, undo-more)
1831 (undo-start):
1832 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1833 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1834 (next-file, tags-loop-scan, list-tags, complete-tag):
1835 * progmodes/compile.el (compilation-loop):
1836 * mouse.el (mouse-minibuffer-check):
1837 * man.el (Man-bgproc-sentinel, Man-goto-page):
1838 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1839 (Info-history-forward, Info-follow-reference, Info-menu)
1840 (Info-extract-menu-item, Info-extract-menu-counting)
1841 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1842 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1843 (Info-next-reference, Info-prev-reference, Info-index)
1844 (Info-index-next, Info-follow-nearest-node)
1845 (Info-copy-current-node-name):
1846 * imenu.el (imenu--make-index-alist)
1847 (imenu-default-create-index-function, imenu-add-to-menubar):
1848 * files.el (basic-save-buffer, recover-file):
1849 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1850 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1851 (checkdoc-message-text, checkdoc-defun):
1852 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1853 * cus-edit.el (customize-changed-options, customize-rogue)
1854 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1855 (custom-variable-mark-to-reset-standard)
1856 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1857 (custom-file):
1858 * completion.el (check-completion-length):
1859 * comint.el (comint-search-arg)
1860 (comint-previous-matching-input-string-position)
1861 (comint-previous-matching-input)
1862 (comint-replace-by-expanded-history-before-point, comint-send-input)
1863 (comint-copy-old-input, comint-backward-matching-input)
1864 (comint-goto-process-mark, comint-set-process-mark):
1865 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1866 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1867
8a61ee22
SM
18682012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1869
66408d1e
SM
1870 * dabbrev.el (dabbrev--ignore-case-p): New function.
1871 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1872 Use it.
1873
8a61ee22
SM
1874 * files.el (automount-dir-prefix): Mark as obsolete.
1875
3c74813a
GM
18762012-05-04 Glenn Morris <rgm@gnu.org>
1877
1878 * patcomp.el, play/bruce.el: Move to obsolete/.
1879
0bfcf5c5
PE
18802012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1881
1882 Fix minor Y10k bugs.
1883 * arc-mode.el (archive-unixdate):
1884 * autoinsert.el (auto-insert-alist):
1885 * calc/calc-forms.el (math-this-year):
1886 * emacs-lisp/copyright.el (copyright-current-year)
1887 (copyright-update-year, copyright):
1888 * tar-mode.el (tar-clip-time-string):
1889 * time.el (display-time-update):
1890 Don't assume years have 4 digits.
1891
78f3273a
CY
18922012-05-04 Chong Yidong <cyd@gnu.org>
1893
1894 * dos-w32.el (file-name-buffer-file-type-alist)
1895 (direct-print-region-use-command-dot-com):
1896 * ffap.el (ffap-menu-regexp):
1897 * find-file.el (ff-special-constructs):
1898 * follow.el (follow-debug):
1899 * forms.el (forms--debug):
1900 * iswitchb.el (iswitchb-all-frames):
1901 * ido.el (ido-all-frames):
1902 * emacs-lisp/timer.el (timer-max-repeats):
1903 * mail/feedmail.el (feedmail-mail-send-hook)
1904 (feedmail-mail-send-hook-queued):
1905 * mail/footnote.el (footnote-signature-separator):
1906 * mail/mailabbrev.el (mail-alias-separator-string)
1907 (mail-abbrev-mode-regexp):
1908 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1909 * progmodes/idlwave.el (idlwave-libinfo-file)
1910 (idlwave-default-completion-case-is-down)
1911 (idlwave-library-routines): Convert defvars to defcustoms.
1912
1913 * mail/rmail.el (rmail-decode-mime-charset):
1914 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1915 (idlwave-shell-fix-inserted-breaks)
1916 (idlwave-shell-activate-alt-keybindings)
1917 (idlwave-shell-use-breakpoint-glyph):
1918 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1919
f7ae6719
SM
19202012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1923
47086495
WS
19242012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1925
1926 * progmodes/verilog-mode.el (font-lock-keywords):
1927 Fix mis-highligting auto. Reported by Craig Barner.
1928 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1929 defines from global name space. Reported by Dan Dever.
1930 (verilog-auto-reset, verilog-auto-reset-widths)
1931 (verilog-auto-tieoff): Support using unbased numbers for
1932 AUTORESET and AUTOTIEOFF.
1933 (verilog-submit-bug-report): Update variable list.
1934 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1935 parenthesis from not matching. Reported by Michael Rytting.
1936 (verilog-auto-template-lint): Fix hash error when linting modules
1937 with no used templates.
1938 (verilog-warn, verilog-warn-error)
1939 (verilog-warn-fatal): When non-interactive report multiple
1940 warnings before exiting. Suggested by Brad Dobbie.
1941 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1942 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1943 to report unused template errors. Reported by Brad Dobbie.
1944 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1945 nets, bug438. Reported by Vns Blore.
1946 (verilog-auto-inout-module, verilog-auto-reg)
1947 (verilog-read-decls, verilog-read-sub-decls-sig)
1948 (verilog-signals-edit-wire-reg, verilog-signals-with):
1949 Fix passing of Verilog data types in ANSI input/output ports
1950 such as "output logic" into the AUTOs. Special case "wire" and
1951 "reg" for backwards compatibility presuming Verilog 2001.
1952 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1953 (verilog-preprocess): Fix replication of preprocess output.
1954 Reported by Brad Dobbie.
1955 (verilog-auto-inst-interfaced-ports):
1956 Create verilog-auto-inst-interfaced-ports, bug429.
1957 Reported by Julian Gorfajn.
1958 (verilog-after-save-font-hook)
1959 (verilog-before-save-font-hook): New variable.
1960 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1961 (verilog-save-font-mods): Wrap disabling fontification, reported
1962 by David Rogoff.
1963 (verilog-do-indent, verilog-pretty-declarations-auto)
1964 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1965 Reported by Pierre-David Pfister.
1966 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1967 of class declarations, bug292. Reported by Kevin Heilman.
1968 (verilog-read-decls): Fix 'parameter type' not appearing in
1969 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1970 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1971 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1972 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1973 Reported by David Kravitz.
1974
19752012-05-03 Michael McNamara <mac@mail.brushroad.com>
1976
1977 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1978 assignment with tests in ifs and for loops.
1979 (verilog-extended-complete-re, verilog-complete-reg): Change so
1980 that DPI inport functions don't look like fuction declarations.
1981 (verilog-pretty-expr): Don't line up assignment
1982 operations to the test and increment in if and for loops
1983 (verilog-extended-complete-re, verilog-complete-reg): Change so
1984 that DPI inport functions don't look like fuction declarations
1985
2e51d4b5
KH
19862012-05-03 Kenichi Handa <handa@m17n.org>
1987
1988 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1989 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1990 (Bug#11282).
1991
2bd785a2
SM
19922012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * emacs-lisp/bytecomp.el
1995 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1996 since cconv.el might have introduced :fun-body, internal-make-closure,
1997 and friends for bytecomp to handle (bug#11391).
1998 * custom.el (defcustom): Avoid ((λ ..) ..).
1999
99d27583
SM
20002012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2003
55a71479
JB
20042012-05-02 Juanma Barranquero <lekktu@gmail.com>
2005
2006 * notifications.el (dbus-debug):
2007 * term/linux.el (gpm-mouse-enable):
2008 * term/screen.el (xterm-register-default-colors): Declare.
2009
7b97c764
CY
20102012-05-02 Chong Yidong <cyd@gnu.org>
2011
2bc356d7
CY
2012 * cus-start.el (gc-cons-percentage, exec-suffixes)
2013 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2014 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2015 (make-cursor-line-fully-visible, void-text-area-pointer)
2016 (font-list-limit): Add customization data.
2017
7b97c764
CY
2018 * allout.el (allout-exposure-change-functions)
2019 (allout-structure-added-functions)
2020 (allout-structure-deleted-functions)
2021 (allout-structure-shifted-functions): Rename abnormal hooks from
2022 *-hook, and convert to defcustoms.
5d3385a0
JB
2023 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2024 Convert to defcustoms.
7b97c764
CY
2025 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2026
2027 * allout-widgets.el: Hook callers changed.
2028
90207a15 20292012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2030
2031 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2032 the yanked message in preference to the default value of
2033 buffer-file-coding-system.
2034
90207a15 20352012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2036
5d3385a0
JB
2037 * window.el (display-buffer--action-function-custom-type):
2038 Fix entry.
d9558cad 2039
90207a15 20402012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2041
2042 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2043
d80ac57b
GM
20442012-05-01 Glenn Morris <rgm@gnu.org>
2045
976f7668
GM
2046 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2047
beb83b5a
GM
2048 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2049
d80ac57b
GM
2050 * cus-edit.el (custom-variable-documentation): Simplify with format.
2051
b593d6a9
AH
20522012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2053 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * simple.el (suggest-key-bindings, execute-extended-command):
2056 Move from keyboard.c.
2057
782fbf2a
CY
20582012-05-01 Chong Yidong <cyd@gnu.org>
2059
2060 * follow.el: Eliminate advice.
2061 (set-process-filter, process-filter, sit-for): Advice deleted.
2062 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2063 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2064 Vars deleted.
782fbf2a
CY
2065 (follow-auto): Use a :set function.
2066 (follow-mode): Rewritten. Don't advise process filters.
2067 (follow-switch-to-current-buffer-all, follow-scroll-up)
2068 (follow-scroll-down): Assume follow-mode is bound.
2069 (follow-comint-scroll-to-bottom)
2070 (follow-align-compilation-windows): New functions.
2071 (follow--window-sorter): New function.
2072 (follow-all-followers): Use it to explicitly sort windows by their
2073 positions; don't make assumptions about next-window order.
2074 (follow-windows-start-end, follow-delete-other-windows-and-split)
2075 (follow-calc-win-start): Doc fix.
2076 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2077 vertical-motion unnecessarily.
2078 (follow-adjust-window): New function.
2079 (follow-post-command-hook): Use it.
2080 (follow-call-set-process-filter, follow-call-process-filter)
2081 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2082 (follow-stop-intercept-process-output, follow-generic-filter):
2083 Functions deleted.
2084 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2085 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2086 New functions, replacing advice on scroll-bar-* commands.
87233a14 2087 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2088
2089 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2090 (comint-postoutput-scroll-to-bottom): Use it.
2091 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2092
290af740
GM
20932012-05-01 Glenn Morris <rgm@gnu.org>
2094
2095 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2096 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2097 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2098 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2099 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2100 Remove no-byte-compile setting.
2101
6eac8dc9
SM
21022012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2103
2104 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2105 all-completions code to not return a number in the last cdr.
2106
9cc7819c
LL
21072012-04-30 Leo Liu <sdl.web@gmail.com>
2108
2109 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2110 read-only error.
2111
c93b886f
CY
21122012-04-29 Chong Yidong <cyd@gnu.org>
2113
2114 * follow.el (follow-calc-win-end): Rewrite to handle partial
2115 screen lines correctly (Bug#8390).
2116 (follow-avoid-tail-recenter): Minor cleanup.
2117
8b6c19f4
SM
21182012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 Avoid the obsolete `assoc' package.
2121 * speedbar.el (speedbar-refresh): Avoid adelete.
2122 (speedbar-file-lists): Simplify and avoid aput.
2123 * man.el (Man--sections, Man--refpages): New vars, replacing
2124 Man-sections-alist and Man-refpages-alist.
2125 (Man-build-section-alist, Man-build-references-alist):
2126 Use them; avoid aput.
2127 (Man--last-section, Man--last-refpage): New vars.
2128 (Man-follow-manual-reference): Use them.
2129 Use the `default' arg of completing-read.
2130 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2131
c5bb7569
CY
21322012-04-27 Chong Yidong <cyd@gnu.org>
2133
d1d2e2e8
CY
2134 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2135
15cd8efd
CY
2136 * startup.el (x-apply-session-resources): New function.
2137
2138 * term/ns-win.el (ns-initialize-window-system):
2139 * term/w32-win.el (w32-initialize-window-system):
2140 * term/x-win.el (x-initialize-window-system): Use it to properly
2141 set menu-bar-mode and other vars from X resources, even if the
2142 initial frame is not a window-system frame (Bug#2299).
2143
c5bb7569
CY
2144 * subr.el (read-key): Avoid running filter function when setting
2145 up temporary tool bar entries (Bug#9922).
2146
a8e7d6d7 21472012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2148
2149 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2150 (Bug#11344)
2151
a8e7d6d7 21522012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2153
2154 * select.el (xselect--encode-string): New function, split from
2155 xselect-convert-to-string.
2156 (xselect-convert-to-string): Use it.
2157 (xselect-convert-to-filename, xselect-convert-to-os)
2158 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2159 returned strings are properly encoded (Bug#11315).
2160
a8e7d6d7 21612012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2162
2163 * simple.el (delete-active-region): Move to killing custom group.
2164
a8e7d6d7 21652012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2166
2167 * progmodes/which-func.el (which-func-current): Quote %
2168 characters for mode-line processing.
2169
578c1d4b 21702012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2171
2172 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2173 reaching eob (Bug#11286).
2174
a8e7d6d7 21752012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2176
2177 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2178 (gdb): Make it buffer-local and init to zero.
2179 (gdb-control-commands-regexp): New variable.
2180 (gdb-send): Don't wrap in "-interpreter-exec console" if
2181 gdb-control-level is positive. Increment gdb-control-level
2182 whenever the command matches gdb-control-commands-regexp, and
2183 decrement it each time the command is "end". (Bug#11279)
2184
a8e7d6d7 21852012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2186
2187 * window.el (adjust-window-trailing-edge, enlarge-window)
2188 (shrink-window, window-resize):
2189 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2190 windows (Bug#11276).
2191
b3608390
CY
21922012-04-27 Chong Yidong <cyd@gnu.org>
2193
2194 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2195 fix "missing prefix" warning. All callers changed.
b3608390 2196
797e6e88
SM
21972012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * emacs-lisp/assoc.el: Move to obsolete/.
2200
e95a67dc
SM
22012012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2202
657c21e4 2203 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2204
2205 * term/ns-win.el (ns-define-service):
2206 * progmodes/pascal.el (pascal-goto-defun):
2207 * progmodes/js.el (js--read-tab):
2208 * progmodes/etags.el (tags-lazy-completion-table):
2209 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2210 * emacs-lisp/ewoc.el (ewoc--wrap):
2211 * emacs-lisp/assoc.el (aput, adelete, amake):
2212 * doc-view.el (doc-view-convert-current-doc):
2213 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2214
cb3e7ae0
CY
22152012-04-26 Chong Yidong <cyd@gnu.org>
2216
dce04f7f
CY
2217 * image.el (image-type-from-buffer): Only return supported image
2218 type (Bug#9045).
2219
cb3e7ae0
CY
2220 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2221 value, for symmetry with diff-end-of-hunk.
2222 (diff-split-hunk, diff-find-source-location)
2223 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2224 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2225 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2226 compute the relevant hunk or file properly (Bug#6005).
2227 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2228
0d42eb3e
SM
22292012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * vc/vc-mtn.el:
2232 * vc/vc-hg.el:
2233 * vc/vc-git.el:
2234 * vc/vc-dir.el:
2235 * vc/vc-cvs.el:
2236 * vc/vc-bzr.el:
2237 * vc/vc-arch.el:
2238 * vc/vc.el: Replace lexical-let by lexical-binding.
2239 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2240 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2241 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2242
f08ae1c9
CY
22432012-04-26 Chong Yidong <cyd@gnu.org>
2244
8b71081d
CY
2245 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2246 (diff-mode-shared-map): Bind it to / and [remap undo].
2247
f08ae1c9
CY
2248 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2249 (ediff-window-setup-function): Use it as the default, to set up
2250 windows based on whether the current frame is graphical (Bug#2138).
2251 (ediff-choose-window-setup-function-automatically): Make obsolete.
2252
2253 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2254
ef24141c
SM
22552012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2256
cc356a5d
SM
2257 * ffap.el: Remove old code for obsolete package.
2258 (ffap-complete-as-file-p): Remove.
2259
b4ff4f1f
SM
2260 Use completion-table-with-quoting for comint and pcomplete.
2261 * comint.el (comint--unquote&requote-argument)
2262 (comint--unquote-argument, comint--requote-argument): New functions.
2263 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2264 (comint-quote-filename): Use regexp-opt-charset.
2265 (comint--common-suffix, comint--common-quoted-suffix)
2266 (comint--table-subvert): Remove.
2267 (comint-unquote-function, comint-requote-function): New vars.
2268 (comint--complete-file-name-data): Use them with
2269 completion-table-with-quoting.
2270 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2271 * pcomplete.el (pcomplete-arg-quote-list)
2272 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2273 (pcomplete-unquote-argument-function): Default to non-nil.
2274 (pcomplete-unquote-argument): Simplify.
2275 (pcomplete--common-quoted-suffix): Remove.
2276 (pcomplete-requote-argument-function): New var.
2277 (pcomplete--common-suffix): New function.
2278 (pcomplete-completions-at-point): Use completion-table-with-quoting
2279 and completion-table-subvert.
2280
79c4eeb4
SM
2281 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2282 (minibuffer--double-dollars): Preserve properties.
2283 (completion--sifn-requote): New function.
2284 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2285
ef24141c
SM
2286 * minibuffer.el: Add support for completion of quoted/escaped data.
2287 (completion-table-with-quoting, completion-table-subvert): New funs.
2288 (completion--twq-try, completion--twq-all): New functions.
2289 (completion--nth-completion): New function.
2290 (completion-try-completion, completion-all-completions): Use it.
2291
784e7d6e
LL
22922012-04-25 Leo Liu <sdl.web@gmail.com>
2293
dd2ac746
SM
2294 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2295 Use compilation-message if available to find real filename.
784e7d6e 2296
07875ee7
CY
22972012-04-25 Chong Yidong <cyd@gnu.org>
2298
2299 * vc/diff-mode.el (diff-setup-whitespace): New function.
2300 (diff-mode): Use it.
2301
2302 * vc/diff.el (diff-sentinel):
2303 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2304 Whitespace mode variables based on diff style (Bug#8612).
2305
5055880d
LL
23062012-04-25 Leo Liu <sdl.web@gmail.com>
2307
daf75653
LL
2308 * progmodes/python.el (python-send-region): Add suffix .py to the
2309 temp file.
2310
5055880d
LL
2311 * files.el (auto-mode-alist): Use javascript-mode instead.
2312
db9b177b
AH
23132012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2314
ef24141c 2315 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2316
2317 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2318 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2319 references, see Bug#9.
ef24141c 2320 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2321 when receiving a fault reply.
ef24141c 2322 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2323
2324 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2325 (soap-inspect-simple-type): New function.
db9b177b 2326
ef24141c 2327 * soap-client.el (soap-simple-type): New struct.
db9b177b 2328 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2329 (soap-decode-basic-type, soap-encode-basic-type):
2330 support unsignedInt and double basic types.
db9b177b 2331 (soap-resolve-references-for-simple-type)
ef24141c
SM
2332 (soap-parse-simple-type, soap-encode-simple-type): New function.
2333 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2334
2335 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2336 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2337 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2338 the local name of "soapenc:Array".
2339 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2340 decoding integer, byte and anyURI xsd types.
2341
1fc6097b
CY
23422012-04-25 Chong Yidong <cyd@gnu.org>
2343
2344 * cus-edit.el (custom-buffer-create-internal): Update header text.
2345
afc6df87
EZ
23462012-04-25 Eli Zaretskii <eliz@gnu.org>
2347
2348 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2349 settings on 'system-type', not on 'window-system'. On MS-Windows,
2350 set interactive-mode on in GDB.
2351
dfbd787f
SM
23522012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2354 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2355 (ruby-syntax-propertize-regexp): Remove.
2356 (ruby-syntax-propertize-function): Split regexp into chunks.
2357 Match following code directly.
2358
85222d44
DG
23592012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2360
51a8ea2a
DG
2361 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2362 (ruby-syntax-propertize-regexp): New function.
2363 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2364 by a special keyword.
2365
85222d44
DG
2366 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2367 (ruby-syntax-general-delimiters-goto-beg)
2368 (ruby-syntax-propertize-general-delimiters): New functions.
2369 (ruby-syntax-propertize-function): Use them to handle GDL.
2370 (ruby-font-lock-keywords): Move old handling of GDL...
2371 (ruby-font-lock-syntactic-keywords): .. to here.
2372 (ruby-calculate-indent): Adjust indentation for GDL.
2373
b613912b
MA
23742012-04-24 Michael Albinus <michael.albinus@gmx.de>
2375
b5380639
MA
2376 * notifications.el (top): Remove unneeded declarations.
2377 (notifications-specification-version): Change to "1.2".
e43042fe 2378 (notifications-interface, notifications-notify-method)
b613912b
MA
2379 (notifications-close-notification-method): Fix docstring.
2380 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2381 (notifications-notify): Add :action-items, :resident and
2382 :transient hints. Change "image_data" to "image-data" and
2383 "image_path" to "image-path".
b613912b
MA
2384 (notifications-get-capabilities): New defun.
2385
257440aa
LL
23862012-04-24 Leo Liu <sdl.web@gmail.com>
2387
2388 * progmodes/python.el: Move hideshow setup to the end.
2389
b1bac16e
MR
23902012-04-24 Martin Rudalics <rudalics@gmx.at>
2391
2392 * window.el (handle-select-window): Clear echo area since this is
2393 no more done by read_char (Bug#11304).
2394
d81bd059
SM
23952012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2398 and `/ M' to filter-derived-mode.
2399 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2400 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2401 (ibuffer-mark-by-mode): Use default rather than initial-input.
2402 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2403
c4cf6d91
IA
24042012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2405
2406 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2407 (ibuffer-filter-by-derived-mode): New filter.
2408 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2409
7511ded8
CY
24102012-04-23 Andreas Politz <politza@fh-trier.de>
2411
2412 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2413
775c916b
CY
24142012-04-23 Chong Yidong <cyd@gnu.org>
2415
2416 * cus-edit.el (customize-apropos, customize-apropos-options):
2417 Disable matching of non-option variables (Bug#11176).
2418 (customize-option, customize-option-other-window)
2419 (customize-changed-options): Doc fix.
2420 (customize-apropos-options, customize-apropos-faces)
2421 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2422
2423 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2424 Fix word list splitting (Bug#11132).
46c71e23
CY
2425 (apropos-symbol, apropos-keybinding, apropos-label)
2426 (apropos-property, apropos-function-button)
2427 (apropos-variable-button, apropos-misc-button): New faces.
2428 (apropos-symbol-face, apropos-keybinding-face)
2429 (apropos-label-face, apropos-property-face, apropos-match-face):
2430 Variables removed (Bug#8396).
2431 (apropos-library-button, apropos-format-plist, apropos-print)
2432 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2433
2df41f9c
MA
24342012-04-23 Michael Albinus <michael.albinus@gmx.de>
2435
2436 * net/xesam.el (xesam-mode-map): Use let-bound map in
2437 initialization. (Bug#11292)
2438
da00640a
AM
24392012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2440
2441 Preserve ispell session localwords when switching back to
2442 original buffer.
2443
2444 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2445 variable to hold buffer session localwords.
2446 (ispell-kill-ispell): add option 'clear to delete session
2447 localwords.
2448 (ispell-command-loop, ispell-change-dictionary)
2449 (ispell-buffer-local-words): Preserve session localwords when
2450 needed.
2451
2452 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2453 Preserve session localwords when needed.
2454
f621ccf5
AM
24552012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2456
2457 * ispell.el (ispell-insert-word) Remove unneeded function using
2458 obsolete `translation-table-for-input'.
ef24141c
SM
2459 (ispell-word, ispell-process-line, ispell-complete-word):
2460 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2461
c2d1019e
CY
24622012-04-22 Chong Yidong <cyd@gnu.org>
2463
2464 * cus-edit.el (custom-variable-menu)
2465 (custom-variable-reset-saved, custom-face-menu)
2466 (custom-face-reset-saved): If there is no saved value, make the
2467 "reset-saved" operation bring back the default (Bug#9509).
2468 (custom-face-state): Properly detect themed faces.
2469
eeddc531
CY
2470 * faces.el (face-spec-set): Stop supporting deprecated form of
2471 third arg.
2472
dcbf5805
MA
24732012-04-22 Michael Albinus <michael.albinus@gmx.de>
2474
2475 Move functions from C to Lisp. Make non-blocking method calls
2476 the default. Implement further D-Bus standard interfaces.
2477
ef24141c
SM
2478 * net/dbus.el (dbus-message-internal): Declare function.
2479 Remove unneeded function declarations.
dcbf5805
MA
2480 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2481 (dbus-message-type-method-return, dbus-message-type-error)
2482 (dbus-message-type-signal): Declare variables. Remove local
2483 definitions.
2484 (dbus-interface-dbus, dbus-interface-peer)
2485 (dbus-interface-introspectable, dbus-interface-properties)
2486 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2487 Adapt docstring.
2488 (dbus-interface-objectmanager): New defconst.
2489 (dbus-call-method, dbus-call-method-asynchronously)
2490 (dbus-send-signal, dbus-method-return-internal)
2491 (dbus-method-error-internal, dbus-register-service)
2492 (dbus-register-signal, dbus-register-method): New defuns, moved
2493 from dbusbind.c
2494 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2495 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2496 New defuns.
dcbf5805
MA
2497 (dbus-call-method-non-blocking): Make it an obsolete function.
2498 (dbus-unregister-object, dbus-unregister-service)
2499 (dbus-handle-event, dbus-register-property)
2500 (dbus-property-handler): Obey the new structure of
2501 `bus-registered-objects'.
2502 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2503 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2504 Use `dbus-call-method'.
2505
cf20dee0
CY
25062012-04-22 Chong Yidong <cyd@gnu.org>
2507
2508 * cus-edit.el (custom-commands, custom-reset-menu)
2509 (Custom-reset-standard): Tweak labels.
2510 (custom-reset-button-menu): Change default to t.
2511 (custom-buffer-create-internal): For the custom-reset-button-menu
2512 case, put the revert button first.
2513 (custom-group-subtitle): New face.
2514 (custom-group-value-create): Align docstring to a specific column.
2515
2516 * wid-edit.el (widget-documentation-link-add): Don't handle
2517 indentation in this function.
2518 (widget-documentation-string-indent-to): New function.
2519 (widget-documentation-string-value-create): Use it.
2520
2521 * autorevert.el (auto-revert):
2522 * epg-config.el (epg):
2523 * ibuffer.el (ibuffer):
2524 * mpc.el (mpc):
2525 * ses.el (ses):
2526 * eshell/eshell.el (eshell):
2527 * net/ange-ftp.el (ange-ftp):
2528 * progmodes/ebnf2ps.el (postscript):
2529 * progmodes/flymake.el (flymake):
2530 * progmodes/prolog.el (prolog):
2531 * progmodes/verilog-mode.el (verilog-mode):
2532 * progmodes/which-func.el (which-func):
2533 * term/xterm.el (xterm):
2534 * textmodes/picture.el (picture):
2535 * textmodes/tildify.el (tildify):
2536 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2537 customization buffers.
2538
583e23bd
AM
25392012-04-22 Alan Mackenzie <acm@muc.de>
2540
2541 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2542 Adding a ) can hide the resulting (..) from searches. Fix it.
2543 Bound the backward search to the position of the existing (.
2544
7dd51bf1
JB
25452012-04-21 Juanma Barranquero <lekktu@gmail.com>
2546
2547 * progmodes/verilog-mode.el (verilog-mode): Check whether
2548 which-func-modes is t before adding verilog-mode.
2549 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2550
d64a438f
LL
25512012-04-21 Leo Liu <sdl.web@gmail.com>
2552
7dd51bf1 2553 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2554
081e8d65
MV
25552012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2556
2557 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2558 filling of the last column of a table (Bug#5635).
2559 (woman-find-next-control-line): New arg, specifying an additional
2560 regexp component for the control line.
2561 (woman2-roff-buffer): Use it.
2562 (woman-break-table): New function.
2563 (woman2-TS): Use it.
2564
25652012-04-21 Chong Yidong <cyd@gnu.org>
2566
2567 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2568 (woman-horizontal-escapes, woman-negative-vertical-space)
2569 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2570 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2571
ed571ccb
SM
25722012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * minibuffer.el (completion-file-name-table): Complete user names.
2575
39773899
LL
25762012-04-20 Leo Liu <sdl.web@gmail.com>
2577
2578 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2579 and pcase-let*.
2580
de6ff46d
CY
25812012-04-20 Chong Yidong <cyd@gnu.org>
2582
2583 * server.el (server-execute): Respect initial-buffer-choice if it
2584 is a string and there are no files to open (Bug#2825).
2585 (server-create-window-system-frame, server-create-tty-frame):
2586 Don't switch buffers here.
2d0e8e61
CY
2587 (server-process-filter): Only try to open a window system frame if
2588 compiled with graphical support (Bug#8314).
de6ff46d 2589
54071013
DN
25902012-04-20 Dan Nicolaescu <dann@gnu.org>
2591
2592 * battery.el (battery-echo-area-format): Display remaining time
2593 for sysfs backend too (Bug#11269).
2594 (battery-linux-sysfs): Fix conditional for the charge.
2595
f30d612a
CY
25962012-04-20 Chong Yidong <cyd@gnu.org>
2597
c07a4c0b 2598 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2599 (gdb-inferior-io--init-proc): New function.
2600 (gdb-init-1): Use it.
2601 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2602 responsible for allocating a new pty and hooking it to gdb when
2603 the old pty gets an EIO due to process exit.
2604 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2605 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2606 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2607
2116e93c
EZ
26082012-04-20 Eli Zaretskii <eliz@gnu.org>
2609
2610 * window.el (window-min-size, window-sizable, window-min-delta)
2611 (window-max-delta, window--resizable, window-resizable)
2612 (window-total-size, window-full-height-p, window-full-width-p)
2613 (window-in-direction, window--resize-mini-window, window-resize)
2614 (window--resize-child-windows-normal)
2615 (window--resize-child-windows, window--resize-siblings)
2616 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2617 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2618
c07a4c0b 26192012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2620
ef24141c
SM
2621 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2622 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2623 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2624 pty process (Bug#11273).
2625 (gdb-update): New arg to suppress talking to the gdb process.
2626 (gdb-done-or-error): Use it.
2627 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2628 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2629 sentinel not being called.
2630
2631 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2632
d02766ab
CY
2633 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2634
c07a4c0b 26352012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2636
2637 * net/network-stream.el (open-network-stream): Doc fix.
2638
c07a4c0b 26392012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2640
2641 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2642
c07a4c0b 26432012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2644
2645 Ensure searching for keywords is case sensitive.
2646
2647 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2648 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2649 (c-defun-name, c-mark-function, c-cpp-define-name)
2650 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2651 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2652
ef24141c
SM
2653 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2654 Bind case-fold-search to nil.
f0f6bc35 2655
c07a4c0b 26562012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2657
2658 * mail/sendmail.el (mail-bury): Call return action with the right
2659 Rmail buffer (Bug#11242).
2660
9a864fa2
CY
2661 * server.el (server-process-filter): Handle corner case where both
2662 tty and nowait options are present (Bug#11102).
2663
539aa513
EZ
26642012-04-20 Eli Zaretskii <eliz@gnu.org>
2665
2666 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2667 (top level): Put into the executable the ident-style '$Id:' tag on
2668 windows-nt as well.
539aa513 2669
cfc7d5da
SM
26702012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * electric.el (electric-indent-post-self-insert-function): Check that
2673 electric-indent-mode is enabled in current buffer.
2674
5b01685c
JB
26752012-04-19 Juanma Barranquero <lekktu@gmail.com>
2676
2677 * imenu.el (imenu-progress-message): Restore; it is "used" in
2678 erc/erc-imenu.el and net/snmp-mode.el.
2679
4d6769e1
JB
26802012-04-19 Juanma Barranquero <lekktu@gmail.com>
2681
2682 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2683 (mouse-avoidance-nudge-mouse): Remove unused binding.
2684
2685 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2686
2687 * descr-text.el (describe-char):
2688 * progmodes/python.el (python-describe-symbol):
2689 Don't call `toggle-read-only', set `buffer-read-only'.
2690
2691 * imenu.el (imenu-default-goto-function): Mark unused args.
2692 (imenu-progress-message): Remove obsolete macro; all callers changed.
2693
2694 * subr.el (keymap-canonicalize): Remove unused binding.
2695 (read-passwd): Mark unused arg.
2696
2697 * tutorial.el (tutorial--display-changes): Remove unused binding.
2698 (tutorial--save-tutorial-to): Remove unused variable.
2699
2700 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2701 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2702 (package-generate-autoloads, package-menu--generate)
2703 (package-menu--find-upgrades): Remove unused bindings.
2704
2705 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2706 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2707 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2708 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2709 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2710 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2711 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2712 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2713 (cua-delete-char-rectangle): Mark unused args.
2714 (cua-align-rectangle): Remove unused binding.
2715
2716 * mail/rmail.el (compilation--message->loc)
2717 (epa--find-coding-system-for-mime-charset): Declare.
2718
2719 * net/dbus.el (dbus-register-service): Declare.
2720 (dbus-name-owner-changed-handler): Remove unused binding.
2721
2722 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2723 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2724 (nxml-scan-backward-within): Mark unused arg.
2725 (nxml-dynamic-markup-word): Remove unused binding.
2726
2727 * mouse.el (mouse-menu-major-mode-map):
2728 * emacs-lisp/authors.el (authors-scan-change-log)
2729 (authors-add-to-author-list):
2730 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2731 * emacs-lisp/smie.el (smie-auto-fill):
2732 * mail/sendmail.el (mail-bury):
2733 * mail/unrmail.el (unrmail):
2734 * net/tls.el (open-tls-stream):
2735 * textmodes/picture.el (picture-mouse-set-point):
2736 Remove unused bindings.
2737
8c8fc5df
MA
27382012-04-19 Michael Albinus <michael.albinus@gmx.de>
2739
2740 * net/tramp.el (tramp-action-password): Let-bind
2741 `enable-recursive-minibuffers' to t.
2742
a77b0ac9
SS
27432012-04-18 Sam Steingold <sds@gnu.org>
2744
2745 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2746 instead of 'string to accommodate values like [f11].
2747 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2748 * progmodes/gdb-mi.el: Likewise.
2749
12a106a9
LL
27502012-04-18 Leo Liu <sdl.web@gmail.com>
2751
2752 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2753 current buffer.
2754 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2755 LOCAL is nil.
2756
bc6494ef
CY
27572012-04-18 Chong Yidong <cyd@gnu.org>
2758
2759 * simple.el (line-move): Use forward-line if in batch mode
2760 (Bug#11053).
2761
c09c46b2
CS
27622012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2763
2764 * files.el (after-find-file): Do not try to add a final newline if
2765 the buffer is read-only (Bug#11156).
2766
5f6530ea
RS
27672012-04-17 Richard Stallman <rms@gnu.org>
2768
2769 * mail/rmail.el (rmail-start-mail):
2770 Pass (rmail-mail-return...) for the return-action.
2771 Pass (rmail-yank-current-message...) for the yank-action.
2772 (rmail-yank-current-message): New function.
2773 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2774 (rmail-reply): Likewise.
2775 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2776
2777 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2778 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2779 buffer, not newbuf.
2780
197b6f3c
JB
27812012-04-17 Juanma Barranquero <lekktu@gmail.com>
2782
2783 * server.el (server-ensure-safe-dir): Simplify.
2784
2311d8e5 27852012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2786
2311d8e5
GM
2787 * emacs-lisp/smie.el: Provide smarter auto-filling.
2788 (smie-auto-fill): New function.
2789 (smie-setup): Use it.
98fb480e 2790
2311d8e5
GM
2791 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2792
27932012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2794
2795 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2796 (comment-indent): Use it.
2797
2311d8e5 27982012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2799
2800 * ses.el: The overall change is to add cell renaming, that is
2801 setting fancy names for cell symbols other than name matching
2802 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2803 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2804 (ses-create-cell-variable): New defun.
2311d8e5 2805 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2806 (ses-relocate-formula): Relocate formulas only for cells the
2807 symbols of which are not renamed, i.e. symbols whose names do not
2808 match regexp "\\`[A-Z]+[0-9]+\\'".
2809 (ses-relocate-all): Relocate values only for cells the symbols of
2810 which are not renamed.
2811 (ses-load): Create cells variables as the (ses-cell ...) are read,
2812 in order to check row col consistency with cell symbol name only
2813 for cells that are not renamed.
2814 (ses-replace-name-in-formula): New defun.
2815 (ses-rename-cell): New defun.
4bdf2ad2 2816
fc72b15c
PO
28172012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2818
2819 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2820 New option (bug#11118).
2821 (perl-calculate-indent): Respect it.
2822
12e10e61
GM
28232012-04-17 Glenn Morris <rgm@gnu.org>
2824
2825 * dired-aux.el (dired-mark-read-string): Doc fix.
2826
30009afd
DA
28272012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2828
2829 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2830 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2831
41f03f4d
GM
28322012-04-17 Glenn Morris <rgm@gnu.org>
2833
2834 * mouse.el (mouse-drag-track):
2835 * speedbar.el (speedbar-frame-mode):
2836 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2837
f45f90f3
LL
28382012-04-16 Leo Liu <sdl.web@gmail.com>
2839
2840 * progmodes/python.el: Trivial cleanup.
2841
94ee8db5
GM
28422012-04-16 Glenn Morris <rgm@gnu.org>
2843
121b8917
GM
2844 * vc/vc.el (vc-string-prefix-p):
2845 * vc/pcvs-util.el (cvs-string-prefix-p):
2846 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2847 * mpc.el (mpc-string-prefix-p):
2848 Make all of these into obsolete aliases for string-prefix-p.
2849 Update callers.
2850 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2851
1197ecfa
GM
2852 * textmodes/two-column.el: Move custom options to the start.
2853 (frame-width): Remove compat definition.
2854 (2C-associate-buffer, 2C-dissociate):
2855 Use with-current-buffer rather than save-excursion.
2856 (2C-dissociate): Force a mode-line update.
2857 (2C-autoscroll): Use ignore-errors.
2858
099e7202
GM
2859 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2860 Autoload trivia.
2861
bf350d6a
GM
2862 * emacs-lisp/cl-extra.el (*random-state*):
2863 Remove unnecessary declaration.
2864
0e829eab
GM
2865 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2866
e3ad7552
GM
2867 * play/cookie1.el (cookie-snarf):
2868 Give an explicit error if input file cannot be read.
2869
68892d27
GM
2870 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2871
20f0c46d
GM
2872 * progmodes/perl-mode.el (c-macro-expand):
2873 Remove unnecessary autoload (it is in loaddefs.el).
2874
5a0978ce
GM
2875 * textmodes/picture.el (picture-desired-column)
2876 (picture-update-desired-column): Convert comments to doc-strings.
2877 (picture-substitute): Remove function.
2878 (picture-mode-map): Initialize in the defvar.
2879
6b955486
GM
2880 * woman.el: Remove eval-after-load for tar-mode.
2881 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2882 (woman-tar-extract-file): Autoload it.
2883
94ee8db5
GM
2884 * frame.el (automatic-hscrolling): Make this alias obsolete.
2885
177eca34
AM
28862012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2887
2888 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2889 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2890 (ispell-dictionary-base-alist): Revert to original XEmacs
2891 friendly version for default. [:alpha:] will be added in
2892 `ispell-set-spellchecker-params' if needed
177eca34 2893
c505aaeb
CY
28942012-04-16 Chong Yidong <cyd@gnu.org>
2895
2896 * image.el (imagemagick--extension-regexp): New variable.
2897 (imagemagick-register-types): Use it.
2898 (imagemagick-types-inhibit): Add :set function. Allow new value
2899 of t to inhibit all types.
2900
2901 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2902 so we can preload it.
2903
2904 * loadup.el (fboundp): Preload regexp-opt, needed by
2905 imagemagick-register-types.
2906
60efac0f
CY
29072012-04-15 Chong Yidong <cyd@gnu.org>
2908
2909 * frame.el (scrolling): Remove nearly unused customization group.
2910
2911 * scroll-all.el (scroll-all-mode): Move to windows group.
2912
5dd1713e
CY
29132012-04-15 Chong Yidong <cyd@gnu.org>
2914
2915 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2916
e6fd457e
CY
29172012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2918
2919 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2920 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2921
e153c136
GM
29222012-04-15 Glenn Morris <rgm@gnu.org>
2923
2924 * simple.el (process-file-side-effects): Doc fix.
2925
e6fd457e 29262012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2927
2928 * international/mule-cmds.el (set-language-environment): Doc fix.
2929
3603c3b1
JB
29302012-04-14 Juanma Barranquero <lekktu@gmail.com>
2931
2932 * server.el (server-auth-key, server-generate-key): Doc fixes.
2933 (server-get-auth-key): Doc fix. Use `string-match-p'.
2934 (server-start): Reflow docstring.
2935
e6de100c
LI
29362012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2937
2938 * server.el (server-generate-key): `called-interactively-p'
2939 requires a parameter.
2940
29734c21
MN
29412012-04-14 Michal Nazarewicz <mina86@mina86.com>
2942
2943 * server.el (server-auth-key): New variable.
75f1671a 2944 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2945 (server-start): Use the new variable and functions to allow
2946 setting a permanent server key (bug#9423).
2947
d65c9521
LL
29482012-04-14 Leo Liu <sdl.web@gmail.com>
2949
2950 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2951
5ae255c7
PE
29522012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2953
2954 Spelling fixes.
2955 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2956 Emacs uses American spelling.
2957
d5e6342e
JB
29582012-04-14 Juanma Barranquero <lekktu@gmail.com>
2959
2960 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2961 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2962 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2963 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2964
ab036cd7
SM
29652012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * progmodes/which-func.el (which-func-modes): Change default.
2968
35dc09a1 29692012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2970
2971 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2972 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2973
35dc09a1 29742012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2975
2976 * custom.el (custom-theme-set-variables): Doc fix.
2977
35dc09a1 29782012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2979
2980 * international/mule.el (set-auto-coding-for-load): Doc fix.
2981
35dc09a1 29822012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2983
35dc09a1
GM
2984 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2985 imenu work again for Objective C Mode. Correct the *-index values,
2986 these having been disturbed by a previous change in 2011-08.
57f845ee 2987
0de3da9f
AM
2988 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2989 Correct two search limits.
2990
35dc09a1 29912012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2992
2993 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2994
35dc09a1 29952012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2996
2997 * international/characters.el: Fix sorting.
2998
35dc09a1 29992012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3000
3001 * international/characters.el: Add more missing Latin case pairs.
3002
35dc09a1 30032012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3004
3005 * files.el (dir-locals-set-class-variables): Doc fix.
3006
35dc09a1 30072012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3008
3f1b5bf8
EZ
3009 * international/characters.el: Add set-case-syntax-pair call for
3010 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3011 counterpart. (Bug#11209)
3012
9f847f41
EZ
3013 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3014
35dc09a1 30152012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3016
3017 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3018
35dc09a1 30192012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3020
35dc09a1
GM
3021 * textmodes/ispell.el (ispell-dictionary-base-alist):
3022 Add data for Hebrew.
e2627d21 3023
35dc09a1 30242012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3025
35dc09a1
GM
3026 * net/rcirc.el (rcirc-cmd-quit):
3027 Revert 2012-03-18 change (Bug#11192).
5c14e333 3028
35dc09a1 30292012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3030
3031 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3032
35dc09a1 30332012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3034
4517fe3a
SM
3035 * minibuffer.el (completion-in-region-mode-map):
3036 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3037
b472a594
VD
30382012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3039
3040 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3041
09b95ce3
MY
30422012-04-13 Masatake YAMATO <yamato@redhat.com>
3043
3044 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3045 to allow `C-M-f' and `C-M-b' to move to the nearest path
3046 separator (bug#9511).
3047
4b63a9ca
LI
30482012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3049
3050 * avoid.el: Require cl when compiling. And also move the
3051 `provide' to the end.
3052
7b55b8bf
TV
30532012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3054
3055 * avoid.el (mouse-avoidance-banish-position): New variable.
3056 (mouse-avoidance-banish-destination): Use it (bug#10165).
3057
adedaa1f
LL
30582012-04-13 Leo Liu <sdl.web@gmail.com>
3059
3060 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3061
70e74021
KB
30622012-04-13 Ken Brown <kbrown@cornell.edu>
3063
3064 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3065 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3066 (browse-url-filename-alist): For the same reason, don't modify
3067 file:// URLs on Cygwin.
3068
e75e89ba
SM
30692012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3070
3071 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3072 the region on shift if the binding is already shifted (bug#11221).
3073
82f289a4
GM
30742012-04-12 Glenn Morris <rgm@gnu.org>
3075
3076 * mail/mailpost.el: Move to obsolete/.
3077
d333dc4c
DA
30782012-04-12 Drew Adams <drew.adams@oracle.com>
3079
3080 * imenu.el (imenu--generic-function): Ignore invisible definitions
3081 (bug#10123).
3082
0d15b5ba
VD
30832012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3084
3085 * hexl.el (hexl-bits): New variable.
3086 (hexl-options): Mention the variable in the doc string.
75f1671a 3087 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3088 (hexl-mode): Mention the new variable.
75f1671a
JB
3089 (hexl-mode, hexl-current-address, hexl-current-address):
3090 Use the displen.
0d15b5ba
VD
3091 (hexl-ascii-start-column): New function.
3092 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3093 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3094
64a440db
AM
30952012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3096
3097 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3098 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3099 the encoding, as expected by hunspell.
3100
6decb6c2
SM
31012012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3102
3103 * battery.el (battery--linux-sysfs-regexp): New const.
3104 (battery-status-function): Use it. Remove yeeloong special case.
3105 (battery-yeeloong-sysfs): Remove.
3106 (battery-echo-area-format): Remove yeeloong special case.
3107
088be6fb
SM
31082012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3109
6622e416
SM
3110 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3111 Reported by Noah Friedman.
3112
088be6fb
SM
3113 * subr.el (read-passwd): Use read-string.
3114
b49f886e
LMI
31152012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3116
3117 * vcursor.el (vcursor-move): Increase the priority of the overlay
3118 (bug#9663).
3119
a63067fc
DD
31202012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3121
3122 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3123 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3124
ac3cf14a
WS
31252012-04-11 William Stevenson <yhvh2000@gmail.com>
3126
3127 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3128 define-minor-mode (bug#10760).
3129
c4fc691b 31302012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3131
4d6769e1 3132 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3133 that directories matching `grep-find-ignored-files' won't be
3134 pruned (bug#10351).
3135
af23e2e5
CY
31362012-04-11 Chong Yidong <cyd@gnu.org>
3137
3138 * startup.el (command-line): Remove support for long-obsolete
3139 variable font-lock-face-attributes.
3140
ab7ce8c1
GM
31412012-04-11 Glenn Morris <rgm@gnu.org>
3142
3143 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3144
de8c03dc
SM
31452012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3146
3147 * window.el (window--state-get-1): Obey window-point-insertion-type.
3148
050cc68b
LB
31492012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3150
3151 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3152 to previous function when point is on the first character of a
75f1671a 3153 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3154
a38c310c
GM
31552012-04-11 Glenn Morris <rgm@gnu.org>
3156
effed0c2
GM
3157 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3158 not just file-errors.
3159
a38c310c
GM
3160 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3161 (vc-bzr-sha1): Use internal sha1.
3162
0221e323
SM
31632012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3166
43956923
SG
31672012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3168
3169 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3170 that start in the middle of the line (bug#10496).
3171
6a8c9eaf
DN
31722012-04-10 Dan Nicolaescu <dann@gnu.org>
3173
3174 * battery.el (battery-linux-proc-acpi): Only one battery is
3175 discharged at a time, but that seems to confuse battery.el when
3176 computing `rate-type' for the battery not being discharged
3177 (bug#10332).
3178
1930bf5d
SM
31792012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3180
2a718f6f
SM
3181 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3182
599430d0
SM
3183 * international/quail.el: Use dolist and simplify.
3184 (quail-define-package, quail-update-keyboard-layout)
3185 (quail-define-rules): Use dolist.
3186 (quail-insert-kbd-layout, quail-get-translation): CSE.
3187
a2754b6c
SM
3188 * tmm.el: Use dolist, remove left over hook.
3189 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3190 Use dolist.
3191 (calendar-load-hook): Don't mess with it.
3192
1930bf5d
SM
3193 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3194 Use derived-mode-p. Run the diff asynchronously.
3195
9f67961c
LMI
31962012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3197
3198 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3199
2a8ce227
JB
32002012-04-10 Juanma Barranquero <lekktu@gmail.com>
3201
3202 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3203 (list-dynamic-libraries--loaded): New function.
3204 (list-dynamic-libraries--refresh): Use it.
3205
8f33b5f8
NW
32062012-04-10 Nathan Weizenbaum <nweiz@google.com>
3207
1930bf5d
SM
3208 * progmodes/python.el (python-fill-paragraph):
3209 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3210 disabled (bug#7018).
3211
b12f0439
L
32122012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3213
1930bf5d 3214 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3215 DOS/MS Windows for the Baltic languages. There are still plenty
3216 of texts written in this encoding/codepage (bug#6519).
b12f0439 3217
57c3bd01
GM
32182012-04-10 Glenn Morris <rgm@gnu.org>
3219
3220 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3221 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3222
6c3eab30
FA
32232012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3224
1930bf5d 3225 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3226 next-line "n" and previous-line "p" in order to make recentf more
3227 consistent with ibuffer, dired or org-mode (bug#9387).
3228
24d78a88
LMI
32292012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3230
bc72b5d9
LMI
3231 * image.el (put-image): Return the overlay created instead of the
3232 optional input string (bug#7834). Note that this may break code
3233 that is (for some reason or other) depending on `put-image'
3234 returning the string.
3235
bd2dba5a
LMI
3236 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3237
74beb59f
LMI
3238 * simple.el (zap-to-char): Allow zapping using input methods
3239 (bug#1580).
3240
24d78a88
LMI
3241 * textmodes/fill.el (fill-region): Leave point and mark where they
3242 were before filling (bug#5399).
3243
263f20cd
GM
32442012-04-09 Glenn Morris <rgm@gnu.org>
3245
3246 * version.el (emacs-bzr-get-version):
3247 Handle lightweight checkouts of local branches.
3248
58d1f797
AS
32492012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3250
263f20cd 3251 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3252
b4d3bc10
CY
32532012-04-09 Chong Yidong <cyd@gnu.org>
3254
3255 * custom.el (custom-variable-p): Return nil for non-symbol
3256 arguments instead of signaling an error.
3257 (user-variable-p): Obsolete alias for custom-variable-p.
3258
3259 * apropos.el (apropos-variable):
3260 * files-x.el (read-file-local-variable):
3261 * simple.el (set-variable):
3262 * woman.el (woman-mini-help):
3263 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3264
fd06db5d
GM
32652012-04-09 Glenn Morris <rgm@gnu.org>
3266
e5fcdb5e
GM
3267 * startup.el (normal-top-level): Don't look for leim-list.el
3268 in places where it will not be found. (Bug#910)
3269
fd06db5d
GM
3270 * international/mule-cmds.el (set-default-coding-systems):
3271 * files.el (normal-mode):
3272 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3273 This function was removed with ucs-tables.el in 2008.
3274
b39bb7e1
EZ
32752012-04-08 Eli Zaretskii <eliz@gnu.org>
3276
3277 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3278 ispell-encoding8-command to "-i", without a trailing space.
3279 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3280 separate command-line arguments, to specify the encoding, since
3281 that's how hunspell expects it.
3282
5c5b8e23
GM
32832012-04-08 Glenn Morris <rgm@gnu.org>
3284
3285 * loadup.el: Load bindings before cus-start.
3286 This reduces somewhat the number of "rogue" settings in emacs -Q.
3287
a1ed8b05
GM
32882012-04-07 Glenn Morris <rgm@gnu.org>
3289
3290 * version.el (emacs-bzr-get-version): New function.
dfae128a 3291 (emacs-bzr-version): New variable.
a1ed8b05
GM
3292 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3293 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3294
b142f158
EZ
32952012-04-07 Eli Zaretskii <eliz@gnu.org>
3296
dfae128a
GM
3297 * international/uni-bidi.el, international/uni-category.el:
3298 * international/uni-combining.el, international/uni-decimal.el:
3299 * international/uni-decomposition.el, international/uni-digit.el:
3300 * international/uni-lowercase.el, international/uni-mirrored.el:
3301 * international/uni-name.el, international/uni-numeric.el:
3302 * international/uni-titlecase.el, international/uni-uppercase.el:
3303 Update for Unicode 6.1.
b142f158 3304
9078ead6
EZ
33052012-04-07 Eli Zaretskii <eliz@gnu.org>
3306
3307 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3308
f23d2c7d
LMI
33092012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3310
3311 * window.el (shrink-window): Mention the `window-min-height'
3312 variable in the doc string.
3313
0a0a3573
BG
33142012-04-05 Bastien Guerry <bzg@altern.org>
3315
3316 * color.el (color-lighten-name): Fix typo.
3317
e5248ac9
SM
33182012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3319
3320 * server.el (server--on-display-p): New function.
3321 (server--on-display-p): Use it.
3322
b4243e22
GV
33232012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3324
3325 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3326 (bug#11145).
3327
305d9f44
SM
33282012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * comint.el (comint--common-quoted-suffix): Check string boundary
3331 before comparing (bug#11158).
3332 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3333
3d439cd1
CY
33342012-04-04 Chong Yidong <cyd@gnu.org>
3335
321cc491
CY
3336 * minibuffer.el (completion-extra-properties): Doc fix.
3337
3d439cd1
CY
3338 * subr.el (delayed-warnings-hook): Doc fix.
3339
2d562c0f
DU
33402012-04-04 Daiki Ueno <ueno@unixuser.org>
3341
3342 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3343 selection (Bug#11159).
3344 (epa-insert-keys): Inform that the default public key will be
3345 exported if no key is selected.
3346
4443f204
RS
33472012-04-04 Richard Stallman <rms@gnu.org>
3348
3349 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3350
529c06b6
CY
33512012-04-03 Chong Yidong <cyd@gnu.org>
3352
3353 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3354 mail-insert-file, not its obsolete alias mail-attach-file.
3355
66b907dc
MA
33562012-04-03 Michael Albinus <michael.albinus@gmx.de>
3357
3358 * notifications.el (notifications-notify): Fix docstring.
3359
c0ea195d
GM
33602012-04-02 Glenn Morris <rgm@gnu.org>
3361
3362 * emacs-lisp/authors.el (authors-aliases): Another addition.
3363
5ca64e00
MA
33642012-04-02 Michael Albinus <michael.albinus@gmx.de>
3365
3366 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3367 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3368 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3369
42ee526b
CY
33702012-04-01 Chong Yidong <cyd@gnu.org>
3371
3372 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3373 Handle root directory properly.
3374 (copy-directory): Caller changed.
3375
3376 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3377 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3378
0b021094
GM
33792012-03-31 Glenn Morris <rgm@gnu.org>
3380
40f86458
GM
3381 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3382
7019c177
GM
3383 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3384
a1daddd6
GM
3385 * calendar/calendar.el (calendar-window-list)
3386 (calendar-hide-window): Restore. (Bug#11140)
3387 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3388
0b021094
GM
3389 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3390
40311efc
TV
33912012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3392
3393 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3394 Check if file is a symlink (Bug#10489).
3395
3396 * files.el (copy-directory): Likewise.
3397
5319014e
CY
33982012-03-30 Chong Yidong <cyd@gnu.org>
3399
3400 * image.el (imagemagick-types-inhibit)
3401 (imagemagick-register-types): Doc fix.
3402
935d1290
AM
34032012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3404
ef24141c
SM
3405 * ispell.el (ispell-get-extended-character-mode):
3406 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3407 and treats ~word as ordinary words in pipe mode.
935d1290 3408
61c6e8fd
GM
34092012-03-30 Glenn Morris <rgm@gnu.org>
3410
3411 * tutorial.el (help-with-tutorial): Ensure local variables don't
3412 happen to make the buffer read-only. (Bug#11127)
3413
81fdff00
SM
34142012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3417 (perl-calculate-indent): Return `noindent' in strings.
3418
6e7a6ec0
SS
34192012-03-28 Sam Steingold <sds@gnu.org>
3420
3421 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3422 instead of the broken adhockery which does not prevent calendar
3423 buffers from being displayed at random after exit.
3424 (calendar-window-list, calendar-hide-window): Remove the broken
3425 adhockery.
3426
fee88ca0
GM
34272012-03-28 Glenn Morris <rgm@gnu.org>
3428
3429 * replace.el (query-replace-map): Doc fix.
3430
38de3354
AS
34312012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3432
3433 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3434 contents. (Bug#11109)
3435
b973155e
SM
34362012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3439 (bug#11077).
3440 (avl-tree--check, avl-tree--check-node): New funs.
3441
dcb6e7b3
MR
34422012-03-27 Martin Rudalics <rudalics@gmx.at>
3443
3444 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3445 (switch-to-prev-buffer, switch-to-next-buffer):
3446 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3447 showing a buffer already is done on the same frame.
3448
b4fa35fa
GM
34492012-03-27 Glenn Morris <rgm@gnu.org>
3450
3451 * startup.el (mail-host-address): Doc fix.
3452
f9210e18
SM
34532012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3456 than 197 variables.
3457
c0bf7753
AF
34582012-03-26 Ami Fischman <ami@fischman.org>
3459
3460 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3461
33da7b16
GM
34622012-03-26 Glenn Morris <rgm@gnu.org>
3463
02243d9d
GM
3464 * files.el (save-buffers-kill-emacs): Doc fix.
3465
33da7b16
GM
3466 * startup.el (normal-top-level, command-line, command-line-1):
3467 Give them doc strings.
3468
e5a69fd0
EZ
34692012-03-25 Eli Zaretskii <eliz@gnu.org>
3470
3471 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3472 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3473
9a69676a
CY
34742012-03-25 Chong Yidong <cyd@gnu.org>
3475
4125cb8b
CY
3476 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3477 theme if it was previously enabled before (Bug#11031).
3478
dd470960
CY
3479 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3480 spec with custom-face-get-current-spec if its :shown-value is not
3481 determined yet (Bug#9337).
4125cb8b 3482 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3483
9a69676a
CY
3484 * button.el (button-at): Minor addition to docstring.
3485
6e7e90fa
SL
34862012-03-24 Simon Leinen <simon.leinen@gmail.com>
3487
3488 * vc/vc.el (vc-merge): Fix a prompt.
3489
f06e2758
CY
34902012-03-24 Chong Yidong <cyd@gnu.org>
3491
3492 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3493 point (Bug#9623).
3494
6e7e90fa
SL
3495 * button.el (button-at): Minor addition to docstring.
3496
b9d0879b
SM
34972012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3498
3499 * newcomment.el (comment-choose-indent): No space after BOL.
3500
e71cebb3
SS
35012012-03-22 Sam Steingold <sds@gnu.org>
3502
3503 * window.el (switch-to-prev-buffer): Revert last patch because the
3504 bug turned out to be an advertised feature (Elisp manual 28.14).
3505
335aff35
GM
35062012-03-22 Glenn Morris <rgm@gnu.org>
3507
3508 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3509 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3510
c676576a
LMI
35112012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3512
3513 * net/network-stream.el (network-stream-open-starttls): Make error
3514 message under Windows be less misleading.
3515
126f3d39
LW
35162012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3517
3518 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3519 understands (bug#9942).
3520
64fee311
CY
35212012-03-22 Chong Yidong <cyd@gnu.org>
3522
3523 * simple.el (end-of-visible-line): Handle return value of
3524 next-single-property-change properly (Bug#9371).
3525
a640d29a
KH
35262012-03-22 Kenichi Handa <handa@m17n.org>
3527
3528 * international/quail.el (quail-insert-kbd-layout): Fix previous
3529 change. To avoid unwanted bidi reordering, use
3530 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3531
39675016
DG
35322012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3533
3534 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3535 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3536 (ruby-beginning-of-indent): Be more careful with the difference
3537 between word-boundary and symbol boundary.
3538 (ruby-mode-syntax-table): Make : a symbol constituent.
3539
0a6934fc 35402012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3541
3d008e4f
SM
3542 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3543
0a6934fc
SM
35442012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3545
af67c9d7
SM
3546 * progmodes/etags.el (tags-completion-at-point-function):
3547 Improve last fix.
3548
1acad97c
SM
3549 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3550
e298b5da
SS
35512012-03-21 Sam Steingold <sds@gnu.org>
3552
3553 * progmodes/etags.el (tags-completion-at-point-function):
3554 Avoid the error when point is inside the pattern.
3555
91d82a70
JY
35562012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3557
3558 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3559 line (Bug#10855).
3560
69188b79
CY
35612012-03-21 Drew Adams <drew.adams@oracle.com>
3562
3563 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3564
99fc91fe
AK
35652012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3566
3567 * ido.el (ido-set-current-directory, ido-read-internal)
3568 (ido-choose-completion-string, ido-completion-help): Handle nil
3569 value of ido-completion-buffer (Bug#11008).
3570
087bbb4c
SS
35712012-03-21 Sam Steingold <sds@gnu.org>
3572
3573 * window.el (switch-to-prev-buffer): Do not switch to a visible
3574 window previous buffer, just like with the frame previous buffers.
3575
fb5b8aca
CY
35762012-03-21 Chong Yidong <cyd@gnu.org>
3577
3578 * faces.el (make-face, make-empty-face, copy-face):
3579 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3580 Doc fixes.
3581
dc9924b8
SM
35822012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3583
3584 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3585 (widget-complete): Remove broken use of it.
3586
f0bcceb9
CY
35872012-03-20 Chong Yidong <cyd@gnu.org>
3588
dc9924b8
SM
3589 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3590 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3591 characters.
3592
ee52ebf3
TH
35932012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3594
3595 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3596 to draw rectangles, not squares. (Regression introduced by revno
3597 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3598
4c5779ab
CY
35992012-03-18 Chong Yidong <cyd@gnu.org>
3600
3601 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3602 it is not yet defined (for temacs).
3603
15360934
LL
36042012-03-18 Leo Liu <sdl.web@gmail.com>
3605
dc9924b8 3606 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3607
d9a8eb66
EZ
36082012-03-17 Eli Zaretskii <eliz@gnu.org>
3609
3610 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3611 (ispell-choices-win-default-height, ispell-silently-savep)
3612 (ispell-dictionary-alist, ispell-encoding8-command)
3613 (ispell-check-version, ispell-aspell-find-dictionary)
3614 (ispell-valid-dictionary-list, ispell-words-keyword)
3615 (ispell-get-word, ispell-internal-change-dictionary)
3616 (ispell-region, ispell-skip-region-list)
3617 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3618 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3619 (ispell-message-text-end, ispell-message)
3620 (ispell-buffer-local-parsing): Doc fix.
3621
f02ff80d
J
36222012-03-13 Jambunathan K <kjambunathan@gmail.com>
3623
3624 * htmlfontify.el: Add support for code block fontification for ODT
3625 export (Bug #9914).
3626 (hfy-optimisations): Define new option
3627 `body-text-only'
3628 (hfy-fontify-buffer): Honor above setting.
3629 (hfy-begin-span, hfy-end-span): New routines factored out form
3630 `hfy-fontify-buffer'.
3631 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3632 that permit insertion of custom tags.
3633 (hfy-fontify-buffer): Use above handlers.
3634 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3635 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3636 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3637 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3638 bind a special variable `hfy-user-sheet-assoc'.
3639 (htmlfontify-string): New defun.
3640 (hfy-compile-face-map): Make sure that the last char in the
3641 buffer is correctly fontified.
3642 (hfy-face-resolve-face): Whitespace only change.
3643
9ac7a13f
EZ
36442012-03-17 Eli Zaretskii <eliz@gnu.org>
3645
3646 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3647 message more clear.
3648
e2b5bdd7
LL
36492012-03-16 Leo Liu <sdl.web@gmail.com>
3650
3651 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3652
2e492df3
AM
36532012-03-16 Alan Mackenzie <acm@muc.de>
3654
3655 Further optimise the handling of large macros.
3656
3657 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3658 limit to a call of `c-literal-limits'.
3659 (c-determine-+ve-limit): New function.
dc9924b8
SM
3660 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3661 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3662 In CASE 5B, restrict a search limit to 500.
3663 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3664
3665 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3666 Restrict macro bounds to +-500 from after-change's BEG END.
3667
50e94f0c
LL
36682012-03-16 Leo Liu <sdl.web@gmail.com>
3669
3670 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3671
6f09f6ed
AH
36722012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3673
3674 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3675 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3676
c7e73d51
GM
36772012-03-16 Glenn Morris <rgm@gnu.org>
3678
da986230
GM
3679 * view.el (view-buffer, view-buffer-other-window)
3680 (view-buffer-other-frame): Doc fixes re special mode-class.
3681
0835f01e
GM
3682 * subr.el (eval-after-load): If named feature is provided not from
3683 a file, run after-load forms. (Bug#10946)
3684
c7e73d51
GM
3685 * calendar/calendar.el (calendar-insert-at-column):
3686 Handle non-unit-width characters a bit better. (Bug#10978)
3687
3f2eafd1
CY
36882012-03-15 Chong Yidong <cyd@gnu.org>
3689
3690 * emacs-lisp/ring.el (ring-extend): New function.
3691 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3692
3693 * comint.el (comint-read-input-ring)
3694 (comint-add-to-input-history): Grow comint-input-ring lazily.
3695
103af3fe
SM
36962012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3697
663b1677
SM
3698 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3699 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3700
103af3fe
SM
3701 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3702 (imenu-add-to-menubar): Don't add a redundant index.
3703 (imenu-update-menubar): Handle a dynamically composed keymap.
3704
899cb7cb
KY
37052012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3706
3707 * mail/sendmail.el (mail-encode-header):
3708 Bind rfc2047-encode-encoded-words to nil.
3709
3809f91d
GM
37102012-03-13 Glenn Morris <rgm@gnu.org>
3711
3712 * calendar/calendar.el (calendar-string-spread):
3713 Handle non-unit-width characters a bit better. (Bug#10978)
3714
9e345a01
LL
37152012-03-13 Leo Liu <sdl.web@gmail.com>
3716
3717 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3718 directory and file as argument (Bug#10822).
3719
4a07df36
KS
37202012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3721
3722 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3723 For dynamically generated code, follow $PC.
3724 (gdb-disassembly-handler-custom): Handle no function name case.
3725
4aaa9356
TL
37262012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3727
3728 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3729 * emulation/ws-mode.el (ws-query-replace):
3730 * sort.el (sort-regexp-fields):
3731 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3732
225979da
SM
37332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * dabbrev.el: Fix cycle completion order (bug#10963).
3736 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3737 (dabbrev-completion): Don't use an obarray; provide
3738 a cycle-sort-function.
3739
e2f1fdab
LL
37402012-03-12 Leo Liu <sdl.web@gmail.com>
3741
dc9924b8 3742 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3743 (kill-do-not-save-duplicates): Doc fix.
3744
b19490ed
SM
37452012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3746
3747 * dabbrev.el: Fix cycle completion (bug#10963).
3748 Use lexical binding and wrap to 80 columns.
3749 (dabbrev-completion): Delay computing the list of completions.
3750
4b05d722
KH
37512012-03-12 Kenichi Handa <handa@m17n.org>
3752
3753 * international/quail.el (quail-insert-kbd-layout): Surround each
3754 row by LRO and PDF instead of inserting many LRMs. Pad the left
3755 and right of each non-spacing marks. Insert invisible space
3756 between lower and upper characters to prevent composition.
3757
dbbc2e69
SM
37582012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * minibuffer.el (minibuffer-complete): Don't get confused when the
3761 function is run twice via different commands (bug#10958).
3762 (complete-with-action): Fix docstring.
3763
292112ed
CY
37642012-03-12 Chong Yidong <cyd@gnu.org>
3765
5d1ac394
CY
3766 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3767 (nxml-completion-at-point-function): New function.
3768 (nxml-mode): Use it.
3769 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3770
292112ed
CY
3771 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3772 Load generated autoloads file before byte compiling (Bug#10970).
3773 (package--make-autoloads-and-compile): New helper fun.
3774
4098f8f7
CS
37752012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3776
3777 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3778
8f754691
MA
37792012-03-11 Michael Albinus <michael.albinus@gmx.de>
3780
3781 * autorevert.el (auto-revert-handler): Ensure, that
3782 file-readable-p is applied only for local files or in
3783 auto-revert-tail-mode.
3784
e29ab36b
AS
37852012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3786
dbbc2e69
SM
3787 * server.el (server-eval-at): Handle non-tcp connections.
3788 Decode result string.
ad0bf5b6 3789
e29ab36b
AS
3790 * server.el (server-msg-size): New constant.
3791 (server-reply-print): New function.
3792 (server-eval-and-print): Use it.
3793 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3794 Handle -print-nonl.
3795
de5939ba
CS
37962012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3797
3798 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3799 (Bug#10987).
3800
0c93eabf
CY
38012012-03-11 Chong Yidong <cyd@gnu.org>
3802
397a688f
CY
3803 * simple.el (goto-line): Doc fix (Bug#9938).
3804
2cc775f9
CY
3805 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3806
0c93eabf
CY
3807 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3808 when finished (Bug#10963).
3809
c491fa41
MR
38102012-03-11 Martin Rudalics <rudalics@gmx.at>
3811
3812 * window.el (split-window-below): Fix bug in case where
3813 split-window-keep-point is nil (Bug#10971).
3814
300e8fa5
JL
38152012-03-11 Juri Linkov <juri@jurta.org>
3816
3817 * replace.el (replace-highlight): Set isearch-word to nil
3818 unconditionally. (Bug#10887)
3819
dbf6c5a1
EZ
38202012-03-10 Eli Zaretskii <eliz@gnu.org>
3821
3822 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3823 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3824 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3825 (mairix-widget-create-query): Add usage information about mairix
3826 search forms: negating words, searching for substrings, etc.
3827
b9e501de
JP
38282012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3829
3830 * international/fontset.el (font-encoding-alist): Add an entry for
3831 ksx1001 (Bug#5667).
3832
92795c91
RS
38332012-03-10 Richard Stallman <rms@gnu.org>
3834
1694e6c1
RS
3835 * mail/sendmail.el (mail-encode-header):
3836 Set rfc2047-encode-encoded-words.
3837
607e8555
RS
3838 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3839
de3bc99a
RS
3840 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3841 view buffer means not swapped.
3842 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3843 (rmail-write-region-annotate): Error if real text has disappeared.
3844
92795c91
RS
3845 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3846
699bd04e
CY
38472012-03-10 Chong Yidong <cyd@gnu.org>
3848
3849 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3850 * emulation/cua-base.el (cua--init-keymaps):
3851 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3852
570a1714
MR
38532012-03-10 Martin Rudalics <rudalics@gmx.at>
3854
dbbc2e69
SM
3855 * speedbar.el (speedbar-unhighlight-one-tag-line):
3856 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3857
82dcf4e4
CY
38582012-03-10 Chong Yidong <cyd@gnu.org>
3859
7a2c7ca7
CY
3860 * minibuffer.el (completion-in-region, completion-help-at-point):
3861 Give the completion field overlay a high priority (Bug#6830).
3862
82dcf4e4
CY
3863 * dired.el (dired-goto-file): Recognize absolute file name
3864 listings (Bug#7126).
3865 (dired-goto-file-1): New helper function.
3866 (dired-toggle-read-only): Inhibit warnings.
3867
052e28ac
MA
38682012-03-09 Michael Albinus <michael.albinus@gmx.de>
3869
75f1671a 3870 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3871 there are no properties.
3872
95d5e396
LL
38732012-03-09 Leo Liu <sdl.web@gmail.com>
3874
3875 * savehist.el (savehist-printable): Stricter check for string
3876 value (Bug#10937).
3877
3f018d6d
EZ
38782012-03-09 Eli Zaretskii <eliz@gnu.org>
3879
dbbc2e69
SM
3880 * mail/smtpmail.el (smtpmail-send-it):
3881 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3882 valid mbox format.
3883
f7fd3d79
GM
38842012-03-09 Glenn Morris <rgm@gnu.org>
3885
3886 * files.el (dir-locals-find-file):
3887 Don't check result is regular, readable.
3888 (dir-locals-read-from-file): Demote errors.
3889
6ff6e72f
EZ
38902012-03-08 Eli Zaretskii <eliz@gnu.org>
3891
dbbc2e69
SM
3892 * international/quail.el (quail-insert-kbd-layout):
3893 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3894 layout cell, to prevent their reordering by bidi display engine.
3895 For details, see the discussion in
3896 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3897
9cec7834
AM
38982012-03-08 Alan Mackenzie <acm@muc.de>
3899
3900 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3901 the starting position; make it extend the marked region when
3902 invoked repeatedly - all under appropriate circumstances.
3903 Fixes bugs #5525, #10906.
3904
9a40b8d4
GM
39052012-03-08 Glenn Morris <rgm@gnu.org>
3906
3907 * files.el (locate-dominating-file, dir-locals-find-file):
3908 Undo 2012-03-06 change.
3909
7a08ed35
EZ
39102012-03-07 Eli Zaretskii <eliz@gnu.org>
3911
dbbc2e69
SM
3912 * international/quail.el (quail-help):
3913 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3914 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3915 for the reason.
3916
5aca4f71 39172012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3918
3919 Avoid superfluous registering of signals. (Bug#10807)
3920
3921 * notifications.el (notifications-on-action-object)
3922 (notifications-on-close-object): New defvars.
3923 (notifications-on-action-signal, notifications-on-closed-signal):
3924 Unregister the signal if not needed any longer.
3925 (notifications-notify): Register `notifications-action-signal' or
3926 `notifications-closed-signal', if :on-action or :on-close has been
3927 passed as argument.
3928
78e8b10a
CY
39292012-03-07 Chong Yidong <cyd@gnu.org>
3930
3931 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3932 non-X platforms.
3933
69481eb8
GM
39342012-03-06 Glenn Morris <rgm@gnu.org>
3935
3936 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3937 (x-disown-selection-internal, x-get-selection-internal):
3938 Doc fix (add arglist signatures). (Bug#10783)
3939
133b8e11
KS
39402012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3941
3942 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3943 Handle breakpoints with no "type".
3944
99a83064
GM
39452012-03-06 Glenn Morris <rgm@gnu.org>
3946
3947 * files.el (locate-dominating-file): Add optional predicate argument.
3948 (dir-locals-find-file): Make use of above change.
3949
17798e78
TTN
39502012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3951
3952 * info.el (Info-insert-dir): Also try "dir.gz".
3953
eb182446
GM
39542012-03-06 Glenn Morris <rgm@gnu.org>
3955
8f2114ee
GM
3956 * files.el (dir-locals-find-file):
3957 Ignore non-readable or non-regular files. (Bug#10928)
3958
eb182446
GM
3959 * files.el (locate-dominating-file): Doc fix.
3960
24679323
AS
39612012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3962
3963 * calendar/calendar.el (calendar-set-mode-line):
3964 `getenv' returns a string. (Bug#10951)
3965
01d972a9
LL
39662012-03-05 Leo Liu <sdl.web@gmail.com>
3967
109aa8a9
LL
3968 * simple.el (backward-delete-char-untabify): Constrain point to
3969 field (Bug#10939).
3970
01d972a9
LL
3971 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3972
10607bea
CY
39732012-03-05 Chong Yidong <cyd@gnu.org>
3974
3975 * simple.el (count-words): If called from Lisp, return the word
3976 count, for symmetry with `count-lines'. Arglist changed.
3977 (count-words--message): Args changed. Consolidate counting code
3978 from count-words and count-words-region.
3979 (count-words-region): Caller changed.
3980 (count-lines-region): Make it an obsolete alias.
3981
5dd11cfe
TH
39822012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3983
3984 * saveplace.el (save-place-to-alist)
3985 (save-place-ignore-files-regexp): Allow value nil to disable this
3986 feature.
3987
c349f4e6
CY
39882012-03-04 Chong Yidong <cyd@gnu.org>
3989
3990 * faces.el (face-spec-reset-face): For the default face, reset the
3991 attributes to default values (Bug#10748).
3992
e627be4c
LMI
39932012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3994
3995 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3996 previous patch: Check `message-send-mail-function', and not the
3997 default function (bug#10897).
3998
ebeabff4
MA
39992012-03-04 Michael Albinus <michael.albinus@gmx.de>
4000
a41a6cf4
MA
4001 * notifications.el (notifications-on-action-signal)
4002 (notifications-on-closed-signal): Check for unique service name of
4003 incoming event. Fix error in removing entry.
ebeabff4 4004 (top): Register for signals with wildcard service name.
a41a6cf4 4005 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4006
c1ca42b4
CY
40072012-03-04 Chong Yidong <cyd@gnu.org>
4008
dc9924b8 4009 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4010
ea16568d
GM
40112012-03-04 Glenn Morris <rgm@gnu.org>
4012
4013 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4014 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4015 (expand-abbrev, define-abbrev-table): Doc fixes.
4016
fbae4637
LMI
40172012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4018
4019 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4020 `message-default-send-mail-function' and not `send-mail-function'
4021 when doing the prompting for `sendmail-query-once' before sending
4022 in Message buffers (bug#10897).
4023
a1e7225c
LMI
4024 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4025 This is inconsistent with all the other stream functions, which leave
4026 the setting up to the higher levels (if so wanted) (bug#10931).
4027
56d093a9
AM
40282012-03-02 Alan Mackenzie <acm@muc.de>
4029
4030 Depessimize the handling of very large macros.
4031
4032 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4033 (c-macro-cache-syntactic): New variables to implement a one
4034 element macro cache.
4035 (c-invalidate-macro-cache): New function.
4036 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4037 Adapt to use the new cache.
4038 (c-state-safe-place): Use better the cache of safe positions.
4039 (c-state-semi-nonlit-pos-cache)
4040 (c-state-semi-nonlit-pos-cache-limit):
4041 New variables for...
4042 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4043 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4044 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4045 Use c-state-semi-safe-place.
56d093a9 4046
dbbc2e69
SM
4047 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4048 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4049
817e5c3d
MA
40502012-03-02 Michael Albinus <michael.albinus@gmx.de>
4051
dbbc2e69
SM
4052 * jka-compr.el (jka-compr-call-process):
4053 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4054 not remote.
4055
a032a702
MA
40562012-03-01 Michael Albinus <michael.albinus@gmx.de>
4057
4058 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4059 access of FILE2, if FILE1 does not exist.
4060
99a54f21
MA
4061 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4062 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4063
4064 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4065 Add "PAGER=" to `process-environment'.
4066
f6561e1f
MM
40672012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4068
4069 * progmodes/sql.el: Bug fix
4070 (sql-get-login-ext): Save login values in globals.
4071 (sql-get-login): Use new version of `sql-get-login-ext'.
4072 (sql-interactive-mode): Set global `sql-connection' to nil.
4073 (sql-connect): Set global values for connection.
4074 (sql-product-interactive): Save global values as buffer local.
4075
2d44d9cc
LL
40762012-02-29 Leo Liu <sdl.web@gmail.com>
4077
4078 * abbrev.el (define-abbrevs): Reset sys to nil.
4079
96b49301 40802012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4081
bf7f9bc5
JB
4082 * files.el (file-equal-p): Rename from `files-equal-p'.
4083 Return nil when one or both files don't exist.
96b49301 4084 (file-subdir-of-p): Now only top directory must exists,
4085 return nil if it doesn't.
bf7f9bc5
JB
4086 (copy-directory): No need to test with `file-subdir-of-p' after
4087 creating dir.
4088 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4089 to `file-equal-p'.
96b49301 4090
44e97401
GM
40912012-02-28 Glenn Morris <rgm@gnu.org>
4092
4093 * shell.el (shell-mode):
4094 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4095 * play/landmark.el (landmark-font-lock-face-O):
4096 * play/handwrite.el (handwrite):
4097 * play/gomoku.el (gomoku-O):
4098 * net/browse-url.el (browse-url-browser-display):
4099 * international/mule.el (define-charset):
4100 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4101 * filesets.el (filesets-find-file-delay):
4102 * eshell/em-xtra.el (eshell-xtra):
4103 * eshell/em-unix.el (eshell-grep):
4104 * emulation/viper.el (viper-mode):
4105 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4106 * emacs-lisp/easymenu.el (easy-menu-define):
4107 * calendar/timeclock.el (timeclock-use-display-time):
4108 * bs.el (bs-mode):
4109 * bookmark.el (bookmark-save-flag):
4110 Doc fix (standardize possessive apostrophe usage).
4111
c98c6276
CY
41122012-02-27 Chong Yidong <cyd@gnu.org>
4113
bf7f9bc5
JB
4114 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4115 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4116
c98c6276
CY
4117 * font-lock.el (font-lock-specified-p): Rename from
4118 font-lock-spec-present. Callers changed.
4119
9c62cd04 41202012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4121
bf7f9bc5
JB
4122 * emacs-lisp/package.el (package-compute-transaction):
4123 Handle holding a package version to t in package-load-list.
8ac9e529 4124
530739c9
MA
41252012-02-26 Michael Albinus <michael.albinus@gmx.de>
4126
4127 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4128 (tramp-get-inode, tramp-get-device): Use cached values.
4129
487915d7
AM
41302012-02-26 Alan Mackenzie <acm@muc.de>
4131
4132 Check there is a font-lock specification before doing initial
4133 fontification.
4134
4135 * font-core.el (font-lock-mode): Move the conditional from
4136 :after-hook to font-lock-initial-fontify.
4137 (font-lock-default-function): Move the check for a specification
4138 to font-lock-spec-present.
4139
dc9924b8 4140 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4141 (font-lock-spec-present): New function.
4142
4fd96557
JB
41432012-02-26 Jim Blandy <jimb@red-bean.com>
4144
4145 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4146 (gdb-send): Apply it to the operand of the '-interpreter-exec
4147 console' command, so that we can pass arguments with (say) quotes
4148 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4149
9a4888c0
CY
41502012-02-26 Chong Yidong <cyd@gnu.org>
4151
07498861
CY
4152 * help-fns.el (describe-function-1): Clarify description of
4153 remapping (Bug#10844).
4154
9a4888c0
CY
4155 * files.el (files-equal-p): Doc fix.
4156 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4157 and quit the loop once a mismatch is found.
4158
ea8fb88d
JB
41592012-02-25 Juanma Barranquero <lekktu@gmail.com>
4160
4161 * bs.el (bs--show-with-configuration): Don't throw an error
4162 if the window cannot be split; otherwise, subsequent calls to
4163 bs-show fail, restoring a stale window config. (Bug#10882)
4164
525795c1
JD
41652012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4166
4167 * term/ns-win.el (global-map): Bind ns-drag-file to
4168 ns-find-file (Bug#5855, Bug#10050).
4169
f008086f
AS
41702012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4171
4172 * calendar/parse-time.el (parse-time-string): Allow extractor to
4173 return nil.
4174
a3fcfa99
MA
41752012-02-25 Michael Albinus <michael.albinus@gmx.de>
4176
91027d08
JB
4177 * net/tramp.el (tramp-file-name-for-operation):
4178 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4179
4180 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4181 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4182 Add COPY-CONTENTS argument.
a3fcfa99 4183
67b0de11
CY
41842012-02-25 Chong Yidong <cyd@gnu.org>
4185
4186 Add custom groups for VC backends, for consistency with vc-bzr.
4187
4188 * vc/vc-arch.el (vc-arch):
4189 * vc/vc-cvs.el (vc-cvs):
4190 * vc/vc-git.el (vc-git):
4191 * vc/vc-hg.el (vc-hg):
4192 * vc/vc-mtn.el (vc-mtn):
4193 * vc/vc-rcs.el (vc-rcs):
4194 * vc/vc-sccs.el (vc-sccs):
4195 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4196 All relevant defcustoms reassigned.
4197
3c9dfce6
CY
41982012-02-25 Chong Yidong <cyd@gnu.org>
4199
1339bf43
CY
4200 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4201
3c9dfce6
CY
4202 * term/x-win.el (x-initialize-window-system): Reduce default for
4203 x-selection-timeout to 5 seconds (Bug#8869).
4204
25b2e303 42052012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4206
ec70a47d
GM
4207 * files.el (files-equal-p, file-subdir-of-p): New functions.
4208 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4209 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4210 * dired-aux.el (dired-copy-file-recursive): Same.
4211 (dired-create-files): Modify destination when source is equal to
4212 dest when copying files.
53a46cd0 4213 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4214
914260cd
MA
42152012-02-24 Michael Albinus <michael.albinus@gmx.de>
4216
4217 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4218 (Bug#10874)
4219
2cb228f7
AM
42202012-02-23 Alan Mackenzie <acm@muc.de>
4221
4222 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4223 parameter "after-hook:" to allow the expansion to run code after
4224 the execution of the mode hooks.
4225
4226 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4227 from font-lock-mode-internal.
2cb228f7 4228
91027d08 4229 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4230 :after-hook.
4231
8f0fde21
SM
42322012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4233
3e88618b
SM
4234 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4235 (completion--cache-all-sorted-completions): New function.
4236 (completion-all-sorted-completions): Use it.
4237 (completion--do-completion, minibuffer-force-complete):
4238 Use it to re-instate the flush hook.
4239
8f0fde21
SM
4240 * icomplete.el (icomplete-completions): Replace last fix with a better
4241 one (bug#10850).
4242
8e911f6f
DG
42432012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4244
4245 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4246 when it might call us back infinitely (bug#10797).
4247
49fe4321
GM
42482012-02-23 Glenn Morris <rgm@gnu.org>
4249
4250 * minibuffer.el (completion-category-overrides): Doc fix.
4251
b291b572
SM
42522012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4255 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4256
31a9ef2e
GM
42572012-02-23 Glenn Morris <rgm@gnu.org>
4258
5e6e6794 4259 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4260 (authors-obsolete-files-regexps, authors-ignored-files)
4261 (authors-ambiguous-files, authors-renamed-files-alist):
4262 Add more entries.
4263
0bd1e074
JL
42642012-02-23 Juri Linkov <juri@jurta.org>
4265
4266 * isearch.el (isearch-occur): Sync interactive spec with occur's
4267 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4268
b617673c
JL
4269 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4270
19e9789e
JL
42712012-02-22 Juri Linkov <juri@jurta.org>
4272
4273 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4274 (ucs-insert): Doc fix. Check for hex digits in the string.
4275 Don't display `nil' in the error message. (Bug#10857)
4276
f41ce09d
AM
42772012-02-22 Alan Mackenzie <acm@muc.de>
4278
7a71b18d 4279 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4280
ac2eceee
GM
42812012-02-22 Glenn Morris <rgm@gnu.org>
4282
4283 * ffap.el (ffap-c-path):
4284 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4285
abd1f678
CY
42862012-02-22 Chong Yidong <cyd@gnu.org>
4287
4288 * custom.el (load-theme): Doc fix.
4289
f25aef2e
GM
42902012-02-22 Glenn Morris <rgm@gnu.org>
4291
4292 * dired-x.el (dired-guess-shell-alist-default):
4293 Remove escape sequences from nroff output. (Bug#172)
4294
5f8dc2ca
GM
42952012-02-21 Glenn Morris <rgm@gnu.org>
4296
6ff86ec4
GM
4297 * vc/emerge.el (emerge-defvar-local):
4298 Set `permanent-local' property rather than unused `preserved'.
4299
be3223a3 4300 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4301 (picture-mode-map): Use it. (Bug#10860)
4302 (picture-mode): Doc fix.
4303
3fe58f4f
JB
43042012-02-21 Juanma Barranquero <lekktu@gmail.com>
4305
4306 * newcomment.el (uncomment-region-default): Remove unused binding.
4307
f9a998c3
GM
43082012-02-21 Glenn Morris <rgm@gnu.org>
4309
4310 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4311 (picture-self-insert, picture-tab-chars): Doc fix.
4312 (picture-mode-map): Fix C-a, C-e.
4313
c6029348
GM
43142012-02-20 Glenn Morris <rgm@gnu.org>
4315
4316 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4317
ab1ce9d7
LL
43182012-02-20 Leo Liu <sdl.web@gmail.com>
4319
4320 * icomplete.el (icomplete-completions): Check FROM arg before
4321 passing to substring (Bug#10850).
4322
0fd40f89
CY
43232012-02-19 Chong Yidong <cyd@gnu.org>
4324
4325 * comint.el: Require ansi-color.
4326 (comint-output-filter-functions): Add ansi-color-process-output.
4327
4328 * ansi-color.el: Don't set comint-output-filter-functions; it is
4329 now in the initial value defined in comint.el.
4330 (ansi-color-apply-face-function): New variable.
4331 (ansi-color-apply-on-region): Use it.
4332 (ansi-color-apply-overlay-face): New function.
4333
4334 * shell.el (shell): No need to require ansi-color.
4335 (shell-mode): Use ansi-color-apply-face-function to highlight
4336 color escapes using font-lock-face property (Bug#10835).
4337
20af2394
CY
43382012-02-19 Chong Yidong <cyd@gnu.org>
4339
4340 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4341 mode-line formats (Bug#10839).
4342
e23a3fbe
GM
43432012-02-18 Glenn Morris <rgm@gnu.org>
4344
b474519e
GM
4345 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4346
4347 * mail/undigest.el (unforward-rmail-message): Doc fix.
4348
e23a3fbe
GM
4349 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4350
57939ff4
EZ
43512012-02-18 Eli Zaretskii <eliz@gnu.org>
4352
4353 * international/characters.el (script-list): Sync with the latest
4354 Unicode Character Database.
4355
0c23686e
AS
43562012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4357
4358 * international/titdic-cnv.el: Remove duplicate coding tag.
4359 * language/cham.el: Likewise.
4360 * language/tai-viet.el: Likewise.
4361
6818b449
GM
43622012-02-18 Glenn Morris <rgm@gnu.org>
4363
4364 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4365 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4366 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4367 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4368 * calendar/holidays.el (holiday-bahai-holidays)
4369 (calendar-holidays, list-holidays):
4370 Use utf-8 Bahá'í in doc-strings, menus, etc.
4371
0311a3fc
TH
43722012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4373
4374 * saveplace.el (save-place-ignore-files-regexp): New variable
4375 allowing for excluding files from saving their location of point.
4376 The default value matches the temporary commit message editing
4377 files from Git, SVN, Bazaar, and Mercurial.
4378 (save-place-to-alist): Use it.
4379
eb864a71
LM
43802012-02-17 Lawrence Mitchell <wence@gmx.li>
4381 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * newcomment.el (uncomment-region-default): Don't leave extra space
4384 when an arg is provided (bug#8150).
4385
ee0ce425
TZ
43862012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4387
eb864a71 4388 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4389
95ddf442
GM
43902012-02-17 Glenn Morris <rgm@gnu.org>
4391
4392 * net/socks.el: Require network-stream. (Bug#10599)
4393
48dd1e39 43942012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4395
4396 * international/charprop.el:
4397 * international/uni-name.el:
4398 * international/uni-old-name.el:
4399 * international/uni-comment.el: Regenerate.
4400
d68cd087
GM
44012012-02-16 Glenn Morris <rgm@gnu.org>
4402
4403 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4404 Interactively in calendar buffer, give an error if not on a date.
4405
13932042
GM
44062012-02-15 Glenn Morris <rgm@gnu.org>
4407
4408 * shell.el (shell-delimiter-argument-list):
4409 Revert 2011-02-17 change. (Bug#8027)
4410
c3a70e2b
CY
44112012-02-15 Chong Yidong <cyd@gnu.org>
4412
60236b0d
CY
4413 * minibuffer.el (completion-at-point-functions): Doc fix.
4414
c3a70e2b
CY
4415 * custom.el (defcustom): Doc fix; note use of defvar.
4416
9f26dc24
GM
44172012-02-15 Glenn Morris <rgm@gnu.org>
4418
4419 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4420 Doc fixes.
4421
6546b134
GM
44222012-02-14 Glenn Morris <rgm@gnu.org>
4423
4424 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4425
d29b2b4c
LI
44262012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4427
4428 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4429 way the ports list is computed.
835bdcba
LI
4430 (smtpmail-query-smtp-server): Prompt the user for a port number if
4431 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4432
08dcdbc9
TZ
44332012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4434
4435 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4436
2605051a
GM
44372012-02-13 Glenn Morris <rgm@gnu.org>
4438
4439 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4440
7ee99f32
TZ
44412012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4442
4443 * net/gnutls.el (gnutls-trustfiles): New variable.
4444 (gnutls-negotiate): Use it.
4445
5f0af64f
LI
44462012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4447
4448 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4449 does its stuff if Gnus is running.
4450
c14fcc95
AM
44512012-02-13 Alan Mackenzie <acm@muc.de>
4452
4453 Fix a loop in c-set-fl-decl-start.
4454
7a71b18d 4455 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4456 c-backward-syntactic-ws actually moves backwards.
4457
142b4d90
LL
44582012-02-13 Leo Liu <sdl.web@gmail.com>
4459
4460 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4461 beginning so that all \C-o chars are removed.
4462
fa9958a6
TZ
44632012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4464
dc9924b8 4465 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4466
0bc5886a
AM
44672012-02-12 Alan Mackenzie <acm@muc.de>
4468
4469 Fix infinite loop with long macros.
4d6769e1 4470 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4471
d4bd55e7
CY
44722012-02-12 Chong Yidong <cyd@gnu.org>
4473
4474 * window.el (display-buffer): Doc fix (Bug#10785).
4475
66f3fe22
GM
44762012-02-12 Glenn Morris <rgm@gnu.org>
4477
bd7da63e
GM
4478 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4479 (x-disown-selection-internal, x-get-selection-internal):
4480 Sync docs with the xselect.c versions.
4481
66f3fe22
GM
4482 * allout-widgets.el: Add missing license notice.
4483
3e0d2fa7
GM
44842012-02-11 Glenn Morris <rgm@gnu.org>
4485
cfecdf09
GM
4486 * select.el (x-get-selection-internal, x-own-selection-internal)
4487 (x-disown-selection-internal):
4488 * x-dnd.el (x-get-selection-internal): Update declarations.
4489
6d216d7f
GM
4490 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4491
2bed3f04
GM
4492 * window.el (window-sides-slots):
4493 * tool-bar.el (tool-bar-position):
4494 * term/xterm.el (xterm-extra-capabilities):
4495 * ses.el (ses-self-reference-early-detection):
4496 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4497 (verilog-auto-wire-type)
4498 (verilog-auto-delete-trailing-whitespace)
4499 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4500 (verilog-auto-tieoff-declaration):
4501 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4502 (sql-oracle-statement-starters, sql-oracle-scan-on):
4503 * progmodes/prolog.el (prolog-align-comments-flag)
4504 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4505 (prolog-left-indent-regexp, prolog-paren-indent-p)
4506 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4507 (prolog-types, prolog-mode-specificators)
4508 (prolog-determinism-specificators, prolog-directives)
4509 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4510 (prolog-electric-dot-flag)
4511 (prolog-electric-dot-full-predicate-template)
4512 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4513 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4514 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4515 (prolog-program-switches, prolog-prompt-regexp)
4516 (prolog-debug-on-string, prolog-debug-off-string)
4517 (prolog-trace-on-string, prolog-trace-off-string)
4518 (prolog-zip-on-string, prolog-zip-off-string)
4519 (prolog-use-standard-consult-compile-method-flag)
4520 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4521 (prolog-imenu-max-lines, prolog-info-predicate-index)
4522 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4523 (prolog-char-quote-workaround):
4524 * progmodes/cc-vars.el (c-defun-tactic):
4525 * net/tramp.el (tramp-encoding-command-interactive)
4526 (tramp-local-end-of-line):
4527 * net/soap-client.el (soap-client):
4528 * net/netrc.el (netrc-file):
4529 * net/gnutls.el (gnutls):
4530 * minibuffer.el (completion-category-overrides)
4531 (completion-cycle-threshold)
4532 (completion-pcm-complete-word-inserts-delimiters):
4533 * man.el (Man-name-local-regexp):
4534 * mail/feedmail.el (feedmail-display-full-frame):
4535 * international/characters.el (glyphless-char-display-control):
4536 * eshell/em-ls.el (eshell-ls-date-format):
4537 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4538 (lisp-lambda-list-keyword-parameter-indentation)
4539 (lisp-lambda-list-keyword-parameter-alignment):
4540 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4541 * dired-x.el (dired-omit-verbose):
4542 * cus-theme.el (custom-theme-allow-multiple-selections):
4543 * calc/calc.el (calc-highlight-selections-with-faces)
4544 (calc-lu-field-reference, calc-lu-power-reference)
4545 (calc-note-threshold):
4546 * battery.el (battery-mode-line-limit):
4547 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4548 (archive-7z-update):
4549 * allout.el (allout-prefixed-keybindings)
4550 (allout-unprefixed-keybindings)
4551 (allout-inhibit-auto-fill-on-headline)
4552 (allout-flattened-numbering-abbreviation):
4553 * allout-widgets.el (allout-widgets-auto-activation)
4554 (allout-widgets-icons-dark-subdir)
4555 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4556 (allout-widgets-theme-dark-background)
4557 (allout-widgets-theme-light-background)
4558 (allout-widgets-item-image-properties-emacs)
4559 (allout-widgets-item-image-properties-xemacs)
4560 (allout-widgets-run-unit-tests-on-load)
4561 (allout-widgets-time-decoration-activity)
4562 (allout-widgets-hook-error-post-time)
4563 (allout-widgets-track-decoration):
4564 Add missing :version tags to new defcustoms and defgroups.
4565
5fec1b8e
GM
4566 * progmodes/sql.el (sql-ansi-statement-starters)
4567 (sql-oracle-statement-starters): Add custom type.
4568
3e0d2fa7
GM
4569 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4570 (prolog-system-version): Give it a type.
4571
90b671e2
EZ
45722012-02-11 Eli Zaretskii <eliz@gnu.org>
4573
4574 * term/pc-win.el (x-select-text, x-selection-owner-p)
4575 (x-own-selection-internal, x-disown-selection-internal)
4576 (x-get-selection-internal): Sync doc strings and argument lists
4577 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4578
5eac0c02
LL
45792012-02-11 Leo Liu <sdl.web@gmail.com>
4580
4581 * progmodes/python.el (python-end-of-statement): Fix infinite
4582 loop. (Bug#10788)
4583
f82cb659
GM
45842012-02-10 Glenn Morris <rgm@gnu.org>
4585
4586 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4587 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4588
cc26d239
LI
45892012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4590
4591 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4592 about SMTP before checking the From header.
4593
91027d08 4594 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4595 into own function for reuse by emacsbug.el.
4596
1be3ca5a
LL
45972012-02-10 Leo Liu <sdl.web@gmail.com>
4598
4599 * subr.el (condition-case-unless-debug): Rename from
4600 condition-case-no-debug. All callers changed.
4601 (with-demoted-errors): Fix caller.
4602
4603 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4604 * nxml/rng-valid.el (rng-do-some-validation):
4605 * emacs-lisp/package.el (package-refresh-contents)
4606 (package-menu-execute):
4607 * desktop.el (desktop-create-buffer):
91027d08 4608 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4609
b011fbfe
GM
46102012-02-10 Glenn Morris <rgm@gnu.org>
4611
b2096d72
GM
4612 * textmodes/bibtex.el:
4613 Add missing :version tags for new/changed defcustoms.
4614
b011fbfe
GM
4615 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4616
4c7e65bf
LI
46172012-02-09 Lars Ingebrigtsen <larsi@rusty>
4618
4619 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4620 (smtpmail-via-smtp): Use it, or fall back on the From address.
4621 (smtpmail-send-it): Ditto.
4622
f3934f6f
SM
46232012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4626 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4627 (byte-compile-tmp-var): New const.
4628 (byte-compile-defvar): Use it to minimize .elc size.
4629 Just use `defvar' rather than simulate it (bug#10761).
4630
a075a2c5
GM
46312012-02-09 Glenn Morris <rgm@gnu.org>
4632
cf3aa21b
GM
4633 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4634
354998cd
GM
4635 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4636 Add :version tags.
4637
dc9924b8
SM
4638 * progmodes/compile.el (compilation-error-screen-columns)
4639 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4640
dab3703d
GM
4641 * vc/log-view.el (log-view-toggle-entry-display):
4642 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4643
3f88cd72
GM
4644 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4645 (report-emacs-bug-can-use-xdg-email):
4646 (report-emacs-bug-insert-to-mailer): Doc fixes.
4647 (report-emacs-bug): Message fix.
4648
d95b247d
GM
4649 * net/browse-url.el (browse-url-can-use-xdg-open)
4650 (browse-url-xdg-open): Doc fixes.
4651
a075a2c5
GM
4652 * electric.el (electric-indent-mode, electric-pair-mode)
4653 (electric-layout-rules, electric-layout-mode): Doc fixes.
4654 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4655
ffb6157e
MR
46562012-02-08 Martin Rudalics <rudalics@gmx.at>
4657
4658 * server.el (server-unselect-display): Don't inadvertently kill
4659 the current buffer. (Bug#10729)
4660
e1ac4066
GM
46612012-02-08 Glenn Morris <rgm@gnu.org>
4662
34e8a2da
GM
4663 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4664 (sql-list-table): Doc fixes.
4665
b4ac6e8c
GM
4666 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4667 Comment out (does nothing).
4668
e1ac4066
GM
4669 * completion.el (dynamic-completion-mode):
4670 * dirtrack.el (dirtrack-debug-mode):
4671 * electric.el (electric-layout-mode):
4672 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4673 * face-remap.el (text-scale-mode, buffer-face-mode):
4674 * iimage.el (iimage-mode):
4675 * image-mode.el (image-transform-mode):
4676 * minibuffer.el (completion-in-region-mode):
4677 * scroll-lock.el (scroll-lock-mode):
4678 * simple.el (next-error-follow-minor-mode):
4679 * tar-mode.el (tar-subfile-mode):
4680 * tooltip.el (tooltip-mode):
4681 * vcursor.el (vcursor-use-vcursor-map):
4682 * wid-browse.el (widget-minor-mode):
4683 * emulation/tpu-edt.el (tpu-edt-mode):
4684 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4685 * international/iso-ascii.el (iso-ascii-mode):
4686 * language/thai-util.el (thai-word-mode):
4687 * mail/supercite.el (sc-minor-mode):
4688 * net/goto-addr.el (goto-address-mode):
4689 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4690 * progmodes/cwarn.el (cwarn-mode):
4691 * progmodes/flymake.el (flymake-mode):
4692 * progmodes/glasses.el (glasses-mode):
4693 * progmodes/hideshow.el (hs-minor-mode):
4694 * progmodes/pascal.el (pascal-outline-mode):
4695 * textmodes/enriched.el (enriched-mode):
4696 * vc/smerge-mode.el (smerge-mode):
4697 Doc fixes (minor mode argument).
4698
5e0d957f
EZ
46992012-02-07 Eli Zaretskii <eliz@gnu.org>
4700
4701 * ls-lisp.el (ls-lisp-sanitize): New function.
4702 (ls-lisp-insert-directory): Use it to fix or remove any elements
4703 in file-alist with missing attributes. (Bug#4673)
4704
98d7371e
AM
47052012-02-07 Alan Mackenzie <acm@muc.de>
4706
4707 Fix spurious recognition of c-in-knr-argdecl.
4708
4709 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4710 putative K&R region.
4711
667ced3a
AM
47122012-02-07 Alan Mackenzie <acm@muc.de>
4713
eb864a71
LM
4714 * progmodes/cc-engine.el (c-forward-objc-directive):
4715 Prevent looping in "#pragma mark @implementation".
667ced3a 4716
5b77774d
MA
47172012-02-07 Michael Albinus <michael.albinus@gmx.de>
4718
4719 * notifications.el (notifications-on-closed-signal): Make `reason'
4720 optional. (Bug#10744)
4721
af008560
GM
47222012-02-07 Glenn Morris <rgm@gnu.org>
4723
60d47423
GM
4724 * emacs-lisp/easy-mmode.el (define-minor-mode):
4725 Doc fixes for the macro and the mode it defines.
4726
dd605cc4
GM
4727 * image.el (imagemagick-types-inhibit): Doc fix.
4728
af008560
GM
4729 * cus-start.el (imagemagick-render-type): Add it.
4730
5cc59a37
LI
47312012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4732
4d6769e1
JB
4733 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4734 Set the default at load time, too, so that `font-lock-fontify-buffer'
4735 can be called without setting up the entire mode first. This fixes
4736 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4737
9a6dd747
CY
47382012-02-06 Chong Yidong <cyd@gnu.org>
4739
2d16b285
CY
4740 * simple.el (list-processes--refresh): Delete exited processes
4741 (Bug#8094).
4742
171e9b6e
CY
4743 * comint.el (comint-next-prompt): next-single-char-property-change
4744 and prev-single-char-property-change never return nil (Bug#8657).
4745
9a6dd747
CY
4746 * custom.el (defcustom): Doc fix (Bug#9711).
4747
aa4589a7
CY
47482012-02-05 Chong Yidong <cyd@gnu.org>
4749
5c2a252f
CY
4750 * cus-edit.el (custom-variable-reset-backup): Quote the value
4751 before storing it in the customized-value property (Bug#6712).
4aab9006 4752 (custom-display): Add a customization type tag.
983b9602 4753 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4754
aa4589a7
CY
4755 * wid-edit.el (widget-field-value-get): New optional arg to
4756 suppress trailing whitespace truncation.
4757 (character): Use it (Bug#2689).
4758
1ff980ae
AS
47592012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4760
4761 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4762 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4763
03988c98
CY
47642012-02-05 Chong Yidong <cyd@gnu.org>
4765
eeb6cc88
CY
4766 * cus-edit.el (custom-variable-value-create): For mismatched
4767 types, show the current value (Bug#7600).
4768
03988c98
CY
4769 * custom.el (defcustom): Doc fix.
4770
f8cdeef0
GM
47712012-02-05 Glenn Morris <rgm@gnu.org>
4772
4773 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4774
0696d255
JB
47752012-02-05 Juanma Barranquero <lekktu@gmail.com>
4776
4777 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4778 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4779 (pp-last-sexp): Use `looking-at-p'.
4780
34c99998
GM
47812012-02-04 Glenn Morris <rgm@gnu.org>
4782
8f05da42
GM
4783 * files.el (revert-buffer):
4784 Doc fix (mention revert-buffer-in-progress-p).
4785
f160676e
GM
4786 * emacs-lisp/ert-x.el (ert-simulate-command):
4787 Check deferred-action-list (which is obsolete) is bound.
4788
c7291ad9
GM
4789 * subr.el (with-wrapper-hook): Doc fixes.
4790
34c99998
GM
4791 * simple.el (filter-buffer-substring-functions)
4792 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4793
6283a7d3
LL
47942012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4795
4796 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4797 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4798
e96e3013
LL
47992012-02-04 Leo Liu <sdl.web@gmail.com>
4800
4801 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4802
8ded50f2
GM
48032012-02-04 Glenn Morris <rgm@gnu.org>
4804
82ff1d13
GM
4805 * image.el (image-extension-data): Add obsolete alias.
4806
987a0a16
GM
4807 * isearch.el (isearch-update): Doc fix.
4808
ea32ef46
GM
4809 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4810
8ded50f2
GM
4811 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4812
eea14f31
GM
48132012-02-03 Glenn Morris <rgm@gnu.org>
4814
4815 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4816 (image-animate-timeout): Doc fix.
4817
4818 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4819
12f381b7
GM
48202012-02-02 Glenn Morris <rgm@gnu.org>
4821
953cebf5
GM
4822 * server.el (server-auth-dir): Doc fix.
4823 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4824
12f381b7
GM
4825 * subr.el (run-mode-hooks): Doc fix.
4826
953a8c3b
JL
48272012-02-02 Juri Linkov <juri@jurta.org>
4828
4829 * image-mode.el (image-toggle-display-image): Remove tautological
4830 `major-mode' from the `derived-mode-p' test.
4831
c5d3843c
KH
48322012-02-02 Kenichi Handa <handa@m17n.org>
4833
9f6e692e 4834 * composite.el (compose-region): Cancel previous change.
c5d3843c 4835
159462d4 48362012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4837
4838 * composite.el (compose-region, compose-string): Signal error for
4839 a null string component (Bug#6988).
4840
9f562668
CY
48412012-02-01 Chong Yidong <cyd@gnu.org>
4842
e2cef717
CY
4843 * view.el (view-buffer-other-window, view-buffer-other-frame):
4844 Handle special modes like view-buffer (Bug#10650).
4845 (view-buffer): Simplify.
4846
9f562668
CY
4847 * frame.el (set-frame-font): Tweak meaning of third argument.
4848
9f6e692e
JB
4849 * dynamic-setting.el (font-setting-change-default-font):
4850 Use set-frame-font (Bug#9982).
9f562668 4851
781acb9f
GM
48522012-02-01 Glenn Morris <rgm@gnu.org>
4853
6035be52
GM
4854 * progmodes/compile.el (compilation-internal-error-properties):
4855 Respect compilation-first-column in the "*compilation*" buffer.
4856
781acb9f
GM
4857 * emacs-lisp/easy-mmode.el (define-minor-mode):
4858 Relax :variable's test for a named function.
4859
abbceb00
AM
48602012-01-31 Alan Mackenzie <acm@muc.de>
4861
4862 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4863 off by one error.
4864
fce3fdeb
CY
48652012-01-31 Chong Yidong <cyd@gnu.org>
4866
4867 * frame.el (set-frame-font): New arg ALL-FRAMES.
4868
4869 * menu-bar.el (menu-set-font): Use set-frame-font.
4870
4871 * faces.el (face-spec-reset-face): Don't apply unspecified
4872 attribute values to the default face.
4873
47893581
JB
48742012-01-31 Juanma Barranquero <lekktu@gmail.com>
4875
4876 * progmodes/cwarn.el (cwarn): Remove dead link.
4877 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4878 Remove * from defcustom docstrings.
4879 (turn-on-cwarn-mode): Make obsolete.
4880 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4881 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4882
e58e988a
GM
48832012-01-31 Glenn Morris <rgm@gnu.org>
4884
60dc2671 4885 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4886 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4887 Allow named functions to be used as the cdr of :variable.
e58e988a 4888
7a3f511d
GM
48892012-01-30 Glenn Morris <rgm@gnu.org>
4890
4891 * emacs-lisp/authors.el (authors-fixed-entries):
4892 Remove reference to deleted file rnewspost.el.
4893
cb882333
JB
48942012-01-29 Juanma Barranquero <lekktu@gmail.com>
4895
4896 * window.el (window-with-parameter): Remove unused variable `windows'.
4897 (window--side-check): Remove unused variable `code'.
4898 (window--resize-siblings): Remove unused variable `first'.
4899 (adjust-window-trailing-edge): Remove unused variable `failed'.
4900 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4901 Use `let', not `let*'.
4902 (balance-windows-2): Remove unused variable `found'.
4903 (window--state-put-2): Remove unused variable `splits'.
4904 (window-state-put): Remove unused variable `selected'.
4905 (same-window-p): Use `string-match-p'.
4906 (display-buffer-assq-regexp): Remove unused variable `value'.
4907 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4908 Mark argument ALIST as ignored.
4909 (pop-to-buffer): Remove unused variable `old-window'.
4910
907201af
EZ
49112012-01-29 Eli Zaretskii <eliz@gnu.org>
4912
4913 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4914 and .lzma compressed files.
4915
ea162670
CY
49162012-01-29 Chong Yidong <cyd@gnu.org>
4917
5b95ee8a
CY
4918 * frame.el (window-system-default-frame-alist): Doc fix.
4919
ea162670
CY
4920 * dynamic-setting.el (font-setting-change-default-font): Don't
4921 change the default face if SET-FONT argument is non-nil (Bug#9982).
4922
d6e6f4b1
SB
49232012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4924
4925 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4926
0f29fa41 49272012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4928
4929 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4930 breakpoints in files outside current directory (Bug#6098).
4931
db174434
CY
49322012-01-29 Chong Yidong <cyd@gnu.org>
4933
6b25e4e2
SE
4934 * progmodes/python.el: Require ansi-color at top-level.
4935
6df6ae42
JB
4936 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4937 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4938 (lisp-mode-abbrev-table): Add doc.
4939 (lisp-mode-variables): Don't set local-abbrev-table.
4940 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4941
e70ee681
RW
49422012-01-28 Roland Winkler <winkler@gnu.org>
4943
4944 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4945
ace88aa2
RW
49462012-01-28 Roland Winkler <winkler@gnu.org>
4947
4948 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4949 (bibtex-set-dialect): Use it. Either set global values of
4950 dialect-dependent variables or bind these variables buffer-locally
4951 (Bug#10254).
4952 (bibtex-mode): Call bibtex-set-dialect via
4953 hack-local-variables-hook.
eb864a71
LM
4954 (bibtex-dialect): Update docstring.
4955 Add safe-local-variable predicate.
ace88aa2
RW
4956 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4957 bibtex-set-dialect.
4958 (bibtex-mode-map): Define menu for each dialect.
4959 (bibtex-entry): Fix docstring.
4960
93376c5b
CY
49612012-01-28 Chong Yidong <cyd@gnu.org>
4962
4963 * eshell/esh-arg.el (eshell-quote-argument): New function.
4964
4965 * eshell/esh-ext.el (eshell-invoke-batch-file):
4966 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4967 first arg to eshell-parse-command (Bug#10523).
4968
4372494f
DA
49692012-01-28 Drew Adams <drew.adams@oracle.com>
4970
4971 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4972 `default-directory' is non-nil.
4973
4d4ec1f8
EZ
49742012-01-28 Eli Zaretskii <eliz@gnu.org>
4975
4976 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4977 line that displays system-configuration-options. (Bug#9924)
4978
7c188927
DA
49792012-01-28 Drew Adams <drew.adams@oracle.com>
4980
4981 * descr-text.el (describe-char): Show information about POS, in
4982 addition to information about the character at POS. Improve and
4983 update the doc string. Change "code point" to "code point in
4984 charset", to avoid confusion with the character's Unicode code
4985 point shown above that. (Bug#10129)
4986
e0da685a
EZ
49872012-01-28 Eli Zaretskii <eliz@gnu.org>
4988
4989 * descr-text.el (describe-char): Show the raw character, not only
4990 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4991 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4992 for the reasons.
4993
70550acf
PH
49942012-01-28 Phil Hagelberg <phil@hagelb.org>
4995
eb864a71
LM
4996 * emacs-lisp/package.el (package-install):
4997 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4998
0ce8e868
CY
49992012-01-28 Chong Yidong <cyd@gnu.org>
5000
cb882333
JB
5001 * emacs-lisp/package.el (package-maybe-load-descriptor):
5002 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5003 (package-maybe-load-descriptor): Use it.
5004 (package-download-transaction): Fully load required packages
5005 inside the loop, so that `require' calls work (Bug#10593).
5006 (package-install): No need to call package-initialize now.
5007
2e7f3bea
CY
50082012-01-28 Chong Yidong <cyd@gnu.org>
5009
6e9bad14
CY
5010 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5011
f823b8ca
CY
5012 * tooltip.el (tooltip-mode): Doc fix.
5013 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5014
2680c309
CY
5015 * frame.el (set-cursor-color): Doc fix (Bug#352).
5016
d7a9e63b
CY
5017 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5018 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5019
2e7f3bea
CY
5020 * cus-edit.el (custom-buffer-create-internal): Fix search button
5021 action (Bug#10542).
2ae01800 5022 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5023
fc4f7a23
EW
50242012-01-27 Eduard Wiebe <usenet@pusto.de>
5025
5026 * dired.el (dired-mark-files-regexp):
5027 Include any subdirectory components. (Bug#10445)
5028
7dd37071
ML
50292012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5030
5031 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5032 Handle [host]:port syntax. (Bug#10533)
5033
a268160b
AH
50342012-01-27 Alex Harsanyi <harsanyi@mac.com>
5035
5036 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5037
e43273ef
GM
50382012-01-26 Glenn Morris <rgm@gnu.org>
5039
5040 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5041 * term.el (term-raw-escape-map): Use Control-X-prefix.
5042 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5043
1edf595d
MR
50442012-01-25 Martin Rudalics <rudalics@gmx.at>
5045
5046 * window.el (window-state-get, window--state-get-1): Don't deal
5047 with fixed-sizeness of windows. Simplify code.
5048
fa8eafef
JC
50492012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5050
6df6ae42
JB
5051 * window.el (window--state-get-1, window--state-put-2):
5052 Don't save and restore the mark.
fa8eafef 5053
0b21c100
CY
50542012-01-25 Chong Yidong <cyd@gnu.org>
5055
5056 * custom.el (custom-variable-p): Doc fix.
5057
5ae1a6c8
GM
50582012-01-25 Glenn Morris <rgm@gnu.org>
5059
40047858
GM
5060 * dired.el (dired-goto-file): Handle some of the more common
5061 characters that `ls -b' escapes. (Bug#10596)
5062
5ddce96c
GM
5063 * progmodes/compile.el (compilation-next-error-function):
5064 Respect compilation-first-column in the "*compilation*" buffer.
5065 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5066
5ae1a6c8
GM
5067 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5068
b559f1a9
GM
50692012-01-24 Glenn Morris <rgm@gnu.org>
5070
5071 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5072
6725d21a
JD
50732012-01-24 Julien Danjou <julien@danjou.info>
5074
5075 * color.el (color-rgb-to-hsl): Fix value computing.
5076 (color-hue-to-rgb): New function.
5077 (color-hsl-to-rgb): New function.
5078 (color-clamp, color-saturate-hsl, color-saturate-name)
5079 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5080 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5081
70df4bbe
GM
50822012-01-24 Glenn Morris <rgm@gnu.org>
5083
5084 * vc/vc-rcs.el (vc-rcs-create-tag):
5085 * vc/vc-sccs.el (vc-sccs-create-tag):
5086 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5087
802a2ae2
ML
50882012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5089
5090 * eshell/esh-util.el (eshell-read-hosts-file):
5091 Skip comment lines. (Bug#10549)
5092
d7128bb1
ML
5093 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5094
d1a5c3b4
JB
50952012-01-23 Juanma Barranquero <lekktu@gmail.com>
5096
2724d9c7
JB
5097 * subr.el (display-delayed-warnings): Doc fix.
5098 (collapse-delayed-warnings): New function to collapse identical
5099 adjacent warnings.
5100 (delayed-warnings-hook): Add it.
d1a5c3b4 5101
a5509865
MA
51022012-01-22 Michael Albinus <michael.albinus@gmx.de>
5103
5104 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5105
a5509865
MA
5106 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5107 (tramp-default-user-alist): Don't add "pscp".
5108 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5109 property "login-as", if set. (Bug#10530)
5110
cc6d5805
MA
51112012-01-21 Michael Albinus <michael.albinus@gmx.de>
5112
5113 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5114 "plink1" and "psftp". (Bug#10530)
5115
51162012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5117
5118 * international/mule-cmds.el (prefer-coding-system): Show a
5119 warning message if the default value of file-name-coding-system
5120 was not changed.
5121
f0960428
JC
51222012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5123
cb882333
JB
5124 * windmove.el (windmove-reference-loc):
5125 Fix windmove-reference-loc miscalculation.
f0960428 5126
dd6f2a63
JB
51272012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5128
5129 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5130 default unit.
5131
7b447e9b
GM
51322012-01-21 Glenn Morris <rgm@gnu.org>
5133
117a9ea1
GM
5134 * international/mule.el (auto-coding-alist): Add .tbz.
5135
7b447e9b
GM
5136 * files.el (local-enable-local-variables): Doc fix.
5137 (inhibit-local-variables-regexps): Rename from
5138 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5139 Doc fix. Add some extensions from auto-coding-alist.
5140 (inhibit-local-variables-suffixes):
5141 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5142 (inhibit-local-variables-p):
5143 New function, extracted from set-auto-mode-1.
5144 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5145 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5146 (hack-local-variables): Doc fix. Make the mode-only case
5147 respect enable-local-variables and friends.
5148 Respect inhibit-local-variables-regexps for file-locals, but
5149 not for directory-locals.
5150 (set-visited-file-name):
5151 Take account of inhibit-local-variables-regexps.
5152 Whether it applies may change as the file name is changed.
5153 * jka-cmpr-hook.el (jka-compr-install):
5154 * jka-compr.el (jka-compr-uninstall):
5155 Update for inhibit-first-line-modes-suffixes name change.
5156
dd6e3cdd
MR
51572012-01-20 Martin Rudalics <rudalics@gmx.at>
5158
5159 * help-macro.el (make-help-screen): Temporarily restore original
5160 binding for minor-mode-map-alist (Bug#10454).
5161
0d0deb38
JD
51622012-01-19 Julien Danjou <julien@danjou.info>
5163
5164 * color.el (color-name-to-rgb): Use the white color to find the max
5165 color component value and return correctly computed values.
5166 (color-name-to-rgb): Add missing float conversion for max value.
5167
34a02f46
MR
51682012-01-19 Martin Rudalics <rudalics@gmx.at>
5169
5170 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5171 special state value for window-persistent-parameters.
5172 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5173 (window--state-put-2): Reset all window parameters to nil before
5174 assigning values of persistent parameters.
5175
606c44c4
AM
51762012-01-18 Alan Mackenzie <acm@muc.de>
5177
5178 Eliminate sluggishness and hangs in fontification of "semicolon
5179 deserts".
5180
cb882333
JB
5181 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5182 Change value 10000 -> 3000.
606c44c4
AM
5183 (c-state-safe-place): Reformulate so it doesn't stack up an
5184 infinite number of wrong entries in c-state-nonlit-pos-cache.
5185 (c-determine-limit-get-base, c-determine-limit): New functions to
5186 determine backward search limits disregarding literals.
5187 (c-find-decl-spots): Amend commenting.
5188 (c-cheap-inside-bracelist-p): New function which detects "={".
5189
5190 * progmodes/cc-fonts.el
5191 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5192 backward search.
5193 (c-font-lock-declarations): Fix an occurrence of point being
5194 undefined. Check additionally for point being in a bracelist or
5195 near a macro invocation without a semicolon so as to avoid a
5196 fruitless time consuming search for a declarator. Give a more
5197 precise search limit for declarators using the new
5198 c-determine-limit.
5199
f3860cea
GM
52002012-01-18 Glenn Morris <rgm@gnu.org>
5201
5202 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5203 (set-auto-mode): Doc fixes.
5204
1db03b16
GM
52052012-01-17 Glenn Morris <rgm@gnu.org>
5206
0e6038be
GM
5207 * isearch.el (search-nonincremental-instead): Fix doc typo.
5208
1db03b16
GM
5209 * dired.el (dired-insert-directory): Handle newlines in directory name.
5210 (dired-build-subdir-alist): Unescape newlines in directory name.
5211
4cb0aa75
MA
52122012-01-17 Michael Albinus <michael.albinus@gmx.de>
5213
5214 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5215 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5216 (tramp-action-terminal): Use it. (Bug#10530)
5217
1d00653d
SM
52182012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5221
6a6ee00d
MR
52222012-01-16 Martin Rudalics <rudalics@gmx.at>
5223
5224 * window.el (window-state-ignored-parameters): Remove variable.
5225 (window--state-get-1): Rename argument MARKERS to IGNORE.
5226 Handle persistent window parameters. Make copy of clone-of
5227 parameter only if requested. (Bug#10348)
5228 (window--state-put-2): Install a window parameter only if it has
5229 a non-nil value or an existing parameter shall be overwritten.
5230
97912def
MA
52312012-01-15 Michael Albinus <michael.albinus@gmx.de>
5232
5233 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5234
688070a5
EZ
52352012-01-14 Eli Zaretskii <eliz@gnu.org>
5236
5237 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5238 don't pass the (nil) value of `upnode' to string-match.
5239
301afadc
CY
52402012-01-14 Chong Yidong <cyd@gnu.org>
5241
5242 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5243 Fix values recognized by the cursorBlink resource.
301afadc 5244
9e5788aa
PE
52452012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5246
5247 * epg.el (epg--make-temp-file): Avoid permission race condition
5248 when running on old Emacs versions (bug#10403).
5249
3cdb7f5a
GM
52502012-01-14 Glenn Morris <rgm@gnu.org>
5251
5252 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5253
8c82b1b4
AM
52542012-01-13 Alan Mackenzie <acm@muc.de>
5255
5256 Fix filling for when filladapt mode is enabled.
5257
5258 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5259 c-mask-paragraph, pass in `fill-paragraph' rather than
5260 `fill-region-as-paragraph'. (This is a reversion of a previous
5261 change.)
eb864a71
LM
5262 * progmodes/cc-mode.el (c-basic-common-init):
5263 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5264
e517eda4
GM
52652012-01-13 Glenn Morris <rgm@gnu.org>
5266
1498536e
GM
5267 * dired.el (dired-switches-escape-p): New function.
5268 (dired-insert-directory): Use dired-switches-escape-p.
5269 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5270
e517eda4
GM
5271 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5272
328f984d
GM
52732012-01-12 Glenn Morris <rgm@gnu.org>
5274
5275 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5276 changes in adaptive-fill-regexp. (Bug#10276)
5277
2cc769a8
AM
52782012-01-11 Alan Mackenzie <acm@muc.de>
5279
5280 Fix Emacs bug #10463 - put `widen's around the critical spots.
5281
1d00653d 5282 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5283 widen around each invocation of c-state-pp-to-literal. Remove an
5284 unused let variable.
5285
e52c37fa
GM
52862012-01-11 Glenn Morris <rgm@gnu.org>
5287
5288 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5289 Doc fix.
e52c37fa 5290
96f8741e
CY
52912012-01-10 Chong Yidong <cyd@gnu.org>
5292
1d00653d
SM
5293 * net/network-stream.el (network-stream-open-starttls):
5294 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5295 response to the capability command.
5296
b09a806e
GM
52972012-01-10 Glenn Morris <rgm@gnu.org>
5298
5299 * mail/unrmail.el (unrmail): Tweak previous change.
5300
7655cb66
CY
53012012-01-09 Chong Yidong <cyd@gnu.org>
5302
5303 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5304
9d5a8f0b
AM
53052012-01-08 Alan Mackenzie <acm@muc.de>
5306
5307 Optimise font locking in long enum definitions.
5308
5309 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5310 arm to a cond form to handle enums.
5311 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5312 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5313
9a0115ab 53142012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5315
5316 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5317 (Bug#10401)
6bb72cbd 5318
f186bb95
LMI
53192012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5320
29232a68
LMI
5321 * faces.el (set-face-attribute): Clarify the meaning of the nil
5322 frame (bug#10294).
5323
4e5d086d
LMI
5324 * subr.el (with-selected-frame): Mention that the selected frame
5325 is restored (bug#9980).
5326
8e66aebe
LMI
5327 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5328 (bug#9759).
5329
cd394be1 5330 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5331 (password-read): Don't autoload unused function.
5332
adf4e762
JB
53332012-01-07 Juanma Barranquero <lekktu@gmail.com>
5334
5335 * progmodes/which-func.el (which-func-mode): Turn into a
5336 non-interactive function and mark as obsolete (bug#10428).
5337
89bd9ccd
CY
53382012-01-06 Chong Yidong <cyd@gnu.org>
5339
5340 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5341 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5342 functions, along with 1 and -1.
5343
4afee9d5
EZ
53442012-01-06 Eli Zaretskii <eliz@gnu.org>
5345
5346 * time.el (display-time-load-average)
5347 (display-time-default-load-average): Doc fixes. See the thread
5348 starting at
5349 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5350 for the details.
5351
536aea70
GM
53522012-01-06 Glenn Morris <rgm@gnu.org>
5353
665ae865
GM
5354 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5355 has no messages. (Bug#10377)
5356
c869783d
GM
5357 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5358 than Info-edit. (Bug#10385)
5359
2bb4227e
GM
5360 * time.el (display-time-load-average, display-time-next-load-average):
5361 Doc fixes.
5362
7d5944b9
GM
5363 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5364 local setting of buffer-read-only to the input buffer. (Bug#10419)
5365
536aea70
GM
5366 * calendar/calendar.el (calendar-mode):
5367 Locally set scroll-margin to 0. (Bug#10379)
5368
7dccca16
UM
53692012-01-06 Ulrich Mueller <ulm@gentoo.org>
5370
5371 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5372
afbb7930
GM
53732012-01-05 Glenn Morris <rgm@gnu.org>
5374
5375 * eshell/em-unix.el (diff-no-select): Autoload it.
5376 (eshell/diff): Use diff-no-select. (Bug#10420)
5377
04482335
CY
53782012-01-05 Chong Yidong <cyd@gnu.org>
5379
7baca3bc
CY
5380 * shell.el (shell-dynamic-complete-functions): Revert last change.
5381 (shell-command-completion-function): New function.
5382 (shell-completion-vars): Use it to implement
5383 shell-completion-execonly (Bug#10417).
5384
04482335
CY
5385 * custom.el (enable-theme): Don't set custom-safe-themes.
5386
1d00653d
SM
5387 * cus-theme.el (custom-theme-merge-theme):
5388 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5389
bb5aa5d6
MM
53902012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5391
5392 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5393 first prompt in `sql-interacive-mode'.
5394 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5395 keywords.
6df6ae42 5396 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5397 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5398 context of original buffer. Invoke `sql-login-hook'.
5399
a7183d7c
EZ
54002012-01-04 Eli Zaretskii <eliz@gnu.org>
5401
5402 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5403 letters in cite-prefix.
5404
a1eacd1e
LMI
54052012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5406
5407 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5408
787cdb34
CY
54092012-01-03 Chong Yidong <cyd@gnu.org>
5410
1d00653d
SM
5411 * shell.el (shell-dynamic-complete-functions):
5412 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5413 comint-filename-completion first (Bug#10417).
5414
30710442
RS
54152012-01-02 Richard Stallman <rms@gnu.org>
5416
5417 * battery.el (battery-status-function):
5418 Detect when to use battery-yeeloong-sysfs.
5419 (battery-echo-area-format): Add string for Yeeloong.
5420 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5421 (battery-yeeloong-sysfs): New function.
5422
f75bfc33
CY
54232012-01-02 Chong Yidong <cyd@gnu.org>
5424
5425 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5426 (dirtrack): Merge code for handling relative filenames in prompt
5427 from shell-dir-cookie-watcher.
5428 (dirtrack-debug-message): New arg to avoid excess format calls.
5429
5430 * shell.el (shell-dir-cookie-re): Variable deleted.
5431 (shell-dir-cookie-watcher): Function deleted.
5432 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5433 with dirtrack-mode.
5434
651e947e
EZ
54352012-01-01 Eli Zaretskii <eliz@gnu.org>
5436
1d00653d
SM
5437 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5438 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5439 libgnutls-26.dll.
5440
94d4c7dc
AS
54412011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5442
5443 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5444
8d43f3cd
EZ
54452011-12-31 Eli Zaretskii <eliz@gnu.org>
5446
5447 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5448 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5449
98c8795a
MA
54502011-12-29 Michael Albinus <michael.albinus@gmx.de>
5451
5452 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5453 also for alternative shells.
5454 (tramp-open-connection-setup-interactive-shell): Check, whether
5455 the shell is a busybox.
5456 (tramp-send-command): Don't suppress multiple prompts for
5457 busyboxes, it hurts.
5458
51281b32
CY
54592011-12-28 Chong Yidong <cyd@gnu.org>
5460
5461 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5462 (gdb-get-source-file): Move mode line update to
5463 gdb-get-source-file (Bug#10087).
5464
2170cb53
CY
54652011-12-25 Chong Yidong <cyd@gnu.org>
5466
5467 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5468 gud-gdb-marker-filter without taking it as an argument.
5469 (gud-gdb-run-command-fetch-lines): Caller changed.
5470 (gud-gdb-completion-function): New variable.
5471 (gud-gdb-completion-at-point): Use it.
5472 (gud-gdb-completions-1): Split from gud-gdb-completions.
5473
5474 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5475 function as separate arguments.
5476 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5477 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5478 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5479 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5480 (gdb-stopped, def-gdb-auto-update-trigger)
5481 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5482 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5483 Callers changed.
2170cb53
CY
5484 (gud-gdbmi-completions): New function.
5485 (gdb): Use it for generating the completion table.
5486
be8b11bb
AM
54872011-12-24 Alan Mackenzie <acm@muc.de>
5488
5489 Introduce a mechanism to widen the region used in context font
1d00653d 5490 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5491
1d00653d
SM
5492 * progmodes/cc-langs.el (c-before-font-lock-functions):
5493 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5494 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5495 functions to be run just before context (etc.) font locking.
5496
5497 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5498 New, functionality extracted from
be8b11bb 5499 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5500 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5501 (c-after-change): Set c-in-after-change-fontification.
5502 (c-set-fl-decl-start): Rejig its interface, so it can be called
5503 from both after-change and context fontifying.
b81d40f0
JB
5504 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5505 New functions.
5506 (c-standard-font-lock-fontify-region-function): New variable.
5507 (c-font-lock-fontify-region): New function.
be8b11bb 5508
341cf6ac
JL
55092011-12-24 Juri Linkov <juri@jurta.org>
5510
5511 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5512 (Bug#10348)
5513
bffcee0a
MA
55142011-12-23 Michael Albinus <michael.albinus@gmx.de>
5515
5516 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5517 existence of source file. (Bug#10325)
5518
cb5e207c
AM
55192011-12-23 Alan Mackenzie <acm@muc.de>
5520
5521 Fix unstable fontification inside templates.
5522
b81d40f0
JB
5523 * progmodes/cc-langs.el (c-before-font-lock-functions):
5524 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5525 additionally has c-set-fl-decl-start. The other languages (apart
5526 from AWK) have that as a single entry.
5527
b81d40f0
JB
5528 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5529 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5530 c-set-fl-decl-start.
5531
b81d40f0
JB
5532 * progmodes/cc-mode.el (c-common-init, c-after-change):
5533 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5534 (c-set-fl-decl-start): New function, extracted from
5535 c-font-lock-enclosing-decls and enhanced.
5536
60ff536c
JB
55372011-12-23 Juanma Barranquero <lekktu@gmail.com>
5538
5539 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5540
1c4757d6
JL
55412011-12-22 Juri Linkov <juri@jurta.org>
5542
5543 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5544
d031f2c7
CY
55452011-12-22 Chong Yidong <cyd@gnu.org>
5546
5547 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5548
bace743a
DA
55492011-12-21 Drew Adams <drew.adams@oracle.com>
5550
5551 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5552
728a1f2b
JC
55532011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5554
5555 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5556
0d373f73
TZ
55572011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5558
fec0aaa4
TZ
5559 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5560 highlighting and support. Fix up comments for capitalization.
5561 (cfengine-mode-debug): New var.
5562 (cfengine3-mode): Change the modeline indicator to "CFE3".
5563 (cfengine3-font-lock-keywords): Improve defun highlighting.
5564 (cfengine2-actions): Rename from `cfengine-actions'.
5565 (cfengine2-font-lock-keywords): Rename from
5566 `cfengine-font-lock-keywords'.
5567 (cfengine2-imenu-expression): Rename from
5568 `cfengine-imenu-expression'.
5569 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5570 (cfengine2-beginning-of-defun): Rename from
5571 `cfengine-beginning-of-defun'.
5572 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5573 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5574 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5575 modeline indicator to "CFE2".
5576 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5577 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5578
bc86f573
CY
55792011-12-21 Chong Yidong <cyd@gnu.org>
5580
5581 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5582 filename argument.
5583
d45ba96b
MR
55842011-12-20 Martin Rudalics <rudalics@gmx.at>
5585
5586 * window.el (window-normalize-buffer-to-display): Remove.
5587 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5588
a6198c90
CY
55892011-12-19 Chong Yidong <cyd@gnu.org>
5590
5591 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5592 Don't signal an error in a predicate function; return non-nil.
5593 (vc-dir-mark-file): Move the error here.
5594 (vc-dir-mark-unmark): If acting on the region, keep going if one
5595 of the entries cannot be marked/unmarked.
5596 (vc-dir-mark-all-files): If current entry is a directory, mark
5597 only child files, as documented.
5598
34c5fb55
VB
55992011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5600
5601 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5602 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5603 addition.
5604
c803b2b7
JD
56052011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5606
5607 * term/ns-win.el (ns-get-selection-internal)
5608 (ns-store-selection-internal): Declare.
1154d12e
JB
5609 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5610 Declare as obsolete.
5611 (ns-get-pasteboard, ns-paste-secondary):
5612 Use ns-get-selection-internal.
5613 (ns-set-pasteboard, ns-copy-including-secondary):
5614 Use ns-store-selection-internal.
c803b2b7 5615
9cff91f8 56162011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5617
5618 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5619 (vc-deduce-fileset): Doc fix.
99a289d9 5620
f16c898a
AS
56212011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5622
5623 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5624
763237c4
SS
56252011-12-13 Sam Steingold <sds@gnu.org>
5626
5627 * man.el (Man-getpage-in-background): When running under a
5628 window-system, ignore $MANWIDTH and $COLUMNS.
5629
5fc1c122
KH
56302011-12-15 Kenichi Handa <handa@m17n.org>
5631
5632 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5633 (setup-ethiopic-environment-internal): Comment out key-binding for
5634 ethio-toggle-punctuation.
5635
13d49cbb
AM
56362011-12-13 Alan Mackenzie <acm@muc.de>
5637
898169a2
AM
5638 Add the switch statement to AWK Mode.
5639
7a71b18d 5640 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5641 "default" to the keywords regexp.
5642
7a71b18d 5643 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5644 expression as the rest.
1d00653d
SM
5645 (c-nonlabel-token-key): Allow string literals for AWK.
5646 Refactor for the other modes.
898169a2 5647
13d49cbb 5648 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5649 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5650 routines. Limit backward searching in c-font-lock-enclosing.decl.
5651
5652 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5653 pp-state and literal type in addition to the limits.
1d00653d 5654 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5655 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5656 (c-slow-in-literal, c-fast-in-literal): Remove.
5657 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5658
5659 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5660 being in a literal. Add a limit for backward searching.
5661
5662 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5663 c-slow-in-literal.
5664
15e0efc7
SM
56652011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5668
454592a6
MR
56692011-12-13 Martin Rudalics <rudalics@gmx.at>
5670
5671 * window.el (delete-other-windows): Use correct frame in call to
5672 window-with-parameter.
5673
87393f26
DP
56742011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5675
5676 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5677 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5678 (makefile-gmake-statements, makefile-makepp-statements):
5679 Use it and add new makepp keywords.
5680 (makefile-makepp-font-lock-keywords): Add new patterns.
5681 (makefile-match-function-end): Match new [...] and [[...]].
5682
11636b22
JB
56832011-12-11 Juanma Barranquero <lekktu@gmail.com>
5684
5685 * ses.el (ses-call-printer-return, ses-cell-property-get)
5686 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5687 (ses-create-cell-variable, ses-reset-header-string)
5688 (ses-cell-set-formula, ses-repair-cell-reference-all)
5689 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5690 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5691 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5692 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5693 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5694 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5695 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5696 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5697 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5698 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5699 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5700 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5701
cf018193
VB
57022011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5703
5704 * ses.el: The overall change is to add cell renaming, that is
5705 setting fancy names for cell symbols other than name matching
5706 "\\`[A-Z]+[0-9]+\\'" regexp .
5707 (ses-create-cell-variable): New defun.
5708 (ses-relocate-formula): Relocate formulas only for cells the
5709 symbols of which are not renamed, i.e. symbols whose names do not
5710 match regexp "\\`[A-Z]+[0-9]+\\'".
5711 (ses-relocate-all): Relocate values only for cells the symbols of
5712 which are not renamed.
5713 (ses-load): Create cells variables as the (ses-cell ...) are read,
5714 in order to check row col consistency with cell symbol name only
5715 for cells that are not renamed.
5716 (ses-replace-name-in-formula): New defun.
5717 (ses-rename-cell): New defun.
5718
ee957461
CY
57192011-12-11 Chong Yidong <cyd@gnu.org>
5720
5721 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5722 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5723
9a9e9ef0
MR
57242011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5725
5726 * window.el (other-window): Fix docstring.
5727
92a8eba5
EZ
57282011-12-10 Eli Zaretskii <eliz@gnu.org>
5729
5730 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5731 `from' or `to' address before taking its substring.
5732 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5733 encoded name is chopped in the middle of the encoded string, and
5734 thus displayed encoded.
5735
e152e577
JB
57362011-12-10 Juanma Barranquero <lekktu@gmail.com>
5737
5738 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5739
e5d84bfe
EZ
57402011-12-10 Eli Zaretskii <eliz@gnu.org>
5741
5742 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5743 to use texinfo-update-node and commands that call it if the
5744 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5745 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5746 (texinfo-all-menus-update, texinfo-master-menu)
5747 (texinfo-update-node, texinfo-every-node-update)
5748 (texinfo-multiple-files-update): Doc fix. Warn against updating
5749 all the @node lines.
5750 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5751 argument is numeric. Explain better in the doc string what the
5752 function really does.
5753 (texinfo-insert-master-menu-list): Improve the error message
5754 displayed if there's no menu in the Top node.
5755 (Bug#2975) See also this thread:
e5d84bfe
EZ
5756 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5757
1d84e9bb
MG
57582011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5759
5760 * speedbar.el (speedbar-supported-extension-expressions):
5761 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5762
382c953b
JB
57632011-12-09 Juanma Barranquero <lekktu@gmail.com>
5764
5765 * printing.el (pr-mode-alist):
5766 * simple.el (filter-buffer-substring-functions)
5767 (completion-list-insert-choice-function):
5768 * window.el (window-with-parameter, window-atom-root)
5769 (window-sides-slots, window-size-fixed, window-min-delta)
5770 (window-max-delta, window--resize-mini-window)
5771 (window--resize-child-windows-normal, window-tree)
5772 (delete-other-windows, quit-window, split-window)
5773 (display-buffer-record-window, special-display-buffer-names)
5774 (special-display-regexps, special-display-popup-frame)
5775 (same-window-p, split-window-sensibly)
5776 (display-buffer-overriding-action, display-buffer-alist)
5777 (display-buffer-base-action, display-buffer, switch-to-buffer)
5778 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5779 (fit-window-to-buffer, recenter-positions)
5780 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5781 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5782 and remove unneeded backslashes in docstrings.
5783
39c9faef
SM
57842011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5785
98449af8
SM
5786 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5787
39c9faef
SM
5788 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5789 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5790 end in ".mk".
5791 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5792 when reading the makefile (bug#10116).
5793
86ed9fdc
SM
57942011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5797 (bug#10116).
5798
5580f89d
GM
57992011-12-06 Glenn Morris <rgm@gnu.org>
5800
5801 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5802
28d3917c
CY
58032011-12-06 Chong Yidong <cyd@gnu.org>
5804
5805 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5806
a98edce9
JB
58072011-12-06 Juanma Barranquero <lekktu@gmail.com>
5808
5809 * textmodes/table.el (table-shorten-cell): Fix typo.
5810
e65adfac
CG
58112011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5812
5813 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5814
71cc0b74
EZ
58152011-12-05 Eli Zaretskii <eliz@gnu.org>
5816
5817 * descr-text.el (describe-char): Fix display of strong
5818 right-to-left characters and directional embeddings and overrides.
5819
5820 * simple.el (what-cursor-position): Fix display of codepoints of
5821 strong right-to-left characters.
5822
315bc30d
CY
58232011-12-05 Chong Yidong <cyd@gnu.org>
5824
5825 * faces.el (read-color): Doc fix.
5826
58a70b94
GM
58272011-12-05 Glenn Morris <rgm@gnu.org>
5828
5829 * align.el (align--set-marker): Add doc-string.
5830 Don't try to move something that is not a marker. (Bug#10216)
5831
5158face
GM
58322011-12-04 Glenn Morris <rgm@gnu.org>
5833
5834 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5835 overly zealous deletion of trailing whitespace.
5836
520fca41
JB
58372011-12-04 Juanma Barranquero <lekktu@gmail.com>
5838
5839 * server.el (server-delete-client): On Windows, do not try to delete
5840 the only terminal.
5841 (server-process-filter): On Windows, treat requests for a tty frame as
5842 if they were for a GUI frame if the running server is in GUI mode.
5843
5e605a2e
GM
58442011-12-03 Glenn Morris <rgm@gnu.org>
5845
5846 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5847
5c3fe83f
SM
58482011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5849
6f5e57e7
SM
5850 * electric.el: Streamline electric-indent's hook.
5851 (electric-indent-chars): Revert to simple list.
5852 (electric-indent-functions): New var.
5853 (electric-indent-post-self-insert-function): Use it.
5854
5c3fe83f
SM
5855 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5856 there's no inferior buffer (bug#10196).
5857 (prolog-consult-compile): Don't use toggle-read-only.
5858
6bdac736
MA
58592011-12-02 Michael Albinus <michael.albinus@gmx.de>
5860
5861 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5862 interrupt. (Bug#10187)
5863
6131ba7f
SM
58642011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5865
99c79fee
SM
5866 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5867 (bug#9160).
5868
6131ba7f
SM
5869 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5870 (bug#10191).
5871
cb0a02ea
JL
58722011-12-02 Juri Linkov <juri@jurta.org>
5873
5874 * info.el (Info-search): Display "end of manual" when Isearch
5875 reaches the end of single-file Info manual. (Bug#9918)
5876
66e0570c
EZ
58772011-12-02 Eli Zaretskii <eliz@gnu.org>
5878
5879 * isearch.el (isearch-message-prefix): Run the input method part
5880 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5881
02b16839
JL
58822011-12-02 Juri Linkov <juri@jurta.org>
5883
5884 * isearch.el (isearch-occur): Use `word-search-regexp' for
5885 `isearch-word'.
5886 (isearch-search-and-update): Add condition for `isearch-word' and
5887 call `word-search-regexp'. (Bug#10145)
5888
0b950688
GM
58892011-12-01 Glenn Morris <rgm@gnu.org>
5890
5891 * eshell/em-hist.el (eshell-hist-initialize):
5892 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5893 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5894
9505c3c7
SM
58952011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5896
5897 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5898
1bbe96b2 58992011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5900
a1beca85
SM
5901 * progmodes/verilog-mode.el (verilog-pretty-expr):
5902 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5903 verilog, such as += *= and the like.
5904 (verilog-assignment-operator-re): Regular expression to find the
5905 assigment operator in a verilog assignment.
5906 (verilog-assignment-operation-re): Regular expression to find an
5907 assignment statement for pretty-expr.
5908 (verilog-in-attribute-p): Query returns true if point is in an
5909 attribute context; used to skip these for expression line up from
5910 pretty-expr.
5911 (verilog-in-parameter-p): Query returns true if point is in an
5912 parameter definition context; used to skip these for expression
5913 line up from pretty-expr.
5914 (verilog-in-parenthesis-p): Query returns true if point is in a
5915 parenthetical expression, specifically ( ) but not [ ] or { };
5916 used by pretty-expr.
5917 (verilog-just-one-space): If there is no space, don't add one.
5918 (verilog-get-lineup-indent-2): Specifically skip just attribute
5919 contexts for expression lineup, rather than skipping all
5920 parenthetical expressions.
5921 (verilog-calculate-indent): Fix comment, and fix indent.
5922 (verilog-do-indent): Indent declarations in lists (suggested by
5923 Joachim Lechner).
5924 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5925 skeleton items.
5926 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5927 by Alain Mellan).
5928
1bbe96b2 59292011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5930
5931 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5932 parameters with embedded comments. Reported by Ray Stevens.
5933 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5934 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5935 Reported by Tim Holt.
5936 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5937 instantiated by upper module causing wrong expansion until AUTOed a
5938 second time. Reported by K C Buckenmaier.
5939 (verilog-diff-auto): Fix showing .* as a difference when
5940 `verilog-auto-star-save' off. Reported by Dan Dever.
5941 (verilog-auto-reset, verilog-read-always-signals)
5942 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5943 temporary signals in reset list if
5944 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5945 style to each signal's assignment type, bug381.
5946 Reported by Thomas Esposito.
6288f0ca
WS
5947 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5948 (verilog-uvm-statement-re): Support UVM indentation and
5949 highlighting, with old OVM keywords only.
a1beca85 5950 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5951 Support AUTOTIEOFF creating non-wire data types.
5952 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5953 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5954 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5955 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5956 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5957 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5958 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5959 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5960 non-numeric vector width. Reported by Alex Reed.
5961 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5962 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5963 (verilog-auto-delete-trailing-whitespace):
5964 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5965 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5966 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5967 Fix verilog-scan-cache corruption when running user AUTO expansion
5968 hooks that call indentation routines.
5969 (verilog-simplify-range-expression): Fix typo ignoring lower case
5970 identifiers.
5971 (verilog-delete-auto): Fix delete-autos to also remove user created
5972 automatics, as long as they start with AUTO.
5973 (verilog-batch-diff-auto, verilog-diff-auto)
5974 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5975 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5976 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5977 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5978 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5979 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5980 is disabled and its cache will get corrupt, causing AUTOS not to
5981 expand. Instead use only -quick functions.
5982 (verilog-scan-region): Fix scanning over escaped quotes.
5983 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5984 (verilog-re-search-backward-quick)
5985 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5986 related functions now ignore strings, to fix misparsing of strings
5987 with magic comments embedded in them.
a1beca85
SM
5988 (verilog-read-auto-template):
5989 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5990 Reported by Brad Dobbie.
5991 (verilog-read-auto-template):
5992 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5993 Reported by Brad Dobbie.
6288f0ca
WS
5994 (verilog-auto-inst, verilog-auto-inst-param)
5995 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5996 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5997 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5998 debugging templates without merge conflicts, bug357.
5999 Reported by Brad Dobbie.
6000 (verilog-read-auto-template):
6001 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6002 Reported by Brad Dobbie.
6003 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6004 abbrevs so user won't be asked to save.
6005 (verilog-read-auto-lisp-present): Fix to start at beginning of
6006 buffer in case called outside of verilog-auto.
6007 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6008 to "X-2". Reported by Matthew Myers.
6009 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6010 all inputs from module templates. Reported by Leith Johnson.
6011 (verilog-module-inside-filename-p): Fix locating programs as with
6012 modules.
6013 (verilog-auto-inst-port): Fix vl-width expressions when using
6014 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6015 (verilog-decls-get-regs, verilog-decls-get-signals,
6016 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6017 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6018 verilog-read-decls): Combine reg and wire structures into one var
6019 structure to represent SystemVerilog concepts.
6020 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6021 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6022 (verilog-auto-wire-type, verilog-insert-definition):
6023 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6024 SystemVerilog "logic" keyword instead of "wire"/"reg".
6025 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6026 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6027 ifdef or generate if so there's not a driver conflict).
6028 Reported by Matthew Myers.
6029 (verilog-auto-declare-nettype, verilog-insert-definition):
6030 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6031 `default_nettype none. Reported by Julian Gorfajn.
6032 (verilog-read-always-signals-recurse, verilog-read-decls)
6033 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6034 malformed end statement, bug325. Reported by Joshua Wise and
6035 Andrew Drake.
6036 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6037 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6038 when expanding .* in interfaces, bug320.
6039 Reported by Pierre-David Pfister.
6288f0ca 6040 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6041 name and open parenthesis, bug317.
6042 Reported by Pierre-David Pfister.
6288f0ca
WS
6043 (verilog-simplify-range-expression): Fix simplification of
6044 multiplications inside AUTOWIRE connections, bug303.
6045 (verilog-auto-inst-port): Support parameter expansion in
6046 multidimensional arrays.
6047 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6048 after "assert property". Reported by Julian Gorfajn.
6049 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6050 with multiplication, bug303.
6051 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6052 Reported by Jan Frode Lonnum.
6053
1bbe96b2
GM
60542011-11-30 Juanma Barranquero <lekktu@gmail.com>
6055
6056 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6057 (hfy-shell-file-name, hfy-shell):
6058 * international/fontset.el (x-decompose-font-name): Fix typos.
6059
60602011-11-29 Ken Brown <kbrown@cornell.edu>
6061
6062 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6063 (gdb-version): Remove defvar.
6064 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6065 (gdb-gud-context-command, gdb-non-stop-handler)
6066 (gdb-current-context-command, gdb-stopped): Use it.
6067 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6068 (gdb-non-stop-handler): Don't enable pretty-printing here.
6069 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6070 non-stop mode. Use the following.
6071 (gdb-check-target-async): New defun.
6072 (gud-watch, gdb-stopped): Fix whitespace.
6073 (gdb-get-source-file): Don't try to display the source file if
6074 `gdb-main-file' is nil.
6075
60762011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * align.el: Try to generate fewer markers (bug#10047).
6079 (align--set-marker): New macro.
6080 (align-region): Use it.
6081
c935221f
SM
60822011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6083
6084 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6085
e70b5064
CY
60862011-11-29 Chong Yidong <cyd@gnu.org>
6087
6088 * indent.el (indent-for-tab-command, indent-according-to-mode):
6089 Doc fix.
6090 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6091
f3af92b7
MA
60922011-11-29 Michael Albinus <michael.albinus@gmx.de>
6093
6094 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6095 aware of remote file names. (Bug#10124)
6096
ed472be9
CY
60972011-11-29 Chong Yidong <cyd@gnu.org>
6098
6099 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6100
24510c22
SM
61012011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * files.el (find-file): Don't use force-same-window (bug#10144).
6104 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6105 use pop-to-buffer if the selected window can't be used.
6106 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6107
c60c3703
EZ
61082011-11-28 Eli Zaretskii <eliz@gnu.org>
6109
6110 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6111 special-mode-map.
6112
e95def75
CY
61132011-11-28 Chong Yidong <cyd@gnu.org>
6114
6115 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6116
c3f1c606
NR
61172011-11-27 Nick Roberts <nickrob@snap.net.nz>
6118
6119 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6120 gdb-get-source-file-list on gdb-create-source-file-list.
6121
00db469c
EZ
61222011-11-26 Eli Zaretskii <eliz@gnu.org>
6123
6124 * whitespace.el (whitespace-newline): Use a different foreground
6125 color for 16-color light-background displays.
6126
4ad3bc2a
CY
61272011-11-24 Chong Yidong <cyd@gnu.org>
6128
6129 * window.el (display-buffer--special-action): Doc fix.
6130
e9fce1ac
JB
61312011-11-25 Juanma Barranquero <lekktu@gmail.com>
6132
6133 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6134 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6135 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6136 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6137 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6138 (avl-tree-stack-first):
6139 * emacs-lisp/cconv.el (cconv--analyse-use):
6140 * net/gnutls.el (gnutls-negotiate): Fix typos.
6141
cb825e5d
GM
61422011-11-24 Glenn Morris <rgm@gnu.org>
6143
3adbe224
GM
6144 * lpr.el (lpr-windows-system, lpr-lp-system):
6145 * mail/binhex.el (binhex-begin-line):
6146 * progmodes/grep.el (grep-history, grep-find-history):
6147 * textmodes/flyspell.el:
6148 * vc/pcvs-defs.el (cvs-global-menu):
6149 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6150 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6151 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6152
321decc8
GM
6153 * net/tls.el: Fix case of "GnuTLS".
6154
420b63ad
GM
6155 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6156
cb825e5d
GM
6157 * version.el (emacs-build-system): Give it a doc-string.
6158
a0649f08
JL
61592011-11-24 Juri Linkov <juri@jurta.org>
6160
6161 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6162
c0bc0fd4
GM
61632011-11-24 Glenn Morris <rgm@gnu.org>
6164
6165 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6166 if called on a non-mime message just toggle the headers. (Bug#8006)
6167
20db1522
JB
61682011-11-24 Juanma Barranquero <lekktu@gmail.com>
6169
6170 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6171 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6172 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6173 (allout-rebullet-heading, allout-open-sibtopic)
6174 (allout-toggle-current-subtree-encryption)
6175 (allout-toggle-subtree-encryption, allout-encrypt-string)
6176 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6177 (allout-distinctive-bullets-string, allout-auto-activation):
6178 * window.el (window-normalize-buffer-to-display):
6179 * progmodes/verilog-mode.el (verilog-batch-indent):
6180 * textmodes/bibtex.el (bibtex-field-braces-opt)
6181 (bibtex-field-strings-opt):
6182 * vc/cvs-status.el (cvs-tree-merge):
6183 Fix typos.
6184
7262a87c
MA
61852011-11-23 Michael Albinus <michael.albinus@gmx.de>
6186
6187 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6188 `non-essential' to t, in order to avoid remote connections.
6189
283430a1
EZ
61902011-11-23 Eli Zaretskii <eliz@gnu.org>
6191
a1beca85
SM
6192 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6193 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6194 case-insensitively.
6195
d2992a38
ML
61962011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6197
6198 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6199
50419064
GM
62002011-11-23 Glenn Morris <rgm@gnu.org>
6201
da94eca1
GM
6202 * paths.el (rmail-file-name): Reformat the doc-string so that it
6203 is picked up.
6204
9aac4de2
GM
6205 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6206 (rmail-auto-file): Ignore case in the "special" field names,
6207 as mail-fetch-field does for all others.
6208
8038d2d2
GM
6209 * mail/rmail.el (rmail-forward):
6210 * mail/rmailkwd.el (rmail-set-label):
6211 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6212 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6213
f3fe222a
GM
6214 * mail/rmail.el (rmail-current-message): Doc fix.
6215
50419064
GM
6216 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6217
28109f49
SM
62182011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6221
394c65f1
GM
62222011-11-22 Glenn Morris <rgm@gnu.org>
6223
6224 * mail/rmailmm.el (test-rmail-mime-handler)
6225 (test-rmail-mime-bulk-handler)
6226 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6227
f2a0aa3a
JL
62282011-11-21 Juri Linkov <juri@jurta.org>
6229
1154d12e
JB
6230 * calc/calc.el (calc-read-key-sequence):
6231 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6232
9c34a344
LMI
62332011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6234
6235 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6236 Tell the caller that the next line needs recomputation, even
6237 though it doesn't start a sexp (bug#10094).
6238
f04a3be9
SM
62392011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6242
7978747f
SM
62432011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6244
f04a3be9
SM
6245 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6246 Use force-same-window.
7978747f 6247
fe7a3057
JB
62482011-11-20 Juanma Barranquero <lekktu@gmail.com>
6249
6250 * descr-text.el (describe-char-unicode-data):
6251 * json.el (json-string-escape):
6252 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6253 (Footnote-unicode, Footnote-style-p):
6254 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6255
24901d61
CY
62562011-11-20 Chong Yidong <cyd@gnu.org>
6257
6258 * window.el (replace-buffer-in-windows): Restore interactive spec.
6259
bac7ff22
SM
62602011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6261
24f3d7b9
SM
6262 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6263
bac7ff22
SM
6264 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6265 (byte-compile-global-not-obsolete-vars): New var.
6266 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6267 Use it.
6268 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6269
cd1181db
JB
62702011-11-20 Juanma Barranquero <lekktu@gmail.com>
6271
6272 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6273 * progmodes/pascal.el (electric-pascal-equal):
6274 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6275 * xml.el (xml-substitute-special): Fix typos.
6276
7fb18e9e
GM
62772011-11-20 Glenn Morris <rgm@gnu.org>
6278
6279 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6280 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6281 Doc fixes.
6282 (rmail-decode-mime-charset): Mark as obsolete.
6283
6284 * mail/rmailsum.el (rmail-message-regexp-p-1):
6285 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6286 Before using mime functions, check they are set. (Bug#10077)
6287
d5a6b3ba
JL
62882011-11-19 Juri Linkov <juri@jurta.org>
6289
6290 * info.el (Info-finder-find-node): Use `package--builtins' instead
6291 of `package-alist'. Use node names formed by the pattern "Keyword "
6292 and the keyword name.
6293
e981b61f
AS
62942011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6295
1d00653d 6296 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6297
3ffbc301
JL
62982011-11-19 Juri Linkov <juri@jurta.org>
6299
6300 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6301 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6302 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6303 `old-history', `old-history-forward'. Add let-binding
6304 `window-selected'. Remove calls to `kill-buffer',
6305 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6306 before calling `Info-find-node', so `Info-find-node-2' will reread
6307 the Info file. Restore window positions only when `window-selected'
6308 is non-nil.
6309
30c62133
JL
63102011-11-19 Juri Linkov <juri@jurta.org>
6311
6312 * isearch.el (isearch-lazy-highlight-new-loop):
6313 Remove condition `(not isearch-error)'. (Bug#9918)
6314
6315 * misearch.el (multi-isearch-search-fun): Add condition
6316 `(not bound)' to ignore lazy-highlighting search.
6317 Add the search-failed message "end of multi" when the end of
6318 multi-sequence is reached. Uncapitalize the search-failed
6319 message "Repeat for next buffer".
6320
6321 * info.el (Info-search): Add the search-failed message
6322 "end of the manual" when the end of the manual is reached
6323 in Isearch mode.
6324
645ca9cf
JL
63252011-11-19 Juri Linkov <juri@jurta.org>
6326
6327 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6328 Use non-destructive `remove' instead of `delete' because
6329 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6330 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6331
df754f66
JL
63322011-11-19 Juri Linkov <juri@jurta.org>
6333
6334 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6335 to nil instead of binding `search-ring' and `regexp-search-ring'.
6336 (Bug#9185)
6337
0e23d96a
EZ
63382011-11-19 Eli Zaretskii <eliz@gnu.org>
6339
6340 * simple.el (line-move): Force movement by logical lines for any
6341 hscrolled window, not only when auto-hscroll-mode is on.
6342 (line-move-visual): Update doc string to that effect. (Bug#10076)
6343
8a6ccb66
AS
63442011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6345
6346 * language/european.el (macintosh): Define as alias for mac-roman.
6347
49ae5b39
EZ
63482011-11-19 Eli Zaretskii <eliz@gnu.org>
6349
6350 * mail/rmailmm.el (rmail-mime-display-header)
6351 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6352 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6353 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6354 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6355 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6356 of a raw aref.
6357 (rmail-mime-entity-segment): To get past the tagline, move forward
6358 2 more lines, to account for the 2 empty lines that precede and
6359 follow the line with the buttons.
6360 (rmail-mime-update-tagline): Move one more line, to get past the
6361 empty line that follows the buttons in the tagline. (Bug#9520)
6362
c56cad4a
MR
63632011-11-19 Martin Rudalics <rudalics@gmx.at>
6364
6365 * window.el (window-max-delta-1, window-min-delta-1)
6366 (window-min-size-1, window-state-get-1, window-state-put-1)
6367 (window-state-put-2): Use "window--" prefix.
6368
cbe71af3
SM
63692011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6370
2ad52c60
SM
6371 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6372 (smie-warning-count): New var.
6373 (smie-set-prec2tab): Use it.
6374 (smie-bnf->prec2): Improve warnings. Add docstring.
6375 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6376 (smie-bnf--set-class): New function.
6377 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6378 corner case.
6379
6944dbc1
SM
6380 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6381 (compilation-error-properties, compilation-move-to-column):
6382 Handle compilation-first-column while in the target buffer.
6383
c400c4d7
SM
6384 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6385 Don't hardcode point-min==1.
6386
6dbe3e96
SM
6387 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6388 (eshell-rewrite-for-command): Remove workaround.
6389 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6390 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6391 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6392
cbe71af3
SM
6393 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6394
a8e1496d
GM
63952011-11-17 Glenn Morris <rgm@gnu.org>
6396
6397 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6398 Ignore buffer-local generated-autoload-file if it is the same
6399 as the global value. (Bug#10049)
6400
df85d315
JB
64012011-11-17 Juanma Barranquero <lekktu@gmail.com>
6402
6403 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6404 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6405 (reftex-toc-previous-heading, reftex-toc-max-level)
6406 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6407 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6408 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6409 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6410 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6411 (reftex-toc-rename-label, reftex-toc-visit-location)
6412 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6413 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6414 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6415 leaving "*toc*" only for references to the buffer.
6416
a0c2d0ae
MR
64172011-11-17 Martin Rudalics <rudalics@gmx.at>
6418
6419 * window.el (window-resize, delete-window, split-window):
6420 Replace window-splits by window-combination-resize.
1d00653d 6421 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6422
35c0bac8
GM
64232011-11-17 Glenn Morris <rgm@gnu.org>
6424
6425 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6426 Make bash entry derive from sh entry, not shell entry.
6427
d0c8fc8a
MA
64282011-11-16 Michael Albinus <michael.albinus@gmx.de>
6429
7262a87c
MA
6430 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6431 local file name.
6432
7877f373
JB
64332011-11-16 Juanma Barranquero <lekktu@gmail.com>
6434
6435 * menu-bar.el (menu-bar-file-menu):
6436 * printing.el (pr-ps-utility):
6437 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6438 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6439 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6440 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6441 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6442 (icalendar--convert-cyclic-to-ical)
6443 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6444 (icalendar--convert-ical-to-diary)
6445 (icalendar--convert-recurring-to-diary)
6446 (icalendar--convert-non-recurring-all-day-to-diary)
6447 (icalendar-import-format-sample):
6448 * progmodes/idlw-shell.el (idlwave-shell-mode):
6449 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6450 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6451 (vhdl-ps-print-init): Fix typos.
6452
10649b82
KM
64532011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6454
9d0cfcd6
GM
6455 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6456 FSF and collapse date sequence, obscure author/maintainer email address
6457 better, remove extra version line, track relocation of author's webpage.
10649b82 6458
9d0cfcd6
GM
6459 * progmodes/python.el (python-pdbtrack-input-prompt)
6460 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6461 regular python pdb prompts. Adjustments shamelessly taken exactly as
6462 suggested in EmacsWiki page (tiny change):
6463 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6464
58179cce
JB
64652011-11-16 Juanma Barranquero <lekktu@gmail.com>
6466
6467 * expand.el (expand-pos, expand-index, expand-point):
6468 Remove redundant info from docstring.
6469 (expand-add-abbrevs): Doc fix.
6470 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6471 (expand-sample-perl-mode-expand-list): Fix typos.
6472
6473 * net/dbus.el (dbus-event-member-name):
6474 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6475 * term/pc-win.el (msdos-create-frame-with-faces):
6476 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6477
b6f67890
MR
64782011-11-16 Martin Rudalics <rudalics@gmx.at>
6479
6480 * window.el (split-window, window-state-get-1)
6481 (window-state-put-1, window-state-put-2): Rename occurrences of
6482 window-nest to window-combination-limit.
1d00653d 6483 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6484
ce7ddba0
CY
64852011-11-16 Chong Yidong <cyd@gnu.org>
6486
6487 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6488 regexp (Bug#10033).
6489
3ae704f4
SM
64902011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6493 `completing-read' will remove *Completions* and will preserve
6494 current-buffer for us.
6495 (tmm-add-prompt): Users of *Completions* will always (re)set its
6496 major mode.
6497 (tmm-old-comp-map): Remove.
6498
6ad1cdde
GM
64992011-11-16 Glenn Morris <rgm@gnu.org>
6500
6501 * mail/rmailedit.el: Require rmailmm when compiling.
6502 (rmail-old-mime-state): New declaration.
6503 (rmail-edit-current-message): If editing a mime message,
6504 edit the "raw" message from the mbox buffer.
6505 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6506
d20faa20
GM
65072011-11-15 Glenn Morris <rgm@gnu.org>
6508
6509 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6510 which wasn't being used. Add optional arg to force given state.
6511 (rmail-mime): Add optional arg to force given state.
6512
c7015153
JB
65132011-11-15 Juanma Barranquero <lekktu@gmail.com>
6514
6515 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6516 * frame.el (display-mm-dimensions-alist):
6517 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6518 (outline-move-subtree-down):
6519 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6520 (newsticker--treeview-do-get-node):
6521 * net/quickurl.el (quickurl-list-buffer-name):
6522 * progmodes/dcl-mode.el (dcl-mode):
6523 * progmodes/gdb-mi.el (gdb-mapcar*):
6524 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6525
45261b50
GM
65262011-11-15 Glenn Morris <rgm@gnu.org>
6527
6528 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6529 in a boolean sense, so just make it a boolean, and fix the doc.
6530 (rmail-show-mime-function, rmail-mime-feature)
6531 (rmail-require-mime-maybe): Doc fixes.
6532 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6533
6534 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6535
0d26e0b6
JB
65362011-11-15 Juanma Barranquero <lekktu@gmail.com>
6537
6538 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6539 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6540 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6541 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6542
447f30f6
GM
65432011-11-15 Glenn Morris <rgm@gnu.org>
6544
672b871d
GM
6545 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6546 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6547 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6548 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6549 (rmail-mime, rmail-show-mime): Doc fixes.
6550
f6aa5bb1
GM
6551 * term/ns-win.el (mode-line-frame-identification):
6552 Leave it alone. (Bug#10051)
6553
947cd66b
GM
6554 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6555
447f30f6
GM
6556 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6557 Handle empty buffers. (Bug#9978)
6558
0b381c7e
JB
65592011-11-14 Juanma Barranquero <lekktu@gmail.com>
6560
6561 * international/mule.el (define-charset):
6562 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6563 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6564 * progmodes/verilog-mode.el (verilog-backward-token):
6565 * textmodes/ispell.el (lookup-words):
6566 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6567
71e027ac
GM
65682011-11-14 Glenn Morris <rgm@gnu.org>
6569
56632ce4
GM
6570 * progmodes/executable.el
6571 (executable-make-buffer-file-executable-if-script-p):
6572 Handle file-modes returning nil.
6573
40500957
GM
6574 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6575 message - not necessary, and causes problems. (Bug#9831)
6576
071c2340
GM
6577 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6578
d3cfca60
GM
6579 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6580
71e027ac
GM
6581 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6582 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6583 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6584
89d61221
MR
65852011-11-12 Martin Rudalics <rudalics@gmx.at>
6586
6587 * window.el (window-resize, delete-window): Use window-splits
6588 variable instead of function.
6589 (window-state-get-1, window-state-put-2, window-state-put):
6590 Don't deal with windows' splits status.
6591
98282f6f
GM
65922011-11-12 Glenn Morris <rgm@gnu.org>
6593
6594 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6595 (apropos-documentation): Doc fixes.
6596
40a8bdf6
JB
65972011-11-11 Juanma Barranquero <lekktu@gmail.com>
6598
6599 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6600 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6601
65bd19ff
SM
66022011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6603
6604 * electric.el (electric-indent-post-self-insert-function): Make it
6605 possible for a char to only indent in some circumstances.
6606 (electric-indent-mode): Simplify.
6607
54f9154c
MR
66082011-11-11 Martin Rudalics <rudalics@gmx.at>
6609
6610 * window.el (windows-with-parameter): Remove unused function.
6611 (windows-at-side): Rename to window-at-side-list.
6612 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6613 (window-side-check, window-size-ignore, window-size-fixed-1)
6614 (window-in-direction-2): Prefix with "window--".
6615 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6616
68cbc58b
GM
66172011-11-11 Glenn Morris <rgm@gnu.org>
6618
6619 * subr.el (eval-after-load): If FILE is already loaded,
6620 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6621
b2621720
GM
66222011-11-10 Glenn Morris <rgm@gnu.org>
6623
9a4de110
GM
6624 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6625 Call svn via vc-svn-command rather than vc-do-command.
6626 (vc-svn-command): Add --non-interactive. (Bug#9993)
6627 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6628
b2621720
GM
6629 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6630 Add toggle-read-only. (Bug#7292)
6631 * files.el (toggle-read-only): Mention that it should only
6632 be used interactively. (Bug#10006)
6633
1dce7193
SM
66342011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6635
d9ac1a1e
SM
6636 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6637 Adjust regexp for OCaml warnings.
6638
0c325082
SM
6639 * electric.el (electric-pair-post-self-insert-function): Let user
6640 turn it off buffer-locally (bug#9932).
6641
90132c14
SM
6642 * progmodes/python.el (python-beginning-of-statement):
6643 Rewrite (bug#2703).
6644
1dce7193
SM
6645 * progmodes/compile.el: Better handle TABs (bug#9749).
6646 (compilation-internal-error-properties)
6647 (compilation-next-error-function): Obey the target buffer's
6648 compilation-error-screen-columns.
6649
c4e7c63a
JB
66502011-11-09 Juanma Barranquero <lekktu@gmail.com>
6651
6652 * progmodes/meta-mode.el: Remove obsolete comments.
6653 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6654 Fix typos in docstrings.
6655
2cffd681
MR
66562011-11-09 Martin Rudalics <rudalics@gmx.at>
6657
6658 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6659 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6660 (window--resizable): New function. Make all callers of
6661 window-resizable call window--resizable instead.
6662 (window-resizable): Rewrite in terms of window--resizable.
6663
0edcba87
GM
66642011-11-08 Glenn Morris <rgm@gnu.org>
6665
6666 * progmodes/delphi.el (delphi-mode-syntax-table):
6667 Let define-derived-mode define a proper syntax table. (Bug#9994)
6668
4b0d61e3
SM
66692011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6670
6671 * window.el: Stay away from defsubst.
6672 (window-list-no-nils): Remove.
6673 (window-state-get-1, window-state-get): Use backquote instead.
6674
cd394be1 66752011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6676
4b0d61e3 6677 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6678 Fix incorrect use of default argument in `completing-read'.
6679
e1c2c6f2
MR
66802011-11-08 Martin Rudalics <rudalics@gmx.at>
6681
6682 * window.el (display-buffer-function, special-display-function):
6683 Mention display-buffer-record-window but do not mention
6684 help-setup parameter in doc-strings.
b3f4a882 6685 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6686
105216ed
CY
66872011-11-08 Chong Yidong <cyd@gnu.org>
6688
6689 * window.el (window-total-height, window-total-width): Doc fix.
6690 (window-body-size): Move from C.
6691 (window-body-height, window-body-width): Move to C.
6692
0a9f9ab5
SM
66932011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6694
6695 * window.el: Make special-display like display-buffer-alist (bug#9532).
6696 (display-buffer--special-action): New function, morphed
6697 from display-buffer--special.
6698 (display-buffer): Use it to handle special-display-buffers at higher
6699 priority (just after display-buffer-alist).
6700 (display-buffer-fallback-action, display-buffer--other-frame-action)
6701 (pop-to-buffer-same-window): Remove display-buffer--special.
6702
a769dd15
GM
67032011-11-07 Glenn Morris <rgm@gnu.org>
6704
6705 * calendar/cal-menu.el (cal-menu-set-date-title):
6706 Do nothing if not in a calendar. (Bug#9976)
6707
05a61ee3
SM
67082011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * files.el (find-file): Always use selected-window.
6711
be7f5545
MR
67122011-11-07 Martin Rudalics <rudalics@gmx.at>
6713
6714 * window.el (window-combinations): Make WINDOW argument
6715 mandatory. Rewrite doc-string.
6716 (walk-window-subtree, window-atom-check, window-min-delta)
6717 (window-max-delta, window--resize-this-window)
6718 (window--resize-root-window-vertically, window-tree)
6719 (balance-windows, window-state-put): Rewrite doc-strings as to
6720 not mention the term "subwindow".
6721 (window--resize-subwindows-skip-p): Rename to
6722 window--resize-child-windows-skip-p.
6723 (window--resize-subwindows-normal): Rename to
6724 window--resize-child-windows-normal.
6725 (window--resize-subwindows): Rename to
6726 window--resize-child-windows.
6727 (window-or-subwindow-p): Rename to window--in-subtree-p.
6728
3c6702ef
ML
67292011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6730
6731 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6732 Ensure that mbox format messages end in two newlines (Bug#9974).
6733
49745b39
CY
67342011-11-06 Chong Yidong <cyd@gnu.org>
6735
6736 * window.el (window-combination-p): Function deleted; its
6737 side-effect is not used in any existing code.
6738 (window-combinations, window-combined-p): Call window-*-child
6739 directly.
6740
24300f5f
CY
67412011-11-05 Chong Yidong <cyd@gnu.org>
6742
6743 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6744 (window-size-ignore, window-state-get): Callers changed.
6745 (window-normalize-window): Rename from window-normalize-any-window.
6746 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6747 (window-normalize-live-window): Delete.
447f16b8
CY
6748 (window-combination-p, window-combined-p, window-combinations)
6749 (walk-window-subtree, window-atom-root, window-min-size)
6750 (window-sizable, window-sizable-p, window-size-fixed-p)
6751 (window-min-delta, window-max-delta, window-resizable)
6752 (window-resizable-p, window-full-height-p, window-full-width-p)
6753 (window-current-scroll-bars, window-point-1, set-window-point-1)
6754 (window-at-side-p, window-in-direction, window-resize)
6755 (adjust-window-trailing-edge, maximize-window, minimize-window)
6756 (window-deletable-p, delete-window, delete-other-windows)
6757 (record-window-buffer, unrecord-window-buffer)
6758 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6759 (quit-window, split-window, window-state-put)
6760 (set-window-text-height, fit-window-to-buffer)
6761 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6762
89bd5ee1
EZ
67632011-11-04 Eli Zaretskii <eliz@gnu.org>
6764
53479029
EZ
6765 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6766 rfc2047-decode-string.
6767 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6768 warnings.
6769
89bd5ee1
EZ
6770 * window.el (window-body-height, window-body-width): Mention in
6771 the doc string that the return values are in frame's canonical
6772 units. (Bug#9949)
6773
bd17fdee
AM
67742011-11-03 Alan Mackenzie <acm@muc.de>
6775
6776 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6777 change in cc-engine.el.
6778
acc825c5
SM
67792011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6780
6781 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6782
1885e5b8
MR
67832011-11-02 Martin Rudalics <rudalics@gmx.at>
6784
6785 * window.el (quit-window): Call unrecord-window-buffer after
6786 showing another buffer in the window. (Bug#9937)
acc825c5 6787 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6788
ebe06da9
JB
67892011-11-02 Juanma Barranquero <lekktu@gmail.com>
6790
6791 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6792 Accept status with more than 9 shelves. (Bug#9935)
6793 Reported by Colin D Bennett <colin@gibibit.com>.
6794
4ee88440
MR
67952011-11-01 Martin Rudalics <rudalics@gmx.at>
6796
6797 * help.el (with-help-window): Don't reference
6798 temp-buffer-show-specifiers in doc-string.
6799
08e1d82c
AS
68002011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6801
6802 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6803 menu-item.
6804
84bd6e9e
VJL
68052011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6806
6807 * whitespace.el: New version 13.2.2.
6808 (whitespace-newline-mode): Disable properly. Reported by Sarah
6809 <EmacsWiki>.
6810
dba0634a
UJ
68112011-10-30 Ulf Jasper <ulf.jasper@web.de>
6812
6813 * net/newst-treeview.el: Remove "Time-stamp".
6814 (newsticker--group-manage-orphan-feeds): Do not call
6815 newsticker--treeview-tree-update.
db22a3c2
JB
6816 (newsticker-treeview-update, newsticker-treeview):
6817 Call newsticker--treeview-tree-update if necessary.
dba0634a 6818
3d8daefe
MR
68192011-10-30 Martin Rudalics <rudalics@gmx.at>
6820
6821 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6822 (window-iso-combinations): Remove "iso-" infix.
6823 Suggested by Chong Yidong.
3d8daefe
MR
6824 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6825 (window-max-delta-1, window-resize, window--resize-siblings)
6826 (window--resize-this-window, adjust-window-trailing-edge)
6827 (split-window, balance-windows-1)
6828 (shrink-window-if-larger-than-buffer):
6829 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6830 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6831
1bc4c3ae
SM
68322011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6835 in place (bug#9907).
6836 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6837 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6838 (eshell-structure-basic-command, eshell-rewrite-while-command)
6839 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6840 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6841 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6842 (eshell-do-pipelines-synchronously, eshell-eval-command):
6843 Use backquotes and prefer setq to set.
6844 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6845 (eshell-macrop): Use functionp.
c1e2f5fa 6846 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6847
30b65d9c
CY
68482011-10-30 Chong Yidong <cyd@gnu.org>
6849
6850 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6851 instead of set-mark (Bug#9810).
6852
2d197ffb
CY
68532011-10-30 Chong Yidong <cyd@gnu.org>
6854
6855 * window.el (split-window-below, split-window-right): Rename from
6856 split-window-above-each-other and split-window-side-by-side
6857 respectively. All callers changed.
6858 (split-window-sensibly, split-window-sensibly): Use them.
6859 (split-window-keep-point): Doc fix.
6860
6861 * isearch.el: Add isearch-scroll property to split-window-below
6862 and split-window-right.
6863
6864 * follow.el (follow-mode):
6865 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6866 * progmodes/ada-xref.el (ada-gdb-application):
6867 * emulation/vip.el (vip-buffer-in-two-windows):
6868 * image-dired.el (image-dired-dired-with-window-configuration):
6869 * dired-x.el (dired-do-find-marked-files):
6870 * dired.el (dired-pop-to-buffer):
6871 * bs.el (bs--show-with-configuration):
6872 * vc/emerge.el (emerge-setup-windows):
6873 * textmodes/two-column.el (2C-two-columns):
6874 * textmodes/reftex-toc.el (reftex-toc):
6875 * progmodes/gdb-mi.el (gdb-setup-windows):
6876 * progmodes/fortran.el (fortran-window-create):
6877 * net/newst-treeview.el (newsticker--treeview-window-init):
6878 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6879 * emulation/tpu-edt.el (tpu-gold-map):
6880 * emulation/crisp.el (crisp-mode-map):
6881 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6882
38bb2ca8
CY
68832011-10-29 Chong Yidong <cyd@gnu.org>
6884
aa4de341
CY
6885 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6886
e1eb5385
CY
6887 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6888
5d2ece3c
CY
6889 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6890 forged Ispell output (Bug#7904).
6891
38bb2ca8
CY
6892 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6893
d0af9f77
SM
68942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6895
6896 * doc-view.el: Avoid ugly errors about not finding nil.
6897 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6898 (doc-view-dvipdf-program, doc-view-unoconv-program)
6899 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6900 Avoid nil or absolute file name as default value.
6901 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6902
52bedd34
AM
69032011-10-28 Alan Mackenzie <acm@muc.de>
6904
db22a3c2 6905 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6906
7e43cfa5
AM
69072011-10-28 Alan Mackenzie <acm@muc.de>
6908
6909 Amend the handling of c-beginning/end-of-defun in nested declaration
6910 scopes.
6911
52bedd34
AM
6912 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6913 cc-langs.el. Change it to a defcustom.
7e43cfa5 6914
52bedd34
AM
6915 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6916 cc-vars.el.
7e43cfa5 6917
d0af9f77
SM
6918 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6919 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6920
52bedd34 6921 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6922 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6923 (c-widen-to-enclosing-decl-scope): New function.
6924 (c-while-widening-to-decl-block): New macro.
6925 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6926 outward for defun boundaries, and correspondingly change symbol
6927 `respect-enclosure' to `go-outward'.
6928 (c-declaration-limits): Change algorithm to report only the "innermost"
6929 defun's boundaries.
6930
1a2ce9ee
DD
69312011-10-28 Deniz Dogan <deniz@dogan.se>
6932
6933 * net/rcirc.el (rcirc-mode): Use hard newlines.
6934
bc97a826
AM
69352011-10-28 Alan Mackenzie <acm@muc.de>
6936
6937 Amend to indent and fontify macros "which include their own semicolon"
6938 correctly, using the "virtual semicolon" mechanism.
6939
52bedd34 6940 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6941
d0af9f77 6942 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6943 Recode to scan one line at a time rather than having \n and \r
58179cce 6944 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6945 (c-forward-label): Amend for virtual semicolons.
58179cce 6946 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6947
52bedd34
AM
6948 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6949 of the new C macros.
bc97a826 6950
52bedd34 6951 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6952 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6953 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6954 (c-opt-cpp-macro-define): Make into a full language variable.
6955 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6956 AWK Mode (including \n, \r) removed, no longer needed.
6957
d0af9f77
SM
6958 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6959 Invoke c-make-macro-with-semi-re.
bc97a826 6960
52bedd34
AM
6961 * progmodes/cc-vars.el (c-macro-with-semi-re):
6962 (c-macro-names-with-semicolon): New variables.
58179cce 6963 (c-make-macro-with-semi-re): New function.
bc97a826 6964
7a6c0941
SM
69652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * vc/log-edit.el: Fill empty field rather than adding new one.
6968 (log-edit-add-field): New function.
6969 (log-edit-insert-changelog): Use it.
6970
b0c4cdcf
ML
69712011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6972
6973 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6974
ee1f1da9
SM
69752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6976
6977 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6978 (gdb--check-interpreter): New function.
6979 (gdb): Use it.
6980
51bc5f8b
GM
69812011-10-27 Glenn Morris <rgm@gnu.org>
6982
416a2c45
GM
6983 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6984 (least-positive-float, least-negative-float)
6985 (least-positive-normalized-float, least-negative-normalized-float)
6986 (float-epsilon, float-negative-epsilon):
6987 Remove unnecessary declarations.
6988
6989 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6990 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6991 (least-positive-float, least-negative-float)
6992 (least-positive-normalized-float, least-negative-normalized-float)
6993 (float-epsilon, float-negative-epsilon): Add doc-strings,
6994 based on those in cl.texi.
6995
51bc5f8b
GM
6996 * files.el (set-visited-file-name): If the major-mode changed,
6997 reload the local variables. (Bug#9796)
6998
15de15c6
CY
69992011-10-27 Chong Yidong <cyd@gnu.org>
7000
7001 * subr.el (change-major-mode-after-body-hook): New hook.
7002 (run-mode-hooks): Run it.
7003
ee1f1da9
SM
7004 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7005 Use change-major-mode-before-body-hook.
15de15c6
CY
7006
7007 * simple.el (fundamental-mode):
7008 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7009 change introducing fundamental-mode-hook.
7010
5430d399
JB
70112011-10-26 Juanma Barranquero <lekktu@gmail.com>
7012
acc825c5 7013 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7014
ad74a69e
MA
70152011-10-26 Michael Albinus <michael.albinus@gmx.de>
7016
7017 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7018 tramp.el explicitly. (Bug#7583)
ad74a69e 7019
71d4c2a5
SM
70202011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7021
7022 * progmodes/octave-mod.el:
7023 * progmodes/octave-inf.el: Update maintainer.
7024
b1f6fa26
CY
70252011-10-26 Chong Yidong <cyd@gnu.org>
7026
7027 * subr.el (with-wrapper-hook): Rewrite doc.
7028
3f04efd6
MA
70292011-10-25 Michael Albinus <michael.albinus@gmx.de>
7030
7031 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7032 filenames "/method:foo:". (Bug#9793)
3f04efd6 7033
410488d3
SM
70342011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7037 (bug#9865).
7038
c1ebb47e
GM
70392011-10-24 Glenn Morris <rgm@gnu.org>
7040
7041 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7042
7f5c46c7
MA
70432011-10-24 Michael Albinus <michael.albinus@gmx.de>
7044
7045 * notifications.el: Add the requirement of a running D-Bus session
7046 bus to the Commentary.
7047
db2440b6
JL
70482011-10-24 Juri Linkov <juri@jurta.org>
7049
7050 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7051 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7052 (Bug#9364)
7053
feecf435
JL
70542011-10-24 Juri Linkov <juri@jurta.org>
7055
7056 * info.el (Info-following-node-name-re): Add newline to the list
7057 of allowed characters for leading space. (Bug#9824)
7058
a3839de2
SM
70592011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7060
acc825c5
SM
7061 * progmodes/octave-inf.el (inferior-octave-mode-map):
7062 Fix C-c C-h binding.
a3839de2
SM
7063 * progmodes/octave-mod.el (octave-help): Remove.
7064
09388e76
MA
70652011-10-23 Michael Albinus <michael.albinus@gmx.de>
7066
7067 Sync with Tramp 2.2.3.
7068
7069 * net/tramp-cache.el (top): Pacify byte-compiler using
7070 `init-file-user' and `site-run-file'.
7071
7072 * net/trampver.el: Update release number.
7073
86c60681
CY
70742011-10-23 Chong Yidong <cyd@gnu.org>
7075
7076 * files.el (toggle-read-only): Remove obsolete comment about
7077 version control.
7078
7079 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7080 for toggle-read-only. Note that this hasn't called vc-next-action
7081 since 2008-05-02, though it wasn't documented at the time.
7082
a3839de2
SM
7083 * vc/ediff-init.el (ediff-toggle-read-only-function):
7084 Use toggle-read-only.
86c60681 7085
cd5495ff
AM
70862011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7087
7088 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7089 of c-parse-state.
7090
00b77525 7091 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7092 correct faulty logical expression.
cd5495ff
AM
7093 (c-parse-state-state, c-record-parse-state-state):
7094 (c-replay-parse-state-state): New defvar/defuns.
7095 (c-debug-parse-state): Use new functions.
7096
42ee24ed
MR
70972011-10-22 Martin Rudalics <rudalics@gmx.at>
7098
7099 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7100 last fix. Use window-in-direction correctly.
42ee24ed 7101
a7dee7e7
CY
71022011-10-21 Chong Yidong <cyd@gnu.org>
7103
7104 * progmodes/idlwave.el (idlwave-mode):
7105 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7106 require-final-newline; that's done in prog-mode.
7107 Suggested by Stefan Monnier.
a7dee7e7 7108
e07b9a6d
MR
71092011-10-21 Martin Rudalics <rudalics@gmx.at>
7110
7111 * mouse.el (mouse-drag-window-above)
7112 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7113 (mouse-drag-mode-line-1, mouse-drag-header-line)
7114 (mouse-drag-vertical-line-rightward-window): Remove.
7115 (mouse-drag-line): New function.
7116 (mouse-drag-mode-line, mouse-drag-header-line)
7117 (mouse-drag-vertical-line): Call mouse-drag-line.
7118 * window.el (window-at-side-p, windows-at-side): New functions.
7119
7e1361d9
UM
71202011-10-21 Ulrich Mueller <ulm@gentoo.org>
7121
7122 * tar-mode.el (tar-grind-file-mode):
7123 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7124
30fcaf3a
CY
71252011-10-21 Chong Yidong <cyd@gnu.org>
7126
7127 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7128 * progmodes/vera-mode.el (vera-mode):
7129 Use mode-require-final-newline.
30fcaf3a 7130
516eddb0
GM
71312011-10-20 Glenn Morris <rgm@gnu.org>
7132
db22a3c2 7133 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7134
10d5f513
CS
71352011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7136
7137 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7138
ac6c8639
CY
71392011-10-20 Chong Yidong <cyd@gnu.org>
7140
7141 * emulation/cua-base.el (cua-mode):
7142 * mail/footnote.el (footnote-mode):
7143 * mail/mailabbrev.el (mail-abbrevs-mode):
7144 * net/xesam.el (xesam-minor-mode):
7145 * progmodes/bug-reference.el (bug-reference-mode):
7146 * progmodes/cap-words.el (capitalized-words-mode):
7147 * progmodes/compile.el (compilation-minor-mode)
7148 (compilation-shell-minor-mode):
7149 * progmodes/gud.el (gud-tooltip-mode):
7150 * progmodes/hideif.el (hide-ifdef-mode):
7151 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7152 * progmodes/subword.el (subword-mode):
7153 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7154 * progmodes/which-func.el (which-function-mode):
7155 * term/tvi970.el (tvi970-set-keypad-mode):
7156 * term/vt100.el (vt100-wide-mode):
7157 * textmodes/flyspell.el (flyspell-mode):
7158 * textmodes/ispell.el (ispell-minor-mode):
7159 * textmodes/nroff-mode.el (nroff-electric-mode):
7160 * textmodes/paragraphs.el (use-hard-newlines):
7161 * textmodes/refill.el (refill-mode):
7162 * textmodes/reftex.el (reftex-mode):
7163 * textmodes/rst.el (rst-minor-mode):
7164 * textmodes/sgml-mode.el (html-autoview-mode)
7165 (sgml-electric-tag-pair-mode):
7166 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7167 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7168 * emulation/crisp.el (crisp-mode):
7169 * emacs-lisp/eldoc.el (eldoc-mode):
7170 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7171 minor mode behavior.
7172
aa42ab43
JL
71732011-10-19 Juri Linkov <juri@jurta.org>
7174
7175 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7176 the list of hard-coded chars with escape-glyph face.
7177
89400f1d
SM
71782011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7179
7180 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7181
305c07f6
MA
71822011-10-19 Michael Albinus <michael.albinus@gmx.de>
7183
7184 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7185 running process.
7186
13754b54
GM
71872011-10-19 Glenn Morris <rgm@gnu.org>
7188
7189 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7190 Ignore ignored files. (Bug#9726)
7191
06e21633
CY
71922011-10-19 Chong Yidong <cyd@gnu.org>
7193
7194 Doc fix for minor modes, stating that an omitted argument enables
7195 the mode unconditionally when called from Lisp.
7196
7197 * abbrev.el (abbrev-mode):
7198 * allout.el (allout-mode):
7199 * autoinsert.el (auto-insert-mode):
7200 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7201 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7202 (global-auto-revert-mode):
7203 * battery.el (display-battery-mode):
7204 * composite.el (global-auto-composition-mode)
7205 (auto-composition-mode):
7206 * delsel.el (delete-selection-mode):
7207 * desktop.el (desktop-save-mode):
7208 * dired-x.el (dired-omit-mode):
7209 * dirtrack.el (dirtrack-mode):
7210 * doc-view.el (doc-view-minor-mode):
7211 * double.el (double-mode):
7212 * electric.el (electric-indent-mode, electric-pair-mode):
7213 * emacs-lock.el (emacs-lock-mode):
7214 * epa-hook.el (auto-encryption-mode):
7215 * follow.el (follow-mode):
7216 * font-core.el (font-lock-mode):
7217 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7218 * help.el (temp-buffer-resize-mode):
7219 * hilit-chg.el (highlight-changes-mode)
7220 (highlight-changes-visible-mode):
7221 * hi-lock.el (hi-lock-mode):
7222 * hl-line.el (hl-line-mode, global-hl-line-mode):
7223 * icomplete.el (icomplete-mode):
7224 * ido.el (ido-everywhere):
7225 * image-file.el (auto-image-file-mode):
7226 * image-mode.el (image-minor-mode):
7227 * iswitchb.el (iswitchb-mode):
7228 * jka-cmpr-hook.el (auto-compression-mode):
7229 * linum.el (linum-mode):
7230 * longlines.el (longlines-mode):
7231 * master.el (master-mode):
7232 * mb-depth.el (minibuffer-depth-indicate-mode):
7233 * menu-bar.el (menu-bar-mode):
7234 * minibuf-eldef.el (minibuffer-electric-default-mode):
7235 * mouse-sel.el (mouse-sel-mode):
7236 * msb.el (msb-mode):
7237 * mwheel.el (mouse-wheel-mode):
7238 * outline.el (outline-minor-mode):
7239 * paren.el (show-paren-mode):
7240 * recentf.el (recentf-mode):
7241 * reveal.el (reveal-mode, global-reveal-mode):
7242 * rfn-eshadow.el (file-name-shadow-mode):
7243 * ruler-mode.el (ruler-mode):
7244 * savehist.el (savehist-mode):
7245 * scroll-all.el (scroll-all-mode):
7246 * scroll-bar.el (scroll-bar-mode):
7247 * server.el (server-mode):
7248 * shell.el (shell-dirtrack-mode):
7249 * simple.el (auto-fill-mode, transient-mark-mode)
7250 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7251 (line-number-mode, column-number-mode, size-indication-mode)
7252 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7253 * strokes.el (strokes-mode):
7254 * time.el (display-time-mode):
7255 * t-mouse.el (gpm-mouse-mode):
7256 * tool-bar.el (tool-bar-mode):
7257 * tooltip.el (tooltip-mode):
7258 * type-break.el (type-break-mode-line-message-mode)
7259 (type-break-query-mode):
7260 * view.el (view-mode):
7261 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7262 (global-whitespace-mode, global-whitespace-newline-mode):
7263 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7264
a3839de2
SM
7265 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7266 Fix autogenerated docstring.
06e21633 7267
5214e501
JL
72682011-10-19 Juri Linkov <juri@jurta.org>
7269
7270 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7271 by checking environment variables "DESKTOP_SESSION" and
7272 "XDG_CURRENT_DESKTOP". (Bug#9779)
7273
195f8db9
JL
72742011-10-19 Juri Linkov <juri@jurta.org>
7275
7276 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7277 (browse-url-chromium-program, browse-url-chromium-arguments):
7278 New defcustoms.
7279 (browse-url-default-browser): Check for `browse-url-chromium' and
7280 call `browse-url-chromium-program'.
7281 (browse-url-chromium): New command. (Bug#9779)
7282
343a34ff
JB
72832011-10-18 Juanma Barranquero <lekktu@gmail.com>
7284
7285 * facemenu.el (list-colors-duplicates): On Windows, detect more
7286 duplicates by assuming that only colors matching "^System" are
7287 special "system colors". (Bug#9722)
7288
6978a151
SM
72892011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7290
7291 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7292 to distinguish the author from the committer.
7293
6a80b297
MA
72942011-10-18 Michael Albinus <michael.albinus@gmx.de>
7295
7296 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7297
b31a5677
JK
72982011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7299
7300 * international/mule.el (sgml-html-meta-auto-coding-function):
7301 Add support for detecting encoding in HTML5 specified only as
7302 <meta charset="UTF-8">. Implementation just makes http-equiv and
7303 content-type parts from HTML4 encoding string optional. (Bug#9716)
7304
80c6d77f
GM
73052011-10-18 Glenn Morris <rgm@gnu.org>
7306
7307 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7308
08b0fee8
CY
73092011-10-18 Chong Yidong <cyd@gnu.org>
7310
7311 * faces.el (cursor): Doc fix.
7312
67e729a5
CY
73132011-10-17 Chong Yidong <cyd@gnu.org>
7314
7315 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7316
343a34ff 73172011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7318
7319 * dirtrack.el (dirtrack): Support shell buffers with path
7320 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7321
0bc06380
TZ
73222011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7323
7324 * json.el: Bump version to 1.3 and note change in History.
7325 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7326
8b79f3e0
SM
73272011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7328
5a7c536b
SM
7329 * comint.el (comint-insert-input, comint-send-input)
7330 (comint-get-old-input-default, comint-backward-matching-input)
7331 (comint-next-prompt): Use nil instead of `input' for field property of
7332 past user input (bug#114).
7333
96a8a0df
SM
7334 * minibuffer.el (completion--replace): Inherit surrounding properties
7335 (bug#114).
7336 (minibuffer-complete-and-exit): Use it.
7337
8b79f3e0
SM
7338 * comint.el (comint--table-subvert): Quote the all-completions output
7339 (bug#9160).
7340
b8f7ff0d
MR
73412011-10-17 Martin Rudalics <rudalics@gmx.at>
7342
8b79f3e0 7343 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7344
b8f7ff0d 7345 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7346 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7347 entries and separate them from frame entries.
7348
c235b555
GM
73492011-10-15 Glenn Morris <rgm@gnu.org>
7350
7351 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7352 Doc fixes.
7353
6bbfa6e1
CY
73542011-10-15 Chong Yidong <cyd@stupidchicken.com>
7355
8b79f3e0
SM
7356 * net/network-stream.el (network-stream-open-starttls):
7357 Improve detection of failure due to lack of TLS support.
ec5c990d 7358
6bbfa6e1
CY
7359 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7360 putting the input text in front and in bold.
7361
98488977
SM
73622011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7363
3d1337be
SM
7364 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7365
ee0b45e4
SM
7366 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7367 empty buffer.
7368
98488977
SM
7369 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7370 unread-command-events rather than pushing yet-another event.
7371
186f4720
EZ
73722011-10-14 Eli Zaretskii <eliz@gnu.org>
7373
7374 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7375 the explanation of the possible choices. Make the options passed
7376 to completing-read shorter.
7377
8b7a997c
AM
73782011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7379
7380 * textmodes/flyspell.el (flyspell-large-region): Make sure
7381 extended character mode is used if defined (Bug#1339).
7382
12587bbb
EZ
73832011-10-13 Eli Zaretskii <eliz@gnu.org>
7384
7385 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7386 character info for LRE, LRO, RLE, and RLO characters by appending
7387 an invisible PDF.
12587bbb 7388
bad41229
SM
73892011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7390
7391 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7392 even in case of error; add debug spec; simplify data flow.
7393 (with-timeout-handler): Remove.
7394
28dbc92f
MA
73952011-10-12 Michael Albinus <michael.albinus@gmx.de>
7396
7397 Fix Bug#6019, Bug#9315.
7398
7399 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7400 complete `buffer-file-name', the local file name part could look
7401 remotely (for example on VMS).
7402
7403 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7404 `tramp-run-real-handler'.
7405 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7406 already quoted by '"'.
7407
7408 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7409 Let `file-name-handler-alist' be nil, the local file name part
7410 could look remotely (for example on VMS).
7411
e1b0b23a
SM
74122011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7413
7414 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7415 from here...
7416 (flyspell-post-command-hook): ...to here.
7417
a120bde9
SM
74182011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7419
7420 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7421 if not needed.
7422 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7423 using completion. Protect against "slow" callers.
7424 Remove the "message hack".
7425
7ce7717b
JL
74262011-10-11 Juri Linkov <juri@jurta.org>
7427
7428 * isearch.el (isearch-lazy-highlight-word): New variable.
7429 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7430 Use it. (Bug#9727)
7431
c02ee9d6
GM
74322011-10-11 Glenn Morris <rgm@gnu.org>
7433
7434 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7435 like f90-previous-statement does.
7436
93e616fd 74372011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7438
1f190e73 7439 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7440 only in interactive use, to avoid error.
7441
af7b6078
SM
74422011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * minibuffer.el (completion-file-name-table): Fix last change,
7445 i.e. ignore normal errors but not the other ones.
7446
0563dae9
MR
74472011-10-10 Martin Rudalics <rudalics@gmx.at>
7448
7449 * window.el (special-display-buffer-names)
7450 (special-display-regexps): Remove some remnants of earlier
7451 changes from doc-strings.
366ca7f3
MR
7452 (quit-windows-on): New function.
7453
7454 * vc/vc.el (vc-revert, vc-rollback):
7455 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7456 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7457 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7458
49677495
MR
74592011-10-09 Martin Rudalics <rudalics@gmx.at>
7460
7461 * window.el (frame-auto-hide-function): Add version tag.
7462 (Bug#9699)
7463
56f2d1e1
MA
74642011-10-09 Michael Albinus <michael.albinus@gmx.de>
7465
7466 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7467 condition.
7468
112a6592
LL
74692011-10-09 Leo Liu <sdl.web@gmail.com>
7470
7471 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7472 (Bug#9701)
7473
0812589b
GM
74742011-10-08 Glenn Morris <rgm@gnu.org>
7475
7476 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7477 before the first code statement zero indent. (Bug#9690)
7478
b2b0776e
CY
74792011-10-08 Chong Yidong <cyd@stupidchicken.com>
7480
7481 * simple.el (count-words-region): Always count in the region.
7482 Report the number of lines and characters too.
7483 (count-words): New command, which counts in the buffer if the
7484 region is inactive, as count-words-region used to.
7485 (count-words--message): New function. Handle plurals.
7486 (count-lines-region): Make it an alias for count-words-region.
7487
7488 * bindings.el (esc-map): Replace count-lines-region with
7489 count-words-region.
7490
c557cd6b
MR
74912011-10-08 Martin Rudalics <rudalics@gmx.at>
7492
7493 * window.el (window--delete): Delete dedicated frame
7494 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7495 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7496
61a57ef4 74972011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7498
3a7d293b 7499 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7500
c3833279
CY
75012011-10-07 Chong Yidong <cyd@stupidchicken.com>
7502
7503 * bindings.el ([M-left],[M-right]): Bind to left-word and
7504 right-word respectively.
7505
21ce8245
GM
75062011-10-07 Glenn Morris <rgm@gnu.org>
7507
7508 * cus-start.el (debug-on-quit): Fix custom type.
7509
6d823bb2
LMI
75102011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7511
0181e193
LMI
7512 * subr.el (define-key-after): Clarify that the function is not
7513 useful for non-menu keymaps.
7514
6d823bb2
LMI
7515 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7516
8e3459ce 75172011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7518
21ce8245 7519 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7520 in current minibuffer (Fix bug with recursive minibuffers).
7521
a1c2d21e
CY
75222011-10-06 Chong Yidong <cyd@stupidchicken.com>
7523
7524 * progmodes/gdb-mi.el (gdb): Doc fix.
7525
5a4cf282
MR
75262011-10-05 Martin Rudalics <rudalics@gmx.at>
7527
7528 * window.el (frame-auto-hide-function): New option replacing
7529 frame-auto-delete. Suggested by Stefan Monnier.
7530 (window--delete): Call frame-auto-hide-function instead of
7531 investigating frame-auto-delete.
c96111ea
MR
7532 (window-point-1, set-window-point-1): New functions.
7533 (window-in-direction, record-window-buffer, window-state-get-1)
7534 (display-buffer-record-window): Use window-point-1 instead of
7535 window-point.
7536 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7537
9854542e
SM
75382011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7541
8943cfb0
GM
75422011-10-05 Glenn Morris <rgm@gnu.org>
7543
7544 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7545 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7546
647ab967
LL
75472011-10-05 Leo Liu <sdl.web@gmail.com>
7548
7549 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7550 works with buffer object.
7551
3ddfbced
SM
75522011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * mpc.el (mpc-tool-bar-map): Add labels.
7555
bdfa5dd2
GM
75562011-10-04 Glenn Morris <rgm@gnu.org>
7557
7558 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7559
0e2070b5
MR
75602011-10-04 Martin Rudalics <rudalics@gmx.at>
7561
7562 * window.el (window--delete): New function.
7563 (frame-auto-delete): Resuscitate option.
7564 (bury-buffer, replace-buffer-in-windows)
7565 (quit-window): Rewrite using window--delete.
7566 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7567 Pass display-buffer-mark-dedicated to window--display-buffer-2
7568 (Bug#9639).
7569
3dc61a09
SM
75702011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7571
915a9b64
SM
7572 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7573 returns a list (bug#9554). Add remote file name completion.
7574 * comint.el (comint--table-subvert): Curry and get quote&unquote
7575 functions as arguments.
7576 (comint--complete-file-name-data): Adjust call accordingly.
7577 * pcomplete.el (pcomplete--table-subvert): Remove.
7578 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7579
3dc61a09
SM
7580 * minibuffer.el (completion-table-case-fold): Use currying.
7581 (completion--styles-type, completion--cycling-threshold-type):
7582 New constants.
7583 (completion-styles, completion-category-overrides)
7584 (completion-cycle-threshold): Use them.
7585 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7586 completion-table-case-fold.
7587
8ea0a993
SB
75882011-10-03 Stephen Berman <stephen.berman@gmx.net>
7589
7590 * minibuffer.el (completion-category-overrides): Fix type of styles
7591 and add more user friendly tags (bug#9660).
7592
8c24b7f6
SM
75932011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7594
7595 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7596 (mule-input-method-string): New widget.
7597 (default-input-method, language-info-custom-alist): Use it.
7598
428fe61a
SM
75992011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7600
32c1fffd
SM
7601 * pcomplete.el: Require comint.
7602 (pcomplete--common-suffix): Remove.
7603 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7604 (pcomplete--table-subvert): Sync with comint--table-subvert.
7605 (pcomplete--entries): Use comint-completion-file-name-table.
7606 * comint.el (comint-unquote-filename): Simplify.
7607 (comint-completion-file-name-table): New function (bug#9616).
7608 (comint--complete-file-name-data): Use it.
7609
428fe61a
SM
7610 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7611 (pcmpl-gnu-tar-buffer): Remove.
7612 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7613 around. Make sure pcomplete-suffix-list is only changed temporarily.
7614 Don't look inside the tar's file if it's too large.
428fe61a 7615
04c52e2f
CY
76162011-10-01 Chong Yidong <cyd@stupidchicken.com>
7617
ce3cefcc
CY
7618 * cus-edit.el (custom-mode-map):
7619 * epa.el (epa-key-list-mode-map):
7620 * man.el (Man-mode-map):
7621 * startup.el (splash-screen-keymap):
7622 * simple.el (special-mode-map): Use scroll-up-command and
7623 scroll-down-command.
7624
7625 * progmodes/idlw-help.el (idlwave-help-mode-map):
7626 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7627 * net/newst-plainview.el (newsticker-mode-map):
7628 * emulation/ws-mode.el (wordstar-mode-map):
7629 * emulation/vi.el (vi-com-map):
7630 * calc/calc-graph.el (calc-graph-show-dumb):
7631 * term/sun.el (terminal-init-sun):
7632 * term/ns-win.el (global-map):
7633 * progmodes/grep.el (grep-mode-map):
7634 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7635 * mail/rmail.el (rmail-mode-map):
7636 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7637
04c52e2f
CY
7638 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7639 custom-safe-themes as special.
7640
79adf8c8
JD
76412011-10-01 Julien Danjou <julien@danjou.info>
7642
7643 * notifications.el (notifications-notify): Fix docstring.
7644
63bd50d3
PS
76452011-10-01 Per Starbäck <per@starback.se>
7646
7647 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7648
199e4c7e
MR
76492011-09-30 Martin Rudalics <rudalics@gmx.at>
7650
7651 * startup.el (command-line-1): Fix last fix by inserting
7652 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7653 (Bug#9605) and (Bug#9636)
199e4c7e 7654
fe5f08dd
EZ
76552011-09-29 Eli Zaretskii <eliz@gnu.org>
7656
7657 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7658 window is hscrolled, move by logical lines. (Bug#9607)
7659 (line-move-visual): Update the doc string to the above effect.
7660
b5516bbd
MR
76612011-09-29 Martin Rudalics <rudalics@gmx.at>
7662
ccee00c0
MR
7663 * window.el (display-buffer-record-window): When WINDOW is the
7664 selected window use `point' instead of `window-point'. (Bug#9626)
7665
b5516bbd
MR
7666 * startup.el (command-line-1): Use insert-before-markers when
7667 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7668
b5516bbd
MR
7669 * help.el (help-window): Remove variable.
7670
52aa0014
GM
76712011-09-29 Glenn Morris <rgm@gnu.org>
7672
7673 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7674
df9a7357
JB
76752011-09-29 Juanma Barranquero <lekktu@gmail.com>
7676
7677 * descr-text.el (describe-char-categories): Accept category
7678 descriptions more than one line long.
7679
a8406c20
SM
76802011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7681
88d9610c
SM
7682 * simple.el (delete-trailing-whitespace): Fix last change.
7683
a5daf810
SM
7684 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7685 Don't confuse "y => 3" as the beginning of a `y' operation.
7686
a8406c20
SM
7687 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7688 object has more than 4 slots (bug#9613).
7689
a239d4e9
JB
76902011-09-28 Juanma Barranquero <lekktu@gmail.com>
7691
7692 * subr.el (with-output-to-temp-buffer):
7693 * net/quickurl.el (quickurl, quickurl-browse-url):
7694 Fix typos in docstrings.
7695
693fbdb6
EZ
76962011-09-27 Eli Zaretskii <eliz@gnu.org>
7697
7698 * minibuffer.el (completion-styles)
7699 (completion-category-overrides): Cross reference each other in doc
7700 strings.
7701
8b457e28
GM
77022011-09-27 Glenn Morris <rgm@gnu.org>
7703
7704 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7705 to split-string. (Bug#9606)
7706
85a16208
LMI
77072011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7708
7709 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7710 (bug#9615).
7711
502f9ebd
CY
77122011-09-27 Chong Yidong <cyd@stupidchicken.com>
7713
7714 * emacs-lisp/package.el (list-packages): Fix echo area message.
7715
7690bdea
LL
77162011-09-27 Leo Liu <sdl.web@gmail.com>
7717
7718 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7719
e2ee6f30
MA
77202011-09-25 Michael Albinus <michael.albinus@gmx.de>
7721
7722 * net/dbus.el (dbus-unregister-object): Don't release services for
7723 registered signals. (Bug#9581)
7724
f3f98342
TZ
77252011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7726
7727 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7728 function that picks between cfengine 2 and 3 support
7729 automatically. Update docs accordingly.
7730
dd7aa8dd
KH
77312011-09-22 Kenichi Handa <handa@m17n.org>
7732
7733 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7734 ZERO.
7735 (indian-itrans-v5-table-for-tamil): New variable.
7736 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7737
3f2b07f8
KM
77382011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7739
7740 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7741 that's true if the current command involved collapsing of text.
7742 It's reset to false at the beginning of the next command.
7743 (allout-post-command-business): Move the cursor to the beginning
7744 of entry if the cursor is hidden and collapsing activity just
7745 happened.
7746
371d6a61
CY
77472011-09-24 Chong Yidong <cyd@stupidchicken.com>
7748
7749 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7750 tracking (Bug#9541).
7751
2ac2721a
UJ
77522011-09-24 Ulf Jasper <ulf.jasper@web.de>
7753
7754 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7755 (newsticker-show-news): Automatically load html rendering package
7756 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7757 because w3m-fill-column is let-bound" and the error "Symbol's value
7758 as variable is void: w3m-fill-column".
2ac2721a 7759
fac7ae53
MA
77602011-09-24 Michael Albinus <michael.albinus@gmx.de>
7761
7762 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7763 Release services only if they are defined. (Bug#9581)
7764
e08b633b
RS
77652011-09-23 Richard Stallman <rms@gnu.org>
7766
e488d29c
RS
7767 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7768 distinguish start of paragraph from start of its text.
7769
19c38752
RS
7770 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7771
e08b633b
RS
7772 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7773 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7774 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7775
0a39f27e
AS
77762011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7777
7778 * international/mule-diag.el (mule-diag): Insert a newline after
7779 each fontset description.
7780
db4e950d
SM
77812011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7782
7783 * simple.el (delete-trailing-whitespace):
7784 Document last change; simplify.
7785
eca3f3ea
PW
77862011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7787
d68e189a
PW
7788 * simple.el (delete-trailing-whitespace): Also delete
7789 extra newlines at the end of the buffer.
7790
eca3f3ea
PW
7791 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7792 (picture-newline): Use forward-line so as to ignore fields.
7793
01c157cc
SM
77942011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * subr.el (with-wrapper-hook): Fix edebug spec.
7797
022de23e
LMI
77982011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7799
7800 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7801 (bug#4538).
7802
91683089
MA
78032011-09-23 Michael Albinus <michael.albinus@gmx.de>
7804
eca3f3ea
PW
7805 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7806 Fix nasty bug using wrong cached values.
91683089 7807
5bdd6fa4
AM
78082011-09-23 Alan Mackenzie <acm@muc.de>
7809
7810 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7811
97adfb97
CY
78122011-09-23 Chong Yidong <cyd@stupidchicken.com>
7813
7814 * window.el (pop-to-buffer): Ensure right window is selected if we
7815 chose another frame.
7816
d4ef2b50
EZ
78172011-09-22 Eli Zaretskii <eliz@gnu.org>
7818
7819 * simple.el (what-cursor-position): Use get-char-property-change
7820 and next-single-char-property-change, to be able to show display
7821 properties that come from overlays as well as text properties.
7822
72258fe5
CY
78232011-09-22 Chong Yidong <cyd@stupidchicken.com>
7824
7825 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7826
7827 * cmuscheme.el (run-scheme, switch-to-scheme):
7828 * cus-edit.el (customize-group, custom-buffer-create)
7829 (customize-browse):
7830 * info.el (info):
7831 * shell.el (shell):
7832 * mail/sendmail.el (mail):
7833 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7834
8f098516
RS
78352011-09-22 Richard Stallman <rms@gnu.org>
7836
7837 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7838 move back only to line beg, don't move back over blank lines.
7839
e74f1bb6
MA
78402011-09-22 Michael Albinus <michael.albinus@gmx.de>
7841
7842 * files.el (copy-directory): Set directory attributes only in case
7843 they could be retrieved from the source directory. (Bug#9565)
7844
bfeef8b6
DK
78452011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7846
7847 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7848 (hs-find-block-beginning, hs-hide-level-recursive):
7849 Ignore strings as well as comments. (Bug#9502)
7850
7e423bb8
AS
78512011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7852
7853 * progmodes/sql.el (sql-comint-postgres):
7854 Convert port number to a string. (Bug#9566)
7855
b4d72fcf
MR
78562011-09-22 Martin Rudalics <rudalics@gmx.at>
7857
7858 * window.el (quit-window): Undedicate window when switching to
7859 previous buffer. Reported by Thierry Volpiatto
7860 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7861 (special-display-popup-frame): When popping up a new frame reset
7862 its previous buffers to nil. Simplify code.
b4d72fcf 7863
a7b88dc6
MA
78642011-09-21 Michael Albinus <michael.albinus@gmx.de>
7865
7866 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7867 and process filter, as done also in `shell-command'.
7868
cf4eacfd
MR
78692011-09-21 Martin Rudalics <rudalics@gmx.at>
7870
eca3f3ea 7871 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7872 Call set-window-start with NOFORCE argument t.
7873 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7874 (quit-window): Reword doc-string. Handle new format of
7875 quit-restore parameter. Don't delete window if it has a
7876 previous buffer we can show instead of the present one.
7877 (display-buffer-record-window): Rewrite using a new format for
7878 the quit-restore window parameter
7879 (special-display-popup-frame, display-buffer-same-window)
7880 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7881 (display-buffer-pop-up-window, display-buffer-use-some-window):
7882 Adapt symbol passed to display-buffer-record-window.
7883 * help.el (help-window-setup): Handle new format of quit-restore
7884 parameter.
7885
8d28cb95
SM
78862011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7887
94ab793f
SM
7888 * faces.el (face-list): Fix docstring (bug#9564).
7889
8d28cb95
SM
7890 * window.el (display-buffer--action-function-custom-type):
7891 Don't include internal functions in the Custom interface.
7892
3820edeb
JL
78932011-09-20 Juri Linkov <juri@jurta.org>
7894
7895 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7896 (Info-forward-node, Info-backward-node, Info-next-preorder)
7897 (Info-last-preorder): Use it. (Bug#9528)
7898
5147931d
JL
78992011-09-20 Juri Linkov <juri@jurta.org>
7900
7901 * info.el (Info-last-preorder): Visit last menu item only when
7902 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7903
cf499a1a
JD
79042011-09-20 Julien Danjou <julien@danjou.info>
7905
7906 * password-cache.el (password-cache-remove): Remove entries even if the
7907 value is nil, so that password with a nil value (negative caching) is
7908 possible to invalidate.
7909
f84e2fe2
LM
79102011-09-20 Lawrence Mitchell <wence@gmx.li>
7911
7912 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7913 all whitespace around breakpoint. (Bug#9553)
7914 (f90-find-breakpoint): Only break at whitespace inside a comment.
7915
78054a46
SM
79162011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7917
7918 * minibuffer.el (completion-file-name-table): Keep track of errors.
7919 (completion-table-with-predicate): Handle the case where pred1 is nil.
7920 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7921
345083b2
SM
79222011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7923
e24e27be
SM
7924 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7925 (debugger-return-value): Signal an error if the debugging context does
7926 not await any return value.
7927
345083b2
SM
7928 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7929 * image-mode.el (image-toggle-display-text)
7930 (image-toggle-display-image): Stay away from evil `intangible'.
7931
08d355e3
LL
79322011-09-19 Leo Liu <sdl.web@gmail.com>
7933
7934 * replace.el (occur-revert-arguments): Make it permanent-local.
7935 (occur-mode): Don't call font-lock-defontify.
7936
f01da43f
CY
79372011-09-19 Chong Yidong <cyd@stupidchicken.com>
7938
7939 * net/ldap.el (ldap-search-internal): Don't push empty search
7940 result (Bug#9508).
7941
b6072fa6
SM
79422011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7943
7944 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7945
443d6696
MA
79462011-09-19 Michael Albinus <michael.albinus@gmx.de>
7947
7948 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7949 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7950
7cc6e154
JL
79512011-09-18 Juri Linkov <juri@jurta.org>
7952
7953 * buff-menu.el (Buffer-menu-mode-map):
7954 * dired.el (dired-mode-map):
7955 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7956 (lisp-interaction-mode-map):
7957 * emacs-lisp/package.el (package-menu-mode-map):
7958 * epa.el (epa-key-list-mode-map):
7959 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7960 (menu-bar-options-menu):
7961 * outline.el (outline-mode-menu-bar-map):
7962 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7963 * vc/vc-dir.el (vc-dir-menu-map):
7964 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7965 Capitalize non-function content words in menu item strings.
7966
7967 * dired.el (dired-mode-map): Add menu item for
7968 `image-dired-dired-toggle-marked-thumbs'.
7969
80302a81
JL
79702011-09-18 Juri Linkov <juri@jurta.org>
7971
7972 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7973 to `isearch-case-fold-search' and restore its original value
7974 after the `isearch-mode' call.
7975
46c5cf66
JL
79762011-09-18 Juri Linkov <juri@jurta.org>
7977
7978 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7979 because `zgrep' returns 1 for successful matches (bug#9226).
7980
d18b513b
JL
79812011-09-18 Juri Linkov <juri@jurta.org>
7982
7983 * info.el (Info-extract-menu-node-name): Check the second match
7984 for empty string (second test-case of bug#9528).
7985 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7986 intermediate nodes to the history (first test-case of bug#9528).
7987
72753f87
JL
79882011-09-18 Juri Linkov <juri@jurta.org>
7989
7990 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7991 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7992
c9384295
JL
79932011-09-18 Juri Linkov <juri@jurta.org>
7994
1154d12e
JB
7995 * info.el (Info-file-supports-index-cookies):
7996 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7997 outputs one more line for long file names (bug#4142).
c9384295 7998
d473dce8
CY
79992011-09-18 Chong Yidong <cyd@stupidchicken.com>
8000
8001 * newcomment.el (comment-normalize-vars): If prompting for
8002 comment-start, set comment-start-skip too (Bug#8424).
8003
2176854d
JB
80042011-09-18 Johan Bockgård <bojohan@gnu.org>
8005
8006 * icomplete.el: Fix previous fix of Bug#5849.
8007 (icomplete-mode): Don't set completion-show-inline-help.
8008 (icomplete-minibuffer-setup): Set completion-show-inline-help
8009 locally during icompletion.
8010
3aace4e4
CY
80112011-09-18 Chong Yidong <cyd@stupidchicken.com>
8012
c940224f
CY
8013 * woman.el (woman2-process-escapes): Don't delete unrecognized
8014 escapes (Bug#7843).
8015
3aace4e4
CY
8016 * files.el (inhibit-first-line-modes-regexps): Add image files.
8017 (hack-local-variables-prop-line): Return nil for malformed
8018 prop-lines (Bug#9044).
8019
710dec63
MA
80202011-09-18 Michael Albinus <michael.albinus@gmx.de>
8021
8022 * net/tramp.el (top): Don't require 'shell.
8023 (tramp-methods): Fix docstring.
8024 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8025 Return complete remote file name. Handle "smb" case.
8026 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8027 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8028
8029 * net/tramp-compat.el (top): Require 'shell.
8030
8031 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8032 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8033 `tramp-current-host'.
8034 (tramp-get-remote-tmpdir): Remove.
8035
8036 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8037 `tramp-tmpdir' entries.
8038 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8039 (tramp-smb-handle-file-attributes): Ignore errors.
8040 (tramp-smb-wait-for-output): Check also for process end.
8041
5d5ac8ec
LMI
80422011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8043
8044 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8045 when sending QUIT (bug#9312).
8046
8c0f49f0
CY
80472011-09-17 Chong Yidong <cyd@stupidchicken.com>
8048
8049 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8050 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8051 occur-mode-display-occurrence.
8052 (occur-edit-mode): Add usage message.
8053 (occur-cease-edit): New command.
8054 (occur-after-change-function): Use text properties to find the
8055 position of the prefix text.
8056 (occur-engine): Set stickiness of prefix text properties.
8057
8f1383f7
GM
80582011-09-17 Glenn Morris <rgm@gnu.org>
8059
8060 * progmodes/etags.el (complete-tag):
8061 Fix call to completion-in-region. (Bug#9526)
8062
744ba0e3
JL
80632011-09-17 Juri Linkov <juri@jurta.org>
8064
8065 * textmodes/ispell.el (ispell-word): Add to the error message
8066 the word, ispell program name and current dictionary (bug#9121).
8067 (ispell-tex-arg-end): Capitalize "error" in the error message.
8068
d9bbf400
AS
80692011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8070
8071 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8072 check. (Bug#4251)
8073
8da11505
JL
80742011-09-17 Juri Linkov <juri@jurta.org>
8075
8076 * window.el (window-safe-min-height, window-safe-min-width):
8077 Fix typos (followup to bug#9522).
8078
a91adc7e
SJ
80792011-09-17 Sven Joachim <svenjoac@gmx.de>
8080
8081 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8082
064f328a
EZ
80832011-09-16 Eli Zaretskii <eliz@gnu.org>
8084
8085 * simple.el (line-move): If goal-column is set, move by logical
8086 lines, not by display lines. (Bug#971)
8087 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8088 to reflect the above change.
8089
e69df516
SM
80902011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8091
8092 * image.el (imagemagick-register-types): Use regexp-opt.
8093
cbb0f9ab
CY
80942011-09-15 Chong Yidong <cyd@stupidchicken.com>
8095
8096 * window.el (display-buffer-base-action): Rename from
8097 display-buffer-default-action. Make default value empty.
8098 (display-buffer-overriding-action): Convert to defvar.
8099 (display-buffer-fallback-action): New var.
8100
25322144
CY
81012011-09-15 Chong Yidong <cyd@stupidchicken.com>
8102
8103 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8104 declaration.
8105 (package--add-to-archive-contents): If there is a duplicate entry
8106 with an older version, remove it.
8107 (package-menu-mark-delete, package-menu-mark-install)
8108 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8109 (package-menu-mark-obsolete-for-deletion):
8110 Use package-menu-get-status instead of a regexp search.
25322144
CY
8111 (package-menu-get-status): Use tabulated-list-entry.
8112 (package-menu-mark-upgrades): New command.
d770725a 8113 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8114 (package-menu-execute): Do installation before deletion.
8115 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8116 instead of checking major-mode.
8117 (package-menu--find-upgrades): New function.
8118
7520339c
LMI
81192011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8120
8121 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8122 passwords in the log buffer.
65a046c4
LMI
8123 (smtpmail-process-filter): Update the process marker so that the
8124 "broken by peer" status message is inserted in the right place.
7520339c 8125
d3c30954
SM
81262011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8127
3fe48822
SM
8128 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8129 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8130 bibtex-completion-at-point-function.
8131 (bibtex-completion-at-point-function): Use them.
8132
1b8b3954
SM
8133 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8134
d3c30954
SM
8135 * mpc.el (mpc-constraints-tag-lookup): New function.
8136 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8137 also to browser "album|playlist".
8138
72779976
JL
81392011-09-14 Juri Linkov <juri@jurta.org>
8140
8141 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8142 (isearch-edit-string): Use length of `isearch-string' when
8143 `isearch-fail-pos' returns nil.
8144 (isearch-message): Remove duplicate code and call
8145 `isearch-fail-pos' with arg `t'.
8146
a0bf2bcd
CY
81472011-09-14 Chong Yidong <cyd@stupidchicken.com>
8148
17bb0a2d
CY
8149 * replace.el (occur-mode-goto-occurrence): Don't force using other
8150 window (Bug#9499).
8151
a0bf2bcd
CY
8152 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8153
f678e0b6
MR
81542011-09-14 Martin Rudalics <rudalics@gmx.at>
8155
8156 * window.el (display-buffer-window): Remove.
8157 (display-buffer-record-window): Use help-setup window parameter
8158 instead of variable display-buffer-window.
8159 (display-buffer-function, special-display-buffer-names)
8160 (special-display-function): Mention help-setup parameter instead
8161 of display-buffer-window in doc-string.
d3c30954
SM
8162 * help.el (help-window-setup): New argument help-window.
8163 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8164 Reword some messages.
8165 (with-help-window): Pass window used for displaying the buffer
8166 to help-window-setup. Don't set display-buffer-window.
8167
8e39b2e8
GM
81682011-09-13 Glenn Morris <rgm@gnu.org>
8169
8170 * emacs-lisp/debug.el (debugger-make-xrefs):
8171 Preserve point. (Bug#9462)
8172
85e9c04b
CY
81732011-09-13 Chong Yidong <cyd@stupidchicken.com>
8174
8175 * window.el (window-deletable-p): Use next-frame.
8176
1b36ed6a
MR
81772011-09-13 Martin Rudalics <rudalics@gmx.at>
8178
8179 * window.el (window-auto-delete): Remove.
8180 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8181 dedication and previous buffers.
1b36ed6a
MR
8182 (switch-to-prev-buffer): Don't delete window.
8183 (delete-windows-on): Delete a window's frame if and only if the
8184 window is dedicated.
8185 (replace-buffer-in-windows): Delete buffer's window or frame if
8186 and only if window is dedicated.
8187 (quit-window): Handle quit-restore as before last change.
4d61f28d 8188 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8189
ef8ef9fb
CY
81902011-09-13 Chong Yidong <cyd@stupidchicken.com>
8191
8192 * window.el (window-deletable-p): Never delete the last frame on a
8193 given terminal.
8194
b2cba41e
GM
81952011-09-13 Glenn Morris <rgm@gnu.org>
8196
8197 * help.el (describe-key-briefly): Copy previous standard-output change.
8198
51553db6 81992011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8200
8201 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8202
b7556719
GM
82032011-09-13 Glenn Morris <rgm@gnu.org>
8204
8205 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8206 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8207
64b51947
CY
82082011-09-12 Chong Yidong <cyd@stupidchicken.com>
8209
8210 * dired-aux.el (dired-mark-read-string): Don't return default
8211 value on empty input (Bug#9361).
8212 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8213 Omit initial minibuffer contents.
8214 (dired-do-chmod): Signal an error on empty input.
8215 (dired-mark-read-string): Don't return default on empty input.
8216
8217 * files.el (file-modes-symbolic-to-number): Doc fix.
8218
393a301e
SM
82192011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8220
8221 * international/mule-cmds.el (ucs-completions): Remove.
8222 (read-char-by-name): Use complete-with-action instead; add metadata.
8223
fa5660f9
CY
82242011-09-11 Chong Yidong <cyd@stupidchicken.com>
8225
8226 * window.el (display-buffer--action-function-custom-type)
8227 (display-buffer--action-custom-type): New vars.
8228 (display-buffer-alist, display-buffer-default-action)
8229 (display-buffer-overriding-action): Add defcustom types.
8230
4a592f66
CY
8231 * frame.el (delete-other-frames): Doc fix (Bug#276).
8232
73d56dbd
LMI
82332011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8234
8235 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8236
37ac18a3
CY
82372011-09-11 Chong Yidong <cyd@stupidchicken.com>
8238
8239 Change modes that used same-window-* vars to use switch-to-buffer.
8240
8241 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8242 Use switch-to-buffer.
8243
8244 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8245 (customize-browse, custom-buffer-create-other-window):
8246 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8247
8248 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8249 (Info-prev, Info-up, Info-speedbar-goto-node)
8250 (info-display-manual): Use switch-to-buffer.
8251 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8252
8253 * mail/sendmail.el (mail): Use switch-to-buffer.
8254 (mail-recover): Use switch-to-buffer-other-window.
8255
8256 * cmuscheme.el (run-scheme, switch-to-scheme):
8257 * ielm.el (ielm):
8258 * shell.el (shell):
8259 * net/rlogin.el (rlogin):
8260 * net/telnet.el (telnet, rsh):
8261 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8262
10195bd6
AS
82632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8264
8265 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8266
b322f63a
LMI
82672011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8268
39d7fed6
LMI
8269 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8270 so don't mention it (bug#9301).
ba5a81f1 8271 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8272
ee0e9f11
LMI
8273 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8274 match `x', `w32' and `ns', like the manual says (bug#9029).
8275
0b1c89c1 8276 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8277 (process-kill-buffer-query-function): Mention the buffer name in
8278 the query.
0b1c89c1 8279
77549ea8
LMI
8280 * image-mode.el (image-next-line): The line parameter is mandatory
8281 (bug#9258).
8282
803ef892
LMI
8283 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8284 which can be useful (bug#9301).
8285
12980837
LMI
8286 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8287
91054f8f
LMI
8288 * subr.el (match-string): Mention that the current buffer should
8289 be the same as the search was done in (bug#9282).
8290
b322f63a
LMI
8291 * facemenu.el: Disable the remove-* commands if the mark isn't
8292 active (bug#9162).
8293
3199b96f
CY
82942011-09-10 Chong Yidong <cyd@stupidchicken.com>
8295
8296 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8297 of display-buffer.
8298 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8299
8300 * replace.el (occur-mode-goto-occurrence)
8301 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8302 and display-buffer.
8303
8304 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8305 display-buffer.
8306
8307 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8308 special-display and same-window variables.
8309 (mail-other-window): Use switch-to-buffer-other-window.
8310 (mail-other-frame): USe switch-to-buffer-other-frame.
8311
393a301e
SM
8312 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8313 Use display-buffer-other-frame.
3199b96f
CY
8314 (gdb-display-gdb-buffer): Use pop-to-buffer.
8315
8316 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8317
8318 * progmodes/python.el: Don't set same-window-buffer-names.
8319
8320 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8321
8322 * window.el (display-buffer-alist): Add *Python*.
8323
8319e0bf
CY
83242011-09-10 Chong Yidong <cyd@stupidchicken.com>
8325
8326 * window.el (display-buffer-alist): Add entry for buffers
8327 previously handled same-window-*.
8328 (display-buffer-alist, display-buffer-default-action)
8329 (display-buffer-overriding-action): Mark as risky.
8330 (display-buffer-alist): Document action function changes.
8331 (display-buffer--same-window-action)
8332 (display-buffer--other-frame-action): New variables.
8333 (switch-to-buffer, display-buffer-other-frame): Use them.
8334 (display-buffer): Rename reuse-frame entry to reusable-frames.
8335 (display-buffer-reuse-selected-window): Function deleted.
8336 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8337 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8338 (display-buffer-special): New function.
8339 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8340 display-buffer-reuse-or-pop-window. Split off special-display
8341 part into display-buffer-special.
8342 (display-buffer-use-some-window): Don't perform any special
8343 pop-up-frames handling.
8344 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8345 (display-buffer--maybe-same-window): Rename from
0d3ff375 8346 display-buffer-maybe-same-window.
8319e0bf 8347
919a69aa
CY
8348 * info.el: Don't set same-window-regexps.
8349 (info-setup): New function.
8350 (info-other-window, info): Call it.
8351
8352 * cus-edit.el: Don't set same-window-regexps.
8353 (customize-group): New argument.
8354 (customize-group-other-window): Use it.
8355 (customize-face, customize-face-other-window): Likewise.
8356 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8357
8319e0bf
CY
8358 * net/rlogin.el:
8359 * net/telnet.el:
8360 * progmodes/gud.el: Don't set same-window-regexps.
8361
8362 * cmuscheme.el:
8363 * ielm.el:
8364 * shell.el:
8365 * mail/sendmail.el:
8366 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8367
25173000
JL
83682011-09-10 Juri Linkov <juri@jurta.org>
8369
8370 * isearch.el (isearch-edit-string): Remove obsolete mention of
8371 `C-w' (`isearch-yank-word-or-char') from docstring.
8372 (isearch-query-replace): Fix typo in docstring (bug#9466).
8373
056e44ef
JL
83742011-09-10 Juri Linkov <juri@jurta.org>
8375
8376 * paren.el (show-paren-function): Don't show escaped parens.
8377 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8378
c3760c17
EZ
83792011-09-10 Eli Zaretskii <eliz@gnu.org>
8380
8381 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8382 (mm-default-file-encoding): Remove autoload forms, they are
8383 replaced with autoload cookies in mml.el and mm-encode.el.
8384 (mail-add-attachment): New command.
8385 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8386 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8387 the doc string.
8388 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8389
fece895e
RT
83902011-09-10 Reuben Thomas <rrt@sc3d.org>
8391
e69df516
SM
8392 * simple.el (count-words-region): Use buffer if there's no region
8393 (bug#9429).
fece895e 8394
5e68ce4a
JL
83952011-09-09 Juri Linkov <juri@jurta.org>
8396
8397 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8398 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8399 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8400
0a6b9622
AM
84012011-09-09 Alan Mackenzie <acm@muc.de>
8402
8403 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8404 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8405
14a29deb
EZ
84062011-09-09 Eli Zaretskii <eliz@gnu.org>
8407
8408 Fix for Savannah bug#9392.
8409 * simple.el (mail-encode-mml): New defvar.
8410
8411 * mail/rmail.el (mail-encode-mml): Add a defvar.
8412 (rmail-enable-mime-composing): Default to t.
8413 (rmail-forward): Use MIME method of forwarding only if both
8414 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8415 Set mail-encode-mml non-nil if the MIME method was used.
8416
8417 * mail/sendmail.el (mml-to-mime): Add autoload form.
8418 (mail-encode-mml): Add a defvar.
8419 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8420 to nil.
8421 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8422 message through mml-to-mime, and reset mail-encode-mml to nil.
8423
28c45130
GM
84242011-09-09 Glenn Morris <rgm@gnu.org>
8425
8426 * woman.el (woman-if-body): When processing an .el block,
8427 do not delete the next .el block as well. (Bug#9447)
69f4b618 8428 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8429
9b1c252e
MR
84302011-09-08 Martin Rudalics <rudalics@gmx.at>
8431
8432 * window.el (window-deletable-p): Make sure window is live before
8433 invoking window-prev-buffers.
8434
567457e3
LL
84352011-09-08 Leo Liu <sdl.web@gmail.com>
8436
8437 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8438
97f05794
JL
84392011-09-08 Juri Linkov <juri@jurta.org>
8440
8441 * progmodes/compile.el (compilation-environment): Make it
8442 a defcustom (bug#8340).
8443
8b0874b5
MR
84442011-09-08 Martin Rudalics <rudalics@gmx.at>
8445
8446 * window.el (frame-auto-delete): Rename to window-auto-delete.
8447 Make it control auto-deletion of windows and/or frames.
8448 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8449 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8450 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8451 Rewrite handling of case when window/frame can be deleted.
8452 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8453 argument t. (Bug#9456)
8b0874b5 8454
4feb6e73
CY
84552011-09-07 Chong Yidong <cyd@stupidchicken.com>
8456
8457 * help-mode.el (help-mode): Restore autoload.
8458
91ab9c13
JL
84592011-09-07 Juri Linkov <juri@jurta.org>
8460
8461 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8462 `compilation-environment'. Set buffer-local
8463 `compilation-environment' to `thisenv' later after (funcall mode).
8464 (Bug#8340)
8465
8466 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8467 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8468 instead of replacing its value. (Bug#8340)
8469
0527e251
JL
84702011-09-07 Juri Linkov <juri@jurta.org>
8471
8472 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8473 based on text properties put by `grep-filter' instead of matching
8474 escape sequences.
8475 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8476 to the value of `grep-error-screen-columns' (bug#9438).
8477
249f792c
JL
84782011-09-07 Juri Linkov <juri@jurta.org>
8479
8480 * simple.el (next-error-highlight, next-error-highlight-no-select):
8481 Doc fix (bug#9432).
8482
ff7271b9
OT
84832011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8484
8485 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8486 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8487
183fc730
LL
84882011-09-07 Leo Liu <sdl.web@gmail.com>
8489
8490 * net/rcirc.el (rcirc-mode): Conditionally initialize
8491 rcirc-input-ring.
8492
77694924
SM
84932011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 * emacs-lisp/find-func.el (find-function-C-source): Only set
8496 find-function-C-source-directory after checking that we found a source
8497 file there (bug#9440).
8498
d809b8eb
AM
84992011-09-06 Alan Mackenzie <acm@muc.de>
8500
8501 * isearch.el (isearch-other-meta-char): Wherever a key list is
8502 unread, "unread" the prefix arg, too. This fixes bug #8901.
8503
453de99f
OG
85042011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8505
8506 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8507
90439906
JL
85082011-09-05 Juri Linkov <juri@jurta.org>
8509
8510 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8511
f62bd846
JL
85122011-09-05 Juri Linkov <juri@jurta.org>
8513
8514 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8515 keeping point where processing of grep matches begins, and
8516 continue to delete remaining escape sequences from the same point.
8517 (grep-filter): Make leading zero optional in "0?1;31m" because
8518 git-grep emits "\033[1;31m" escape sequences unlike expected
8519 "\033[01;31m" as GNU Grep does (bug#9408).
8520 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8521
045820ec
JL
85222011-09-05 Juri Linkov <juri@jurta.org>
8523
8524 * subr.el (y-or-n-p): Capitalize "yes".
8525
f5e29b9b
MA
85262011-09-04 Michael Albinus <michael.albinus@gmx.de>
8527
8528 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8529 `tramp-cache-unload-hook' where appropriate.
8530 (tramp-methods): Rename `tramp-remote-sh' to
8531 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8532 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8533
8534 * net/tramp-sh.el (top): Don't require 'shell.
8535 (tramp-methods): Add `tramp-remote-shell' and
8536 `tramp-remote-shell-args' entries.
8537 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8538 (tramp-sh-handle-shell-command): Remove.
8539 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8540 Use `tramp-remote-shell'.
8541
2784c434
CY
85422011-09-03 Chong Yidong <cyd@stupidchicken.com>
8543
393a301e 8544 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8545 (sendmail-query-once): Save directly to send-mail-function.
8546 Update message-send-mail-function too.
8547
8548 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8549
464cdf56
CS
85502011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8551
8552 * progmodes/python.el (python-mode-map): Use correct function to
8553 start python interpreter from menu-bar (as reported by Geert
8554 Kloosterman).
8555 (inferior-python-mode-map): Fix typo.
393a301e 8556 (python-shell-map): Remove.
464cdf56 8557
d37e5c87
DD
85582011-09-03 Deniz Dogan <deniz@dogan.se>
8559
8560 * net/rcirc.el (rcirc-print): Simplify code for
8561 rcirc-scroll-show-maximum-output. There is no need to walk
8562 through all windows to find the right one.
8563
f3ada0ee
CS
85642011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8565
8566 * help.el (help-return-method): Doc fix.
8567
1f3c99ca
MR
85682011-09-03 Martin Rudalics <rudalics@gmx.at>
8569
8570 * window.el (window-deletable-p): Don't return a non-nil value
8571 when there's a buffer that was shown in the window before.
8572 (Bug#9419)
393a301e
SM
8573 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8574 Set window's previous buffers to nil.
1f3c99ca 8575
a3cf097f
EZ
85762011-09-03 Eli Zaretskii <eliz@gnu.org>
8577
8578 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8579 newline before and after the tag line, so it doesn't interfere
8580 with determining the paragraph direction of bidirectional text.
8581
3d03de90
LL
85822011-09-03 Leo Liu <sdl.web@gmail.com>
8583
8584 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8585
c3313451
CY
85862011-09-02 Chong Yidong <cyd@stupidchicken.com>
8587
393a301e 8588 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8589 (pop-to-buffer): Change interactive spec. Pass second argument
8590 directly to display-buffer.
8591 (display-buffer): Fix interactive spec. Use functionp to
8592 distinguish between a function and a list of functions.
8593
8594 * abbrev.el (edit-abbrevs):
8595 * arc-mode.el (archive-extract):
8596 * autoinsert.el (auto-insert):
8597 * bookmark.el (bookmark-bmenu-list):
8598 * files.el (find-file):
8599 * view.el (view-buffer):
8600 * progmodes/compile.el (compilation-goto-locus):
8601 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8602
89894cd8
CY
86032011-09-02 Chong Yidong <cyd@stupidchicken.com>
8604
8605 * window.el (display-buffer-alist): Doc fix.
8606 (display-buffer): Add docstring. Don't treat
8607 display-buffer-default specially.
8608 (display-buffer-reuse-selected-window)
8609 (display-buffer-same-window, display-buffer-maybe-same-window)
8610 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8611 (display-buffer-pop-up-window)
8612 (display-buffer-reuse-or-pop-window)
8613 (display-buffer-use-some-window): New functions.
8614 (display-buffer-default-action): Use them.
393a301e 8615 (display-buffer-default): Delete.
89894cd8
CY
8616 (pop-to-buffer-1): Fix choice of actions.
8617
ae0bc9fb
SM
86182011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8619
8620 * minibuffer.el (completion--insert-strings): Don't get confused by
8621 completion entries that end with an LF char.
8622
e9d90883
EZ
86232011-09-01 Eli Zaretskii <eliz@gnu.org>
8624
8625 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8626
437014c8
CY
86272011-09-01 Chong Yidong <cyd@stupidchicken.com>
8628
8629 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8630 (display-buffer-same-window, display-buffer-other-window):
8631 New functions.
437014c8
CY
8632 (pop-to-buffer-1): New function. Use the above.
8633 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8634 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8635
8636 * view.el (view-buffer-other-window, view-buffer-other-frame):
8637 Just use pop-to-buffer.
8638
a5e063d5
TV
86392011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8640
8641 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8642
793d32bb
WH
86432011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8644
8645 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8646
d65e4c15
RS
86472011-08-31 Richard Stallman <rms@gnu.org>
8648
8649 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8650 of the separation of rmail-view-buffer from rmail-buffer.
8651 If you say no to "replace original", the decrypt is in the
8652 view buffer. If you say yes, the decrypt goes into the
8653 rmail buffer also.
8654
f818cd2a
MR
86552011-08-31 Martin Rudalics <rudalics@gmx.at>
8656
8657 * window.el (display-buffer-window): Rewrite doc-string.
8658 (display-buffer-record-window): New function.
8659 (display-buffer-macro-specifiers)
8660 (display-buffer-even-window-sizes, display-buffer-set-height)
8661 (display-buffer-set-width, display-buffer-in-window)
8662 (display-buffer-reuse-window, display-buffer-split-specifiers)
8663 (display-buffer-side-specifiers, display-buffer-split-window-1)
8664 (display-buffer-split-window, display-buffer-split-atom-window)
8665 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8666 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8667 (display-buffer-other-window-means-other-frame)
8668 (display-buffer-normalize-special)
8669 (display-buffer-normalize-default)
8670 (display-buffer-normalize-argument)
8671 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8672 (display-buffer-normalize-specifiers, display-buffer-frame)
8673 (display-buffer-same-window, display-buffer-same-frame)
8674 (display-buffer-other-window)
8675 (display-buffer-same-frame-other-window)
8676 (display-buffer-other-frame, pop-to-buffer-same-window)
8677 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8678 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8679 (switch-to-buffer-same-frame)
8680 (switch-to-buffer-other-window-same-frame)
8681 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8682 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8683 (display-buffer-alist-set): Remove.
8684 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8685 (special-display-regexps, special-display-function):
8686 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8687 parameter.
8688 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8689 (special-display-frame-alist, special-display-popup-frame)
8690 (same-window-buffer-names, same-window-regexps, same-window-p)
8691 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8692 (split-window-preferred-function, split-height-threshold)
8693 (split-width-threshold, window-splittable-p)
8694 (split-window-sensibly, window--try-to-split-window)
8695 (window--frame-usable-p, even-window-heights)
8696 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8697 (window--display-buffer-2, display-buffer-other-frame):
8698 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8699 (display-buffer-default, display-buffer-assq-regexp): New functions.
8700 (display-buffer-alist): Rewrite doc-string.
8701 (display-buffer-default-action)
8702 (display-buffer-overriding-action): New variables.
8703 (display-buffer, switch-to-buffer): Rewrite.
8704 (pop-to-buffer): Restore Emacs 23 behavior but use
8705 window-normalize-buffer-to-display.
8706 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8707 Restore Emacs 23 behavior but use
8708 window-normalize-buffer-to-switch-to.
8709 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8710 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8711 Rewrite using Emacs 23 options.
f818cd2a 8712
5bc3b51d
MA
87132011-08-31 Michael Albinus <michael.albinus@gmx.de>
8714
8715 * net/tramp.el (tramp-root-regexp): Remove.
8716 (tramp-completion-file-name-regexp-unified)
8717 (tramp-completion-file-name-regexp-separate)
8718 (tramp-completion-file-name-regexp-url): Don't use leading volume
8719 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8720 (tramp-drop-volume-letter): Simplify definition.
8721 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8722
b1a4f8e1
SM
87232011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8724
8725 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8726 (bug#9356).
8727
5664fa7b
RT
87282011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8729
b1a4f8e1 8730 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8731
9a45d6c3
JL
87322011-08-29 Juri Linkov <juri@jurta.org>
8733
8734 * isearch.el (isearch-done): Don't display message "Mark saved"
8735 when arg `edit' is non-nil to prevent its flicker in the echo area.
8736
fb87e0fb
CY
87372011-08-28 Chong Yidong <cyd@stupidchicken.com>
8738
8739 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8740 obsolete packages for deletion.
8741
09ac1c2a
CS
87422011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8743
8744 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8745 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8746 view-mode from help-mode.
8747 (help-xref-override-view-map): Remove.
8748 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8749 view-mode is not used anymore.
8750
7a1ff57f
CY
87512011-08-28 Chong Yidong <cyd@stupidchicken.com>
8752
8753 * server.el (server-port): Doc fix.
8754
b9696605
CY
8755 * cus-theme.el (custom-theme-choose-mode): Inherit from
8756 special-mode (Bug#9124).
8757 (custom-theme-choose-mode-map): Add special-mode to parent.
8758
ef8cdf8c
AM
87592011-08-28 Alan Mackenzie <acm@muc.de>
8760
8761 * progmodes/cc-fonts.el
8762 (c-make-font-lock-BO-decl-search-function): New function.
8763 (c-basic-matchers-after - "Fontify the clauses after various
8764 keywords"): Extract the three keyword lists for the 3 erroneous
8765 constructs from the list of four, and use the new function above
8766 in place of an old one.
8767
27de4e20
DD
87682011-08-28 Deniz Dogan <deniz@dogan.se>
8769
8770 * net/rcirc.el (rcirc-insert-prev-input)
8771 (rcirc-insert-next-input): Remove unused argument.
8772
356a3681
SM
87732011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8774
8775 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8776
3fc9b218
AM
87772011-08-27 Alan Mackenzie <acm@muc.de>
8778
8779 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8780 handle function pointer parameters properly.
8781
538a061c
MR
87822011-08-27 Martin Rudalics <rudalics@gmx.at>
8783
8784 * window.el (display-buffer-reuse-window): Fix case where
8785 selected window was reused with non-nil OTHER-WINDOW argument.
8786 (Bug#9381)
8787
35b1c40c
DD
87882011-08-27 Deniz Dogan <deniz@dogan.se>
8789
8790 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8791 oftc's NickServ messages.
8792
2f6a3e79
GM
87932011-08-27 Glenn Morris <rgm@gnu.org>
8794
8795 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8796
7254299e
CY
87972011-08-26 Chong Yidong <cyd@stupidchicken.com>
8798
8799 * emacs-lisp/package.el (package-install): Call package-initialize
8800 if called interactively.
8801
f8ccf167
LL
88022011-08-26 Leo Liu <sdl.web@gmail.com>
8803
8804 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8805
3e8cd5ce
JL
88062011-08-25 Juri Linkov <juri@jurta.org>
8807
8808 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8809 `search-whitespace-regexp' (bug#9364).
8810
93eb7113
JL
88112011-08-25 Juri Linkov <juri@jurta.org>
8812
8813 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8814 `regexp-search-ring' to their global values to protect from
8815 updating by `read-from-minibuffer' (bug#9185).
8816
f65d1611
JL
88172011-08-25 Juri Linkov <juri@jurta.org>
8818
8819 * textmodes/ispell.el (ispell-command-loop): Add newline
8820 at the end of the "Use option `i'..." line.
8821
f1cf7a31
JL
88222011-08-25 Juri Linkov <juri@jurta.org>
8823
8824 * battery.el (display-battery-mode): If `battery-status-function'
8825 or `battery-mode-line-format' is nil, display the message and set
8826 `display-battery-mode' to nil (bug#9363).
8827
0c95fcf7
EZ
88282011-08-25 Eli Zaretskii <eliz@gnu.org>
8829
8830 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8831 bidi-string-mark-left-to-right; they are unnecessary now.
8832
a2ebe600
DD
88332011-08-25 Deniz Dogan <deniz@dogan.se>
8834
8835 * net/quickurl.el: Documentation typo fixes.
8836
e4ed06f1
CY
88372011-08-25 Chong Yidong <cyd@stupidchicken.com>
8838
8839 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8840
e5f1c99e
GM
88412011-08-25 Glenn Morris <rgm@gnu.org>
8842
b2948976
GM
8843 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8844
e5f1c99e
GM
8845 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8846 (smtpmail-via-smtp): Handle nil response from smtp.
8847
f22f4808
JL
88482011-08-24 Juri Linkov <juri@jurta.org>
8849
8850 * proced.el (proced-marked): Inherit from `error' instead of
8851 `font-lock-warning-face'.
8852
8853 * ibuffer.el (ibuffer-marked-face): Change default face from
8854 `font-lock-warning-face' to `warning'.
8855 (ibuffer-deletion-face): Change default face from
8856 `font-lock-type-face' to `error'.
8857
8858 * battery.el (battery-update): Use the face `error' instead of
8859 `font-lock-warning-face' (bug#6117).
8860
6a93965e
JL
88612011-08-24 Juri Linkov <juri@jurta.org>
8862
8863 * faces.el (success): Change face color from "Green3" to
8864 "ForestGreen" on light background (bug#9353).
8865
1ed43b09
CY
88662011-08-24 Chong Yidong <cyd@stupidchicken.com>
8867
5664fa7b
RT
8868 * window.el (quit-window): Rename from quit-restore-window.
8869 Use same arglist as old quit-window.
1ed43b09
CY
8870 (frame-auto-delete): Doc fix.
8871
8872 * view.el (view-mode-exit): Use quit-window.
8873
11dcdbb2
JL
88742011-08-24 Juri Linkov <juri@jurta.org>
8875
8876 * isearch.el (isearch-ring-adjust1): Start visiting previous
8877 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8878 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8879 for empty search string (when the last search string is reused
8880 automatically) to adjust the isearch ring to the last element and
8881 prepare the correct index for further M-p commands (bug#9185).
8882
de62b4df
KH
88832011-08-24 Kenichi Handa <handa@m17n.org>
8884
8885 * international/ucs-normalize.el: If decomposition property of
8886 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8887 nil.
8888 (nfd, nfkd): Likewise.
8889
963b492b
SM
88902011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8891
8892 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8893 from process filters aren't reliably transmitted to the surrounding
8894 accept-process-output.
8895 (mpc-proc-check): New function.
8896 (mpc-proc-sync): Use it (bug#8293)
8897
93b6b5e1
SM
88982011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8901 Add compatibility functions (bug#9313).
8902
bca633fb
EZ
89032011-08-23 Eli Zaretskii <eliz@gnu.org>
8904
b177498a
EZ
8905 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8906
6df6ae42 8907 * international/uni-bidi.el: Regenerate.
bca633fb 8908
0902a04e
KH
89092011-08-23 Kenichi Handa <handa@m17n.org>
8910
8911 * international/charprop.el:
8912 * international/uni-bidi.el:
8913 * international/uni-category.el:
8914 * international/uni-combining.el:
8915 * international/uni-comment.el:
8916 * international/uni-decimal.el:
8917 * international/uni-decomposition.el:
8918 * international/uni-digit.el:
8919 * international/uni-lowercase.el:
8920 * international/uni-mirrored.el:
8921 * international/uni-name.el:
8922 * international/uni-numeric.el:
8923 * international/uni-old-name.el:
8924 * international/uni-titlecase.el:
8925 * international/uni-uppercase.el: Regenerate.
8926
3bbf23bc
MR
89272011-08-23 Martin Rudalics <rudalics@gmx.at>
8928
8929 * help.el (help-window-setup): Fix message displayed when other
8930 window is reused. (Bug#9341)
8931
b3fd59bd
SM
89322011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8933
1802e444
SM
8934 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8935 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8936
b3fd59bd
SM
8937 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8938 Mark obsolete.
8939 * shell.el (shell-parse-pcomplete-arguments): New function.
8940 (shell-completion-vars): Use it instead (bug#9160).
8941
4eb61348
SM
89422011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8943
867cab74
SM
8944 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8945 strings and comments (bug#9333).
8946
4eb61348
SM
8947 * emacs-lisp/debug.el (debug-arglist): New function.
8948 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8949 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8950
262a1439
JL
89512011-08-22 Juri Linkov <juri@jurta.org>
8952
56ee679c
JL
8953 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8954 Revert regexp that highlights output switches to its old
8955 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8956
262a1439
JL
8957 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8958 to check for empty output (bug#9226).
8959
f13f86fb
CY
89602011-08-22 Chong Yidong <cyd@stupidchicken.com>
8961
8962 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8963 symbol-constituent as the default, as that stops font-lock from
8964 working properly (Bug#8843).
8965
c65c9622
LMI
89662011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8967
8968 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8969 `coding-system-for-*' around the process open call to avoid
8970 auth-source side effects.
e7f2c178 8971 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8972 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8973 probe hangs.
c65c9622 8974
23a8a5ab
CY
89752011-08-21 Chong Yidong <cyd@stupidchicken.com>
8976
ff98b2dd
CY
8977 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8978
23a8a5ab
CY
8979 * emacs-lisp/find-func.el (find-function-noselect): New arg
8980 lisp-only.
8981
8982 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8983 signal an error for built-in functions (Bug#6664).
8984
f5e3c598
LMI
89852011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8986
8987 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8988 (smtpmail-try-auth-methods): Use it.
8989
a3f2468a
CY
89902011-08-21 Chong Yidong <cyd@stupidchicken.com>
8991
2c34e8da
CY
8992 * font-lock.el (font-lock-fontify-region)
8993 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8994 (font-lock-default-unfontify-buffer)
8995 (font-lock-default-fontify-region)
8996 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8997
b3fd59bd
SM
8998 * progmodes/compile.el (compilation-error-properties):
8999 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9000 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9001 `ant' regexp.
ee31aabc 9002
a3f2468a
CY
9003 * net/browse-url.el (browse-url-firefox): Don't call
9004 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9005
8e999f70
GM
90062011-08-20 Glenn Morris <rgm@gnu.org>
9007
c21a496a
GM
9008 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9009
59ee0542
GM
9010 * tutorial.el (tutorial--default-keys): Update some default bindings.
9011
8e999f70
GM
9012 * files.el (hack-local-variables): Fully ignore case for "mode:".
9013
e3715033
AM
90142011-08-20 Alan Mackenzie <acm@muc.de>
9015
9016 Resolve invalid use of a regexp in regexp-opt.
9017
4d61f28d
JB
9018 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9019 detection for a java annotation.
e3715033 9020
4d61f28d 9021 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9022 detection for a java annotation.
9023
4d61f28d
JB
9024 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9025 handling for java.
e3715033
AM
9026 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9027
04ed2e9c
CY
90282011-08-20 Chong Yidong <cyd@stupidchicken.com>
9029
9030 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9031 (Bug#9274).
9032
826cee64
AM
90332011-08-20 Alan Mackenzie <acm@muc.de>
9034
58179cce 9035 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9036 such a construct. Mainly for when jit-lock etc. starts a chunk
9037 here.
9038
58179cce 9039 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9040 variable.
58179cce 9041 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9042 c-make-font-lock-search-function.
9043 (c-make-font-lock-search-function): Use the above function.
9044 (c-make-font-lock-context-search-function): New function.
9045 (c-cpp-matchers): Enhance the preprocessor expression case with
9046 the above function
9047 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9048 which takes an expression.
9049
9050 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9051
13009bd8
MR
90522011-08-20 Martin Rudalics <rudalics@gmx.at>
9053
9054 * window.el (display-buffer-reuse-window)
9055 (display-buffer-pop-up-window): Don't reuse or split a side
9056 window.
9057
9234ff7f
GM
90582011-08-19 Glenn Morris <rgm@gnu.org>
9059
9060 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9061 Downcase "Mode:". (Bug#9331)
9234ff7f 9062
f635daa1
CY
90632011-08-18 Chong Yidong <cyd@stupidchicken.com>
9064
9065 * international/characters.el: Add L and R categories.
9066
9067 * subr.el (bidi-string-mark-left-to-right): Rename from
9068 string-mark-left-to-right. Use category search.
9069
9070 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9071
bc987f8b
JL
90722011-08-18 Juri Linkov <juri@jurta.org>
9073
9074 * faces.el (error, warning, success): New faces with definitions
9075 copied from old default values of `font-lock-warning-face',
9076 `compilation-warning', `compilation-info' (bug#6117).
9077
9078 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9079
9080 * progmodes/compile.el (compilation-error): Inherit from `error'.
9081 (compilation-warning): Inherit from `warning'.
9082 (compilation-info): Inherit from `success'.
9083
9084 * dired.el (dired-marked): Inherit from `warning'.
9085 (dired-flagged): Inherit from `error'.
9086
57173b96
LMI
90872011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9088
3e79eb87
LMI
9089 * mail/smtpmail.el (auth-source): Require to avoid problems with
9090 binding variables (bug#9298). Also clean up some unused
9091 autoloads.
9092
b3fd59bd
SM
9093 * net/network-stream.el (network-stream-open-starttls):
9094 Support using starttls.el without using gnutls-cli.
57173b96 9095
02b404de
JL
90962011-08-17 Juri Linkov <juri@jurta.org>
9097
9098 * progmodes/grep.el (rgrep): Handle the case when
9099 `grep-find-command' is a cons cell (bug#9278).
9100
8c9177f2
MR
91012011-08-17 Martin Rudalics <rudalics@gmx.at>
9102
9103 * window.el (display-buffer-pop-up-frame): Run frame creation
9104 function with BUFFER current (as special-display-popup-frame
9105 does). Reported by Drew Adams.
9106
3644a0ab
DU
91072011-08-17 Daiki Ueno <ueno@unixuser.org>
9108
9109 * epa-mail.el: Simplify GnuPG group expansion using
9110 epg-expand-group.
9111 (epa-mail-group-alist, epa-mail-group-modtime)
9112 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9113 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9114 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9115 Remove.
9116
5e617bc2 91172011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9118
9119 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9120
9c4aeabf
AM
91212011-08-16 Alan Mackenzie <acm@muc.de>
9122
9123 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9124 Correct, to avoid the inside of macros.
9125
3a99bf64
RS
91262011-08-16 Richard Stallman <rms@gnu.org>
9127
04963aa8
RS
9128 * epa-mail.el: Handle GnuPG group definitions.
9129 (epa-mail-group-alist, epa-mail-group-modtime)
9130 (epa-mail-gnupg-conf-file): New variables.
9131 (epa-mail-parse-groups, epa-mail-sync-groups)
9132 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9133 (epa-mail-expand-recipients): New functions.
9134 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9135
177549d0
RS
9136 * mail/rmail.el (rmail-epa-decrypt): New command.
9137
fe38beef
RS
9138 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9139 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9140 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9141 (epa-decrypt-armor-in-region): Make error message clearer.
9142
934eacb9
SM
91432011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9146 and "a2b" to "ab" for `prefix'.
9147
d024fb4e
CY
91482011-08-14 Chong Yidong <cyd@stupidchicken.com>
9149
9150 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9151 filter groups.
de148fee
CY
9152 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9153 Fourquet (Bug#8804).
d024fb4e 9154
62f1ca49
JB
91552011-08-12 Juanma Barranquero <lekktu@gmail.com>
9156
9157 * startup.el (argi): Declare as global variable (bug#9275).
9158
9ccaaa4b
CY
91592011-08-12 Chong Yidong <cyd@stupidchicken.com>
9160
9161 * subr.el (string-mark-left-to-right): Search the entire string
9162 for RTL script, not just the terminating character. Doc fix.
9163
a3dae87a
SM
91642011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9165
6cd18349
SM
9166 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9167 New function.
9168 (js--regexp-literal, js-syntax-propertize-function): Remove.
9169 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9170 (js-mode-map): Don't rebind electric keys.
9171 (js-insert-and-indent): Remove.
9172 (js-mode): Setup electric-layout and electric-indent instead.
9173
a3dae87a
SM
9174 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9175
9d5cb631
DU
91762011-08-12 Daiki Ueno <ueno@unixuser.org>
9177
9178 * epa.el (epa-progress-callback-function): Fix the logic of
9179 displaying progress.
9180 * epa-file.el (epa-file-insert-file-contents): Make progress
9181 display more user-friendly.
9182 (epa-file-write-region): Ditto.
9183
3e26a4a2
CY
91842011-08-10 Chong Yidong <cyd@stupidchicken.com>
9185
9186 * subr.el (string-mark-left-to-right): New function.
9187
9188 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9189 Use string-mark-left-to-right.
9190 (list-buffers-noselect): Caller changed.
9191
a3dae87a
SM
9192 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9193 Use string-mark-left-to-right.
3e26a4a2
CY
9194 (tabulated-list-print): Recenter after moving point.
9195
ac8cf6e6
JL
91962011-08-10 Juri Linkov <juri@jurta.org>
9197
9198 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9199 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9200 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9201
8d96c9a4
CY
92022011-08-09 Chong Yidong <cyd@stupidchicken.com>
9203
9204 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9205 (Bug#7554).
9206
7be1c708 92072011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9208
9209 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9210 character. (Bug#6594)
9211
37e11a63
CY
92122011-08-08 Chong Yidong <cyd@stupidchicken.com>
9213
839dde57
CY
9214 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9215 (image-dired--with-db-file): New macro.
9216 (image-dired-write-tags, image-dired-remove-tag)
9217 (image-dired-create-gallery-lists, image-dired-write-comments)
9218 (image-dired-get-comment, image-dired-mark-tagged-files)
9219 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9220 (image-dired-gallery-generate): Use insert-file-contents.
9221
37e11a63
CY
9222 * time.el (display-time-world-list, display-time-world-display):
9223 * time-stamp.el (time-stamp-string):
9224 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9225 set-time-zone-rule (Bug#7337).
9226
0b4946c4
DU
92272011-08-08 Daiki Ueno <ueno@unixuser.org>
9228
9229 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9230 (epg-error-to-string, epg-errors-to-string): New function.
9231 (epg-wait-for-completion): Reverse errors list.
9232 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9233 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9234 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9235 (epg-sign-keys, epg-generate-key-from-file)
9236 (epg-generate-key-from-string): Format errors by using
9237 epg-errors-to-string (bug#9255).
9238 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9239
75bfc667
JL
92402011-08-07 Juri Linkov <juri@jurta.org>
9241
9242 * faces.el (list-faces-display): Remove extra angle bracket
9243 from `help-mode-map'.
9244
9245 * info.el (Info-history-toc-nodes): Doc fix.
9246
9247 * longlines.el (longlines-mode): Doc fix.
9248
673e08bb
SM
92492011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9250
4640dd88
SM
9251 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9252 of statements and in a few more cases (bug#9183).
9253
673e08bb
SM
9254 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9255 New functions.
9256 (cl-transform-lambda): Use them (bug#9239).
9257
89b3f019
MR
92582011-08-05 Martin Rudalics <rudalics@gmx.at>
9259
9260 * window.el (display-buffer-same-window)
9261 (display-buffer-same-frame, display-buffer-other-window)
9262 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9263 (pop-to-buffer-other-window)
9264 (pop-to-buffer-same-frame-other-window)
9265 (pop-to-buffer-other-frame): Make them defuns.
9266 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9267
640c8776
SM
92682011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9270 * subr.el (make-composed-keymap): Move from C. Change calling
9271 convention, and improve docstring to bring attention to a subtle point.
9272 * minibuffer.el (completing-read-default): Adjust accordingly.
9273
63648a95
MA
92742011-08-03 Michael Albinus <michael.albinus@gmx.de>
9275
9276 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9277 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9278
9279 * net/trampver.el: Update release number.
9280
b796c9b7
SM
92812011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9284 "in" (bug#9190).
9285
2239d7d5
LMI
92862011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9287
e07dd7c3
LMI
9288 * mail/sendmail.el (sendmail-query-once): Restore the current
9289 buffer after querying (bug#9074).
9290
0e6a2bd7
LMI
9291 * dired.el (dired-flagged): Use different faces for marked and
9292 flagged files (bug#6117).
9293
ce887515
LMI
9294 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9295 (bug#4433).
9296
92f2affc
LMI
9297 * ido.el (ido-mode): Switch off the message if called
9298 non-interactively.
9299
57d5aff0
LMI
9300 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9301 before 587, since it appears that that's more likely to work for
9302 more people.
9303
98cd6c18 9304 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9305 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9306 exist.
9307
b96dec83
LMI
9308 * info.el: Remove the `Info-beginning-of-buffer' function
9309 (bug#8325).
9310
b796c9b7
SM
9311 * net/network-stream.el (network-stream-open-starttls):
9312 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9313
d90e2ea0
MR
93142011-08-01 Martin Rudalics <rudalics@gmx.at>
9315
9316 * window.el (display-buffer-in-window): Don't set dedicated status
9317 of window here (Bug#9215).
9318 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9319 (display-buffer-pop-up-side-window)
b796c9b7 9320 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9321
cca09170
SM
93222011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9323
9324 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9325 before binding generated-autoload-file.
9326
027b979c
DD
93272011-08-01 Deniz Dogan <deniz@dogan.se>
9328
9329 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9330
3c7ee4f3
MA
93312011-07-30 Michael Albinus <michael.albinus@gmx.de>
9332
9333 Sync with Tramp 2.2.2.
9334
9335 * net/trampver.el: Update release number.
9336
2cc8e51a
JL
93372011-07-30 Juri Linkov <juri@jurta.org>
9338
9339 * dired-aux.el (dired-touch-initial): Remove function.
9340 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9341 current time, and `default' to the last modification time of the
9342 current marked file (bug#6887).
9343
a514d856
JM
93442011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9345
9346 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9347 numeric argument to read-number (bug#9163).
a514d856 9348
8a7eddd7
MA
93492011-07-27 Michael Albinus <michael.albinus@gmx.de>
9350
9351 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9352 connection process, it could be nil.
9353
1ddd96f5
LL
93542011-07-27 Leo Liu <sdl.web@gmail.com>
9355
9356 Simplify url handling in rcirc-mode.
9357
9358 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9359 (rcirc-browse-url-at-mouse): Remove.
9360 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9361
b248a85d
AM
93622011-07-26 Alan Mackenzie <acm@muc.de>
9363
9364 Fontify bitfield declarations properly.
9365
9366 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9367 (c-symbol-chars): Now exported as a lang variable.
9368 (c-not-primitive-type-keywords): New lang variable.
9369
9370 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9371 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9372 parsed as a bitfield declaration.
b248a85d 9373
b796c9b7
SM
9374 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9375 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9376 (c-punctuation-in): New function.
9377 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9378 declarations properly.
9379
68575ab0
UJ
93802011-07-26 Ulf Jasper <ulf.jasper@web.de>
9381
9382 * calendar/icalendar.el (icalendar--all-events): Take care of
9383 multiple vcalendars in a single file.
b796c9b7 9384 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9385
0f0a88b9
DD
93862011-07-25 Deniz Dogan <deniz@dogan.se>
9387
9388 * image.el (insert-image): Clarifying docstring.
9389
0b3f36df
MA
93902011-07-24 Michael Albinus <michael.albinus@gmx.de>
9391
9392 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9393 `tramp-send-command-and-check' if there is no error.
9394 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9395
a9901f61
AM
93962011-07-22 Alan Mackenzie <acm@muc.de>
9397
9398 Prevent cc-langs.elc being loaded at run time.
9399
9400 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9401 cc-langs.
9402
4d61f28d 9403 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9404 "(require 'cc-langs)". Quote a form so it will evaluate at
9405 (cc-mode's) compilation time.
9406
11d074b2
MA
94072011-07-22 Michael Albinus <michael.albinus@gmx.de>
9408
9409 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9410 loading. (Bug#9114)
9411
938b94c8
MR
94122011-07-21 Martin Rudalics <rudalics@gmx.at>
9413
9414 * window.el (display-buffer-pop-up-window)
9415 (display-buffer-pop-up-side-window)
9416 (display-buffer-in-side-window): Call display-buffer-set-height
9417 and display-buffer-set-width after setting the new window's
b796c9b7 9418 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9419
bfa4f190
SS
94202011-07-20 Sam Steingold <sds@gnu.org>
9421
9422 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9423 (etags-tags-included-tables): Call `convert-standard-filename' on
9424 the file names contained in TAGS so that windows Emacs can handle
9425 TAGS files created by cygwin ctags.
9426
8ca42262
LMI
94272011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9428
9429 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9430 which apparently didn't work.
9431
5db2afd2 94322011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9433
5db2afd2
RW
9434 * proced.el (proced-send-signal): For *Marked Processes* buffer
9435 put point at beginning of buffer.
9436
92e15d10
SB
94372011-07-19 Stephen Berman <stephen.berman@gmx.net>
9438
9439 * proced.el (proced-format): Make header lines align with the text
9440 (bug#1779).
9441
1bfd59e5
LMI
94422011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9443
9444 * view.el (view-buffer): Allow running in `special' modes if we're
9445 visiting a file (bug#8615).
9446
f5aae37c
MR
94472011-07-19 Martin Rudalics <rudalics@gmx.at>
9448
9449 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9450 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9451 New functions.
f5aae37c
MR
9452 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9453 more accurately.
9454
bf2c1571
AM
94552011-07-18 Alan Mackenzie <acm@muc.de>
9456
9457 Fontify declarators properly when, e.g., a jit-lock chunk begins
9458 inside a declaration.
9459
9460 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9461
b796c9b7
SM
9462 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9463 New function.
bf2c1571
AM
9464 (c-complex-decl-matchers): Insert reference to
9465 c-font-lock-enclosing-decls.
9466
9467 * progmodes/cc-engine.el (c-backward-single-comment):
9468 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9469 to nil around calls to (forward-comment -1).
9470
4e190b80
LMI
94712011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9472
12dc863d
LMI
9473 * image.el (put-image): Doc typo fix.
9474
a762e966
LMI
9475 * progmodes/etags.el (tags-search): Doc typo fix.
9476
4e190b80
LMI
9477 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9478 password if we get errors 550 to 554.
9479
f019fb21
LMI
94802011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9481
b796c9b7 9482 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9483
81746738
LMI
9484 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9485 indentation character (bug#6380).
9486
3ee3a1b5
LMI
9487 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9488
c82f64de
LMI
9489 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9490 to clarify what the problem is (bug#4291).
9491
f019fb21
LMI
9492 * simple.el (current-kill): Clarify what
9493 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9494 (auto-fill-mode): Document `auto-fill-function' in relation to
9495 `auto-fill-mode' (bug#2470).
f019fb21 9496
0794775d
LM
94972011-07-16 Lawrence Mitchell <wence@gmx.li>
9498
9499 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9500 method if slot is read-only (bug#9035).
9501
be39b8cc
MR
95022011-07-16 Martin Rudalics <rudalics@gmx.at>
9503
b796c9b7 9504 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9505 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9506 selected before, see discussion of (Bug#8615), (Bug#6954).
9507 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9508
6ccf7859
GM
95092011-07-15 Glenn Morris <rgm@gnu.org>
9510
9511 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9512 Respect help-form.
6ccf7859 9513
87e86684
LM
95142011-07-09 Lawrence Mitchell <wence@gmx.li>
9515
9516 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9517 (gnutls-negotiate): Use it.
9518
d6066239
LMI
95192011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9520
b796c9b7
SM
9521 * net/gnutls.el (gnutls-negotiate):
9522 Upcase `gnutls-algorithm-priority'.
d6066239 9523
bd23ebc0
GM
95242011-07-15 Glenn Morris <rgm@gnu.org>
9525
c65bca65
GM
9526 * jka-compr.el (jka-compr-verbose): Move from here...
9527 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9528 Add missing :version tag.
9529 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9530
478615cc
LMI
95312011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9532
7b41decb
LMI
9533 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9534 (gnutls-negotiate): Use it.
9535
dbc44fcd
LMI
9536 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9537
06789f97
LMI
9538 * info.el (Info-beginning-of-buffer): New command.
9539 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9540 announcing `b' as the key (bug#8325).
ab896c37 9541 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9542
c39da690
LMI
9543 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9544
3aa5f34b
LMI
9545 * international/mule-cmds.el
9546 (describe-specified-language-support): Make the error message
9547 clearer (bug#8905).
9548
4bf0979f
LMI
9549 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9550
478615cc
LMI
9551 * isearch.el (isearch-barrier): Add a doc string, since it's
9552 mentioned in a function doc string (bug#8678).
9553
75c68aa1
MR
95542011-07-15 Martin Rudalics <rudalics@gmx.at>
9555
9556 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9557 buffer argument (Bug#9083) and self-identifying label argument.
9558
a7c33da2
GM
95592011-07-15 Glenn Morris <rgm@gnu.org>
9560
9561 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9562
2f5c6024
LMI
95632011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9564
9565 * man.el (Man-fontify-manpage): Fix message when formatting the
9566 man page (bug#7929).
9567
0bb23927 95682011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9569
9570 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9571 argument LRM; if non-nil, append an invisible LRM character to the
9572 buffer name.
9573 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9574 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9575 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9576 paragraph direction.
cce4b0a7 9577
621ef9ab
LMI
95782011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9579
d1583c48
LMI
9580 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9581 the man page name (bug#7929).
9582
6a57fb5f
LMI
9583 * image.el (put-image): Mention the `put-image' overlay property
9584 (bug#7834).
9585
d7956b14
LMI
9586 * scroll-bar.el (set-scroll-bar-mode): Mention that
9587 `scroll-bar-mode' lists the values (bug#7772).
9588
5b2d4a66
LMI
9589 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9590 command (bug#7729).
9591
7509a874
LMI
9592 * rect.el (apply-on-rectangle): Return the point after the last
9593 operation.
9594 (string-rectangle): Go to the point after the last operation
9595 (bug#7522).
9596
4fe74b19
LMI
9597 * printing.el (pr-toggle-region): Clarify the documentation
9598 slightly (bug#7493).
9599
b796c9b7
SM
9600 * time.el (display-time-update):
9601 Allow `display-time-mail-function' to return nil (bug#7158).
9602 Fix suggested by Detlev Zundel.
ab283561 9603
fc233c9d
LMI
9604 * vc/diff.el (diff): Clarify the order the file names are read
9605 (bug#7111).
9606
43f5740b
LMI
9607 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9608 the doc string (bug#7015).
9609
f2182a76
LMI
9610 * font-lock.el (font-lock-maximum-decoration): Mention what
9611 numeric levels mean (bug#6935).
9612
621ef9ab
LMI
9613 * startup.el (initial-buffer-choice): Don't mention the `none'
9614 selection, which is against policy.
9615
adc47434
MR
96162011-07-14 Martin Rudalics <rudalics@gmx.at>
9617
b796c9b7
SM
9618 * window.el (display-buffer-normalize-special):
9619 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9620
7e5bfb8f
EZ
96212011-07-14 Eli Zaretskii <eliz@gnu.org>
9622
9623 * subr.el (version<, version<=, version=): Mention "-CVS" and
9624 "-12345" alpha version numbers.
9625
27fa387a
CY
96262011-07-14 Chong Yidong <cyd@stupidchicken.com>
9627
9628 * bindings.el: Add advertised binding for set-mark-command
9629 (Bug#5772).
9630
8bdfa064
CY
96312011-07-14 Chong Yidong <cyd@stupidchicken.com>
9632
9633 * bindings.el (mode-line-other-buffer):
9634 * bookmark.el (bookmark-bmenu-2-window):
9635 * bs.el (bs-cycle-next, bs-cycle-previous):
9636 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9637 switch-to-buffer.
9638
9639 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9640 Delete.
8bdfa064 9641
5eba16a3
JB
96422011-07-14 Juanma Barranquero <lekktu@gmail.com>
9643
9644 * follow.el (follow-debug-message, follow-redisplay):
9645 * jka-cmpr-hook.el (with-auto-compression-mode):
9646 Fix typos in docstrings.
9647
15853710
LMI
96482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9649
a28e4607
LMI
9650 * subr.el (with-silent-modifications): Clarify somewhat what the
9651 macro inhibits (bug#6525).
9652
15853710
LMI
9653 * simple.el (eval-expression): Note what it does if called
9654 interactively (bug#6495).
9655
bee0fcef
CY
96562011-07-13 Chong Yidong <cyd@stupidchicken.com>
9657
b796c9b7
SM
9658 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9659 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9660
9661 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9662 Remove switch-to-buffer.
9663
58274504
LMI
96642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9665
bd2fcc8d
LMI
9666 * files.el (make-directory): Clarify that an error will be raised
9667 if there's an error (bug#6397).
9668
0f04b32c
LMI
9669 * startup.el (initial-buffer-choice): Add `none' as a choice
9670 (bug#6234).
9671
465c5fc8
LMI
9672 * subr.el (add-hook): Clarify section about buffer-local hooks
9673 (bug#6218).
9674
58274504
LMI
9675 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9676
bead9a43
JB
96772011-07-13 Juanma Barranquero <lekktu@gmail.com>
9678
9679 * tabify.el (untabify): Preserve the current column so that point
9680 doesn't move (bug#6032).
9681
3af98a7b
LMI
96822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9683
b796c9b7
SM
9684 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9685 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9686
6240145a
GM
96872011-07-13 Glenn Morris <rgm@gnu.org>
9688
9689 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9690 (dired-insert-directory): Give a message the first time
9691 if ls is found not to support --dired.
9692
1d8c2ccc
LMI
96932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9694
9695 * simple.el (toggle-truncate-lines): Clarify what is toggled
9696 (bug#5580). Text by Drew Adams.
9697
5fc4038e
CY
96982011-07-13 Chong Yidong <cyd@stupidchicken.com>
9699
9700 * simple.el (blink-matching-open): Make the error message from the
9701 last change less verbose.
9702
bf6012e5
DN
97032011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9704
9705 * font-lock.el (font-lock-comment-face): Use the high contrast
9706 "yellow" color for font-lock-comment-face on low color terminals
9707 using a dark background color (bug#4221).
9708
343c3b5a
LMI
97092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9710
7e9505c5
LMI
9711 * dired.el (dired-insert-set-properties): Make the doc string
9712 reflect what it does now (bug#5325).
9713
c26fdcf5
LMI
9714 * simple.el (blink-matching-open): Say that we were unable to find
9715 the match within the limit, if we're limited (bug#5122).
9716
bb388cc5
LMI
9717 * international/mule-cmds.el (prefer-coding-system): Add an
9718 example (bug#4869).
9719
343c3b5a
LMI
9720 * progmodes/etags.el (tags-search): Document `file-list-form'
9721 (bug#4731).
9722
2a517d45
LM
97232011-07-13 Lawrence Mitchell <wence@gmx.li>
9724
9725 * net/browse-url.el (browse-url-default-browser)
9726 (browse-url-browser-function): Make the default browser choice a
9727 bit more logical (bug#4300). Also clean up the doc string.
9728
b6c78ef2
JB
97292011-07-13 Juanma Barranquero <lekktu@gmail.com>
9730
9731 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9732 binary endings (bug#4440).
9733
1c4dd947
LMI
97342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9735
a2014063
LMI
9736 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9737 which can be pretty annoying (bug#8971).
9738
9c9c2d88
LMI
9739 * jka-compr.el (jka-compr-verbose): New variable, and use
9740 throughout (bug#8971).
9741
1c4dd947
LMI
9742 * info.el (Info-find-file): Fall back on the installation
9743 directory if we can't find the info node anywhere else.
9744
a1c9f41b
SO
97452011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9746
9747 * vc/vc.el (vc-revert-file):
9748 Don't set file time-stamp in the past. (Bug#5181)
9749
536f3d36
LMI
97502011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9751
7152b011
LMI
9752 * files.el (after-find-file): Give a better error message when
9753 trying to find a symlink that points to a file that doesn't exist
9754 (bug#4398).
9755
536f3d36
LMI
9756 * progmodes/cc-vars.el: Remove (probably) misleading comment
9757 (bug#4396).
9758
460c0fba
JB
97592011-07-12 Johan Bockgård <bojohan@gnu.org>
9760
9761 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9762
7a6bda45
CY
97632011-07-12 Chong Yidong <cyd@stupidchicken.com>
9764
9765 * mouse-sel.el: Hack restoring functionality, while keeping
9766 compatibility with 2010-07-03 changes to mouse selection.
9767 (mouse-sel-primary-overlay): New var.
9768 (mouse-sel-selection-alist): Use it.
9769 (mouse-sel-mode): Doc fix; remove points that are default features
9770 of mouse.el.
9771
c79598ef
JB
97722011-07-12 Johan Bockgård <bojohan@gnu.org>
9773
9774 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9775 Fix previous fix (bug#2490).
9776
ff8be6ef
RW
97772011-07-12 Roland Winkler <winkler@gnu.org>
9778
b796c9b7
SM
9779 * textmodes/bibtex.el (bibtex-initialize):
9780 Use pop-to-buffer-same-window.
ff8be6ef
RW
9781 (bibtex-search-entries): Fix interactive call.
9782
296ba3ee
LMI
97832011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9784
f5242a02 9785 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9786 Fontise bytecomp Error lines more correctly (bug#2490).
9787 Fix suggested by Johan Bockgård.
f5242a02 9788
296ba3ee
LMI
9789 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9790
9791 * dired-x.el (dired-guess-default): Use `delete-dups'.
9792
f69fd0d2
CY
97932011-07-12 Chong Yidong <cyd@stupidchicken.com>
9794
9795 * dired.el (dired-mark-prompt):
9796 * dired-aux.el (dired-read-shell-command): Doc fix.
9797
eab5dc07
LMI
97982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9799
b796c9b7
SM
9800 * mail/sendmail.el (sendmail-query-once):
9801 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9802 emacs -Q.
9803
9804 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9805
eab5dc07
LMI
9806 * cus-edit.el (custom-file): Take an optional no-error variable.
9807 (customize-save-variable): Set the variable, and give a warning if
9808 running under "emacs -q".
9809
a1e65d42
JB
98102011-07-11 Juanma Barranquero <lekktu@gmail.com>
9811
9812 * loadhist.el (unload-feature-special-hooks):
9813 Add `auto-coding-functions', `fill-nobreak-predicate' and
9814 `find-directory-functions' (bug#5327).
9815
1d52da10
LMI
98162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9817
be958f1d
LMI
9818 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9819
5bedb26c
LMI
9820 * cus-edit.el (custom-guess-name-alist): -alist variables should
9821 use the `alist' type (bug#3120). Suggested by Drew Adams.
9822
1d52da10
LMI
9823 * printing.el: Add documentation to all the `pr-toggle-' commands.
9824
cd394be1 98252011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9826
9827 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9828 backends where it makes sense (bug#2623).
9829
dcc88d8a
LMI
98302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9831
c3de9feb
LMI
9832 * dired-x.el (dired-guess-default): Remove duplicate shell command
9833 entries (bug#2028).
8a93078b 9834 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9835 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9836
dcc88d8a
LMI
9837 * subr.el (remove-duplicates): New conveniency function.
9838
505e3645
LMI
98392011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9840
9841 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9842 (bug#1526).
9843
98442011-07-10 Martin Rudalics <rudalics@gmx.at>
9845
9846 * window.el (display-buffer-normalize-default): Don't invert
9847 meaning of even-window-heights. Reported by Eli Zaretskii
9848 <eliz@gnu.org>.
9849
455e4fa1
BR
98502011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9851
9852 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9853
8e0bc3e9
CY
98542011-07-10 Chong Yidong <cyd@stupidchicken.com>
9855
9856 * window.el (display-buffer): Fix arguments to
9857 display-buffer-reuse-window in last change.
9858
fa7c3228
CY
9859 * faces.el (link): Use a less saturated blue on light backgrounds.
9860
9861 * startup.el (fancy-startup-text, fancy-about-text)
9862 (fancy-startup-tail): Use font-lock faces, for background safety.
9863
c0a7f300
BN
98642011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9865
b796c9b7
SM
9866 * emulation/viper-cmd.el (viper-change-state-to-vi):
9867 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9868
4dc2a129
MR
98692011-07-09 Martin Rudalics <rudalics@gmx.at>
9870
9871 * window.el (display-buffer-default-specifiers): Remove.
9872 (display-buffer-macro-specifiers): Remove default specifiers.
9873 (display-buffer-alist): Default to nil.
b796c9b7 9874 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9875 (display-buffer-pop-up-window): Allow splitting internal
9876 windows. Check whether a live window was created.
9877 (display-buffer-other-window-means-other-frame)
9878 (display-buffer-normalize-arguments): Rename to
9879 display-buffer-normalize-argument and rewrite. Set the
9880 other-window specifier.
9881 (display-buffer-normalize-special): New function.
9882 (display-buffer-normalize-options): Rename to
9883 display-buffer-normalize-default and rewrite.
9884 (display-buffer-normalize-options-inhibit): Remove.
9885 (display-buffer-normalize-specifiers): Rewrite.
9886 (display-buffer): Process other-window specifier and call
9887 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9888 more faithfully.
b796c9b7 9889 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9890 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9891 (display-buffer-in-window, display-buffer-alist-set):
9892 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9893 <tassilo@member.fsf.org>.
9894
2d43b8c9
LL
98952011-07-09 Leo Liu <sdl.web@gmail.com>
9896
9897 * register.el (insert-register): Restore accidental change on
9898 2011-06-26. (Bug#9028)
9899
7f9b7c53
GM
99002011-07-09 Glenn Morris <rgm@gnu.org>
9901
9902 * subr.el (remq): Handle the empty list. (Bug#9024)
9903
f042cfd8
AS
99042011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9905
9906 * mail/sendmail.el (send-mail-function): No longer delay custom
9907 initialization.
9908 * custom.el (custom-initialize-delay): Doc fix.
9909
856b2f11
SM
99102011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9913
afae1d68
MA
99142011-07-08 Michael Albinus <michael.albinus@gmx.de>
9915
9916 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9917 human-friendly prompt.
9918
0757af94
SM
99192011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9922 provided by a particular plugin.
9923
d760b731
LMI
99242011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9925
9926 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9927 save customizations (with "emacs -Q"), just set the variable
9928 instead of erroring out.
9929
9930 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9931
cd79ce90
JL
99322011-07-08 Juri Linkov <juri@jurta.org>
9933
9934 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9935 (archive-zip-update-case): Use 7z if found by `executable-find'.
9936 The order of searching the available programs is the same as in
9937 `archive-zip-extract' (bug#8968).
9938
14cc04aa
CY
99392011-07-07 Chong Yidong <cyd@stupidchicken.com>
9940
9941 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9942 (menu-bar-options-menu): Tweak descriptions.
9943
0a1848ec
LMI
99442011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9945
9946 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9947 menu items into verb phrases (bug#1421). Also refill to fit under
9948 80 columns.
9949
f5bd0689
CY
99502011-07-07 Chong Yidong <cyd@stupidchicken.com>
9951
538e85c6
CY
9952 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9953 (Info-read-node-name): Doc fix (Bug#1084).
9954
f5bd0689
CY
9955 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9956 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9957 (end-of-sexp, beginning-of-sexp)
9958 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9959 (forward-symbol, forward-same-syntax, word-at-point)
9960 (sentence-at-point): Doc fix (Bug#1144).
9961
56ec5115
LMI
99622011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9963
f3f8e37f
LMI
9964 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9965 should cover it (bug#1281).
9966
0757af94 9967 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9968
e9fce1ac 9969 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9970 negotiation fails, then possibly try again with a non-encrypted
9971 connection (bug#9017).
9972
56ec5115
LMI
9973 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9974 be used.
9975
c2f9aec8
RS
99762011-07-07 Richard Stallman <rms@gnu.org>
9977
9978 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9979 property, and handle its changed format.
9980 Look for the correct line number.
9981 Use file's line contents (but not past first =) to find
9982 correct line in message.
9983
ef7b981d 99842011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9985
9986 * international/characters.el (build-unicode-category-table):
9987 Delete it.
0757af94 9988 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9989
0757af94 9990 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9991 to src/chartab.c.
9992 (get-char-code-property): Call unicode-property-table-internal to
9993 load a file. Call get-unicode-property-internal where necessary.
9994 (put-char-code-property): Call unicode-property-table-internal to
9995 load a file. Call put-unicode-property-internal where necessary.
9996 put-unicode-property-internal where necessary.
0757af94
SM
9997 (char-code-property-description):
9998 Call unicode-property-table-internal to load a file.
c805dec0
KH
9999
10000 * international/charprop.el:
10001 * international/uni-bidi.el:
10002 * international/uni-category.el:
10003 * international/uni-combining.el:
10004 * international/uni-comment.el:
10005 * international/uni-decimal.el:
10006 * international/uni-decomposition.el:
10007 * international/uni-digit.el:
10008 * international/uni-lowercase.el:
10009 * international/uni-mirrored.el:
10010 * international/uni-name.el:
10011 * international/uni-numeric.el:
10012 * international/uni-old-name.el:
10013 * international/uni-titlecase.el:
10014 * international/uni-uppercase.el: Regenerate.
10015
10016 * loadup.el: Load international/charprop.el before
10017 international/characters.
10018
e14b388a
CY
100192011-07-07 Chong Yidong <cyd@stupidchicken.com>
10020
10021 * window.el (next-buffer, previous-buffer): Signal an error if
10022 called from a minibuffer window.
10023
10024 * bindings.el: Revert 2011-07-04 change.
10025
354cf0ba
RS
100262011-07-06 Richard Stallman <rms@gnu.org>
10027
10028 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10029 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10030 Treat markers like ints.
10031 (rmail-mime-entity): Doc fix.
10032
a48868a7
LMI
100332011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10034
4906cd3d
LMI
10035 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10036 defcustom again for backwards compatibility.
10037
e0457abe
LMI
10038 * simple.el (shell-command-on-region): Fill.
10039
d67f7e1f
LMI
10040 * dired-aux.el (dired-kill-line): Add a doc string.
10041
fe204702
LMI
10042 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10043 to "\\sw\\|\\s_" (bug#358).
10044
a48868a7
LMI
10045 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10046 (dired-unmark-backward): Ditto.
10047 (dired-flag-backup-files): Ditto.
10048
10049 * dired-x.el (dired-mark-sexp): Ditto.
10050
aa8a705c
RS
100512011-07-06 Richard Stallman <rms@gnu.org>
10052
10053 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10054 (rmail-mime-entity): New arg TRUNCATED.
10055 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10056 New functions.
10057 (rmail-mime-save): Warn if entity is truncated.
10058 (rmail-mime-toggle-hidden): Likewise, for showing.
10059 (rmail-mime-process-multipart): Record when an entity is truncated.
10060
a9a936b9
RS
10061 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10062 if ENTITY is a string.
10063
1f2b92cb
LMI
100642011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10065
f4f73198 10066 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10067 of faces when `M-C-x'-ing their definitions (bug#8378).
10068 Also clean up the code slightly.
f4f73198 10069
12b16734 10070 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10071 because that makes the colors go away.
12b16734 10072
f0691d22
LMI
10073 * mail/sendmail.el (send-mail-function): Change the default to
10074 `sendmail-query-once'.
9e87df06 10075 (sendmail-query-once): Add an autoload cookie.
f0691d22 10076
1f2b92cb
LMI
10077 * net/network-stream.el (network-stream-open-starttls): Try using
10078 a plain connection even if the server offered STARTTLS, and we
10079 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10080 capability. This should make smtpmail.el work in slightly more
10081 configurations.
10082
1cdd2a1b
MA
100832011-07-06 Michael Albinus <michael.albinus@gmx.de>
10084
10085 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10086 New defun.
10087 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10088
fbcc67e2
MM
100892011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10090
10091 * progmodes/sql.el: Version 3.0
0757af94 10092 (sql-product-alist): Add product :completion-object,
fbcc67e2 10093 :completion-column, and :statement attributes.
0757af94 10094 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10095 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10096 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10097 ansi keywords.
10098 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10099 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10100 (sql-oracle-show-reserved-words): New function for development.
10101 (sql-product-font-lock): Simplify for source code buffers.
10102 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10103 New functions.
10104 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10105 (sql-mode-map): Add statement movement functions.
10106 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10107 New variable.
fbcc67e2
MM
10108 (sql-statement-regexp, sql-beginning-of-statement)
10109 (sql-end-of-statement, sql-signum): New functions.
0757af94 10110 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10111 (sql-show-sqli-buffer): Bug fix.
10112 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10113 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10114 with sql-interactive-mode.
10115 (sql-save-connection): Save buffer local settings.
0757af94 10116 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10117 (sql-product-interactive): Bug fix.
10118 (sql-preoutput-hold): New variable.
10119 (sql-interactive-remove-continuation-prompt): Bug fixes.
10120 (sql-debug-redirect): New variable.
10121 (sql-str-literal): New function.
10122 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10123 Redesign.
fbcc67e2
MM
10124 (sql-oracle-save-settings, sql-oracle-restore-settings)
10125 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10126 (sql-completion-object, sql-completion-column)
10127 (sql-completion-sqlbuf): New variables.
10128 (sql-build-completions-1, sql-build-completions)
10129 (sql-try-completion): New functions.
10130 (sql-read-table-name): Use them.
10131 (sql-contains-names): New buffer local variable.
10132 (sql-list-all, sql-list-table): Use it.
10133 (sql-oracle-completion-types): New variable.
10134 (sql-oracle-completion-object, sql-sqlite-completion-object)
10135 (sql-postgres-completion-object): New functions.
10136
d4eaeab1
GM
101372011-07-06 Glenn Morris <rgm@gnu.org>
10138
10139 * window.el (pop-to-buffer): Doc fix.
10140
322b7dab 101412011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10142
10143 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10144
322b7dab 101452011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10146
322b7dab 10147 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10148
322b7dab 10149 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10150
605dd5bf
CY
101512011-07-05 Chong Yidong <cyd@stupidchicken.com>
10152
10153 * button.el (button): Inherit from link face. Suggested by Dan
10154 Nicolaescu.
10155
7dbfa719
SM
101562011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10157
3db614b0
SM
10158 * progmodes/gdb-mi.el: Fit in 80 columns.
10159 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10160 switch-to-buffer.
10161
7dbfa719
SM
10162 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10163 if imenu is simply not configured (bug#8941).
10164
919d884a
KM
101652011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10166
10167 * allout.el (allout-post-undo-hook): New allout outline-change
10168 event hook to signal undo activity.
10169 (allout-post-command-business): Run allout-post-undo-hook if an
10170 undo just occurred.
7dbfa719
SM
10171 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10172 * allout-widgets.el (allout-widgets-after-undo-function):
10173 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10174 in the vicinity of an undo.
10175 (allout-widgets-mode): Include allout-widgets-after-undo-function
10176 on the new allout-post-undo-hook.
10177
450a0f09
SM
101782011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10179
10180 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10181 Let define-derived-mode define it.
10182 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10183 cycles of abbrev-table inheritance (bug#8998).
10184
2de69e00
RW
101852011-07-05 Roland Winkler <winkler@gnu.org>
10186
10187 * textmodes/bibtex.el: Add support for biblatex.
10188 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10189 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10190 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10191 (bibtex-entry-alist, bibtex-field-alist): New variables.
10192 (bibtex-entry-field-alist): Obsolete alias for
10193 bibtex-BibTeX-entry-alist.
10194 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10195 (bibtex-set-dialect): New command.
10196 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10197 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10198 Bind via bibtex-set-dialect.
2de69e00
RW
10199 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10200 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10201 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10202 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10203 Define via bibtex-set-dialect.
450a0f09
SM
10204 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10205 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10206 (bibtex-vec-push, bibtex-vec-incr): New functions.
10207 (bibtex-format-entry, bibtex-field-list)
10208 (bibtex-print-help-message, bibtex-validate)
10209 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10210
2dcdbdd9
SM
102112011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * progmodes/compile.el (compilation-goto-locus):
10214 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10215 * bs.el (bs-cycle-next, bs-cycle-previous):
10216 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10217 * bindings.el (mode-line-other-buffer):
10218 * autoinsert.el (auto-insert):
10219 * arc-mode.el (archive-extract):
10220 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10221
b27640fe
JB
102222011-07-05 Juanma Barranquero <lekktu@gmail.com>
10223
10224 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10225 Fix check of `emacs-lock-unlockable-modes'.
10226 Coerce true values of `emacs-lock--try-unlocking' to t.
10227
53bbe3ad
JB
102282011-07-05 Juanma Barranquero <lekktu@gmail.com>
10229
10230 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10231 * emacs-lock.el: New file.
10232
1d3cdbc7
JD
102332011-07-05 Julien Danjou <julien@danjou.info>
10234
10235 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10236 than `boundp' to check if face is set.
10237
9173deec
JB
102382011-07-05 Juanma Barranquero <lekktu@gmail.com>
10239
10240 * register.el (registerv-make):
10241 * window.el (window-min-height): Fix typos in docstrings.
10242
869795d6
JD
102432011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10244
9173deec 10245 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10246 Update doc string.
10247
b768cdcd
JB
102482011-07-04 Juanma Barranquero <lekktu@gmail.com>
10249
10250 * server.el (server-execute): Catch quit and call
10251 `server-return-error' to pass the error back to emacsclient and
10252 close the connection (bug#8942).
10253
13aa217b
KM
102542011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10255
10256 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10257 insecure exception for current topic. Also note that auto-saves
10258 are handled differently.
10259
5d3385a0 10260 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10261 State variables for tracking auto-save inhibition situation.
10262
10263 (allout-write-contents-hook-handler): Rename from
10264 'allout-write-file-hook-handler', and describe how it depends on
10265 write-contents-functions sensitivity to non-nil value to prevent
10266 file write.
10267
10268 (allout-auto-save-hook-handler): Remove. auto-save does not check
10269 this in individual buffers, only in the starting buffer, so this
10270 is not the right way for us to inhibit auto-save in a buffer
10271 according to its condition.
10272
10273 (allout-mode): Use new allout-write-contents-hook-handler, and
10274 only with write-contents-functions. Remove auto-save provisions -
10275 they're implemented elsewhere.
10276
10277 (allout-before-change-handler): If undo is in progress, note that
10278 for attention of allout-post-command-business.
10279
10280 (allout-post-command-business): If the command we're following was
10281 an undo, check for change in the status of encrypted items and
10282 adjust auto-save inhibitions accordingly.
10283
10284 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10285 according to whether there are or aren't any plain-text topics
10286 pending encryption.
10287
2dcdbdd9 10288 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10289 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10290 if there are plain-text topics pending encryption.
13aa217b
KM
10291
10292 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10293 buffer-saved-size and some allout state to not inhibit auto-saves
10294 if there are no longer any plain-text topics pending encryption.
10295
0757af94
SM
10296 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10297 No longer provide for exemption of the current topic.
13aa217b 10298
ac89b32c
JL
102992011-07-04 Juri Linkov <juri@jurta.org>
10300
10301 Add 7z operations to delete and save changed members (bug#8968).
10302 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10303 New defcustoms.
10304 (archive-7z-write-file-member): New function.
10305 (archive-7z-summarize): Fix the number of dashes in the
10306 listing output.
10307
8fa39615
SM
103082011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10309
10310 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10311 (bug#8958).
10312
2f11b3f1
CY
103132011-07-04 Chong Yidong <cyd@stupidchicken.com>
10314
d66fef2b
CY
10315 * bindings.el: Ignore next-buffer and previous-buffer in
10316 minibuffer-local-map.
10317
2f11b3f1
CY
10318 * font-lock.el (font-lock-builtin-face): Change light background
10319 color to dark slate blue (Bug#6693).
10320
f932a347
WD
103212011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10322
10323 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10324
c8af70e1
SM
103252011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10326
10327 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10328 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10329 Add switch-to-buffer.
10330
f158badc
LMI
103312011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10332
10333 * isearch.el (isearch-search-fun-function): Clarify further the
10334 meaning of the function returned.
10335
6d95bd46
MA
103362011-07-04 Michael Albinus <michael.albinus@gmx.de>
10337
10338 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10339
10340 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10341 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10342 Use it.
10343 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10344 `tramp-default-remote-path' does not exist.
10345 (tramp-send-command-and-read): New optional argument NOERROR.
10346 (tramp-open-connection-setup-interactive-shell)
10347 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10348 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10349 (tramp-process-sentinel): Flush also process' connection property.
10350 (tramp-sh-handle-start-file-process): Do not set process
10351 sentinel. It is done now ...
10352 (tramp-maybe-open-connection): ... here. (Bug#8929)
10353
909e6b67
MK
103542011-07-04 MON KEY <monkey@sandpframing.com>
10355
10356 * play/animate.el (animate-string): Doc fixes and allow changing
10357 the buffer name (bug#5417).
10358
103592011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10360
c8af70e1 10361 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10362
f34755dc
PE
103632011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10364
396cec72
PE
10365 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10366 This is simpler and helps future-proof the code.
10367 (timer-until): Use time-subtract and float-time.
08235028 10368 (timer--time-less-p): Use time-less-p.
f34755dc 10369
56e6cc31
JB
103702011-07-04 Juanma Barranquero <lekktu@gmail.com>
10371
3abb79e5
JB
10372 * type-break.el (timep): Use the value of `float-time' to avoid a
10373 byte-compiler warning.
10374
56e6cc31
JB
10375 * server.el (server-eval-and-print): Return any result, even nil.
10376
7b9430b4
PE
103772011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10378
10379 * type-break.el: Accept time formats that the builtins accept.
10380 (timep, type-break-time-difference): Accept any format that
10381 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10382 This is simpler and helps future-proof the code.
10383 (type-break-time-difference): Round rather than ignoring
10384 subseconds components.
10385
3034e9e7
LMI
103862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10387
10388 * info.el (Info-apropos-matches): Make non-interactive, since it
10389 doesn't seem to do anything useful as a command (bug#8829).
10390
1485f4c0
CY
103912011-07-03 Chong Yidong <cyd@stupidchicken.com>
10392
10393 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10394 Move from faces.el.
1485f4c0
CY
10395 (frame-default-terminal-background): New function.
10396
10397 * custom.el (custom-push-theme): Don't record faces in `changed'
10398 theme; this doesn't work correctly for per-frame face settings.
10399 (disable-theme): Use face-set-after-frame-default to reset faces.
10400 (custom--frame-color-default): New function.
10401
9fa3dd45
LMI
104022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10403
c8af70e1 10404 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10405 (bug#8769).
10406
6cbbc20c
KR
104072011-03-29 Kevin Ryde <user42@zip.com.au>
10408
10409 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10410 `perl-Test2' extend to match possible "fail #N" rep count
10411 (bug#8377).
10412
c7f98048
LMI
104132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10414
65676592
LMI
10415 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10416 `smtpmail-via-smtp' now returns the error instead of nil.
10417
c7f98048
LMI
10418 * isearch.el (isearch-search-fun-function): Clarify the doc string
10419 (bug#8101).
10420
56e6cc31 104212011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10422
10423 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10424 unnecessary spaces (bug#8987).
10425
2b216704
LMI
104262011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10427
10428 * net/network-stream.el (open-network-stream): Use the
10429 :end-of-capability command thoughout.
10430
104312011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10432
10433 * net/network-stream.el (open-network-stream): Add the
10434 :end-of-capability command parameter, used by pop3.el.
10435
36adf6ce
LMI
104362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10437
1ca0da0e
LMI
10438 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10439
fc00f69c
LMI
10440 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10441 for list)" (bug#6475).
10442
28fd8759 10443 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10444 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10445 an error (bug#6297).
10446
0dd8b6da
LMI
10447 * man.el (Man-reference-regexp): Allow matching possible
10448 word-wrapped references (bug#6289).
10449
ce1438d6
LMI
10450 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10451 for consistency with the other vc buffers (bug#6197).
10452 (vc-checkin): Ditto.
10453
10454 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10455
36adf6ce
LMI
10456 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10457
e83cc1f7
LMI
104582011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10459
8a20ca4c
LMI
10460 * custom.el (defcustom): Clarify that :set is only used in the
10461 Customize user interface (bug#6089).
10462
83319045
LMI
10463 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10464 associated with a file, refuse to run instead of erroring out
10465 (bug#6084).
10466
a8392169
LMI
10467 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10468 the doc string, since it appears that using `fill-column' always
10469 controls the width (bug#7845).
10470
e83cc1f7
LMI
10471 * simple.el (shell-command-on-region): Say where the error output
10472 went if `shell-command-default-error-buffer' is set (bug#6857).
10473
e47ca23b
KM
104742011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10475
10476 * allout.el (allout-yank-processing): Adjust cursor position for
10477 backwards-deleted space.
10478
10479 (allout-rebullet-heading): Register changes with
10480 allout-exposure-changed-hook, so the modified topic is properly
10481 decorated.
10482
5cf56143
LMI
104832011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10484
08549772
LMI
10485 * minibuffer.el (completion-in-region): Document PREDICATE
10486 (bug#7136).
10487
48e96771
LMI
10488 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10489 of keyword/argument pairs (bug#6904).
10490
c8af70e1
SM
10491 * replace.el (multi-occur):
10492 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10493
e17d05e2
LMI
104942011-07-02 Drew Adams <drew.adams@oracle.com>
10495
10496 * dired.el (dired-mark-if): Make the message about whether it's
10497 marking or unmarking clearer (bug#8523).
10498
063b0e45
LMI
104992011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10500
10501 * disp-table.el (display-table-print-array): New function.
10502 (describe-display-table): Use it to print the vectors more pretty
10503 (Bug#8859).
10504
28545e04
MR
105052011-07-02 Martin Rudalics <rudalics@gmx.at>
10506
10507 * window.el (window-state-get-1): Don't assign clone numbers.
10508 Add clone-of item to list of window parameters.
10509 (window-state-put-2): Don't process clone numbers.
10510 (display-buffer-alist): Fix doc-string.
10511
3349e122
SM
105122011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * subr.el (remq): Don't allocate if it's not needed.
10515 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10516 (keymap--merge-bindings): New functions.
10517 (keymap-canonicalize): Use them to refine the canonicalization.
10518 * minibuffer.el (minibuffer-local-completion-map)
10519 (minibuffer-local-must-match-map): Move initialization from C.
10520 (minibuffer-local-filename-completion-map): Move initialization from C;
10521 don't inherit from anything here.
10522 (minibuffer-local-filename-must-match-map): Make obsolete.
10523 (completing-read-default): Use make-composed-keymap to combine
10524 minibuffer-local-filename-completion-map with either
10525 minibuffer-local-must-match-map or
10526 minibuffer-local-filename-completion-map.
10527
d224ac83
GM
105282011-07-01 Glenn Morris <rgm@gnu.org>
10529
3de63bf8
GM
10530 * type-break.el (type-break-time-sum): Use dolist.
10531
d224ac83
GM
10532 * textmodes/flyspell.el (flyspell-word-search-backward):
10533 Replace CL function.
10534
1a1e3f32
SM
105352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10536
fe3f64d5
SM
10537 * mouse.el (mouse--strip-first-event): New function.
10538 (function-key-map): Use it to map fringe clicks to normal clicks
10539 by default.
10540
eb604e34
SM
10541 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10542 (vc-bzr-revision-completion-table): Add support for annotate and date.
10543
1a1e3f32
SM
10544 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10545 inherit from parent.
10546
5bd35902
LMI
105472011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10548
ace6c69c 10549 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10550 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10551
191e2bed
LMI
10552 * dired.el (dired-mode): Fix up the doc string as suggested by
10553 Drew Adams (bug#8817).
10554
5bd35902
LMI
10555 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10556 cookie, since the manual says that it should be possible to add
10557 this function to `find-file-hook' (bug#8709).
10558
eee8207a
TZ
105592011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10560
10561 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10562 here. Noted Ted Zlatanov as the maintainer.
10563 (cfengine-common-settings, cfengine-common-syntax): New functions
10564 to set up common things between `cfengine-mode' and
10565 `cfengine3-mode'.
10566 (cfengine3-mode): New mode.
10567 (cfengine3-defuns cfengine3-defuns-regex
10568 (cfengine3-class-selector-regex cfengine3-category-regex)
10569 (cfengine3-vartypes cfengine3-font-lock-keywords)
10570 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10571 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10572
36b148cf
MA
105732011-07-01 Michael Albinus <michael.albinus@gmx.de>
10574
10575 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10576
10577 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10578
0bf4ba9a
MR
105792011-07-01 Martin Rudalics <rudalics@gmx.at>
10580
10581 * window.el (same-window-buffer-names, same-window-regexps)
10582 (same-window-p, special-display-frame-alist)
10583 (special-display-popup-frame, special-display-function)
10584 (special-display-buffer-names, special-display-regexps)
10585 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10586 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10587 (split-window-preferred-function, split-height-threshold)
10588 (split-width-threshold, even-window-heights)
10589 (display-buffer-mark-dedicated, window-splittable-p)
10590 (split-window-sensibly, window-safely-shrinkable-p):
10591 Un-obsolete.
10592 (display-buffer): Don't spread args with function specifier
10593 because special-display-popup-frame won't like it.
10594
35837f51
PE
105952011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10596
d0672f86
PE
10597 Time-stamp simplifications and fixes.
10598 These improve accuracy slightly, and future-proof the code
10599 against some potential changes to current-time format.
10600
b9444d97
PE
10601 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10602 by using time-since and float-time.
10603
0ef923dc
PE
10604 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10605 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10606 + NNN microseconds".
10607
2f81380d
PE
10608 * type-break.el (type-break-time-sum): Rewrite using time-add.
10609
845b5c3e
PE
10610 * play/hanoi.el (hanoi-current-time-float): Remove.
10611 All uses replaced by float-time.
10612
ee6f1be0
PE
10613 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10614 This yields a more-accurate answer.
10615 (rng-time-to-float): Remove; no longer needed.
10616
fe955043
PE
10617 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10618
5777162a
PE
10619 * calendar/timeclock.el (timeclock-seconds-to-time):
10620 Defalias to seconds-to-time, since they're the same thing.
10621
3103f8b6 10622 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10623 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10624 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10625
0e61a35f
SM
106262011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10627
10628 * window.el (bury-buffer): Don't iconify the only frame.
10629 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10630 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10631
ddd63a1e
CY
106322011-07-01 Chong Yidong <cyd@stupidchicken.com>
10633
0e61a35f
SM
10634 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10635 Add mouse-yank-primary.
ddd63a1e 10636
055f4923
TZ
106372011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10638
10639 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10640
6a2fb145
SM
106412011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10642
10643 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10644 (find-library-name): Use it to find relative load names when provided
10645 absolute file name (bug#8803).
10646
fd4983f2
LMI
106472011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10648
887d14ad
LMI
10649 * textmodes/flyspell.el (flyspell-word): Consider words that
10650 differ only in case as potential doublons (bug#5687).
10651
c53dc7fc
LMI
10652 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10653 Remove two rather uninteresting debugging-like messages to make
10654 debbugs.el more silent.
10655
fd4983f2
LMI
10656 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10657 a password-like phrase.
10658
7a71b18d 106592011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10660
10661 * progmodes/cc-guess.el: New file.
10662
6a2fb145 10663 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10664
10665 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10666 derived from `c-basic-common-init'.
10667
10668 * progmodes/cc-mode.el (top-level): Require cc-guess.
10669 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10670
1fa280a3
LM
106712011-06-30 Lawrence Mitchell <wence@gmx.li>
10672
10673 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10674
e6597158
AM
106752011-06-30 Alan Mackenzie <acm@muc.de>
10676
1fa280a3
LM
10677 * progmodes/cc-engine.el (c-guess-continued-construct):
10678 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10679 lock is disabled. Name this case as "CASE G".
10680
68ba37fb
KM
106812011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10682
10683 * allout.el (allout-yank-processing): Fix injection of extra space
10684 between bullet and non-whitespace character in first topic when
10685 pasting, ensuring that the actual spacing in the pasted topic
10686 following the bullet char is preserved. This extra space was
10687 causing pasted encrypted topics to get a decrypted status even
10688 when the content was actually still encrypted. Now the decryption
10689 status from before the paste is preserved.
10690
10691 (allout-flag-region): Set all allout overlays so they evaporate
10692 when reduced to zero length (evanescent), to prevent overlay
10693 leakage.
10694
887a0b34
GM
106952011-06-30 Glenn Morris <rgm@gnu.org>
10696
94b9acce
GM
10697 * w32-fns.el (w32-charset-info-alist): Declare.
10698
1d9b46d4
GM
10699 * find-dired.el (find-grep-options): Simplify.
10700
cc232200
GM
10701 * term/ns-win.el (ns-set-resource): Declare.
10702
28e77c46
GM
10703 * ses.el (row, col): Declare dynamic variables honestly.
10704
887a0b34
GM
10705 * textmodes/reftex-parse.el (index-tags): Declare.
10706
658d8eb8
CY
107072011-06-30 Chong Yidong <cyd@stupidchicken.com>
10708
10709 * cus-edit.el (customize-push-and-save): New function.
10710
10711 * files.el (hack-local-variables-confirm): Use it.
10712
1fa280a3
LM
10713 * custom.el (load-theme): New arg NO-CONFIRM.
10714 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10715 (custom-enabled-themes): Doc fix.
10716
10717 * cus-theme.el (customize-create-theme)
10718 (custom-theme-merge-theme): Callers to load-theme changed.
10719
bb617717
LMI
107202011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10721
d61bdd5d
LMI
10722 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10723 short URLs have at least one dot in them (bug #7614).
10724
bb617717
LMI
10725 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10726 nil, because using a pty is apparently too slow (bug #895).
10727
2f31f37a
LMI
107282011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10729
10730 * mail/sendmail.el (sendmail-query-once): New function.
10731 (sendmail-query-once-function): New variable.
10732
3076b24e
GM
107332011-06-29 Glenn Morris <rgm@gnu.org>
10734
faf2a174
GM
10735 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10736
3076b24e
GM
10737 * ses.el (top-level): Require cl when compiling.
10738 (ses-set-localvars): Fix error statement.
10739 Call it at compile time to silence a storm of warnings.
10740
5386012d
MR
107412011-06-29 Martin Rudalics <rudalics@gmx.at>
10742
10743 * window.el (normalize-live-buffer): Rename to
10744 window-normalize-buffer.
10745 (normalize-live-frame): Rename to window-normalize-frame.
10746 (normalize-any-window): Rename to window-normalize-any-window.
10747 (normalize-live-window): Rename to window-normalize-live-window.
10748 (make-window-atom): Rename to window-make-atom.
10749 (window-resize-reset): Rename to window--resize-reset.
10750 (window-resize-reset-1): Rename to window--resize-reset-1.
10751 (resize-mini-window): Rename to window--resize-mini-window.
10752 (resize-subwindows-skip-p): Rename to
10753 window--resize-subwindows-skip-p.
10754 (resize-subwindows-normal): Rename to
10755 window--resize-subwindows-normal.
10756 (resize-subwindows): Rename to window--resize-subwindows.
10757 (resize-other-windows): Rename to window--resize-siblings.
10758 (resize-this-window): Rename to window--resize-this-window.
10759 (resize-root-window): Rename to window--resize-root-window.
10760 (resize-root-window-vertically): Rename to
10761 window--resize-root-window-vertically.
10762 (normalize-buffer-to-display): Rename to
10763 window-normalize-buffer-to-display.
10764 (normalize-buffer-to-switch-to): Rename to
10765 window-normalize-buffer-to-switch-to.
10766 Correspondingly update all callers of the functions listed
10767 above.
10768 (display-buffer-alist, display-buffer-normalize-arguments)
10769 (display-buffer-normalize-options, display-buffer)
10770 (display-buffer-alist-set): Use "function" instead of
10771 "fun-with-args".
10772
1176868d
CY
107732011-06-28 Chong Yidong <cyd@stupidchicken.com>
10774
10775 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10776 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10777 debbugs.gnu.org. Mention acknowledgment email.
10778
20a7a65f
LMI
107792011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10780
10781 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10782 buffer multibyteness, since it shouldn't matter.
10783
5f45cca5
MR
107842011-06-28 Martin Rudalics <rudalics@gmx.at>
10785
10786 * window.el (display-buffer-in-side-window): Handle dedicated
10787 windows as in display-buffer-reuse-window.
10788 (display-buffer-normalize-alist): Use value of override
10789 specifier.
10790 (display-buffer-normalize-specifiers): Use value of
10791 other-window-means-other-frame specifier.
10792 (display-buffer-alist): Rewrite some texts in widgets.
10793 (display-buffer): Spread arguments when calling function
10794 specified by fun-with-args.
10795
ad85fe1f
DD
107962011-06-28 Deniz Dogan <deniz@dogan.se>
10797
1fa280a3
LM
10798 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10799 Unnest `let'.
da68c4c8 10800
ad85fe1f
DD
10801 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10802 selectors (Bug#5732).
ec49bd31 10803 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10804
a08cc025
JA
108052011-06-27 Jari Aalto <jari.aalto@cante.net>
10806
10807 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10808 (eshell-ls-date-format): New defcustom.
10809 (eshell-ls-file): Use it.
10810
e2b551c5
SM
108112011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10812
10813 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10814
8982b231
KY
108152011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10816
10817 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10818 (ange-ftp-make-tmp-name): New arg.
10819 (ange-ftp-file-local-copy): Use it.
10820
36c9fa27
J
108212011-06-27 Jambunathan K <kjambunathan@gmail.com>
10822
10823 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10824 no-conversion (Bug#8870).
10825
d68443dc
MR
108262011-06-27 Martin Rudalics <rudalics@gmx.at>
10827
10828 * window.el (window-right, window-left, window-child)
10829 (window-child-count, window-last-child)
10830 (window-iso-combination-p, walk-window-tree-1)
10831 (window-atom-check-1, window-tree-1, delete-window)
10832 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10833 new naming conventions - window-vchild, window-hchild,
10834 window-next and window-prev are now called window-top-child,
10835 window-left-child, window-next-sibling and window-prev-sibling
10836 respectively.
d615d6d2
MR
10837 (resize-window-reset): Rename to window-resize-reset.
10838 (resize-window-reset-1): Rename to window-resize-reset-1.
10839 (resize-window): Rename to window-resize.
10840 (window-min-height, window-min-width)
10841 (resize-mini-window, resize-this-window, resize-root-window)
10842 (resize-root-window-vertically, adjust-window-trailing-edge)
10843 (enlarge-window, shrink-window, maximize-window)
10844 (minimize-window, delete-window, quit-restore-window)
10845 (split-window, balance-windows, balance-windows-area-adjust)
10846 (balance-windows-area, window-state-put-2)
10847 (display-buffer-even-window-sizes, display-buffer-set-height)
10848 (display-buffer-set-width, set-window-text-height)
10849 (fit-window-to-buffer): Rename all "resize-window" prefixed
10850 calls to use the "window-resize" prefix convention.
10851 (display-buffer-alist): Fix symbol for label specifier.
10852 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10853 corresponding specifier.
10854 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10855
b6458526
VB
108562011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10857
10858 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10859 convention.
10860 (ses-call-printer): Does not pass an empty string to formatter when the
10861 cell is empty to keep from barking printer Calc math-format-value.
10862
d31fd9ac
RS
108632011-06-27 Richard Stallman <rms@gnu.org>
10864
43d5bf84
RS
10865 * battery.el (battery-mode-line-limit): New variable.
10866 (battery-update): Handle it.
10867
d31fd9ac
RS
10868 * mail/rmailmm.el (rmail-mime-process-multipart):
10869 Handle truncated messages.
10870
819a6054
GM
108712011-06-27 Glenn Morris <rgm@gnu.org>
10872
10873 * progmodes/flymake.el (flymake-err-line-patterns):
10874 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10875
cedc73f2
VB
108762011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10877
819a6054 10878 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10879 (ses--clean-!, ses--clean-_): New functions.
10880 (ses-range): Add configurability of readout order, and conversion
10881 to Calc vector.
10882
5e5d49b6
VB
10883 * ses.el (ses-repair-cell-reference-all): New function.
10884 (ses-cell-symbol): Set macro as safe, so that it can be used in
10885 formulas.
10886
56e6cc31 10887 * ses.el: Update cycle detection algorithm.
90ca8b49 10888 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10889 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10890 (ses-set-localvars): New function.
10891 (ses-make-cell): Add property-list as a cell element.
10892 (ses-cell-property-get-fun, ses-cell-property-get)
10893 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10894 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10895 New functions.
90ca8b49
VB
10896 (ses-cell-property-set, ses-cell-property-pop)
10897 (ses-cell-property-get-handle): New macro.
10898 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10899 New aliases, used for code readability.
10900 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10901 cycle detection.
10902 (ses-self-reference-early-detection): New defcustom.
fac916bf 10903 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10904 (ses-mode): Use ses-set-localvars.
10905 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10906 before lauching the update processing.
10907 (ses-initialize-Dijkstra-attempt): New function.
10908 (ses-recalculate-cell): Update for cycle detection based on
10909 Dijkstra algorithm.
10910
2bb63e81
VB
10911 * ses.el: Fix commenting and indenting convention.
10912
c9d29fb8
SM
109132011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10914
10915 * bs.el (bs-cycle-next): Complete last change.
10916
d8e4b68b
JB
109172011-06-27 Drew Adams <drew.adams@oracle.com>
10918
10919 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10920
40098786
LMI
109212011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10922
c9d29fb8
SM
10923 * net/network-stream.el (network-stream-open-starttls):
10924 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10925 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10926
40098786
LMI
10927 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10928 to binary to possibly avoid line encoding issues on Windows (among
10929 other things).
10930
468d09d4
LMI
109312011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10932
10933 * net/network-stream.el (open-network-stream): Return an :error
10934 saying what the problem was, if possible.
10935
10936 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10937 server.
10938
10939 * net/network-stream.el (network-stream-open-starttls): If we
10940 wanted to use STARTTLS, and the server offered it, but we weren't
10941 able to because we had no STARTTLS support, then close the connection.
10942 (open-network-stream): Return an :error element, if present.
10943
16f07dd7
CY
109442011-06-26 Chong Yidong <cyd@stupidchicken.com>
10945
88821ca0
CY
10946 * hl-line.el (hl-line-sticky-flag): Doc fix.
10947 (global-hl-line-sticky-flag): New option (Bug#8323).
10948 (global-hl-line-highlight): Obey it.
10949
16f07dd7
CY
10950 * vc/vc.el (vc-revert-show-diff): Default to t.
10951
6b5ccddf
KM
109522011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10953
c9d29fb8
SM
10954 * allout-widgets.el (allout-widgets-post-command-business):
10955 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10956 undecorated when an isearch is continued past, and isearch
10957 automatically collapses them. This leads to "widget leaks", where
10958 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10959 hidden widgets can slow down cursor travel, substantially.
10960 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10961 so we're doing without this nicety.
10962
10963 (allout-widgets-tally-string): Don't try to do a hash-table-count
10964 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10965 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10966 *Messages* when allout-widgets-maintain-tally is t.
10967
355f2e07
MR
109682011-06-26 Martin Rudalics <rudalics@gmx.at>
10969
10970 * window.el (display-buffer-normalize-argument): Rename to
10971 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10972 LABEL argument. Respect special-display-function when popping up
10973 a new frame. Fix code searching for a window showing the buffer
10974 on another frame.
c9d29fb8
SM
10975 (display-buffer-normalize-specifiers):
10976 Call display-buffer-normalize-arguments.
355f2e07
MR
10977 (display-buffer-in-window): Don't undedicate the window if its
10978 buffer remains the same.
10979 Reported by Drew Adams <drew.adams@oracle.com>.
10980 (display-buffer-alist): Add choice for same-window macro
10981 specfier.
10982 (display-buffer): Mention special meaning of LABEL argument in
10983 doc-string. Fix quoting. Don't pop up a new frame even as
10984 fallback.
10985
7ca8fc42
JB
109862011-06-26 Juanma Barranquero <lekktu@gmail.com>
10987
10988 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10989 avoid deleting the current window in some cases (bug#8911).
10990
bc312254
AS
109912011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10992
10993 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10994 (Bug#8934)
10995
2db18f3f
LMI
109962011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10997
c9d29fb8
SM
10998 * net/network-stream.el (network-stream-open-starttls):
10999 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11000 (network-stream-open-tls): Ditto.
11001
6302e0d3
LL
110022011-06-26 Leo Liu <sdl.web@gmail.com>
11003
11004 * register.el (registerv): New struct.
11005 (registerv-make): New function.
c9d29fb8
SM
11006 (jump-to-register, describe-register-1, insert-register):
11007 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11008 struct. (Bug#8415)
11009
5fdd4046
CY
110102011-06-26 Chong Yidong <cyd@stupidchicken.com>
11011
2afef60a
CY
11012 * vc/vc.el (vc-revert-show-diff): New defcustom.
11013 (vc-diff-internal): New arg specifying diff buffer.
11014 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11015 reuse an existing *vc-diff* buffer (Bug#8927).
11016
5fdd4046
CY
11017 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11018
e93db24a
GM
110192011-06-26 Glenn Morris <rgm@gnu.org>
11020
11021 * progmodes/f90.el (f90-critical-indent): New option.
11022 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11023 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11024 (f90-mode): Doc fix.
11025 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11026 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11027 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11028 (f90-match-end): Handle block, critical.
11029
eefff499
GM
110302011-06-25 Glenn Morris <rgm@gnu.org>
11031
f6ba4cc9
GM
11032 * calendar/diary-lib.el (diary-included-files): Doc fix.
11033 (diary-include-files): New function, extracted from
11034 diary-include-other-diary-files and diary-mark-included-diary-files.
11035 (diary-include-other-diary-files, diary-mark-included-diary-files):
11036 Just call diary-include-files.
11037 (diary-mark-entries): Reset diary-included-files on first call.
11038
16712304
GM
11039 * calendar/diary-lib.el (diary-mark-entries)
11040 (diary-mark-included-diary-files):
11041 Visit included diary-files in temp buffers.
11042
5d8e0d43
GM
11043 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11044 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11045 (f90-start-block-re, f90-imenu-generic-expression)
11046 (f90-looking-at-program-block-start, f90-no-block-limit):
11047 Add support for submodules.
11048
ccf7a5d5
GM
11049 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11050 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11051
11fdef7d 110522011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11053
11054 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11055 buffer-file-type before setting its value, to avoid disastrous
eefff499 11056 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11057
74f53697
JB
110582011-06-25 Juanma Barranquero <lekktu@gmail.com>
11059
11060 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11061
11062 * ses.el (ses-unload-function):
11063 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11064
11065 * proced.el (proced-unload-function):
11066 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11067
18a4ce5e
AR
110682011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11069
11070 * server.el (server-create-window-system-frame): Add parameters arg.
11071 (server-process-filter): Doc fix. Handle frame-parameters.
11072
519d22cc
JB
110732011-06-25 Juanma Barranquero <lekktu@gmail.com>
11074
11075 Fix bug#8730, bug#8781.
11076
11077 * loadhist.el (unload--set-major-mode): New function.
11078 (unload-feature): Use it.
11079
11080 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11081 (python-unload-function): New function.
11082
c206f5b0
SM
110832011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11084
11085 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11086
f9ad64f3
GS
110872011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11088
11089 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11090 the candidates list.
11091
7d0da90e
JB
110922011-06-24 Juanma Barranquero <lekktu@gmail.com>
11093
11094 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11095
14b4e83d
RS
110962011-06-23 Richard Stallman <rms@gnu.org>
11097
11098 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11099 (rmail-variables): Set next-error-move-function.
11100 (rmail-what-message): Take argument POS.
11101 (rmail-next-error-move): New function.
11102
273d2baf
SM
111032011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11104
11105 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11106 messages for adjacent non-terminals.
11107
56c2cc9a
RS
111082011-06-23 Richard Stallman <rms@gnu.org>
11109
11110 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11111 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11112 (rmail-start-mail): Don't specify use of rmail-mail-return;
11113 that's done by mail-bury now.
11114 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11115
d59eb518
MA
111162011-06-23 Michael Albinus <michael.albinus@gmx.de>
11117
11118 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11119 SIZE is a number.
11120
02cfc6d6
MR
111212011-06-23 Martin Rudalics <rudalics@gmx.at>
11122
11123 * window.el (get-lru-window, get-mru-window)
11124 (get-largest-window): Never return a minibuffer window.
11125 (display-buffer-pop-up-window): Fix a bug that could lead to
11126 reusing the minibuffer window.
11127 (display-buffer): Pass original specifier argument to
11128 display-buffer-function instead of the normalized one.
11129 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11130
4e323265
LL
111312011-06-22 Leo Liu <sdl.web@gmail.com>
11132
11133 * minibuffer.el (completing-read-function)
11134 (completing-read-default): Move from minibuf.c
11135
7a70468f
RS
111362011-06-22 Richard Stallman <rms@gnu.org>
11137
50718fc2
RS
11138 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11139 to Rmail even if not started by a special Rmail command.
11140
7a70468f
RS
11141 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11142 Copy the buffer currently showing just one message.
11143
297dde5a
RW
111442011-06-22 Roland Winkler <winkler@gnu.org>
11145
11146 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11147 (bibtex-clean-entry): First delete the old key so that a
11148 customized algorithm for generating the new key does not get
11149 confused by the old key.
11150 (bibtex-url): Obey regexp of first step.
11151 (bibtex-search-entries): Do not use add-to-list with local
11152 list-var.
11153
97bb1093
LMI
111542011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11155
11156 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11157 stored a user name, then query for the password first, instead of
11158 waiting for SMTP to give an error message and the trying again.
11159
1c0f1a19
JD
111602011-06-22 Lawrence Mitchell <wence@gmx.li>
11161
11162 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11163 BUFFER in call-process.
11164
396f7c9d
LMI
111652011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11166
11167 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11168 QUIT twice.
ddb7ffee
LMI
11169 (smtpmail-try-auth-methods): Require user name and password from
11170 auth-source.
396f7c9d 11171
8998d1b3
MR
111722011-06-22 Martin Rudalics <rudalics@gmx.at>
11173
11174 * window.el (display-buffer-default-specifiers)
11175 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11176 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11177 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11178
11179 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11180 (special-display-frame-alist, special-display-popup-frame):
11181 Remove duplicate declarations. These are now in window.el.
11182
4ea31e07
LMI
111832011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11184
c9d29fb8
SM
11185 * mail/smtpmail.el (smtpmail-via-smtp):
11186 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11187 server supports it. SMTP servers that support STARTTLS commonly
11188 require it.
11189
11190 * net/network-stream.el (network-stream-open-starttls): Support
11191 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11192 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11193
95f41d9a
LMI
11194 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11195 upgrades with `open-network-stream', and rely solely on
11196 auth-source for all credentials. Big changes throughout the file,
11197 but in particular:
c9d29fb8
SM
11198 (smtpmail-auth-credentials): Remove.
11199 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11200 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11201 MAIL FROM, too.
95f41d9a 11202
c9d29fb8
SM
11203 * net/network-stream.el (network-stream-open-starttls):
11204 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11205 STARTTLS.
11206 (auth-source): Require.
11207 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11208 (network-stream-certificate): Change cert-cert to cert and
11209 cert-key to key.
4ea31e07 11210
065ec2c7
MA
112112011-06-21 Michael Albinus <michael.albinus@gmx.de>
11212
11213 * net/tramp-cache.el (top): Don't load the persistency file when
11214 "emacs -Q" has been called.
11215
cd93b359
DR
112162011-06-21 Tim Harper <timcharper@gmail.com>
11217
d8e4b68b
JB
11218 * term/ns-win.el (ns-initialize-window-system):
11219 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11220 resource to NO as it is not yet supported by the NS port.
11221
ae9c0411
JB
112222011-06-21 Juanma Barranquero <lekktu@gmail.com>
11223
11224 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11225 (list-dynamic-libraries): ...not here.
11226
7f3f739f
LL
112272011-06-21 Leo Liu <sdl.web@gmail.com>
11228
11229 * subr.el (sha1): Implement sha1 using secure-hash.
11230
327c8fb1
MR
112312011-06-21 Martin Rudalics <rudalics@gmx.at>
11232
11233 * window.el (display-buffer-alist): In default value do not
11234 enforce searching a window on any but the selected frame.
11235 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11236 (display-buffer-select-window): Remove function.
11237 (display-buffer-in-window): When a window on another frame gets
11238 reused, do not select it any more but just raise its frame if
11239 necessary (Bug#8851) and (Bug#8856).
11240 (display-buffer-normalize-options): Handle pop-up-frames related
11241 options more faithfully.
11242 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11243 window if it is on another frame.
c9d29fb8
SM
11244 (display-buffer-alist, display-buffer-default-specifiers):
11245 Don't make new frame unsplittable by default.
9e9de014
MR
11246 (display-buffer-normalize-argument): Fix doc-string typo and use
11247 'same-frame-other-window instead of 'other-window when associating
11248 with display-buffer-macro-specifiers.
327c8fb1 11249
7cf3f556
VB
112502011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11251
11252 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11253 New functions.
11254 (5x5-mode-map, 5x5-mode-menu): Bind them.
11255 (5x5-draw-grid): Tweak the solver's rendering.
11256
60a406cf
SM
112572011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11258
11259 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11260 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11261
d8e4b68b 112622011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11263
11264 * menu-bar.el: Use function variable instead of switch-to-buffer.
11265 (menu-bar-select-buffer-function): New variable.
60a406cf 11266 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11267
478d6f95
SM
112682011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11269
11270 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11271 variable's status.
11272
ca530739
JD
112732011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11274
11275 * x-dnd.el (x-dnd-version-from-flags)
11276 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11277 and long as number (Bug#8899).
11278 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11279
bcd70d97
SM
112802011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11281
60a406cf 11282 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11283 (completion-try-completion, completion-all-completions): Compute the
11284 metadata argument if it's missing; make it optional (bug#8795).
11285
60a406cf 11286 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11287 (widget-complete): Use new :completion-function property.
11288 (widget-completions-at-point): New function.
11289 (default): Use :completion-function instead of :complete.
60a406cf
SM
11290 (widget-default-completions): Rename from widget-default-complete;
11291 Rewrite.
bcd70d97
SM
11292 (widget-string-complete, widget-file-complete, widget-color-complete):
11293 Remove functions.
11294 (file, symbol, function, variable, coding-system, color):
11295 * international/mule-cmds.el (default-input-method, charset)
11296 (language-info-custom-alist):
11297 * cus-edit.el (face): Use new property :completions.
11298
11299 * progmodes/pascal.el (pascal-completions-at-point): New function.
11300 (pascal-mode): Use it.
11301 (pascal-mode-map): Use completion-at-point.
11302 (pascal-toggle-completions): Make obsolete.
11303 (pascal-complete-word, pascal-show-completions):
11304 * progmodes/octave-mod.el (octave-complete-symbol):
11305 Redefine as obsolete alias.
11306 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11307 Signal absence of completion info for old Octave,
11308 (inferior-octave-complete): Redefine as obsolete alias.
11309 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11310 (meta-completions-at-point): Rename from meta-complete-symbol and
11311 adapt it for use on completion-at-point-functions.
11312 (meta-common-mode): Use it.
11313 (meta-looking-at-backward, meta-match-buffer): Remove.
11314 (meta-complete-symbol): Redefine as obsolete alias.
11315 (meta-common-mode-map): Use completion-at-point.
11316 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11317 (makefile-mode-map): Use completion-at-point.
11318 (makefile-completions-at-point): Rename from makefile-complete and
11319 adapt it for use on completion-at-point-functions.
11320 (makefile-mode): Use it.
11321 (makefile-complete): Redefine as obsolete alias.
11322
aebf69c8
DD
113232011-06-20 Deniz Dogan <deniz@dogan.se>
11324
11325 * net/rcirc.el: Delete trailing whitespaces once and for all.
11326
bfbbb27d
DC
113272011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11328
11329 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11330
d264a46b
CY
113312011-06-19 Chong Yidong <cyd@stupidchicken.com>
11332
4ca009e5
CY
11333 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11334
d264a46b
CY
11335 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11336
fbf5b3ce
MR
113372011-06-19 Martin Rudalics <rudalics@gmx.at>
11338
11339 * window.el (display-buffer-other-window-means-other-frame):
11340 Call display-buffer-normalize-alist.
11341 (display-buffer-normalize-specifiers-1): Rename to
11342 display-buffer-normalize-argument. New argument other-frame.
11343 Rewrite.
11344 (display-buffer-normalize-specifiers-2): Rename to
11345 display-buffer-normalize-options.
11346 (display-buffer-normalize-alist-1): New function.
11347 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11348 display-buffer-normalize-alist.
11349 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11350 (display-buffer-normalize-options-inhibit): New variable.
11351 (display-buffer-normalize-specifiers): Rewrite calling
11352 display-buffer-normalize-alist,
11353 display-buffer-normalize-argument, and
11354 display-buffer-normalize-options. Don't call the latter if
11355 display-buffer-normalize-options-inhibit is non-nil.
11356 (frame-auto-delete): New option.
11357 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11358 (window-list-no-nils, window-state-ignored-parameters)
11359 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11360 (window-state-put-1, window-state-put-2, window-state-put):
11361 New functions.
9a028c23
MR
11362 (display-buffer-normalize-options): Move special-display-p group
11363 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11364
6d10d800
CY
113652011-06-18 Chong Yidong <cyd@stupidchicken.com>
11366
6420d28b
CY
11367 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11368 groups (Bug#8776).
11369 (rx-submatch-n): New function.
11370 (rx): Document it.
11371
ddb8b596
CY
11372 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11373 (Bug#8768).
11374
11375 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11376
77080289
CY
11377 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11378
61dfb316
CY
11379 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11380 anytime existing face settings are present (Bug#8889).
11381
6d10d800
CY
11382 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11383 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11384 Remove unused argument.
11385
be3fb2b8
MR
113862011-06-18 Martin Rudalics <rudalics@gmx.at>
11387
bcd70d97
SM
11388 * window.el (display-buffer-default-specifiers):
11389 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11390 pop-up-window-min-width, and another reuse-window specifier
11391 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11392 (display-buffer-normalize-specifiers-2):
11393 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11394 pop-up-windows is unset. Add a reuse-window specifier for the
11395 case popping up a new window fails.
11396 (special-display-popup-frame): Remove double quoting.
28dec25a 11397 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11398
1c6d8c76
SM
113992011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11400
11401 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11402 according to comint-completion-addsuffix.
11403
11404 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11405 (pcomplete-suffix-list): Mark as obsolete.
11406 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11407 pcomplete-seen in the closure.
11408 (pcomplete-comint-setup): Setup completion-at-point as well.
11409 (pcomplete--entries): New function.
11410 (pcomplete--env-regexp): New var.
11411 (pcomplete-entries): Rewrite to work with partial-completion and
11412 without relying on pcomplete-suffix-list.
11413 (pcomplete-pare-list): Remove, unused.
11414
25aef8b8
MR
114152011-06-17 Martin Rudalics <rudalics@gmx.at>
11416
11417 * window.el (display-buffer-alist): Set pop-up-window-min-height
11418 and pop-up-window-min-width in default value. Reported by
11419 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11420 other-window-means-other-frame.
11421 (display-buffer-macro-specifiers): Comment out entry for
11422 other-window specifier.
11423 (display-buffer-other-window-means-other-frame): New function.
11424 (display-buffer-normalize-specifiers-1): New arguments
11425 buffer-name and label. Treat other-window case specially.
11426 (display-buffer-normalize-specifiers-2): Treat other-window case
11427 specially.
11428 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11429 (display-buffer-normalize-specifiers):
11430 Call display-buffer-normalize-specifiers-3.
25aef8b8 11431
dbad4f69
MR
114322011-06-17 Martin Rudalics <rudalics@gmx.at>
11433
11434 * window.el (same-window-p): Fix two typos introduced when
11435 adding with-no-warnings.
d1067961
MR
11436 (display-buffer-normalize-specifiers-1): Don't check
11437 pop-up-frames for 'unset initialization.
11438 (display-buffer-normalize-specifiers-2): Major rewrite using
11439 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11440 (pop-up-frames, display-buffer-reuse-frames)
11441 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11442 Suggested by David Engster <deng@randomsample.de>.
11443 (even-window-heights): Initialize to 'unset.
11444 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11445 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11446 other window case.
dbad4f69 11447
9b9c9e3a
MR
114482011-06-16 Martin Rudalics <rudalics@gmx.at>
11449
bcd70d97
SM
11450 * window.el (display-buffer-normalize-specifiers-1):
11451 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11452 second argument of display-buffer (Bug#8865).
981d5c09
MR
11453 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11454 (switch-to-buffer-other-window-same-frame)
11455 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11456 Adams (Bug#8875).
9c2755e9
MR
11457 (display-buffer): Don't check noninteractive when calling
11458 display-buffer-pop-up-frame.
11459 (display-buffer-pop-up-frame): Never pop up a frame in
11460 noninteractive mode (Bug#8857).
67222e1d
MR
11461 (enlarge-window, shrink-window): Don't report an error when the
11462 window can't be resized as requested (Bug#8862).
9b9c9e3a 11463
2b75be67
SM
114642011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11465
9ffdd3ba
SM
11466 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11467
cb581a67
SM
11468 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11469
2b75be67
SM
11470 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11471
8c0e3589
AM
114722011-06-15 Alan Mackenzie <acm@muc.de>
11473
cb581a67
SM
11474 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11475 for declarators, disable knr checking to speed up for normal files.
11476 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11477
b96e6cde
LMI
114782011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11479
4bba86e6
LMI
11480 * net/network-stream.el (open-network-stream): Add the keyword
11481 :always-query-capabilities for the case where you want to force a
11482 `plain' network connection, but the protocol still requires the
11483 capabilitiy command (i.e., SMTP and EHLO).
11484
2b75be67 11485 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11486 consistency with other `-live-p' functions.
11487
efdcdbf8
SM
114882011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11489
11490 * window.el (same-window-buffer-names, same-window-regexps)
11491 (special-display-frame-alist, special-display-popup-frame)
11492 (special-display-function, special-display-buffer-names)
11493 (special-display-regexps, pop-up-frame-alist)
11494 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11495 (pop-up-windows, split-window-preferred-function)
11496 (split-height-threshold, split-width-threshold, even-window-heights)
11497 (display-buffer-mark-dedicated): Don't encourage the use of
11498 display-buffer-alist from Elisp code.
11499
c5cde042
DN
115002011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11501
11502 * progmodes/python.el (python-mode): Derive from prog-mode.
11503 * progmodes/ps-mode.el (ps-mode):
11504 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11505 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11506 * progmodes/ld-script.el (ld-script-mode): Likewise.
11507
baa1c9ab
MR
115082011-06-15 Martin Rudalics <rudalics@gmx.at>
11509
11510 * window.el (display-buffer-alist): Trim default value to avoid
11511 popping up a new frame (Bug#8857) or reusing an arbitrary window
11512 on another frame.
11513 (display-buffer): Do not fall back on popping up a new frame in
11514 batch mode (Bug#8857).
11515
c5dd5a51
CY
115162011-06-14 Chong Yidong <cyd@stupidchicken.com>
11517
11518 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11519 (custom-theme-summary): New function.
11520 (customize-themes): Use it.
11521
d647b7c4
GM
115222011-06-13 Glenn Morris <rgm@gnu.org>
11523
11524 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11525
9481c002
MR
115262011-06-13 Martin Rudalics <rudalics@gmx.at>
11527
357f93d2
MR
11528 * help.el (help-window): Remove variable.
11529 (help-window-point-marker, temp-buffer-max-height)
11530 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11531 (help-print-return-message): Don't set help-window.
11532 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11533 (help-window-setup-finish): Remove.
11534 (help-window-display-message, help-window-setup)
11535 (with-help-window): Major rewrite based on new
11536 display-buffer-window variable.
11537
11538 * help-mode.el (help-mode-finish): Remove help-window related
11539 code.
11540
11541 * view.el (view-exits-all-viewing-windows): Remove reference to
11542 view-return-to-alist in doc-string.
11543 (view-return-to-alist): Make obsolete.
11544 (view-buffer): Call pop-to-buffer-same-window and remove
11545 undo-window code.
11546 (view-buffer-other-window): Call pop-to-buffer-other-window and
11547 simplify code. Ignore second argument.
11548 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11549 simplify code. Ignore second argument.
11550 (view-return-to-alist-update): Make obsolete.
11551 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11552 Rewrite using quit-restore window parameters.
2b75be67
SM
11553 (view-mode-exit): Rename second argument to EXIT-ONLY.
11554 Rewrite using quit-restore-window.
357f93d2
MR
11555 (View-exit, View-exit-and-edit, View-leave, View-quit)
11556 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11557 appropriate arguments.
11558 (view-end-message): Use quit-restore window parameter.
11559
9481c002
MR
11560 * window.el (display-buffer-function): Rewrite doc-string.
11561 (display-buffer-window, display-buffer-alist): New variables.
11562 (display-buffer-split-specifiers)
11563 (display-buffer-side-specifiers)
11564 (display-buffer-macro-specifiers): New constants.
11565 (display-buffer-even-window-sizes, display-buffer-set-height)
11566 (display-buffer-set-width, display-buffer-select-window)
11567 (display-buffer-in-window, display-buffer-reuse-window)
11568 (display-buffer-split-window-1, display-buffer-split-window)
11569 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11570 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11571 (display-buffer-in-side-window, normalize-buffer-to-display)
11572 (display-buffer-normalize-specifiers-1)
11573 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11574 (display-buffer-normalize-specifiers, display-buffer-frame):
11575 New functions.
9481c002
MR
11576 (display-buffer): Major rewrite.
11577 (display-buffer-other-window, display-buffer-other-frame)
11578 (pop-to-buffer, switch-to-buffer-other-window)
11579 (switch-to-buffer-other-frame): Rewrite.
11580 (display-buffer-same-window, display-buffer-same-frame)
11581 (display-buffer-same-frame-other-window)
11582 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11583 (pop-to-buffer-other-window)
11584 (pop-to-buffer-same-frame-other-window)
11585 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11586 (switch-to-buffer-other-window-same-frame): New functions.
11587 (same-window-p, special-display-p): Rewrite disabling warnings.
11588 Make obsolete.
11589 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11590 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11591 Make obsolete
11592 (same-window-buffer-names, same-window-regexps)
11593 (special-display-frame-alist, special-display-popup-frame)
11594 (special-display-function, special-display-buffer-names)
11595 (special-display-regexps, pop-up-frame-alist)
11596 (pop-up-frame-function, split-window-preferred-function)
11597 (split-height-threshold, split-width-threshold)
11598 (even-window-heights): Make obsolete.
11599
9db51aca
GM
116002011-06-12 Glenn Morris <rgm@gnu.org>
11601
11602 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11603 Misc simplifications.
9db51aca 11604
39cffb44
MR
116052011-06-12 Martin Rudalics <rudalics@gmx.at>
11606
11607 * window.el (window-safely-shrinkable-p): Restore function which
11608 was inadvertently removed in change from 2011-06-11. Declare as
11609 obsolete.
11610
2b75be67
SM
11611 * calendar/calendar.el (calendar-generate-window):
11612 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11613 window-safely-shrinkable-p.
11614
a8955be7
GM
116152011-06-12 Glenn Morris <rgm@gnu.org>
11616
11617 * progmodes/fortran.el (fortran-mode-syntax-table):
11618 * progmodes/f90.el (f90-mode-syntax-table):
11619 Set % to punctuation. (Bug#8820)
11620 (f90-find-tag-default): Remove, no longer needed.
11621
f0d4059d
DC
116222011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11623
11624 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11625
1100a63c
CY
116262011-06-11 Chong Yidong <cyd@stupidchicken.com>
11627
11628 * image.el (image-animated-p): Return animation delay in seconds.
11629 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11630 (image-animate-timeout): Remove DELAY argument. Don't assume
11631 every subimage has the same delay; get it from image-animated-p.
11632 (image-animate): Caller changed.
11633
def722bf
MA
116342011-06-11 Michael Albinus <michael.albinus@gmx.de>
11635
11636 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11637 to ignored backtrace functions.
11638
0a2bb1a9
GM
116392011-06-11 Glenn Morris <rgm@gnu.org>
11640
11641 * calendar/appt.el (appt-disp-window-function): Doc fix.
11642 (appt-check): Handle overlapping appointments. (Bug#8337)
11643
6198ccd0
MR
116442011-06-11 Martin Rudalics <rudalics@gmx.at>
11645
11646 * window.el (window-tree-1, window-tree): New functions, moving
11647 the latter to window.el.
11648 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11649 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11650 (bw-refresh-edges): Remove.
11651 (balance-windows-1, balance-windows-2): New functions.
11652 (balance-windows): Rewrite in terms of window tree functions,
11653 balance-windows-1 and balance-windows-2.
11654 (bw-adjust-window): Remove.
11655 (balance-windows-area-adjust): New function with functionality of
11656 bw-adjust-window but using resize-window.
2b75be67
SM
11657 (set-window-text-height): Rewrite doc-string.
11658 Use normalize-live-window and resize-window.
11659 (enlarge-window-horizontally, shrink-window-horizontally):
11660 Rename argument to DELTA.
6198ccd0
MR
11661 (window-buffer-height): New function.
11662 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11663 Rewrite using new window resize routines.
2b75be67
SM
11664 (kill-buffer-and-window, mouse-autoselect-window-select):
11665 Use ignore-errors instead of condition-case.
6198ccd0
MR
11666 (quit-window): Call delete-frame instead of delete-windows-on
11667 for the only buffer on frame.
11668
9397e56f
MR
116692011-06-10 Martin Rudalics <rudalics@gmx.at>
11670
11671 * loadup.el (top-level): Load window before files for the sake
11672 of replace-buffer-in-windows.
11673
11674 * files.el (read-buffer-to-switch)
11675 (switch-to-buffer-other-window)
2b75be67
SM
11676 (switch-to-buffer-other-frame, display-buffer-other-frame):
11677 Move to window.el.
9397e56f
MR
11678
11679 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11680 (previous-buffer): Move to window.el.
11681
11682 * bindings.el (unbury-buffer): Move to window.el.
11683
11684 * window.el (delete-other-windows-vertically): Move after
11685 definition of delete-other-windows.
11686 (other-window, delete-windows-on, replace-buffer-in-windows):
11687 Move here from window.c.
11688 (record-window-buffer, unrecord-window-buffer)
11689 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11690 (switch-to-next-buffer): New functions.
11691 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11692 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11693 (previous-buffer): Move here from simple.el.
11694 Call switch-to-prev-buffer.
9397e56f
MR
11695 (bury-buffer): Move here from buffer.c. Switch to previous
11696 buffer when window cannot be deleted.
11697 (unbury-buffer): Move here from bindings.el.
11698 (ctl-x-map): Move binding for other-window from window.c to
11699 here.
11700 (read-buffer-to-switch, switch-to-buffer-other-window)
11701 (switch-to-buffer-other-frame): Move here from files.el.
11702 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11703 (switch-to-buffer): Move here from buffer.c.
11704 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11705
562dd5e9
MR
117062011-06-10 Martin Rudalics <rudalics@gmx.at>
11707
11708 * window.el (window-min-height, window-min-width): Move here
11709 from window.c. Add defcustoms and rewrite doc-strings.
11710 (resize-mini-window, resize-window): New functions.
11711 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11712 Move here from window.c.
11713 (maximize-window, minimize-window): New functions.
11714 (delete-window, delete-other-windows, split-window): Move here
11715 from window.c.
11716 (window-split-min-size): New function.
11717 (split-window-keep-point): Mention split-window-above-each-other
11718 instead of split-window-vertically.
2b75be67 11719 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11720 Rename split-window-vertically to split-window-above-each-other
11721 and provide defalias for old definition.
11722 (split-window-side-by-side, split-window-horizontally):
11723 Rename split-window-horizontally to split-window-side-by-side
11724 and provide defalias for the old definition.
562dd5e9
MR
11725 (ctl-x-map): Move bindings for delete-window,
11726 delete-other-windows and enlarge-window here from window.c.
11727 Replace bindings for split-window-vertically and
11728 split-window-horizontally by bindings for
11729 split-window-above-each-other and split-window-side-by-side.
11730
11731 * cus-start.el (all): Remove entries for window-min-height and
11732 window-min-width. Add entries for window-splits and
11733 window-nest.
11734
f0da764a
GM
117352011-06-09 Glenn Morris <rgm@gnu.org>
11736
80675c21
GM
11737 * calendar/appt.el (appt-mode-line): New function.
11738 (appt-check, appt-disp-window): Use it.
11739
f0da764a
GM
11740 * files.el (hack-one-local-variable-eval-safep):
11741 Allow minor-modes with explicit +/-1 arguments.
11742
59f623b7
TZ
117432011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11744
11745 * term/xterm.el (xterm): Add defgroup.
11746 (xterm-extra-capabilities): Add defcustom to supply known xterm
11747 capabilities, skip querying them, or query them (default).
11748 (terminal-init-xterm): Use it.
11749 (terminal-init-xterm-modify-other-keys): New function to set up
11750 modifyOtherKeys support to simplify `terminal-init-xterm'.
11751
9aab8e0d
MR
117522011-06-09 Martin Rudalics <rudalics@gmx.at>
11753
11754 * window.el (resize-window-reset, resize-window-reset-1)
11755 (resize-subwindows-skip-p, resize-subwindows-normal)
11756 (resize-subwindows, resize-other-windows, resize-this-window)
11757 (resize-root-window, resize-root-window-vertically)
11758 (window-deletable-p, window-or-subwindow-p)
11759 (frame-root-window-p): New functions.
11760
e8b08aee
GM
117612011-06-09 Glenn Morris <rgm@gnu.org>
11762
11763 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11764 (ange-ftp-get-files): Use it.
11765
254c37a5
AK
117662011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11767
11768 * mail/sendmail.el (mail-recover-1, mail-recover):
11769 * files.el (recover-file, recover-session):
11770 Handle dired-listing-switches not being just a single short option.
11771
35d7dbd3
GM
117722011-06-09 Glenn Morris <rgm@gnu.org>
11773
11774 * calendar/appt.el (appt-display-message, appt-disp-window):
11775 Handle lists of appointments.
11776
387522b2
MR
117772011-06-08 Martin Rudalics <rudalics@gmx.at>
11778
2b75be67
SM
11779 * window.el (one-window-p): Move down in code.
11780 Rewrite doc-string.
11781 (window-current-scroll-bars): Rewrite doc-string.
11782 Normalize live window argument.
387522b2
MR
11783 (walk-windows, get-window-with-predicate, count-windows):
11784 Rewrite doc-string. Use window-list-1.
11785 (window-in-direction-2, window-in-direction, get-mru-window):
11786 New functions.
11787
d8e4b68b 117882011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11789
11790 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11791 Doc fix (Bug#8713).
11792
117932011-06-08 Chong Yidong <cyd@stupidchicken.com>
11794
11795 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11796
117972011-06-08 Juanma Barranquero <lekktu@gmail.com>
11798
11799 * loadhist.el (unload-feature-special-hooks):
11800 Add `comint-output-filter-functions'.
11801
0de12c52
IK
118022011-06-08 Ivan Kanis <gnu@kanis.fr>
11803
11804 * calendar/appt.el (appt-check): Move some initializations into the let.
11805
f3d1777e
MR
118062011-06-08 Martin Rudalics <rudalics@gmx.at>
11807
11808 * window.el (window-height): Defalias to window-total-height.
11809 (window-width): Defalias to window-body-width.
11810
18af70d0
CY
118112011-06-07 Chong Yidong <cyd@stupidchicken.com>
11812
11813 * image-mode.el (image-toggle-animation): New command.
11814 (image-mode-map): Bind it to RET.
11815 (image-mode): Update message.
11816 (image-toggle-display-image): Avoid a spurious cache flush.
11817 (image-transform-rotation): Doc fix.
11818 (image-transform-properties): Return quickly in the normal case.
11819 (image-animate-loop): Rename from image-animate-max-time.
11820
2b75be67 11821 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11822 (create-animated-image): Remove unnecessary function.
11823 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11824 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11825 (image-animate-timer): Use car-safe.
11826 (image-animate-timeout): Rename argument.
11827
190b47e6
MR
118282011-06-07 Martin Rudalics <rudalics@gmx.at>
11829
11830 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11831 window.c. Rename first argument to ALL-FRAMES.
11832 Rephrase doc-strings.
11833 (get-buffer-window-list): Rewrite using window-list-1.
11834 Rephrase doc-string.
a1511caf
MR
11835 (window-safe-min-height, window-safe-min-width): New constants.
11836 (window-size-ignore, window-min-size, window-min-size-1)
11837 (window-sizable, window-sizable-p, window-size-fixed-1)
11838 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11839 (window-max-delta-1, window-max-delta, window-resizable)
11840 (window-resizable-p, window-total-height, window-total-width)
11841 (window-body-width): New functions.
11842 (window-full-height-p, window-full-width-p): Rewrite using
11843 window-total-size.
11844 (window-body-height): Rewrite using window-body-size.
190b47e6 11845
85cc1f11
MR
118462011-06-06 Martin Rudalics <rudalics@gmx.at>
11847
11848 * window.el (window-right, window-left, window-child)
11849 (window-child-count, window-last-child, window-any-p)
11850 (normalize-live-buffer, normalize-live-frame)
11851 (normalize-any-window, normalize-live-window)
11852 (window-iso-combination-p, window-iso-combined-p)
11853 (window-iso-combinations)
11854 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11855 (windows-with-parameter, window-with-parameter)
11856 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11857 (window-atom-check, window-side-check, window-check):
11858 New functions.
85cc1f11
MR
11859 (ignore-window-parameters, window-sides, window-sides-vertical)
11860 (window-sides-slots): New variables.
11861 (window-size-fixed): Move down in code. Minor doc-string fix.
11862
e7156492
AS
118632011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11864
11865 * comint.el (comint-dynamic-complete-as-filename)
11866 (comint-dynamic-complete-filename): Correctly call
11867 completion-in-region.
11868
7e821d0d
DD
118692011-06-05 Deniz Dogan <deniz@dogan.se>
11870
11871 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11872 in last change.
11873
ac09b8a1
DD
118742011-06-05 Deniz Dogan <deniz@dogan.se>
11875
11876 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11877 (rcirc): Use it to prompt for encryption.
11878
34699b85
RW
118792011-06-05 Roland Winkler <winkler@gnu.org>
11880
11881 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11882 (bibtex-search-entries): New command bound to C-c C-a.
11883 (bibtex-display-entries): New function.
11884
004dedd3
RW
118852011-06-05 Roland Winkler <winkler@gnu.org>
11886
11887 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11888 (bibtex-insert-kill): After yanking insert newline if necessary.
11889 (bibtex-initialize): Call bibtex-string-files-init only once.
11890 (bibtex-mode): Do not call easy-menu-add.
11891 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11892 (bibtex-yank): Set arg properly if nil.
11893
022fe7ce
RW
118942011-06-05 Roland Winkler <winkler@gnu.org>
11895
2b75be67
SM
11896 * textmodes/bibtex.el (bibtex-search-entry-globally):
11897 New variable.
022fe7ce
RW
11898 (bibtex-search-entry): Use it.
11899
b7c3692a
RW
119002011-06-05 Roland Winkler <winkler@gnu.org>
11901
11902 * textmodes/bibtex.el (bibtex-entry-format): New option
11903 sort-fields.
11904 (bibtex-format-entry, bibtex-reformat): Honor this option.
11905 (bibtex-parse-entry): Return fields in proper order.
11906
8eda563d
JB
119072011-06-05 Juanma Barranquero <lekktu@gmail.com>
11908
11909 * doc-view.el (doc-view-remove-if): Move computation of result out
11910 of `dolist' to silence misleading lexical-binding warning.
11911
7dbe3dbc
CY
119122011-06-04 Chong Yidong <cyd@stupidchicken.com>
11913
11914 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11915 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11916
0c33dd17
MA
119172011-06-04 Michael Albinus <michael.albinus@gmx.de>
11918
11919 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11920 "SunOS 5.10".
11921
f8f91c2b
MA
119222011-06-04 Michael Albinus <michael.albinus@gmx.de>
11923
11924 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11925 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11926 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11927 (tramp-parse-putty):
11928 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11929 (tramp-completion-function-alist-ssh)
11930 (tramp-completion-function-alist-telnet)
11931 (tramp-completion-function-alist-su)
11932 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11933 cookie.
11934
11935 * net/tramp-ftp.el:
11936 * net/tramp-sh.el:
11937 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11938 load "tramp.el" `tramp-set-completion-function'.
11939
e17d9003
SM
119402011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11941
11942 * shell.el: Require and use pcomplete.
11943 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11944 (shell-completion-vars): Set pcomplete-default-completion-function.
11945
6c4cab03
DD
119462011-06-04 Deniz Dogan <deniz@dogan.se>
11947
11948 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11949 `memq' (Bug#8799).
11950
ea9fafe0
SM
119512011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11952
11953 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11954
b3e945d3
JB
119552011-06-02 Juanma Barranquero <lekktu@gmail.com>
11956
11957 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11958 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11959 * vc/log-view.el (log-view-beginning-of-defun):
11960 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11961 (smerge-refine-forward, smerge-refine-chopup-region):
11962 Silence warning for unused `dotimes' counter variables.
11963
7d520089
SM
119642011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11965
11966 * net/tramp.el (tramp-with-progress-reporter): Rename from
11967 with-progress-reporter. Use `declare'.
11968 * net/tramp-smb.el:
11969 * net/tramp-sh.el:
11970 * net/tramp-gvfs.el: Update all uses.
11971
a1c2400f
JB
119722011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11973
11974 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11975 buffer isn't killed before making it current.
11976
2403c841
SM
119772011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 Silence various byte-compiler warnings.
11980 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11981 `access-type' and new obsolescence format.
11982 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11983 new format.
11984 (byte-compile-check-variable): New `access-type' argument.
11985 Only warn if the access-type is obsolete.
11986 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11987 (byte-compile-variable-set): Adjust callers.
11988 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11989 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11990 setting it as obsolete.
11991 * simple.el (minibuffer-completing-symbol):
11992 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11993 access as obsolete.
11994 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11995 obsolete yet.
11996 * international/quail.el (quail-mouse-choose-completion): Remove unused
11997 code referring to obsolete var.
11998 (quail-choose-completion-string): Remove.
11999 * server.el (server-clients-with, server-kill-buffer-query-function)
12000 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12001 * proced.el (proced-send-signal):
12002 * emacs-lisp/lisp.el (lisp-complete-symbol):
12003 Replace completion-annotate-function with completion-extra-properties.
12004
2462470b
SM
120052011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12006
fb5b2591
SM
12007 * simple.el (goto-line): Use read-number.
12008 (overriding-map-is-bound): Remove.
12009 (saved-overriding-map): Change default.
12010 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12011 Take the map as argument.
12012 (universal-argument, negative-argument, digit-argument): Use it.
12013 (restore-overriding-map): Adjust.
12014 (do-auto-fill): Use fill-forward-paragraph.
12015 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12016
fd6fa53f
SM
12017 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12018 (minibuffer-inactive-mode): New major mode.
12019 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12020 the *Messages* buffer" hack.
12021 (mouse-popup-menubar): Don't burp if the event is a normal key.
12022
2462470b
SM
12023 Miscellaneous tweaks.
12024 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12025 lexical scoping as in subr.el's dolist and dotimes.
12026 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12027 Silence compiler warning.
12028 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12029 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12030 * international/ccl.el (ccl-compile): Trivial simplification.
12031 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12032 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12033 `printflag' argument.
12034 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12035 Purecopy the whole obsolescence data.
12036
108bf785
LL
120372011-06-01 Leo Liu <sdl.web@gmail.com>
12038
12039 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12040 improve doc-string as suggested by Marco Pessotto
12041 <melmothx@gmail.com>.
12042 (rcirc-print): Fix last change.
12043
30a23501
SM
120442011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12045
12046 * minibuffer.el (complete-with-action): Return nil for the metadata and
12047 boundaries of non-functional tables.
12048 (completion-table-dynamic): Return nil for the metadata.
12049 (completion-table-with-terminator): Add default case, using
12050 complete-with-action.
12051 (completion--metadata): New function.
12052 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12053 to try and avoid pathological performance problems.
12054 (completion--embedded-envvar-table): Return `category' metadata.
12055
bcd54f83
LMI
120562011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12057
12058 * subr.el (process-alive-p): New tiny convenience function.
12059
e227544d
SM
120602011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12061
12062 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12063 content but also its previous major mode.
12064
e8296fdc
HE
120652011-05-31 Helmut Eller <eller.helmut@gmail.com>
12066
4d61f28d 12067 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12068 *Backtrace* buffer when we exit with C-M-c.
12069
620c53a6
SM
120702011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12071
12072 * minibuffer.el: Add metadata method to completion tables.
12073 (completion-category-overrides): New defcustom.
12074 (completion-metadata, completion--field-metadata)
12075 (completion-metadata-get, completion--styles)
12076 (completion--cycle-threshold): New functions.
12077 (completion-try-completion, completion-all-completions):
12078 Add `metadata' argument to choose completion-styles.
12079 (completion--do-completion): Use metadata to choose cycling.
12080 (completion-all-sorted-completions): Use metadata for sorting.
12081 Remove :completion-cycle-penalty which is not needed any more.
12082 (completion--try-word-completion): Add `metadata' argument.
12083 (minibuffer-completion-help): Check metadata for annotation function
12084 and sorting.
12085 (completion-file-name-table): Return `category' metadata.
12086 (minibuffer-completing-file-name): Make obsolete.
12087 * simple.el (minibuffer-completing-symbol): Make obsolete.
12088 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12089 completion-try-completion.
12090
1257e755
SM
120912011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12092
12093 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12094
3767e706
LL
120952011-05-30 Leo Liu <sdl.web@gmail.com>
12096
12097 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12098 (rcirc-print): Decode all incoming messages (bug#8744).
12099 (rcirc-decode-coding-system): Allow value nil for automatic coding
12100 system detection.
3767e706 12101
d1a5d56a
GM
121022011-06-01 Glenn Morris <rgm@gnu.org>
12103
12104 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12105
e8cbec34
CY
121062011-05-29 Chong Yidong <cyd@stupidchicken.com>
12107
12108 * image.el (image-animate-max-time): Allow nil and t values.
12109 Default to nil.
12110 (create-animated-image): Doc fix.
12111 (image-animate-start): Remove second arg; just use
12112 image-animate-max-time.
12113 (image-animate-timeout): Doc fix. Args changed.
12114
12115 * image-mode.el (image-toggle-display-image): Ensure that the
12116 image spec passed to the animate timer is the same object as in
58179cce 12117 the buffer's display property (Bug#6981).
e8cbec34
CY
12118 (image-transform-properties): Doc fix.
12119
12120 * image.el (image-animate-max-time): Default to nil.
12121
159daf87
MR
121222011-05-29 Martin Rudalics <rudalics@gmx.at>
12123
12124 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12125 entire buffer list (Bug#8184).
12126
d66c4c7c
CY
121272011-05-29 Chong Yidong <cyd@stupidchicken.com>
12128
12129 * image.el (imagemagick-types-inhibit)
12130 (imagemagick-register-types): Doc fix.
12131
80aec780
DD
121322011-05-29 Deniz Dogan <deniz@dogan.se>
12133
12134 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12135 default.
12136
1dd3c2d9
CY
121372011-05-29 Chong Yidong <cyd@stupidchicken.com>
12138
12139 * select.el: Don't perform clipboard-manager saving in hooks;
12140 leave the hooks empty.
12141
60e56523
LL
121422011-05-28 Leo Liu <sdl.web@gmail.com>
12143
12144 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12145 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12146 (occur-edit-mode): New major mode (Bug#8463).
12147 (occur-after-change-function): New function.
12148 (occur-engine): Give Occur tags a read-only property.
12149
2b1e1a22
KR
121502011-05-28 Kevin Ryde <user42@zip.com.au>
12151
12152 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12153
5d344e88
CY
121542011-05-28 Chong Yidong <cyd@stupidchicken.com>
12155
8e6ca83d
CY
12156 * bindings.el (help-echo): Make the initial non-indicator dash
12157 empty on graphical terminals (Bug#7295).
12158
5d344e88
CY
12159 * files.el (auto-mode-alist): Move config rule after the
12160 in-stripping one (Bug#8547).
12161
bfbbace7
CY
12162 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12163
fbeba6e2
CY
12164 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12165 setting (Bug#8740).
12166
60ed8c72
AA
121672011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12168
4ac619f0
AA
12169 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12170 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12171 (Bug#8539).
60ed8c72 12172
23db196e
CY
121732011-05-28 Chong Yidong <cyd@stupidchicken.com>
12174
12175 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12176
5012f24c
DK
121772011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12178
12179 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12180 (hs-hide-block-at-point, hs-find-block-beginning)
12181 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12182 (Bug#8279).
12183
6a639b16
GM
121842011-05-28 Glenn Morris <rgm@gnu.org>
12185
12186 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12187
d43eaf2c
CY
121882011-05-28 Chong Yidong <cyd@stupidchicken.com>
12189
5199bde1
CY
12190 * help-fns.el (describe-function-1): If the function is a derived
12191 major mode, print the parent mode.
12192
d43eaf2c
CY
12193 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12194 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12195
423428a8
SM
121962011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12197
0ff8e1ba 12198 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12199 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12200 * progmodes/etags.el (tags-completion-at-point-function):
12201 * info-look.el (info-lookup-completions-at-point): Mark as
12202 non-exclusive.
12203 (info-complete): Adjust accordingly.
12204
423428a8
SM
12205 * info-look.el: Convert to lexical-binding and completion-at-point.
12206 (info-lookup-completions-at-point): New function.
12207 (info-complete): Use it and completion-in-region.
12208
b74aa22b
DA
122092011-05-28 Drew Adams <drew.adams@oracle.com>
12210
12211 * isearch.el: Let M-e start with point at the first mismatched char.
12212 (isearch-fail-pos): New function.
12213 (isearch-edit-string): Use it.
12214
66e2e71d
DK
122152011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12216
12217 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12218
b1890b0f 122192011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12220
12221 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12222 traversal functions for avl-trees.
12223 (avl-tree--stack): New struct.
12224 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12225 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12226 (avl-tree--do-enter): Add optional `updatefun' arg.
12227 Change return value.
eb95d01d 12228 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12229 (avl-tree--do-delete): Add `test' and `nilflag' args.
12230 Change return value.
eb95d01d
TC
12231 (avl-tree-member): Add optional `nilflag'
12232 (avl-tree-member-p): New function.
12233 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12234 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12235 (avl-tree-stack-empty-p): New functions.
12236
3769ddcf
TC
12237 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12238 avl-tree--del-balance1 and make it work both ways.
12239 (avl-tree--del-balance2): Remove.
12240 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12241 make it work both ways.
12242 (avl-tree--enter-balance2): Remove.
12243 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12244 New macros.
12245 (avl-tree--mapc, avl-tree-map): Add direction argument.
12246
eb95d01d 122472011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12248
12249 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12250
a9f737ee
CY
122512011-05-27 Chong Yidong <cyd@stupidchicken.com>
12252
12253 * select.el: Support clipboard managers with built-in function
12254 x-clipboard-manager-save, via delete-frame-functions and
12255 kill-emacs-hook.
12256 (xselect-convert-to-targets): Add MULTIPLE target to list.
12257 (xselect-convert-to-save-targets): New function.
12258
c92a1e54
KH
122592011-05-27 Kenichi Handa <handa@m17n.org>
12260
12261 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12262 let-binding rfc2047-encode-encoded-words to nil.
12263
e145f188
GM
122642011-05-27 Glenn Morris <rgm@gnu.org>
12265
5ec8a862
GM
12266 * mail/emacsbug.el: Don't require url-util.
12267
4b29d9fb
GM
12268 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12269
e145f188
GM
12270 * files.el (set-auto-mode):
12271 Also respect mode: entries at the end of the file. (Bug#8586)
12272
7d15102b
GM
122732011-05-26 Glenn Morris <rgm@gnu.org>
12274
98f593b8
GM
12275 * files.el (hack-local-variables-prop-line, hack-local-variables):
12276 Downcase mode names, as seems to be traditional.
27b48e63 12277 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12278
7d15102b
GM
12279 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12280 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12281
51d5b4ec
JD
122822011-05-25 Julien Danjou <julien@danjou.info>
12283
12284 * textmodes/rst.el (rst-define-level-faces): Do not define face
12285 symbol if it is already defined.
12286
91513f63
VB
122872011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12288
12289 * play/5x5.el (5x5-new-game, 5x5-randomize):
12290 Reset 5x5-solver-output to nil when a new grid is cast.
12291 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12292 these debugging traces, as defmacro breaks the compiled code.
12293
4d90d6d0
DK
122942011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12295
12296 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12297
e1b90ef6
LL
122982011-05-24 Leo Liu <sdl.web@gmail.com>
12299
12300 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12301 (vc-bzr-sha1): Adapt.
12302
d8e4b68b 12303 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12304
12305 * bindings.el: Provide sha1 feature.
12306
db0406bb 123072011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12308
12309 * mail/sendmail.el: Require `rfc2047'.
12310 (mail-insert-from-field): Do not perform RFC2047 encoding.
12311 (mail-encode-header): New function.
12312 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12313 buffer to the return value of select-message-coding-system.
12314 Call mail-encode-header.
b8d747b9
KH
12315
12316 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12317
db0406bb 123182011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12319
4d90d6d0
DK
12320 * mail/supercite.el (sc-default-cite-frame):
12321 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12322
eb8a5e9b
GM
123232011-05-24 Glenn Morris <rgm@gnu.org>
12324
f8630703
GM
12325 * progmodes/python.el (brm-menu): Declare.
12326
8831bbed
GM
12327 * emulation/viper.el (viper-set-hooks): Declare.
12328
eb8a5e9b
GM
12329 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12330 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12331 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12332 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12333 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12334 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12335
a2a25d24
SM
123362011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12337
12338 Add an :exit-function for completion-at-point.
12339
12340 * minibuffer.el (completion--done): New fun.
12341 (completion--do-completion): Use it. New arg `expect-exact'.
12342 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12343 since completion--do-completion does it for us now.
12344 (minibuffer-force-complete): Use completion--done and
12345 completion--replace. Handle sole-completion case with more care.
12346 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12347 (completion-extra-properties): New var.
12348 (completion-annotate-function): Make obsolete.
12349 (minibuffer-completion-help): Adjust accordingly.
12350 Use completion-list-insert-choice-function.
12351 (completion-at-point, completion-help-at-point):
12352 Bind completion-extra-properties.
12353 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12354 * simple.el (completion-list-insert-choice-function): New var.
12355 (completion-setup-function): Preserve it.
12356 (choose-completion): Pay attention to it, shuffle the code a bit.
12357 (choose-completion-string): New arg `insert-function'.
12358
12359 * textmodes/bibtex.el: Convert to lexical binding.
12360 (bibtex-mode-map): Use completion-at-point.
12361 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12362 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12363 (bibtex-complete): Define as obsolete alias.
12364 (bibtex-complete-internal): Remove.
12365 (bibtex-format-entry): Remove unused sub-group in regexp.
12366 * shell.el (shell--command-completion-data)
12367 (shell-environment-variable-completion):
12368 * pcomplete.el (pcomplete-completions-at-point):
12369 * comint.el (comint--complete-file-name-data): Use :exit-function
12370 instead of completion-table-with-terminator so it also works for
12371 choose-completion.
12372
e44e373d
SM
123732011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12374
4f91a816
SM
12375 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12376
782fc819
SM
12377 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12378 (bug#8710).
12379
e44e373d
SM
12380 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12381
381987c3
KM
123822011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12383
12384 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12385 customization variable and implement: If non-nil, auto-fill will
12386 be inhibited while on topic's header line.
12387
b776bc70
VB
123882011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12389
12390 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12391 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12392 always have a solution in grid size = 5 cases.
12393 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12394 (5x5-solver-output, 5x5-log-buffer): New vars.
12395 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12396 Make these variables buffer local to achieve 5x5 multi-session-ness.
12397 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12398 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12399 (5x5-solve-suggest): New funs.
12400 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12401 randomize a grid so that we ensure that there is always a solution.
12402 (5x5-make-random-grid): Allow other movement than flipping.
12403
7de88b6e
KR
124042011-05-23 Kevin Ryde <user42@zip.com.au>
12405
12406 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12407 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12408 advice and passes PREDICATE.
12409
b1ef1257
SM
124102011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12411
bbca48fe
SM
12412 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12413 byte-compile-lambda if it's actually a lambda.
12414
b1ef1257
SM
12415 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12416 Fix function quoting. Use backquote better.
12417
92a9cc65
YS
124182011-05-22 Yuanle Song <sylecn@gmail.com>
12419
12420 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12421 matching (Bug#8516).
12422
f0fb8059
JA
124232011-01-22 Jari Aalto <jari.aalto@cante.net>
12424
12425 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12426 different face (Bug#8178).
12427
d5b44c93
CY
124282011-05-22 Chong Yidong <cyd@stupidchicken.com>
12429
12430 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12431 defface (Bug#8144).
12432
79106a44
SM
124332011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12434
9c848d8a
SM
12435 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12436 funcall as well (bug#8712). Warn when performing those conversions.
12437 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12438
79106a44
SM
12439 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12440
88dfa756
GM
124412011-05-22 Glenn Morris <rgm@gnu.org>
12442
12443 * files.el (hack-local-variables-prop-line): Small simplifications.
12444 (hack-local-variables, hack-local-variables-prop-line):
12445 If MODE-ONLY, return the mode, rather than just `t'.
12446
b7cf2c79
SM
124472011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12448
12449 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12450
3f1a8558
GM
124512011-05-21 Glenn Morris <rgm@gnu.org>
12452
7e4ccca3
GM
12453 * files.el (hack-local-variables-prop-line, hack-local-variables):
12454 If only interested in the mode, don't bother doing the other stuff.
12455
637d46ca
GM
12456 * image-mode.el (image-after-revert-hook):
12457 Redraw all frames on which the image is visible. (Bug#8567)
12458
973d955b
GM
12459 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12460
3f1a8558
GM
12461 * wid-edit.el (widget-checklist-match-inline):
12462 Fix 2011-04-19 change. (Bug#8649)
12463
96479927
SM
124642011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12465
1dcf791f
SM
12466 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12467 Also allow singlespace after single-letter capitals followed by a dot.
12468
96479927
SM
12469 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12470 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12471
35fd0881
N
124722011-05-20 Nix <nix@esperi.org.uk>
12473
12474 * files.el (basic-save-buffer-2):
12475 Fix handling of break-hardlink-on-save with non-existent files.
12476
82745640
DD
124772011-05-19 Deniz Dogan <deniz@dogan.se>
12478
12479 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12480 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12481
4a720484
GM
124822011-05-19 Glenn Morris <rgm@gnu.org>
12483
d1f21341
GM
12484 * progmodes/f90.el (f90-type-def-re):
12485 Handle "type, bind(c)". (Bug#8691)
12486
4a720484
GM
12487 * emacs-lisp/autoload.el (batch-update-autoloads):
12488 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12489
2fb0a219
MA
124902011-05-18 Michael Albinus <michael.albinus@gmx.de>
12491
12492 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12493 property for the correct connection in case of multihops.
12494
e565dd37
GM
124952011-05-18 Glenn Morris <rgm@gnu.org>
12496
c2571358 12497 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12498 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12499
e565dd37
GM
12500 Rationalize calendar handling of day and month abbrev-arrays.
12501 * calendar/calendar.el (calendar-customized-p): New function.
12502 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12503 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12504 Add :set function.
12505 (calendar-abbrev-length, calendar-day-abbrev-array)
12506 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12507 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12508 Elements may no longer be nil.
12509 (calendar-day-name, calendar-month-name):
12510 Update for changed nature of abbrev arrays.
12511 * calendar/diary-lib.el (diary-name-pattern):
12512 Update for changed nature of abbrev arrays.
12513 (diary-mark-entries-1): Update calendar-make-alist calls.
12514 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12515 * calendar/cal-html.el (cal-html-day-abbrev-array):
12516 Simply inherit from calendar-day-abbrev-array.
12517
1d99a745
SM
125182011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12519
12520 * progmodes/grep.el (grep-mode): Disable default
12521 compilation-directory-matcher setting (bug#8684).
12522
7c1d9aa0
MA
125232011-05-17 Michael Albinus <michael.albinus@gmx.de>
12524
12525 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12526 instead of "head" and "tail". There were problems with SunOS 5.9,
12527 and it performs better.
12528
3952e9d8
GM
125292011-05-17 Glenn Morris <rgm@gnu.org>
12530
2dd12e7f
GM
12531 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12532
e4157b9c
GM
12533 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12534 Replace obsolete function.
12535
8e249bbd
GM
12536 * shell.el (pcomplete-parse-arguments-function): Declare.
12537
3952e9d8
GM
12538 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12539 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12540 (appt-check): Doc fixes.
12541 (appt-disp-window-function, appt-delete-window-function):
12542 Remove needless special case in custom :type.
12543 (appt-display-count): Default to 0, not nil.
12544 (appt-check): Reset appt-display-count to 0, not nil.
12545
c71a0d48 125462011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12547
c71a0d48
GM
12548 * progmodes/python.el (python-font-lock-keywords):
12549 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12550
31d55be9
SM
125512011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12552
12553 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12554
3bfacb2f
KR
125552011-05-16 Kevin Ryde <user42@zip.com.au>
12556
12557 * info-look.el (makefile-automake-mode): New setups, looking in
12558 automake manual, then makefile-mode.
12559 (makefile-mode): Remove automake manual, have it just in
12560 makefile-automake-mode since there's various things different or
12561 not relevant to plain make.
12562 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12563 believe a hypothetical automake-mode would go to makefile-mode,
12564 not the other way around.
12565
c8e83751
CY
125662011-05-15 Chong Yidong <cyd@stupidchicken.com>
12567
5e9e35cd
CY
12568 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12569 hunk-end tags (Bug#8672).
12570
c8e83751
CY
12571 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12572 vc-annotate-show-diff-revision-at-line (Bug#8671).
12573
50b23e5a
GM
125742011-05-14 Glenn Morris <rgm@gnu.org>
12575
7210a739
GM
12576 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12577 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12578 (change-log-font-lock-keywords): Also handle multiple author lines
12579 with leading tabs. (Bug#8644)
7210a739 12580
4691905a
GM
12581 * calendar/appt.el (appt-check): Rename some local variables.
12582 Some simplification/reordering.
12583
50b23e5a
GM
12584 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12585 (feedmail-sendmail-f-doesnt-sell-me-out)
12586 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12587 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12588 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12589 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12590 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12591 (feedmail-binmail-gnulinuxish-template):
12592 Rename from feedmail-binmail-linuxish-template.
12593 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12594 Use insert-buffer-substring.
12595
215cda7c
BC
125962011-05-14 Bill Carpenter <bill@carpenter.org>
12597
12598 * mail/feedmail.el (feedmail-patch-level): Increase.
12599 (feedmail-debug): New custom group.
12600 (feedmail-confirm-outgoing-timeout)
12601 (feedmail-sendmail-f-doesnt-sell-me-out)
12602 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12603 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12604 (feedmail-sender-line, feedmail-from-line)
12605 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12606 (feedmail-spray-this-address)
215cda7c
BC
12607 (feedmail-spray-address-fiddle-plex-list)
12608 (feedmail-queue-use-send-time-for-date)
12609 (feedmail-queue-use-send-time-for-message-id)
12610 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12611 (feedmail-buffer-eating-function):
12612 Doc fixes.
12613 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12614 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12615 (feedmail-message-action-scroll-down): New functions.
12616 (feedmail-queue-directory, feedmail-queue-draft-directory):
12617 Use expand-file-name.
12618 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12619 Remove C-v help entry.
12620 (feedmail-queue-buffer-file-name): New variable.
12621 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12622 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12623 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12624 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12625 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12626 (feedmail-message-action-toggle-spray)
12627 (feedmail-run-the-queue-no-prompts)
12628 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12629 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12630 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12631 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12632 (feedmail-envelope-deducer, feedmail-fiddle-from)
12633 (feedmail-fiddle-sender, feedmail-default-date-generator)
12634 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12635 (feedmail-fiddle-spray-address)
12636 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12637 (feedmail-fiddle-list-of-fiddle-plexes)
12638 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12639 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12640 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12641 Change default. Doc fix.
12642 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12643 (feedmail-binmail-linuxish-template): New constant.
12644 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12645 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12646 (feedmail-send-it): Add debug call.
12647 Use feedmail-queue-buffer-file-name, and
12648 feedmail-send-it-immediately-wrapper.
12649 (feedmail-message-action-send): Add debug call.
12650 Use feedmail-send-it-immediately-wrapper.
12651 (feedmail-queue-express-to-queue): Add debug call.
12652 Run feedmail-queue-express-hook.
12653 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12654 (feedmail-message-action-help-blat):
12655 Rename from feedmail-queue-send-edit-prompt-help-first.
12656 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12657 Check line-endings. Handle errors better.
12658 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12659 Doc fix. Add debug call.
12660 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12661 Use feedmail-queue-send-edit-prompt-inner.
12662 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12663 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12664 from feedmail-queue-send-edit-prompt.
12665 (feedmail-queue-send-edit-prompt-help)
12666 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12667 (feedmail-tidy-up-slug): Add debug call.
12668 Respect feedmail-queue-slug-suspect-regexp.
12669 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12670 (feedmail-dump-message-to-queue): Add debug call.
12671 Expand queue-directory.
12672 (feedmail-dump-message-to-queue): Change message slightly.
12673 Use feedmail-say-chatter.
12674 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12675 (feedmail-send-it-immediately-wrapper): New function.
12676 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12677 Insert empty string rather than newline. Handle full-frame case.
12678 Use catch/throw. Use feedmail-say-chatter.
12679 (feedmail-fiddle-from): Try mail-host-address.
12680 (feedmail-default-message-id-generator): Doc fix.
12681 Bind system-time-locale. Handle missing end.
12682 (feedmail-fiddle-x-mailer): Add debug call.
12683 Handle feedmail-x-mailer-line being nil.
12684 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12685 Add debug call. Use buffer-substring-no-properties.
12686 (feedmail-say-debug, feedmail-say-chatter): New functions.
12687 (feedmail-find-eoh): Give an explicit error.
12688
42c7e61e
UJ
126892011-05-13 Ulf Jasper <ulf.jasper@web.de>
12690
c2571358 12691 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12692 family from helvetica to sans.
c2571358 12693 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12694 etc/images/newsticker.
12695
c2571358 12696 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12697 family from helvetica to sans.
12698
12699 * net/newst-plainview.el (newsticker-new-item-face)
12700 (newsticker-old-item-face, newsticker-immortal-item-face)
12701 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12702 (newsticker-statistics-face): Change default family from
42c7e61e 12703 helvetica to sans.
c2571358 12704 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12705 etc/images/newsticker.
12706
5d3385a0
JB
12707 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12708 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12709 auto-marking.
12710
8497a297
DV
127112011-05-13 Didier Verna <didier@xemacs.org>
12712
12713 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12714 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12715 TODO entries.
8497a297
DV
12716 (lisp-lambda-list-keyword-parameter-indentation)
12717 (lisp-lambda-list-keyword-parameter-alignment)
12718 (lisp-lambda-list-keyword-alignment): New customizable user options.
12719 (lisp-indent-defun-method): Improve docstring.
12720 (extended-loop-p): Fix comment.
12721 (lisp-indent-lambda-list-keywords-regexp): New variable.
12722 (lisp-indent-lambda-list): New function.
12723 (lisp-indent-259): Use it.
12724 (lisp-indent-defmethod): Support for more than one
12725 method qualifier and properly indent methods lambda-lists.
12726 (defgeneric): Provide a missing common-lisp-indent-function property.
12727
f278f87f
SM
127282011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12729
12730 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12731 bounds for the empty string (bug#8667).
12732
5233edd7
GM
127332011-05-13 Glenn Morris <rgm@gnu.org>
12734
5237a44f
GM
12735 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12736
8340026c 12737 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12738 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12739
5233edd7 12740 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12741 (appt-time-msg-list): Doc fix.
a5464014 12742 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12743
92d10796
AS
127442011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12745
12746 * progmodes/ld-script.el (ld-script-keywords)
12747 (ld-script-builtins): Update keywords list.
12748
914a0ae1
SM
127492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12750
c89be45f
SM
12751 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12752
914a0ae1
SM
12753 * shell.el (shell-completion-vars): New function.
12754 (shell-mode):
12755 * simple.el (read-shell-command): Use it.
12756 (blink-matching-open): No need for " [...]" in minibuffer-message.
12757
98dc3df3
GM
127582011-05-12 Glenn Morris <rgm@gnu.org>
12759
12760 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12761 (appt-check): Simplify.
12762
d2fc7e3d 127632011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12764
4d61f28d 12765 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12766 literal "/dev/null".
12767
d2fc7e3d 127682011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12769
12770 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12771 Fix typo.
12772
d2fc7e3d 127732011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12774
3f254caa
SM
12775 * progmodes/which-func.el (which-function):
12776 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12777 which might not be defined (Bug#8260).
12778
d45885f7
GM
127792011-05-12 Glenn Morris <rgm@gnu.org>
12780
12781 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12782 Let byte-compile-initial-macro-environment always take precedence.
12783
488086f4
SM
127842011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * net/rcirc.el: Add support for SSL/TLS connections.
12787 (rcirc-server-alist): New field `encryption'.
12788 (rcirc): Check `encryption' settings.
12789 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12790 Merge make-local-variable into `set'.
12791 (rcirc--connection-open-p): New function.
12792 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12793 the process is not a network process (e.g. running gnutls-cli).
12794 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12795 Make rcirc-(en|de)code-coding-system local here.
12796 (rcirc-mode): Merge make-local-variable into `set'.
12797 (rcirc-parent-buffer): Make permanent buffer-local.
12798 (rcirc-multiline-minor-mode): Don't do it here.
12799 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12800 there's no server buffer.
12801
7d3b9d44
GM
128022011-05-11 Glenn Morris <rgm@gnu.org>
12803
f64049c6
GM
12804 * newcomment.el (comment-kill): Prefix "unused" local.
12805
93c9df73
GM
12806 * term/w32console.el (get-screen-color): Declare.
12807
7d3b9d44
GM
12808 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12809 Handle symbol elements of byte-compile-initial-macro-environment.
12810
9e2dd53f
LL
128112011-05-10 Leo Liu <sdl.web@gmail.com>
12812
488086f4
SM
12813 * bookmark.el (bookmark-bmenu-mode-map):
12814 Bind bookmark-bmenu-search to `/'.
8b340240 12815
9e2dd53f 12816 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12817 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12818 (Footnote-unicode): New function.
12819 (footnote-style-alist): Add unicode style to the list.
12820 (footnote-style): Doc fix.
9e2dd53f 12821
79b70037
GM
128222011-05-10 Jim Meyering <meyering@redhat.com>
12823
12824 Fix doubled-word typos.
12825 * international/quail.el (quail-insert-kbd-layout): and and -> and
12826 * kermit.el: and and -> and
12827 * net/ldap.el (ldap-search-internal): to to -> to
12828 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12829 * progmodes/js.el (js-mode): and and -> and
12830 * textmodes/artist.el (artist-move-to-xy): at at -> at
12831 (artist-draw-region-trim-line-endings): if if -> if
12832 And Safetyc -> Safety.
12833 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12834
b8f82dc1 128352011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12836 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12837
12838 * files.el (hack-one-local-variable-eval-safep):
12839 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12840
4f99f44b
GM
128412011-05-10 Glenn Morris <rgm@gnu.org>
12842
12843 * calendar/diary-lib.el (diary-list-entries-hook)
12844 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12845 (diary-nongregorian-marking-hook, diary-list-entries)
12846 (diary-include-other-diary-files, diary-mark-entries)
12847 (diary-mark-included-diary-files): Doc fixes.
12848
84f29e6b
JB
128492011-05-09 Juanma Barranquero <lekktu@gmail.com>
12850
12851 * misc.el: Require tabulated-list.el during compilation.
12852
9bedd73a
CY
128532011-05-09 Chong Yidong <cyd@stupidchicken.com>
12854
488086f4
SM
12855 * progmodes/compile.el (compilation-start):
12856 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12857 (compilation-filter-hook): Doc fix.
12858
797c735c
DD
128592011-05-09 Deniz Dogan <deniz@dogan.se>
12860
12861 * wdired.el: Remove outdated installation comment. Fix usage
12862 comment.
12863
5f4b1dfe
JB
128642011-05-09 Juanma Barranquero <lekktu@gmail.com>
12865
12866 * misc.el: Implement new command `list-dynamic-libraries'.
12867 (list-dynamic-libraries--loaded-only-p): New variable.
12868 (list-dynamic-libraries--refresh): New function.
12869 (list-dynamic-libraries): New command.
12870
4c44026c
CY
128712011-05-09 Chong Yidong <cyd@stupidchicken.com>
12872
488086f4
SM
12873 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12874 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12875 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12876 higher priority to avoid clobbering by gnu.
12877
027f966d
CY
128782011-05-08 Chong Yidong <cyd@stupidchicken.com>
12879
12880 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12881 if the face has existing theme settings (Bug#8454).
12882
085f5d7d
CY
128832011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12884
488086f4
SM
12885 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12886 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12887
2a86a00c
RS
12888 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12889 special file names `.' and `..' (Bug#8259).
12890
d9c54a06
CY
128912011-05-08 Chong Yidong <cyd@stupidchicken.com>
12892
488086f4
SM
12893 * progmodes/grep.el (grep-mode-font-lock-keywords):
12894 Remove buffer-changing entries.
d9c54a06
CY
12895 (grep-filter): New function.
12896 (grep-mode): Add it to compilation-filter-hook.
12897
12898 * progmodes/compile.el (compilation-filter-hook)
12899 (compilation-filter-start): New defvars.
12900 (compilation-filter): Call compilation-filter-hook prior to
12901 updating the process mark.
12902
c4662635
SM
129032011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12904
12905 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12906
b0512a1d
EZ
129072011-05-07 Eli Zaretskii <eliz@gnu.org>
12908
605c9376
EZ
12909 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12910 mailclient-send-it even if window-system is nil. (Bug#8595)
12911
c4662635
SM
12912 * term/w32console.el (terminal-init-w32console):
12913 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12914 background-mode. (Bug#8597)
12915
d1dc2cc2
SM
129162011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12917
12918 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12919 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12920 New functions.
12921 (defgeneric, eieio--defmethod): Use them.
12922 (eieio-defgeneric): Remove.
12923 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12924
915d1300
GM
129252011-05-07 Glenn Morris <rgm@gnu.org>
12926
a3961c3e
GM
12927 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12928 Use let rather than let*.
12929 (timeclock-find-discrep): Remove unused local.
12930
314347b9
GM
12931 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12932
915d1300
GM
12933 * calendar/appt.el (appt-time-msg-list): Doc fix.
12934
275b59b0
NF
129352011-05-06 Noah Friedman <friedman@splode.com>
12936
12937 * apropos.el (apropos-print-doc): Only use
12938 emacs-lisp-docstring-fill-column when it is bound to an integer,
12939 per that variable's documentation.
12940
6c19f744
SM
129412011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12942
12943 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12944 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12945
60f884b2
GM
129462011-05-06 Glenn Morris <rgm@gnu.org>
12947
5006e634
GM
12948 * calendar/appt.el (appt-message-warning-time): Doc fix.
12949 (appt-warning-time-regexp): New option.
12950 (appt-make-list): Respect appt-message-warning-time.
12951
548d0a63
GM
12952 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12953 New options.
12954 (diary-add-to-list): Strip comments from the displayed string.
12955 (diary-mode): Set comment-start and comment-end.
12956
60f884b2
GM
12957 * vc/diff-mode.el (smerge-refine-subst): Declare.
12958 (diff-refine-hunk): Don't require smerge-mode when compiling.
12959
989681bb
JB
129602011-05-06 Juanma Barranquero <lekktu@gmail.com>
12961
12962 * simple.el (list-processes): Return nil as the docstring says.
12963
a6bc05e1
MA
129642011-05-05 Michael Albinus <michael.albinus@gmx.de>
12965
12966 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12967 to "".
12968 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12969 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12970 determining of binary transfer. (Bug#7383)
12971
23c22e9a
MA
129722011-05-05 Michael Albinus <michael.albinus@gmx.de>
12973
c4662635
SM
12974 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12975 Fix port computation bug. (Bug#8618)
23c22e9a 12976
0bff894f
GM
129772011-05-05 Glenn Morris <rgm@gnu.org>
12978
b8296902
GM
12979 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12980
1f522ce8
GM
12981 * simple.el (shell-dynamic-complete-functions)
12982 (comint-dynamic-complete-functions): Declare.
12983
cf5bee67
GM
12984 * net/network-stream.el (gnutls-negotiate):
12985 * simple.el (tabulated-list-print): Fix declarations.
12986
12987 * progmodes/gud.el (syntax-symbol, syntax-point):
12988 Remove unnecessary and incorrect declarations.
12989
0bff894f
GM
12990 * emacs-lisp/check-declare.el (check-declare-scan):
12991 Handle byte-compile-initial-macro-environment in bytecomp.el
12992
9869b3ae
SM
129932011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12994
12995 Fix earlier half-done eieio-defmethod change (bug#8338).
12996 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12997 Streamline and change calling convention.
12998 (defmethod): Adjust accordingly and simplify.
12999 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13000 new eieio--defmethod.
13001 (slot-boundp): Minor CSE simplification.
13002
9c1d5ac5
MZ
130032011-05-05 Milan Zamazal <pdm@zamazal.org>
13004
13005 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13006 (glasses-make-readable): Use glasses-separate-capital-groups.
13007
455c834e
JB
130082011-05-05 Juanma Barranquero <lekktu@gmail.com>
13009
13010 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13011 (warning-series): Doc fix.
13012 (display-warning): Don't try to create the buffer if we just found it.
13013
9ed7c8cb
CY
130142011-05-04 Chong Yidong <cyd@stupidchicken.com>
13015
13016 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13017 (autoload-find-generated-file): New function.
13018 (generate-file-autoloads): Bind generated-autoload-file to
13019 buffer-file-name.
9869b3ae
SM
13020 (update-file-autoloads, update-directory-autoloads):
13021 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13022 output file (Bug#7989).
13023 (batch-update-autoloads): Doc fix.
13024
0898ca10
JB
130252011-05-04 Juanma Barranquero <lekktu@gmail.com>
13026
13027 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13028
31dfb76c
GM
130292011-05-04 Glenn Morris <rgm@gnu.org>
13030
f330b642
GM
13031 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13032 function, so it follows changes in calendar-date-style.
13033 (diary-fancy-date-matcher): New function.
13034 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13035 (diary-fancy-font-lock-fontify-region-function):
13036 Use diary-fancy-date-pattern as a function.
13037
31dfb76c
GM
13038 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13039 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13040
48e79d6a
TZ
130412011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13042
13043 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13044 instead of positional arguments. Allow :keylist and :crlfiles
13045 arguments.
13046 (open-gnutls-stream): Call it.
13047
13048 * net/network-stream.el (network-stream-open-starttls): Adjust to
13049 call `gnutls-negotiate' with :process and :hostname arguments.
13050
dd5a5ee0
SM
130512011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13052
ef80fc09
SM
13053 * minibuffer.el (completion--message): New function.
13054 (completion--do-completion, minibuffer-complete)
13055 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13056 (completion--do-completion): Don't ignore completion-auto-help when in
13057 icomplete-mode.
13058
dd5a5ee0
SM
13059 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13060 internal encoding (e.g. tibetan zero is not whitespace).
13061 (global-whitespace-mode): Prefer save-current-buffer.
13062 (whitespace-trailing-regexp): Remove useless save-match-data.
13063 (whitespace-empty-at-bob-regexp): Minor simplification.
13064
b7d22a83
CY
130652011-05-03 Chong Yidong <cyd@stupidchicken.com>
13066
13067 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13068
5192af46
AM
130692011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13070
13071 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13072 Use `concat' to create string for insertion.
5192af46 13073
5767d190
SM
130742011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13075
13076 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13077 Avoid open-line which runs post-self-insert-hook.
13078 (bibtex-fill-entry): Remove unused `end' var.
13079
bf242939
AM
130802011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13081
5767d190
SM
13082 * textmodes/ispell.el (ispell-add-per-file-word-list):
13083 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13084
25666126
LL
130852011-05-03 Leo Liu <sdl.web@gmail.com>
13086
13087 * isearch.el (isearch-yank-pop): New command.
5767d190 13088 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13089 (isearch-forward): Mention it.
13090
52d3c2d0
SM
130912011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13092
1bcace58
SM
13093 * simple.el (minibuffer-complete-shell-command): Remove.
13094 (minibuffer-local-shell-command-map): Use completion-at-point.
13095 (read-shell-command): Setup completion vars here instead.
13096 (read-expression-map): Bind TAB to symbol completion.
13097
52d3c2d0
SM
13098 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13099 error directly rather via storing it into `results'.
13100
35813471
LL
131012011-05-02 Leo Liu <sdl.web@gmail.com>
13102
13103 * vc/diff.el: Fix description.
13104
e793a940
LMI
131052011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13106
13107 * server.el (server-eval-at): New function.
13108
8de66e05
LMI
131092011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13110
13111 * net/network-stream.el (open-network-stream): Take a :nowait
13112 parameter and pass it on to `make-network-process'.
13113 (network-stream-open-plain): Ditto.
13114
dcb79f20
AS
131152011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13116
13117 * faces.el (face-spec-set-match-display): Don't match toolkit
13118 options on terminal frames.
13119
14a7fbd8
SM
131202011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13121
7eabc1be
SM
13122 * progmodes/pascal.el: Use lexical binding.
13123 (pascal-mode-map): Remove author preferences.
13124
14a7fbd8
SM
13125 * pcomplete.el (pcomplete-std-complete): Don't abuse
13126 completion-at-point.
13127
50f84510
JB
131282011-04-28 Juanma Barranquero <lekktu@gmail.com>
13129
6e087a44
JB
13130 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13131 removing code that has been dead since 1991 or so.
13132
50f84510
JB
13133 * startup.el (command-line): When warning about "_emacs", use a
13134 delayed warning to allow the user to filter it out.
13135
0ba690bd
DD
131362011-04-28 Deniz Dogan <deniz@dogan.se>
13137
13138 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13139 user has not joined.
13140
08abfaad
SM
131412011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13142
13143 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13144 aren't any completions at point.
13145
638f053a
JB
131462011-04-28 Juanma Barranquero <lekktu@gmail.com>
13147
13148 * subr.el (display-delayed-warnings): New function.
13149 (delayed-warnings-hook): New variable.
13150
8fff8daa
SM
131512011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13152
08abfaad
SM
13153 * minibuffer.el (completion-at-point, completion-help-at-point):
13154 Don't presume that a given completion-at-point-function will always
13155 use the same calling convention.
13156
8fff8daa
SM
13157 * pcomplete.el (pcomplete-completions-at-point):
13158 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13159 pcomplete-seen is non-nil.
13160 (pcomplete-comint-setup): Also recognize the new comint/shell
13161 completion functions.
13162 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13163 pcomplete-seen is non-nil.
13164
841a1577 131652011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13166
841a1577 13167 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13168 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13169 the first character in the entry. This allows for code to add its
211ec907
UJ
13170 own uid to the entry.
13171 (icalendar--convert-float-to-ical): Add export of
13172 `diary-float'-entries save for those with the optional DAY
13173 argument.
13174
2a782793
DC
131752011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13176
13177 * subr.el (shell-quote-argument): Use alternate escaping strategy
13178 when we spot a variable reference in a string.
13179
0438ce91
DC
131802011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13181
13182 * cus-start.el (all): Define customization for debug-on-event.
13183
841a1577 131842011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13185
13186 * subr.el (shell-quote-argument): Escape correctly under Windows.
13187
d090ed6c
SM
131882011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13189
13190 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13191
bfd31217
MA
131922011-04-25 Michael Albinus <michael.albinus@gmx.de>
13193
d090ed6c
SM
13194 * net/tramp.el (tramp-process-actions): Add POS argument.
13195 Delete region between POS and (pos).
bfd31217 13196
d090ed6c
SM
13197 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13198 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13199 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13200
13201 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13202 position in `tramp-process-actions' call.
13203
13204 * net/trampver.el: Update release number.
13205
e92f3bd3
SM
132062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13207
850256b5
SM
13208 * custom.el (defcustom): Obey lexical-binding.
13209
e92f3bd3
SM
13210 Fix octave-inf completion problems reported by Alexander Klimov.
13211 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13212 Inherit from octave-mode-syntax-table.
13213 (inferior-octave-mode): Set info-lookup-mode.
13214 (inferior-octave-completion-at-point): New function.
13215 (inferior-octave-complete): Use it and completion-in-region.
13216 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13217 comint-filename-completion.
13218 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13219 symbol elements which shouldn't be word elements.
13220 (octave-font-lock-keywords, octave-beginning-of-defun)
13221 (octave-function-header-regexp): Adjust regexps accordingly.
13222 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13223
cd22b309
JB
132242011-04-25 Juanma Barranquero <lekktu@gmail.com>
13225
13226 * net/gnutls.el (gnutls-errorp): Declare before first use.
13227
8b492194
TZ
132282011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13229
13230 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13231 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13232 default trustfile exists before going to use it. Add missing
5a5fa834 13233 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13234 Reported by Claudio Bley <claudio.bley@gmail.com>.
13235 (open-gnutls-stream): Add usage example.
13236
13237 * net/network-stream.el (network-stream-open-starttls): Give host
13238 parameter to `gnutls-negotiate'.
13239 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13240 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13241
841a1577 132422011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13243
cd22b309
JB
13244 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13245 Use correct match group (bug#8438).
05842630 13246
3ba7869c
CY
132472011-04-24 Chong Yidong <cyd@stupidchicken.com>
13248
512e3ae1
CY
13249 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13250 (package-menu--generate): New arg specifying packages to show.
13251 (package-menu-refresh, package-menu-execute, list-packages):
13252 Callers changed.
13253 (package-show-package-list): New function, replacing deleted
13254 package--list-packages (renamed because it is non-internal).
13255
13256 * finder.el (finder-list-matches): Use package-show-package-list
13257 instead of deleted package--list-packages.
13258
e92f3bd3
SM
13259 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13260 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13261 (vc-annotate-mode-map): Bind it to RET.
13262
7031be6d
UR
132632011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13264
13265 * progmodes/etags.el (next-file): Don't use set-buffer to change
13266 buffers (Bug#8478).
13267
4ef177aa
CY
132682011-04-24 Chong Yidong <cyd@stupidchicken.com>
13269
c8d173eb
CY
13270 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13271
4ef177aa
CY
13272 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13273 (apropos-accumulator): Doc fix.
13274 (apropos-function, apropos-macro, apropos-command)
13275 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13276 (apropos-plist): Add face property.
13277 (apropos-symbols-internal): Fix indentation.
13278 (apropos-print): Simplify help, and recognize apropos-multi-type.
13279 (apropos-print-doc): Use button-type-get to extract the button's
13280 face property. Fill docstring (Bug#8352).
13281
4ffd0d6b 132822011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13283
13284 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13285
c6c32125 13286 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13287 (mpuz-mode-map): Use mapc.
c6c32125
JB
13288 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13289 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13290 Fix typos in docstrings.
13291
58d468b4
JB
13292 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13293 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13294
6470c3c6
JB
13295 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13296
4ffd0d6b 132972011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13298
13299 * minibuffer.el (completion--do-completion): Avoid the "Next char
13300 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13301
3ad8bad0
CY
13302 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13303 mouse-2 into unread-command-events, it is interpreted correctly.
13304
71d73c9c 13305 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13306 (image-toggle-display): Doc fix.
71d73c9c 13307
841a1577 133082011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13309
4ffd0d6b
GM
13310 * textmodes/page.el (what-page): Use line-number-at-pos to
13311 calculate line number (Bug#6825).
6e1dbaa9 13312
c2fb1b60
JB
133132011-04-22 Juanma Barranquero <lekktu@gmail.com>
13314
13315 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13316 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13317 Pass argument NO-DEFAULT to `find-tag-interactive'.
13318
e02f48d7
JB
133192011-04-22 Juanma Barranquero <lekktu@gmail.com>
13320
13321 Lexical-binding cleanup.
13322
13323 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13324 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13325 * progmodes/ada-prj.el (ada-prj-initialize-values)
13326 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13327 (ada-prj-show-value):
13328 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13329 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13330 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13331 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13332 * progmodes/bug-reference.el (bug-reference-push-button):
13333 * progmodes/fortran.el (fortran-line-length):
13334 * progmodes/glasses.el (glasses-change):
13335 * progmodes/octave-mod.el (octave-fill-paragraph):
13336 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13337 (python-pdbtrack-grub-for-buffer, python-sentinel):
13338 * progmodes/sql.el (sql-save-connection):
13339 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13340 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13341 Mark unused parameters.
13342
13343 * progmodes/compile.el (compilation--flush-directory-cache)
13344 (compilation--flush-parse, compile-internal): Mark unused parameters.
13345 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13346 (compilation-next-error-function): Remove unused variable `timestamp'.
13347
13348 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13349 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13350
13351 * progmodes/dcl-mode.el (dcl-end-of-command):
13352 Remove unused variable `start'.
13353 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13354 (dcl-option-value-basic, dcl-option-value-offset)
13355 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13356 Mark unused parameters.
13357 (dcl-save-local-variable): Remove unused variable `val'.
13358 (mode): Declare.
13359
13360 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13361 Mark unused parameters.
13362 (delphi-ignore-changes): Move before first use.
13363 (delphi-charset-token-at): Remove unused variable `start'.
13364 (delphi-else-start): Remove unused variable `if-count'.
13365 (delphi-comment-block-start, delphi-comment-block-end):
13366 Remove unused variable `kind'.
13367 (delphi-indent-line): Remove unused variable `new-point'.
13368
13369 * progmodes/ebrowse.el (ebrowse-files-list)
13370 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13371 Mark unused parameters. Don't quote `lambda'.
13372 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13373 Don't quote `lambda'.
13374 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13375 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13376 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13377 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13378 Use `ignore-errors'.
13379 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13380 (ebrowse-view/find-file-and-search-pattern)
13381 (ebrowse-view/find-member-declaration/definition):
13382 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13383 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13384 Rename parameter PREFIX-ARG to PREFIX.
13385 (ebrowse-tags-read-name): Remove unused variables `start' and
13386 `member-info'.
13387 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13388 to `tags-file'.
13389
13390 * progmodes/etags.el (local-find-tag-hook): Declare.
13391 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13392 Mark unused parameters.
13393
13394 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13395 (executable-interpret): Mark unused parameter.
13396
13397 * progmodes/flymake.el (flymake-process-sentinel)
13398 (flymake-after-change-function)
13399 (flymake-create-temp-with-folder-structure)
13400 (flymake-get-include-dirs-dot): Mark unused parameters.
13401 (flymake-safe-delete-directory): Remove unused variable `err'.
13402
13403 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13404 (speedbar-timer-fn, speedbar-line-text)
13405 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13406 (speedbar-center-buffer-smartly): Declare functions.
13407 (gdb-find-watch-expression): Remove unused variable `array'.
13408 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13409 (gdb-starting): Mark unused parameters.
13410 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13411 (gdb-table-string): Remove unused variable `res'.
13412 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13413 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13414 (gdb-display-buffer): Remove unused variable `cur-size'.
13415
13416 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13417 allow lexical-binding compilation.
13418 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13419 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13420 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13421 Mark unused parameters.
13422 (gud-gdb-marker-filter): Remove unused variable `match'.
13423 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13424 lambda expressions and funcall them, instead of using `fset'.
13425
13426 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13427 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13428
13429 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13430 variable `header-beg'; use `let'.
13431
13432 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13433 `restart', `last-sexp' and `at-do'.
13434
13435 * progmodes/js.el (js--debug): Mark unused parameter.
13436 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13437 (js--splice-into-items): Remove unused variable `item'.
13438 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13439
13440 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13441 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13442 (makefile-complete): Remove unused variable `try'.
13443 (makefile-fill-paragraph, makefile-match-function-end):
13444 Mark unused parameters.
13445
13446 * progmodes/octave-inf.el (inferior-octave-complete):
13447 Remove unused variable `proc'.
13448 (inferior-octave-output-digest): Mark unused parameter.
13449
13450 * progmodes/perl-mode.el (perl-calculate-indent):
13451 Remove unused variable `err'.
13452
13453 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13454 (prolog-indent-line): Mark unused parameters.
13455 (prolog-indent-line): Remove unused variable `beg'.
13456
13457 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13458 (reporter-dont-compact-list): Declare.
13459
13460 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13461 Remove unused variable `char'.
13462 (sh-debug): Mark unused parameter.
13463 (sh-get-indent-info): Remove unused variable `start'.
13464 (sh-calculate-indent): Remove unused variable `var'.
13465
13466 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13467 (simula-electric-keyword): Remove unused variable `null'.
13468 (simula-search-backward, simula-search-forward): Remove unused
13469 variables `begin' and `end'.
13470
13471 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13472 Remove unused variable `pos'.
13473 (vera-electric-tab, vera-comment-uncomment-region):
13474 Mark unused parameters.
13475 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13476
7ede3b65
CY
134772011-04-22 Chong Yidong <cyd@stupidchicken.com>
13478
13479 * emacs-lisp/package.el (package--builtins, package-alist)
13480 (package-load-descriptor, package-built-in-p, package-activate)
13481 (define-package, package-installed-p)
13482 (package-compute-transaction, package-buffer-info)
13483 (package--push): Doc fix. Distinguish more clearly between
13484 version strings and version lists.
13485
121656e9
JB
134862011-04-21 Juanma Barranquero <lekktu@gmail.com>
13487
13488 Lexical-binding cleanup.
13489
13490 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13491 (5x5-make-mutate-best):
13492 * play/fortune.el (fortune-in-buffer):
13493 * play/gomoku.el (gomoku-init-display):
13494 * play/solitaire.el (solitaire, solitaire-do-check):
13495 * play/tetris.el (tetris-default-update-speed-function):
13496 Mark unused parameters.
13497
13498 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13499 (bubbles--shift): Remove unused variable `char-org'.
13500 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13501 (bubbles--show-images): Remove unused variable `char'.
13502
13503 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13504 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13505 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13506 (decipher-analyze-buffer): Use ?\s.
13507 (decipher-make-checkpoint): Remove unused variable `mapping'.
13508
13509 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13510
13511 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13512 Remove unused variable `result'; use `let'.
13513
13514 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13515 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13516 (gametree-children-shown-p, gametree-compute-reduced-score):
13517 Use `ignore-errors'.
13518
13519 * play/handwrite.el (ps-lpr-switches): Declare.
13520 (handwrite): Remove unused variables `pmin' and `lastp'.
13521
13522 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13523
13524 * play/landmark.el (landmark-init-display)
13525 (landmark-update-naught-weights): Mark unused parameters.
13526 (landmark-y): Remove unused variable `noise'. Simplify.
13527 (landmark-human-plays): Remove unused variable `score'.
13528
13529 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13530 (mpuz-try-proposal): Remove unused variable `game'.
13531
13532 * play/zone.el (life-patterns): Declare.
13533
80f499c7
JB
135342011-04-20 Juanma Barranquero <lekktu@gmail.com>
13535
13536 * vc/vc.el (ediff-vc-internal): Declare function.
13537
024ff170
SM
135382011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13539
c0a193ea
SM
13540 * shell.el: Use lexical-binding and std completion UI.
13541 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13542 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13543 comint-preoutput-filter-functions rather than on
13544 comint-output-filter-functions.
13545 (shell-command-completion, shell--command-completion-data)
13546 (shell-filename-completion, shell-environment-variable-completion)
13547 (shell-c-a-p-replace-by-expanded-directory): New functions.
13548 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13549 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13550 (shell-dynamic-complete-environment-variable): Use them.
13551 (shell-dynamic-complete-as-environment-variable)
13552 (shell-dynamic-complete-as-command): Remove.
13553 (shell-match-partial-variable): Match past point.
13554 * comint.el: Clean up use of completion-at-point-functions.
13555 (comint-completion-at-point): New function.
13556 (comint-mode): Use it completion-at-point-functions.
13557 (comint-dynamic-complete): Make it obsolete.
13558 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13559 (comint-c-a-p-replace-by-expanded-history): New function.
13560 (comint-dynamic-complete-functions)
13561 (comint-replace-by-expanded-history): Use it.
13562 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13563 termination strings. Try harder to avoid second try-completion.
13564 (completion-in-region-mode-map): Disable bindings that don't work yet.
13565
2dbaa080
SM
13566 * comint.el: Use lexical-binding. Require CL.
13567 (comint-dynamic-complete-functions): Use comint-filename-completion.
13568 (comint-completion-addsuffix): Tweak custom type.
13569 (comint-filename-completion, comint--common-suffix)
13570 (comint--common-quoted-suffix, comint--table-subvert)
13571 (comint--complete-file-name-data): New functions.
13572 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13573 (comint-dynamic-list-filename-completions): Use them.
13574 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13575
2dbaa080
SM
13576 * minibuffer.el (completion-in-region-mode):
13577 Keep completion-in-region-mode--predicate global.
13578 (completion-in-region--postch):
13579 Assume completion-in-region-mode--predicate is not null.
13580
c79a6f38
SM
13581 * progmodes/flymake.el (flymake-start-syntax-check-process):
13582 Obey `dir'. Simplify.
13583
024ff170
SM
13584 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13585 we're in VC after all.
13586
1c6c854e
CS
135872011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13588
13589 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13590 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13591 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13592
bed7f140
SM
135932011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13594
332e62ab
SM
13595 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13596 add sanity check.
13597
bed7f140
SM
13598 * obsolete/erc-hecomplete.el: Make obsolete.
13599 * obsolete/: Standardize obsolescence info in the header.
13600
f195c582
GM
136012011-04-20 Glenn Morris <rgm@gnu.org>
13602
13603 * calendar/solar.el (solar-horizontal-coordinates):
13604 Use the longitude argument rather than `calendar-longitude'.
13605 (solar-date-next-longitude): Remove unused locals.
13606
cb79b8c0
VJL
136072011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13608
13609 * whitespace.el: New version 13.2.1.
13610
136112011-04-20 felix <EmacsWiki> (tiny change)
13612
d8e4b68b 13613 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13614 switching between major modes on a file.
13615
602ea69d
SM
136162011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13617
13618 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13619 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13620 multi-line comments as well.
13621
06b60517
JB
136222011-04-19 Juanma Barranquero <lekktu@gmail.com>
13623
13624 Lexical-binding cleanup.
13625
13626 * arc-mode.el (archive-mode-revert):
13627 * cmuscheme.el (scheme-interactively-start-process):
13628 * custom.el (custom-initialize-delay):
13629 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13630 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13631 * emacs-lock.el (emacs-lock-clear-sentinel):
13632 * ezimage.el (defezimage):
13633 * follow.el (follow-avoid-tail-recenter):
13634 * fringe.el (set-fringe-mode-1):
13635 * generic-x.el (bat-generic-mode-compile):
13636 * help-mode.el (help-info-variable, help-do-xref)
13637 (help-mode-revert-buffer):
13638 * help.el (view-emacs-todo):
13639 * iswitchb.el (iswitchb-completion-help):
13640 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13641 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13642 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13643 * locate.el (locate-update):
13644 * longlines.el (longlines-encode-region)
13645 (longlines-after-change-function):
13646 * outline.el (outline-isearch-open-invisible):
13647 * ps-def.el (declare-function, charset-dimension, char-width)
13648 (encode-char):
13649 * ps-mule.el (ps-mule-plot-string):
13650 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13651 (recentf-edit-list-select, recentf-edit-list-validate)
13652 (recentf-open-files-action):
13653 * rect.el (delete-whitespace-rectangle-line)
13654 (rectangle-number-line-callback):
13655 * register.el (window-configuration-to-register)
13656 (frame-configuration-to-register):
13657 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13658 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13659 (xselect-convert-to-targets, xselect-convert-to-delete)
13660 (xselect-convert-to-filename, xselect-convert-to-charpos)
13661 (xselect-convert-to-lineno, xselect-convert-to-colno)
13662 (xselect-convert-to-os, xselect-convert-to-host)
13663 (xselect-convert-to-user, xselect-convert-to-class)
13664 (xselect-convert-to-name, xselect-convert-to-integer)
13665 (xselect-convert-to-atom, xselect-convert-to-identity):
13666 * subr.el (declare, ignore, process-kill-without-query)
13667 (text-clone-maintain):
13668 * terminal.el (te-get-char, te-tic-sentinel):
13669 * tool-bar.el (tool-bar-make-keymap):
13670 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13671 * type-break.el (type-break-mode, type-break-noninteractive-query):
13672 * view.el (View-back-to-mark):
13673 * wid-browse.el (widget-browse-action, widget-browse-widget)
13674 (widget-browse-widgets, widget-browse-sexp):
13675 * widget.el (define-widget-keywords):
13676 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13677 Mark unused parameters.
13678
13679 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13680 (align-areas): Remove unused variable `look'.
13681 (align-region): Remove unused variables `real-end' and `pos-list'.
13682
13683 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13684
13685 * bindings.el (mode-line-modified, mode-line-remote):
13686 Mark unused parameters.
13687 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13688
13689 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13690 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13691
13692 * comint.el (comint-history-isearch-pop-state)
13693 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13694 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13695 (comint-substitute-in-file-name): Doc fix.
13696
13697 * completion.el (cmpl-statistics-block): Mark unused parameter.
13698 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13699 (save-completions-to-file, load-completions-from-file):
13700 Remove unused local variable `e'.
13701
13702 * composite.el (compose-chars): Remove unused variable `len'.
13703 (lgstring-insert-glyph): Remove unused variable `g'.
13704 (compose-glyph-string): Remove unused variables `ascent',
13705 `descent', `lbearing' and `rbearing'.
13706 (compose-glyph-string-relative): Remove unused variables
13707 `lbearing', `rbearing' and `wadjust'.
13708 (compose-gstring-for-graphic): Remove unused variables `header',
13709 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13710 (compose-gstring-for-terminal): Remove unused variables `header'
13711 and `nchars'. Use `let', not `let*'.
13712
13713 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13714 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13715 (Custom-buffer-done, custom-buffer-create-internal)
13716 (custom-browse-visibility-action, custom-browse-group-tag-action)
13717 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13718 (widget-magic-mouse-down-action, custom-toggle-parent)
13719 (custom-add-parent-links, custom-toggle-hide-variable)
13720 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13721 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13722 (custom-face-menu-create, custom-variable-menu-create, get)
13723 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13724 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13725 (customize-apropos): Remove unused variable `tests'.
13726 (custom-group-value-create): Remove unused variable `hidden-p'.
13727 (sort-fold-case): Declare.
13728
13729 * cus-theme.el (custom-reset-standard-faces-list)
13730 (custom-reset-standard-variables-list): Declare.
13731 (customize-create-theme, custom-theme-revert, custom-theme-write)
13732 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13733 Mark unused parameters.
13734
13735 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13736
13737 * delim-col.el (delimit-columns-max): Move defvar before first use.
13738
13739 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13740 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13741
13742 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13743 (auto-insert): Declare.
13744 (desktop-restore-file-buffer): Rename desktop-* parameters;
13745 mark unused ones.
13746 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13747 (desktop-buffer): Rename desktop-* parameters.
13748
13749 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13750 (dframe-reposition-frame-xemacs, dframe-help-echo)
13751 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13752 Mark unused parameters.
13753
13754 * dired-aux.el (backup-extract-version-start, overwrite-query)
13755 (overwrite-backup-query, rename-regexp-query)
13756 (rename-non-directory-query): Declare.
13757 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13758 (dired-add-entry): Remove unused variable `orig-file-name'.
13759 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13760 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13761 `dired-copy-preserve-time' directly.
13762 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13763 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13764
13765 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13766 (dired-virtual-revert, dired-make-relative-symlink):
13767 Mark unused parameters.
13768 (manual-program): Declare.
13769 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13770 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13771 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13772
13773 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13774
13775 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13776
13777 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13778 Declare.
13779
13780 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13781
13782 * electric.el (Electric-command-loop): Rename parameter
13783 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13784
13785 * expand.el (expand-in-literal): Remove unused variable `here'.
13786
13787 * facemenu.el (facemenu-add-new-color):
13788 Remove unused variable `docstring'.
13789
13790 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13791 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13792 (face-attr-construct): Mark unused parameter. Doc fix.
13793 (read-color): Remove unused variable `hex-string'.
13794
13795 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13796 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13797 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13798 (display-buffer-other-frame): Remove unused variable `old-window'.
13799 (kill-buffer-hook): Declare.
13800 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13801 Mark unused parameters.
13802 (after-find-file): Pass 1 to `auto-save-mode', not t.
13803
13804 * files-x.el (auto-insert): Declare.
13805 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13806
13807 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13808 variable `buf'. Mark unused parameter.
06b60517
JB
13809 (find-lisp-insert-directory): Mark unused parameter.
13810
13811 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13812 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13813 (format-common-tail): Remove, unused.
13814 (format-deannotate-region): Remove unused variable `loc'.
13815 (format-annotate-region): Remove unused variable `p'.
13816 (format-annotate-single-property-change): Remove unused variables
13817 `default' and `tail'.
13818
13819 * forms.el (read-file-filter): Declare.
13820 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13821
13822 * frame.el (frame-creation-function-alist): Mark unused parameter.
13823 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13824
13825 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13826 Remove unused parameters.
13827 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13828 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13829
13830 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13831 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13832 (hfy-prepare-tag-map): Mark unused parameters.
13833 (htmlfontify-buffer): Use `called-interactively-p'.
13834
13835 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13836 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13837 (ibuffer-do-occur): Mark unused parameters.
13838 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13839 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13840
13841 * ibuffer.el: Don't quote `lambda'.
13842 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13843 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13844 Mark unused parameters.
13845
13846 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13847 (ido-completing-read): Mark unused parameters.
13848 (ido-copy-current-word): Mark unused parameters;
13849 remove unused variable `name'.
13850 (ido-sort-merged-list): Remove unused parameter `dirs'.
13851
13852 * ielm.el (ielm-input-sender): Mark unused parameter.
13853 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13854 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13855 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13856 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13857 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13858
13859 * image-dired.el (image-dired-display-thumbs): Remove unused
13860 variables `curr-file' and `count'.
13861 (image-dired-remove-tag): Remove unused variable `start'.
13862 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13863 variable `curr-file'
13864 (image-dired-rotate-original): Remove unused variable `temp-file'.
13865 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13866 Remove unused variable `file'.
13867 (image-dired-gallery-generate): Remove unused variable `curr'.
13868 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13869
13870 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13871
13872 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13873
13874 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13875
13876 * isearch.el (minibuffer-history-symbol): Declare.
13877 (isearch-edit-string): Remove unused variable `err'.
13878 (isearch-message-prefix, isearch-message-suffix):
13879 Mark unused parameters.
13880
13881 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13882
13883 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13884
13885 * makesum.el (double-column): Remove unused variable `cnt'.
13886
13887 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13888 (ido-ignore-item-temp-list): Declare.
13889
13890 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13891 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13892 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13893 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13894 `mouse-col-delta'.
13895
13896 * mouse-sel.el (mouse-extend-internal):
13897 Remove unused variable `orig-window-frame'.
13898
13899 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13900 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13901 Move declarations before first use.
13902 (pcomplete-opt): Mark unused parameters; doc fix.
13903
13904 * proced.el (proced-revert): Mark unused parameter.
13905 (proced-send-signal): Remove unused variable `err'.
13906
13907 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13908 Rename parameter PREFIX-ARG to ARG.
13909 (ps-basic-plot-string, ps-basic-plot-whitespace):
13910 Mark unused parameters.
13911
13912 * replace.el (replace-count): Define.
13913 (occur-revert-function): Mark unused parameters.
13914 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13915 (isearch-case-fold-search, isearch-string): Declare.
13916 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13917 bind `case-fold-search'. Remove unused variables `beg' and `end',
13918 and simplify.
13919 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13920 COUNT and bind `replace-count'.
13921 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13922 to COUNT.
13923
13924 * savehist.el (print-readably, print-string-length): Declare.
13925
13926 * shadowfile.el (shadow-expand-cluster-in-file-name):
13927 Remove unused variable `cluster'.
13928 (shadow-copy-file): Remove unused variable `i'.
13929 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13930 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13931 (shadow-define-literal-group, shadow-define-regexp-group)
13932 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13933
13934 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13935 (shell): Use `called-interactively-p'.
13936 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13937
13938 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13939 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13940 (delete-backward-char): Remove unused variable `ocol'.
13941 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13942 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13943 (event-apply-hyper-modifier, event-apply-shift-modifier)
13944 (event-apply-control-modifier, event-apply-meta-modifier):
13945 Mark unused parameters.
13946 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13947 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13948
13949 * speedbar.el (speedbar-ignored-directory-expressions)
13950 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13951 (speedbar-find-file, speedbar-dir-follow)
13952 (speedbar-directory-buttons-follow, speedbar-tag-find)
13953 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13954 (speedbar-buffers-line-directory, speedbar-buffer-click):
13955 Mark unused parameters.
13956 (speedbar-tag-file): Remove unused variable `mode'.
13957 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13958
13959 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13960
13961 * talk.el (talk): Remove unused variable `display'.
13962
13963 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13964 (tar-write-region-annotate): Mark unused parameter.
13965
13966 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13967 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13968 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13969 warning by another.
13970
13971 * time-stamp.el (time-stamp-string-preprocess):
13972 Remove unused variable `require-padding'.
13973
13974 * tree-widget.el (widget-glyph-enable): Declare.
13975 (tree-widget-action): Mark unused parameter.
13976
13977 * w32-fns.el (x-get-selection): Mark unused parameter.
13978 (autoload-make-program, generated-autoload-file): Declare.
13979
13980 * wdired.el (wdired-revert): Mark unused parameters.
13981 (wdired-xcase-word): Remove unused variable `err'.
13982
13983 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13984 (whitespace-help-scroll): Remove unused variable `data-help'.
13985
13986 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13987 (widget-image-insert, widget-after-change, default)
13988 (widget-default-format-handler, widget-default-notify)
13989 (widget-default-prompt-value, widget-info-link-action)
13990 (widget-url-link-action, widget-function-link-action)
13991 (widget-variable-link-action, widget-file-link-action)
13992 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13993 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13994 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13995 (widget-insert-button-action, widget-delete-button-action, visibility)
13996 (widget-documentation-link-action, widget-documentation-string-action)
13997 (widget-const-prompt-value, widget-regexp-match, symbol)
13998 (widget-coding-system-prompt-value)
13999 (widget-key-sequence-value-to-external, sexp)
14000 (widget-sexp-value-to-internal, character, vector, cons)
14001 (widget-choice-prompt-value, widget-boolean-prompt-value)
14002 (widget-color--choose-action): Mark unused parameters.
14003 (widget-item-match-inline, widget-choice-match-inline)
14004 (widget-checklist-match, widget-checklist-match-inline)
14005 (widget-group-match): Rename parameter VALUES to VALS.
14006 (widget-field-value-set): Remove unused variable `size'.
14007 (widget-color-action): Remove unused variables `value' and `start'.
14008
14009 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14010 variable `dir'. Doc fix.
06b60517
JB
14011 (windmove-find-other-window): Don't pass it.
14012
14013 * window.el (count-windows): Mark unused parameter.
14014 (bw-adjust-window): Remove unused variable `err'.
14015
14016 * woman.el (woman-file-name): Remove unused variable `default'.
14017 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14018 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14019 (global-font-lock-mode): Declare.
14020 (woman-decode-region): Mark unused parameter.
14021 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14022
14023 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14024 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14025 (x-dnd-handle-moz-url): Remove unused variable `title'.
14026 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14027
14028 * xml.el (xml-parse-tag, xml-parse-attlist):
14029 Remove unused variable `pos'.
14030
bc4f7f3d
GM
140312011-04-19 Glenn Morris <rgm@gnu.org>
14032
14033 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14034 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14035 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14036 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14037 * calendar/cal-html.el (cal-html-insert-minical):
14038 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14039 (calendar-mark-date-pattern):
14040 Prefix "unused" locals.
14041
14042 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14043 optional argument `style'.
14044
14045 * calendar/appt.el (appt-make-list):
14046 * calendar/cal-china.el (calendar-chinese-date-string):
14047 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14048 (diary-hebrew-yahrzeit):
14049 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14050 * calendar/calendar.el (calendar-generate-window):
14051 * calendar/time-date.el (time-to-days):
14052 Remove unused local variables.
14053
16a43933
CY
140542011-04-18 Chong Yidong <cyd@stupidchicken.com>
14055
14056 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14057 glyphless-char-display table.
14058 (tabulated-list-glyphless-char-display): New var.
14059
7eed1860
SS
140602011-04-18 Sam Steingold <sds@gnu.org>
14061
14062 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14063 to acknowledgments.
14064
4d2d1ccd
GM
140652011-04-17 Glenn Morris <rgm@gnu.org>
14066
14067 * calendar/diary-lib.el (diary-sexp-entry):
14068 * calendar/holidays.el (holiday-sexp):
14069 Set debug-on-error rather than the removed stack-trace-on-error.
14070
239da61d
GM
140712011-04-16 Glenn Morris <rgm@gnu.org>
14072
14073 * progmodes/f90.el: Use lexical-binding.
14074 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14075
8b05752a
SM
140762011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14077
daca8ba5
SM
14078 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14079 (mail-mode): Setup mailalias completion here instead.
14080 * mail/mailalias.el: Use lexical-binding.
14081 (pattern, mailalias-done): Declare dynamic.
14082 (mail-completion-at-point-function): New function, from mail-complete.
14083 (mail-complete): Use it.
14084 (mail-completion-expand): New function.
14085 (mail-get-names): Use it.
14086 (mail-directory, mail-directory-process, mail-directory-stream):
14087 Don't use `pattern' for lexically bound arg.
14088
6f542485
SM
14089 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14090
037e7c3f
SM
14091 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14092 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14093 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14094
8b05752a
SM
14095 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14096 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14097 (byte-interactive-p): Define them again, for use when inlining
14098 old code.
14099
49093f60
JB
141002011-04-15 Juanma Barranquero <lekktu@gmail.com>
14101
14102 * loadup.el: Use `string-to-number', not `string-to-int'.
14103
b5b8e7de
SM
141042011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14105
14106 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14107 gud-gdb-complete-command.
14108 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14109 (gud-gdb-completion-at-point): New function.
14110 (gud-gdb-completions): Remove.
14111
f42efeb5
MA
141122011-04-14 Michael Albinus <michael.albinus@gmx.de>
14113
49093f60
JB
14114 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14115 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14116 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14117 whether `executable-find' is bound.
f42efeb5
MA
14118
14119 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14120
e240cc21
SM
141212011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14122
14123 * minibuffer.el (completion-in-region-mode-predicate)
14124 (completion-in-region-mode--predicate): New vars.
14125 (completion-in-region, completion-in-region--postch)
14126 (completion-in-region-mode): Use them.
14127 (completion--capf-wrapper): Also return the hook function.
14128 (completion-at-point, completion-help-at-point):
14129 Adjust and provide a predicate.
c2bd2ab0
SM
14130
14131 Preserve arg names for advice of subr and lexical functions (bug#8457).
14132 * help-fns.el (help-function-arglist): Consolidate the subr and
14133 new-byte-code cases. Add argument `preserve-names' to extract names
14134 from the docstring when needed.
14135 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14136 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14137 (ad-arglist): Use help-function-arglist's new arg.
14138 (ad-definition-type): Use cond.
14139
c183f693
JB
141402011-04-13 Juanma Barranquero <lekktu@gmail.com>
14141
06641a47
JB
14142 * autorevert.el (auto-revert-handler):
14143 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14144 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14145 Don't quote lambda.
14146
c183f693
JB
14147 * image-mode.el (image-transform-set-scale):
14148 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14149
1e3b6001
G
141502011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14151
14152 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14153 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14154 Upgrades via gnutls-cli are too slow to be done opportunistically.
14155
2d6af8dd
JB
141562011-04-12 Juanma Barranquero <lekktu@gmail.com>
14157
14158 * dframe.el (dframe-current-frame): Remove spurious quote.
14159
c0749a51
GM
141602011-04-12 Glenn Morris <rgm@gnu.org>
14161
088d0d61
GM
14162 * calendar/cal-tex.el (cal-tex-end-document):
14163 Try to automatically use latin1 input if needed.
14164
c0749a51
GM
14165 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14166 Don't try to cons a mark onto an empty element.
14167
5c90fde0
LL
141682011-04-11 Leo Liu <sdl.web@gmail.com>
14169
14170 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14171 buffers.
14172 (ido-kill-buffer-at-head): Support killing virtual buffers.
14173
369e974d
CY
141742011-04-10 Chong Yidong <cyd@stupidchicken.com>
14175
14176 * minibuffer.el (completion-show-inline-help): New var.
14177 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14178 (minibuffer-force-complete, minibuffer-complete-word):
14179 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14180
14181 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14182 to avoid interference from inline help (Bug#5849).
14183
37f1c930
LL
141842011-04-10 Leo Liu <sdl.web@gmail.com>
14185
099c39a4
JB
14186 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14187 Fix typo.
37f1c930 14188
a32d4040
CY
141892011-04-09 Chong Yidong <cyd@stupidchicken.com>
14190
14191 * image-mode.el (image-toggle-display-image): Signal an error if
14192 not in Image mode.
14193 (image-transform-mode, image-transform-resize)
14194 (image-transform-set-rotation): Doc fix.
daca8ba5 14195 (image-transform-set-resize): Delete.
a32d4040
CY
14196 (image-transform-set-scale, image-transform-fit-to-height)
14197 (image-transform-fit-to-width): Handle image-toggle-display-image
14198 and image-transform-resize directly.
14199
099c39a4 142002011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14201
14202 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14203 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14204 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14205 (doc-view-mode-map): Add bindings for the new functions.
14206
099c39a4 142072011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14208
4d61f28d 14209 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14210 Fix typo in docstring.
14211
3726838a
EZ
142122011-04-08 Eli Zaretskii <eliz@gnu.org>
14213
04f33f1e
EZ
14214 * files.el (file-size-human-readable): Produce one digit after
14215 decimal, like "ls -lh" does.
14216
14217 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14218 the file size representation.
14219
3726838a
EZ
14220 * simple.el (list-processes): If async subprocesses are not
14221 available, error out with a clear error message.
14222
cbb59342
CY
142232011-04-08 Chong Yidong <cyd@stupidchicken.com>
14224
14225 * help.el (help-form-show): New function, to be called from C.
14226 Put help-form output in a buffer named differently than *Help*.
14227
e3971c44
EZ
142282011-04-08 Eli Zaretskii <eliz@gnu.org>
14229
14230 * files.el (file-size-human-readable): New function.
14231
14232 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14233 computing the representation inline. Don't require `cl'.
14234
12544bbe
GM
142352011-04-08 Glenn Morris <rgm@gnu.org>
14236
a1de6c6a
GM
14237 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14238
3c4671f4
GM
14239 * net/browse-url.el (browse-url-firefox):
14240 Test system-type, not system-configuration.
14241
b605679c
GM
14242 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14243 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14244 Use log-edit-empty-buffer-p. (Bug#7598)
14245
56442f0c
GM
14246 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14247 (rlogin-mode-map): Initialize in the defvar.
14248 (rlogin): Use ignore-errors.
14249
12544bbe
GM
14250 * replace.el (occur-mode-map): Some fixes for menu items.
14251
eb237b0f
AH
142522011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14253
14254 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14255
7d668f2c
CY
142562011-04-06 Chong Yidong <cyd@stupidchicken.com>
14257
e67a13ab
CY
14258 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14259 issuing unused warnings.
14260
14261 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14262 macro directly.
14263
7d668f2c
CY
14264 * simple.el: Lisp reimplement of list-processes. Based on an
14265 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14266 (process-menu-mode): New major mode.
14267 (list-processes--refresh, list-processes):
14268 (process-menu-visit-buffer): New functions.
14269
14270 * files.el (save-buffers-kill-emacs): Don't assume any return
14271 value of list-processes, which is undocumented anyway.
14272
a83ec3c9
CY
142732011-04-06 Chong Yidong <cyd@stupidchicken.com>
14274
14275 * emacs-lisp/tabulated-list.el: New file.
14276
e91a96fe
CY
14277 * emacs-lisp/package.el: Use Tabulated List mode.
14278 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14279 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14280 table format using Tabulated List mode variables.
14281 (package--push): New macro, replacing package-list-maybe-add.
14282 (package-menu--generate): Use package--push. Renamed from
14283 package--generate-package-list.
14284 (package-menu-refresh, list-packages): Use it.
daca8ba5 14285 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14286 Return insertion data instead of inserting it directly.
099c39a4
JB
14287 (package-menu-describe-package, package-menu-execute):
14288 Use tabulated-list-get-id.
e91a96fe
CY
14289 (package-menu-mark-delete, package-menu-mark-install)
14290 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14291 (package-menu-mark-obsolete-for-deletion):
14292 Use tabulated-list-put-tag.
e91a96fe
CY
14293 (package--list-packages, package-menu-revert)
14294 (package-menu-get-package, package-menu-get-version)
14295 (package-menu-sort-by-column): Functions deleted.
14296 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14297 (package-menu--status-predicate, package-menu--version-predicate)
14298 (package-menu--name-predicate)
14299 (package-menu--description-predicate): Handle arguments in the
14300 Tabulated List format.
14301 (package-list-packages-no-fetch): Call list-packages.
14302
3e214b50
JB
143032011-04-06 Juanma Barranquero <lekktu@gmail.com>
14304
14305 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14306 (after-find-file): Don't bind it.
3e214b50
JB
14307 (revert-buffer-in-progress-p): New variable.
14308 (revert-buffer): Bind it.
14309 Pass nil for `after-find-file-from-revert-buffer'.
14310
14311 * saveplace.el (save-place-find-file-hook): Use new variable
14312 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14313
3f0f1700
GM
143142011-04-06 Glenn Morris <rgm@gnu.org>
14315
c0274801
GM
14316 * Makefile.in (AUTOGEN_VCS): New variable.
14317 (autoloads): Use $AUTOGEN_VCS.
14318
3f0f1700
GM
14319 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14320 * calendar/calendar.el (calendar-mode-map):
14321 Check for toolkit scroll bars. (Bug#8305)
14322
41ea9e48
CY
143232011-04-05 Chong Yidong <cyd@stupidchicken.com>
14324
14325 * minibuffer.el (completion-in-region--postch)
14326 (completion-in-region-mode): Remove unnecessary messages.
14327
6194c800
JB
143282011-04-05 Juanma Barranquero <lekktu@gmail.com>
14329
33256f14
JB
14330 * font-lock.el (font-lock-refresh-defaults):
14331 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14332 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14333
6194c800
JB
14334 * info.el (Info-directory-list, Info-read-node-name-2)
14335 (Info-split-parameter-string): Doc fixes.
14336 (Info-virtual-nodes): Reflow docstring.
14337 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14338 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14339 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14340 Fix typos in docstrings.
14341 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14342 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14343 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14344 (Info-restore-desktop-buffer): Mark unused parameters.
14345 (Info-directory-find-file, Info-directory-find-node)
14346 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14347 (Info-virtual-index-find-node, Info-apropos-find-file)
14348 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14349 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14350 (Info-virtual-index): Remove unused local variable `nodename'.
14351
b87a8200 143522011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14353
b87a8200
DD
14354 * net/rcirc.el: Update my e-mail address.
14355 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14356
3b2ff876
CY
143572011-04-05 Chong Yidong <cyd@stupidchicken.com>
14358
14359 * startup.el (command-line): Save the cursor's theme-face
14360 directly, instead of using face-override-spec.
14361
14362 * custom.el (load-theme): Minor optimization in assigning faces.
14363
8d17e7ca
JB
143642011-04-04 Juanma Barranquero <lekktu@gmail.com>
14365
14366 * help-fns.el (describe-variable): Complete all variables having
14367 documentation, including keywords.
14368 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14369
2fbc1934
JB
143702011-04-04 Juanma Barranquero <lekktu@gmail.com>
14371
14372 Convert to lexical-binding.
14373
14374 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14375 (bs--get-marked-string, bs--get-modified-string)
14376 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14377 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14378 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14379
14380 * ehelp.el (electric-help-execute-extended)
14381 (electric-help-ctrl-x-prefix):
14382 * hexl.el (hexl-revert-buffer-function):
14383 * linum.el (linum-after-change, linum-after-scroll):
14384 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14385
14386 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14387
74f50695
DU
143882011-04-04 Daiki Ueno <ueno@unixuser.org>
14389
14390 * epa-dired.el:
14391 * epa-mail.el:
14392 * epa-hook.el:
14393 * epa-file.el:
14394 * epa.el:
14395 * epg.el: Use lexical binding.
14396
c11325f7
CY
143972011-04-03 Chong Yidong <cyd@stupidchicken.com>
14398
0d9e9a12
CY
14399 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14400
c11325f7 14401 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14402 dictionary case for flyspell-mark-duplications-exceptions.
14403 Use regexp matching for languages.
c11325f7
CY
14404 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14405 default dictionary (Bug#7926).
14406
da91b5f2
CY
144072011-04-02 Chong Yidong <cyd@stupidchicken.com>
14408
099c39a4
JB
14409 * emacs-lisp/package.el (package--with-work-buffer):
14410 Recognize https URLs.
da91b5f2 14411
099c39a4
JB
14412 * net/network-stream.el: Move from gnus/proto-stream.el.
14413 Change prefix to network-stream throughout.
da91b5f2
CY
14414 (open-protocol-stream): Merge into open-network-stream, leaving
14415 open-protocol-stream as an alias. Handle nil BUFFER args.
14416
14417 * subr.el (open-network-stream): Move to net/network-stream.el.
14418
afa8e9f6
GM
144192011-04-02 Glenn Morris <rgm@gnu.org>
14420
1d2e369d
GM
14421 * find-dired.el (find-exec-terminator): New option.
14422 (find-ls-option): Test for -ls support.
14423 (find-ls-subdir-switches): Test for -b in find-ls-option.
14424 (find-dired, find-grep-dired): Doc fixes.
14425 (find-dired): Use find-exec-terminator.
14426
8abb7da8 14427 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14428 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14429 (find-name-arg): Remove purecopy.
8abb7da8 14430
f3ca7378
GM
14431 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14432 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14433 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14434 accordingly. Don't add the null-device if not needed.
14435
afa8e9f6
GM
14436 * files.el (save-some-buffers): Doc fix.
14437
35eae264
EZ
144382011-04-02 Eli Zaretskii <eliz@gnu.org>
14439
14440 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14441
26b51db5
JB
144422011-04-01 Juanma Barranquero <lekktu@gmail.com>
14443
14444 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14445 Use `dolist' rather than `mapcar'.
14446
7200d79c
SM
144472011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14448
03408648 14449 Add lexical binding.
7200d79c 14450
03408648
SM
14451 * subr.el (apply-partially): Use new closures rather than CL.
14452 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14453 (dolist, dotimes): Use slightly different expansion for lexical code.
14454 (functionp): Move to C.
14455 (letrec): New macro.
14456 (with-wrapper-hook): Use it and apply-partially instead of CL.
14457 (eval-after-load): Preserve lexical-binding.
14458 (save-window-excursion, with-output-to-temp-buffer): Turn them
14459 into macros.
7200d79c 14460
03408648
SM
14461 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14462
14463 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14464 than the arglist.
14465 (help-add-fundoc-usage): Don't add `Not documented'.
14466 (help-function-arglist): Handle closures, subroutines, and new
14467 byte-code-functions.
14468 (help-make-usage): Remove leading underscores.
14469 (describe-function-1): Handle closures.
14470 (describe-variable): Use special-variable-p for completion.
14471
14472 * files.el (lexical-binding): Declare safe.
f488fb65 14473
03408648
SM
14474 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14475 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14476 (pcase): Add `let' pattern.
14477 Change memoization so it actually works.
14478 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14479 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14480 <let>: New case.
f488fb65 14481
03408648
SM
14482 * emacs-lisp/macroexp.el: Use lexical binding.
14483 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14484 Don't convert ' to #' without checking that it's indeed quoting
14485 a lambda.
14486
14487 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14488 Use eval-sexp-add-defvars.
03408648
SM
14489 (eval-sexp-add-defvars): New fun.
14490
14491 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14492
14493 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14494 Don't autoload.
14495 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14496 than the internal `byte-compile-lambda'.
14497 (defmethod): Don't hide code under quotes.
14498 (eieio-defmethod): New `code' argument.
14499
14500 * emacs-lisp/eieio-comp.el: Remove.
14501
14502 * emacs-lisp/edebug.el (edebug-eval-defun)
14503 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14504 (edebug-toggle): Avoid `eval'.
14505
14506 * emacs-lisp/disass.el (disassemble-internal): Handle new
14507 `closure' objects.
14508 (disassemble-1): Handle new byte codes.
14509
14510 * emacs-lisp/cl.el (pushnew): Silence warning.
14511
14512 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14513 (cl-byte-compile-throw): Remove.
14514 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14515
14516 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14517 closures.
14518
14519 * emacs-lisp/cconv.el: New file.
14520
14521 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14522 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14523 (byte-compile-initial-macro-environment):
14524 Handle declare-function here.
14525 (byte-compile--lexical-environment): New var.
14526 (byte-stack-ref, byte-stack-set, byte-discardN)
14527 (byte-discardN-preserve-tos): New lap codes.
14528 (byte-interactive-p): Don't use any more.
14529 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14530 New macros.
14531 (byte-compile-lapcode): Use them and handle new lap codes.
14532 (byte-compile-obsolete): Remove.
14533 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14534 (byte-compile-arglist-warn): Check late def of inlinable funs.
14535 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14536 since they should have been expanded by now.
14537 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14538 (byte-compile-from-buffer): Remove unused second arg.
14539 (byte-compile-preprocess): New function.
14540 (byte-compile-toplevel-file-form): New function to distinguish
14541 file-form calls from outside from file-form calls from hunk-handlers.
14542 (byte-compile-file-form): Simplify.
14543 (byte-compile-file-form-defsubst): Remove.
14544 (byte-compile-file-form-defmumble): Simplify now that
14545 byte-compile-lambda always returns a byte-code-function.
14546 (byte-compile): Preprocess.
14547 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14548 Remove, not used any more.
14549 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14550 (byte-compile-make-args-desc): New funs.
14551 (byte-compile-lambda): Handle lexical functions. Always return
14552 a byte-code-function.
14553 (byte-compile-reserved-constants): New var, to make up room for
14554 closed-over variables.
14555 (byte-compile-constants-vector): Obey it.
14556 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14557 (byte-compile-macroexpand-declare-function): New function.
14558 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14559 byte-code-functions.
14560 (byte-compile-form): Check obsolescence here.
14561 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14562 (byte-compile-variable-ref): Remove.
14563 (byte-compile-dynamic-variable-op): New fun.
14564 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14565 (byte-compile-variable-set): New funs.
14566 (byte-compile-discard): Add 2 args.
14567 (byte-compile-stack-ref, byte-compile-stack-set)
14568 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14569 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14570 macroexpand-all instead.
14571 (byte-compile-quote-form): Remove.
14572 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14573 (byte-compile-bind, byte-compile-unbind): New funs.
14574 (byte-compile-let): Handle let* and lexical binding.
14575 (byte-compile-let*): Remove.
14576 (byte-compile-catch, byte-compile-unwind-protect)
14577 (byte-compile-track-mouse, byte-compile-condition-case):
14578 Handle a new :fun-body form, used for lexical scoping.
14579 (byte-compile-save-window-excursion)
14580 (byte-compile-with-output-to-temp-buffer): Remove.
14581 (byte-compile-defun): Simplify.
14582 (byte-compile-stack-adjustment): New fun.
14583 (byte-compile-out): Use it.
14584 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14585
14586 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14587 handler any more.
14588
14589 * emacs-lisp/byte-opt.el: Use lexical binding.
14590 (byte-inline-lapcode): Remove (to bytecomp).
14591 (byte-compile-inline-expand): Pay attention to inlining to/from
14592 lexically bound code.
14593 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14594 any more.
14595 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14596 any more and don't call compiler-macros.
14597 (byte-compile-splice-in-already-compiled-code): Remove.
14598 (byte-code): Don't inline any more.
14599 (disassemble-offset): Receive `bytes' as argument rather than via
14600 dynamic scoping.
14601 (byte-compile-tag-number): Declare before first use.
14602 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14603 `return' even if make-spliceable.
14604 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14605 obsolete interactive-p.
14606 (byte-optimize-lapcode): Optimize new lap-codes.
14607 Don't trip up on new form of `byte-constant' lap code.
14608
14609 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14610
14611 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14612
14613 * custom.el (custom-initialize-default, custom-declare-variable):
14614 Use `defvar'.
14615
14616 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14617 New variables.
14618 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14619 (COMPILE_FIRST): Add macroexp and cconv.
14620 * makefile.w32-in: Mirror changes in Makefile.in.
14621
14622 * vc/cvs-status.el:
14623 * vc/diff-mode.el:
14624 * vc/log-edit.el:
14625 * vc/log-view.el:
14626 * vc/smerge-mode.el:
14627 * textmodes/bibtex-style.el:
14628 * textmodes/css.el:
14629 * startup.el:
14630 * uniquify.el:
da91b5f2
CY
14631 * minibuffer.el:
14632 * newcomment.el:
14633 * reveal.el:
14634 * server.el:
14635 * mpc.el:
14636 * emacs-lisp/smie.el:
14637 * doc-view.el:
14638 * dired.el:
03408648
SM
14639 * abbrev.el: Use lexical binding.
14640
0f0c1f27
EZ
146412011-04-01 Eli Zaretskii <eliz@gnu.org>
14642
14643 * info.el (info-display-manual): New function.
14644
c82b2579
SM
146452011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14646
14647 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14648
221ddf68
TH
146492011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14650
14651 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14652 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14653
cba6e77e
GM
146542011-03-31 Glenn Morris <rgm@gnu.org>
14655
e040639f
GM
14656 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14657
cba6e77e
GM
14658 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14659
6d0f1c9e
CS
146602011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14661
14662 * progmodes/python.el (python-default-interpreter)
14663 (python-python-command-args, python-jython-command-args)
14664 (python-which-shell, python-which-args, python-which-bufname)
14665 (python-file-queue, python-comint-output-filter-function)
14666 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14667 variables and functions.
14668
3e2d70fd
SM
146692011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14670
14671 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14672 (completion-in-region-mode): New minor mode.
14673 (completion-in-region): Use it.
14674 (completion-in-region--data, completion-in-region-mode-map): New vars.
14675 (completion-in-region--postch): New function.
14676 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14677 New vars.
14678 (completion--capf-wrapper): New function.
14679 (completion-at-point): Use it to track well-behavedness of
14680 hook functions.
14681 (completion-help-at-point): New command.
14682
f3e4086c
JM
146832011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14684
14685 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14686 syntax class to search for whitespace on a single line
14687 (Message-ID: <4D938140.4030905@redhat.com>).
14688
eb7ffc14
LL
146892011-03-30 Leo Liu <sdl.web@gmail.com>
14690
14691 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14692 New commands.
14693 (edit-abbrevs-map): Bind them here.
14694 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14695
d806ab68
KM
146962011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14697
14698 * allout.el (allout-hide-by-annotation, allout-flag-region):
14699 Reduce possibility of overlay leakage by making them volatile.
14700
14701 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14702 hash is not shared between buffers. Mode initialization is
14703 responsible for giving it a useful starting value.
14704 (allout-item-span): Reduce possibility of overlay leakage by
14705 making them volatile.
14706 (allout-widgets-count-buttons-in-region): Add diagnostic function
14707 for tracking down button overlay leaks.
14708
ea622834
LL
147092011-03-29 Leo Liu <sdl.web@gmail.com>
14710
14711 * ido.el (ido-read-internal): Use the default history var
14712 minibuffer-history if no HISTORY is specified.
14713
b62f8267
G
147142011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14715
03408648
SM
14716 * net/imap.el (imap-shell-open, imap-process-connection-type):
14717 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14718 Kerberos, SSL, other subprocesses.
14719
947b6566
LL
147202011-03-28 Leo Liu <sdl.web@gmail.com>
14721
14722 * abbrev.el (abbrev-table-empty-p): New function.
14723 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14724 nonempty ones. (Bug#5937)
14725
5ffb62aa
JD
147262011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14727
14728 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14729
7a097943
LL
147302011-03-27 Leo Liu <sdl.web@gmail.com>
14731
14732 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14733 for foreground and background colors.
14734 (ansi-color-make-color-map): Adapt.
14735
c5b40130
LL
147362011-03-25 Leo Liu <sdl.web@gmail.com>
14737
1f48f7d2
LL
14738 * midnight.el (midnight-time-float): Remove. Note it calculates
14739 the microsecond component incorrectly and seconds-to-time does the
14740 same job.
625897ec 14741 Remove redundant (require 'timer).
1f48f7d2 14742
c5b40130
LL
14743 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14744 (ido-completions): Remove unused arguments. (Bug#8329)
14745
d86d2721
SM
147462011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14747
14748 * minibuffer.el (completion--flush-all-sorted-completions):
14749 Remove itself from hook.
14750 (completion-at-point): Let the functions perform the completion
14751 immediately and return nil or t.
14752 * comint.el (comint-dynamic-complete-functions): Now identical to
14753 completion-at-point-functions.
14754 (comint-dynamic-list-input-ring): Remove unused var `index'.
14755 (comint--match-partial-filename, comint--unquote&expand-filename):
14756 New funs, split from comint-match-partial-filename.
14757 (comint-dynamic-complete): Use completion-at-point.
14758 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14759
e8974c48
DA
147602011-03-24 Drew Adams <drew.adams@oracle.com>
14761
14762 * thingatpt.el: Support `defun'.
14763
def71b5e
LL
147642011-03-23 Leo Liu <sdl.web@gmail.com>
14765
cb5af48e
LL
14766 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14767
def71b5e
LL
14768 * help-mode.el (help-mode-finish): Tweak regexp.
14769
927c53e7
GM
147702011-03-23 Glenn Morris <rgm@gnu.org>
14771
18d05bed
GM
14772 * eshell/esh-opt.el (eshell-eval-using-options):
14773 Do not bind unused local variable `eshell-option-stub'.
14774
927c53e7
GM
14775 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14776
9d0da923
JB
147772011-03-22 Juanma Barranquero <lekktu@gmail.com>
14778
14779 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14780 keymap variable in `with-no-warnings' to avoid a warning when the
14781 keymap has been already `defconst'ed.
14782
4b978a67
LL
147832011-03-22 Leo Liu <sdl.web@gmail.com>
14784
14785 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14786 encode all chars in abbrevs; otherwise use emacs-mule or
14787 utf-8-emacs. (Bug#8308)
14788
5fd62452
JB
147892011-03-22 Juanma Barranquero <lekktu@gmail.com>
14790
0b1596c6
JB
14791 * simple.el (backward-delete-char-untabify):
14792 Avoid warning about using `delete-backward-char'.
14793
5fd62452
JB
14794 * image.el (image-type-file-name-regexps): Make it variable.
14795 `imagemagick-register-types' modifies it, and the user may want
14796 to add new extensions for known image types.
14797 (imagemagick-register-types): Throw error if not using ImageMagick.
14798
0b4e93f1
LL
147992011-03-22 Leo Liu <sdl.web@gmail.com>
14800
14801 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14802 located before rcirc-prompt-end-marker.
14803 (rcirc-complete): Error if point is not after rcirc prompt.
14804 Handle the case when table is nil.
9882e214 14805 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14806
fccee4ab
CY
148072011-03-22 Chong Yidong <cyd@stupidchicken.com>
14808
14809 * custom.el (custom--inhibit-theme-enable): Make it affect only
14810 custom-theme-set-variables and custom-theme-set-faces.
14811 (provide-theme): Ignore custom--inhibit-theme-enable.
14812 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14813 (custom-enabling-themes): Delete variable.
d86d2721
SM
14814 (enable-theme): Accept only loaded themes as arguments.
14815 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14816 (custom-enabled-themes): Forbid themes from setting this.
14817 Eliminate use of custom-enabling-themes.
14818 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14819
af896da6
LL
148202011-03-21 Leo Liu <sdl.web@gmail.com>
14821
14822 * ido.el (ido-read-internal): Add ido-selected to history instead
14823 of user input.
14824
78f64af0
SM
148252011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14826
14827 * subr.el (deferred-action-list, deferred-action-function):
14828 Mark obsolete.
14829
b16ac1ec
LL
148302011-03-21 Leo Liu <sdl.web@gmail.com>
14831
810f7698
LL
14832 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14833 change on 2011-02-13 (bug#8309).
14834
b16ac1ec
LL
14835 * minibuffer.el (read-file-name-function): Change default value.
14836 (read-file-name--defaults): Rename from read-file-name-defaults.
14837 (read-file-name-default): Rename from read-file-name.
14838 (read-file-name): Call read-file-name-function.
14839
4e05e67e
GM
148402011-03-21 Glenn Morris <rgm@gnu.org>
14841
14842 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14843 Doc fixes.
14844
4359915b
CY
148452011-03-21 Chong Yidong <cyd@stupidchicken.com>
14846
14847 * cus-theme.el: Add missing provide statement.
14848 (customize-create-theme): Extract theme value correctly.
14849 (custom-theme-visit-theme): Autoload.
14850 (customize-create-theme): Prompt before inserting default faces.
14851
1fe275ee
JB
148522011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14853
14854 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14855 units and musical notes.
14856
cd394be1 148572011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14858
14859 * ido.el (ido-read-internal): Use completing-read-default.
14860 (ido-completing-read): Fix compatibility with completing-read.
14861
7d476bde
CO
148622011-03-20 Christian Ohler <ohler@gnu.org>
14863
14864 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14865 (ert-delete-all-tests): Use `called-interactively-p' rather than
14866 `interactive-p'.
14867 (ert--make-xrefs-region): Respect END.
14868
fe0fb33e
CY
148692011-03-19 Chong Yidong <cyd@stupidchicken.com>
14870
ff854b0b
CY
14871 * dired-aux.el (dired-create-directory): Signal an error if the
14872 directory already exists (Bug#8246).
14873
fe0fb33e
CY
14874 * facemenu.el (list-colors-display): Call list-faces-display
14875 inside with-help-window.
14876 (list-colors-print): Use display property to align the final
14877 column, instead of checking window-width.
14878
576bce32
EZ
148792011-03-19 Eli Zaretskii <eliz@gnu.org>
14880
4d61f28d 14881 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14882 windows-nt systems.
14883 (emerge-protect-metachars): Quote correctly for ms-dos and
14884 windows-nt systems.
14885
89c41d68 148862011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14887
14888 * info.el (info-initialize): Replace all uses of `:' with
14889 path-separator for compatibility with non-Unix systems.
14890 Cache quoting of path-separator. (Bug#8258)
14891
b14e3e21 148922011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14893
14894 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14895 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14896 (mouse-avoidance-mode): Fix typos in docstrings.
14897
4525ce3e
CY
148982011-03-19 Chong Yidong <cyd@stupidchicken.com>
14899
14900 * startup.el (package-subdirectory-regexp): Move from package.el.
14901 Omit \\` and \\', and let callers add them.
14902
14903 * emacs-lisp/package.el (package-strip-version)
14904 (package-load-all-descriptors): Add \\` and \\' to
14905 package-subdirectory-regexp before using it.
14906 (package-untar-buffer): New arg DIR; ensure that file untars only
14907 into this expected directory. Remove superfluous delete-region.
14908 (package-unpack): Caller changed.
14909 (package-tar-file-info): Use package-subdirectory-regexp.
14910
a904a09a 149112011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14912
a904a09a
SM
14913 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14914 diff-mode-shared-map (bug#8284).
14915 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14916
149172011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14918
14919 * calendar/time-date.el (format-seconds): Use assoc instead of
14920 assoc-string, since assoc-string doesn't exist in XEmacs.
14921
171fc304
JB
149222011-03-17 Juanma Barranquero <lekktu@gmail.com>
14923
14924 * custom.el (custom-known-themes): Reflow docstring.
14925 (custom-theme-load-path): Fix typo in docstring.
14926 (load-theme): Fix typo in error message.
14927 (custom-available-themes, custom-variable-theme-value):
14928 Use `let', not `let*'.
14929
d71990a1
JB
149302011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14931
14932 * calc/README: Mention inclusion of musical notes.
14933
14934 * calc/calc-units.el (calc-lu-quant): Rename from
14935 `calc-logunits-quantity'.
14936 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14937 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14938 (calc-db): Rename from `calc-dblevel'.
14939 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14940 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14941 (calc-np): Rename from `calc-nplevel'.
14942 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14943 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14944 (calc-lu-plus): Rename from `calc-logunits-add'.
14945 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14946 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14947 (calc-lu-minus): Rename from `calc-logunits-sub'.
14948 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14949 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14950 (calc-lu-times): Rename from `calc-logunits-mul'.
14951 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14952 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14953 (calc-lu-divide): Rename from `calc-logunits-div'.
14954 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14955 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14956
14957 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14958 functions being autoloaded.
14959
14960 * calc/calc.el (calc-lu-power-reference): Rename from
14961 `calc-logunits-power-reference'.
14962 (calc-lu-field-reference): Rename from
14963 `calc-logunits-field-reference'.
14964
7a71b18d
GM
14965 * calc/calc-help.el (calc-l-prefix-help):
14966 Mention musical note functions.
d71990a1 14967
40c2934b
SM
149682011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14969
14970 * minibuffer.el (completion-all-sorted-completions):
14971 Use :completion-cycle-penalty text property if present.
14972
b0911414
KM
149732011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14974
14975 * allout.el (allout-yank-processing): Adjust for new rebulleting
14976 regime so bullet being yanked is used without prompting the user
14977 for a choice.
14978
8a05b668
JB
149792011-03-16 Juanma Barranquero <lekktu@gmail.com>
14980
14981 * startup.el (command-line): Warn the user that _emacs is deprecated.
14982
5ba5fb81
JB
149832011-03-16 Juanma Barranquero <lekktu@gmail.com>
14984
14985 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14986 (delphi-verbose, delphi-comment-face, delphi-string-face)
14987 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14988 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14989 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14990 (delphi-new-comment-line, delphi-font-lock-defaults)
14991 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14992 Fix typos in docstrings.
14993
2dab465b
KM
149942011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14995
5ba5fb81 14996 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14997 Invert the roles of character and string values for INSTEAD, so a
14998 string is used for the more common case of a defaulting prompt.
14999
0adf5618
SM
150002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15001
15002 * progmodes/ruby-mode.el (ruby-backward-sexp):
15003 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15004 * play/gamegrid.el (gamegrid-make-face):
15005 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15006 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15007 * notifications.el (notifications-notify):
15008 * net/xesam.el (xesam-search-engines):
15009 * net/quickurl.el (quickurl-list-insert):
15010 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15011
d72700e5
CY
150122011-03-15 Chong Yidong <cyd@stupidchicken.com>
15013
15014 * startup.el (command-line): Update package subdirectory regexp.
15015
49c5410a
SM
150162011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15017
c6eee9aa
SM
15018 * allout.el (allout-abbreviate-flattened-numbering)
15019 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15020
49c5410a
SM
15021 * subr.el (read-char-choice): Only show the cursor after the prompt,
15022 not after the answer.
15023
047b2bb9
KR
150242011-03-15 Kevin Ryde <user42@zip.com.au>
15025
15026 * help-fns.el (variable-at-point): Skip leading quotes, if any
15027 (bug#8253).
15028
0a57d256
SM
150292011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15030
15031 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15032 warning message.
15033
77c992bc
MA
150342011-03-14 Michael Albinus <michael.albinus@gmx.de>
15035
15036 * shell.el (shell): When called interactively, offer to change the
15037 shell file name on remote hosts.
15038
eebc475d
TZ
150392011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15040
15041 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15042 integration for LDAP parameters. The host, base, user or binddn,
15043 and secret tokens can be specified in a netrc file, for instance.
15044 This is optional because an `auth-source' parameter must be
15045 specified in the search attributes.
15046
9d05d1ba
JB
150472011-03-13 Juanma Barranquero <lekktu@gmail.com>
15048
15049 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15050
09d9db2c
GM
150512011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15052
15053 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15054 into declaration. Remove redundant and harmful binding.
15055
150562011-03-12 Eli Zaretskii <eliz@gnu.org>
15057
15058 * files.el (file-ownership-preserved-p): Pass `integer' as an
15059 explicit 2nd argument to `file-attributes'. If the file's owner
15060 is the Administrators group on Windows, and the current user is
15061 Administrator, consider that a match.
15062
15063 * server.el (server-ensure-safe-dir): Consider server directory
15064 safe on MS-Windows if its owner is the Administrators group while
15065 the current Emacs user is Administrator. Use `=' to compare
15066 numerical UIDs, since they could be integers or floats.
15067
219bd536
JB
150682011-03-12 Juanma Barranquero <lekktu@gmail.com>
15069
15070 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15071
f3afd36b
MA
150722011-03-12 Michael Albinus <michael.albinus@gmx.de>
15073
15074 Sync with Tramp 2.2.1.
15075
15076 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15077
15078 * net/trampver.el: Update release number.
15079
3aaaa6f1
SM
150802011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15081
94642599
SM
15082 * progmodes/compile.el (compilation--previous-directory): Fix up
15083 various nil/dead-marker mismatches (bug#8014).
15084 (compilation-directory-properties, compilation-error-properties):
15085 Don't call it at a position past the one we're about to change.
15086
3aaaa6f1
SM
15087 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15088 Disable obsolescence warnings in the file that declares it.
15089
14239447
KM
150902011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15091
099c39a4
JB
15092 * allout-widgets.el (allout-widgets-tally):
15093 Initialize allout-widgets-tally as a hash table rather than nil to
15094 prevent mode-line redisplay warnings. Also, clarify the module
15095 description and fix a comment typo.
14239447 15096
135e287c
JB
150972011-03-11 Juanma Barranquero <lekktu@gmail.com>
15098
15099 * help-fns.el (describe-variable): Don't complete keywords.
15100 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15101
ffbf300e
CY
151022011-03-10 Chong Yidong <cyd@stupidchicken.com>
15103
ba08b241
CY
15104 * emacs-lisp/package.el (package-version-join): Impose a standard
15105 string representation for pre/alpha/beta version lists.
15106 (package-unpack-single): Standardize the directory name by passing
15107 it through package-version-join.
15108 (package-strip-rcs-id): Accept any version string that does not
15109 signal an error in version-to-list.
ffbf300e 15110
f346fd6b
MA
151112011-03-10 Michael Albinus <michael.albinus@gmx.de>
15112
15113 * simple.el (delete-trailing-whitespace): Return nil for the
15114 benefit of `write-file-functions'.
15115
ccb55d27
GM
151162011-03-10 Glenn Morris <rgm@gnu.org>
15117
5ceaac0c
GM
15118 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15119
02da65ff
GM
15120 * vc/vc-git.el (vc-git-program): New option.
15121 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15122 (vc-git--call): Use it.
15123
b2f603cc
GM
15124 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15125
5772caab
GM
15126 * cus-edit.el (Custom-newline): If no button at point, look
15127 for a subgroup button at start-of-line. (Bug#2298)
15128
ccb55d27
GM
15129 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15130
ec6ecaed
JD
151312011-03-10 Julien Danjou <julien@danjou.info>
15132
15133 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15134 `cursor-type' is nil.
15135
9d5aa01d
JB
151362011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15137
15138 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15139
b6a5875b
KM
151402011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15141
7a71b18d 15142 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15143 preserves the existing header prefix, rebulleting it if necessary,
15144 rather than replacing it. This is necessary for proper operation
15145 of cooperative addons like allout-widgets.
1154d12e
JB
15146 (allout-make-topic-prefix, allout-rebullet-heading):
15147 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15148 value as alternate bullet to be used, instead of prompting the user
15149 for a bullet character.
b6a5875b 15150
ee545c35
MA
151512011-03-09 Michael Albinus <michael.albinus@gmx.de>
15152
d86d2721
SM
15153 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15154 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15155 `tramp-default-port'.
15156
c47971d7
DD
151572011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15158
15159 * net/rcirc.el (rcirc-handler-001): Remove useless
15160 with-rcirc-process-buffer.
15161 (rcirc-check-auth-status): Swap arguments to string-match.
15162
13522cb4
GM
151632011-03-09 Glenn Morris <rgm@gnu.org>
15164
0be6f4f1
GM
15165 * shell.el (shell-mode):
15166 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15167
13522cb4
GM
15168 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15169 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15170
515de2e3
CY
151712011-03-08 Chong Yidong <cyd@stupidchicken.com>
15172
15173 * emacs-lisp/package.el (package-refresh-contents)
15174 (package-menu-execute): Use condition-case-no-debug.
15175
b511b994
MA
151762011-03-08 Michael Albinus <michael.albinus@gmx.de>
15177
15178 * simple.el (shell-command-to-string): Use `process-file'.
15179
15180 * emacs-lisp/package.el (package-tar-file-info): Handle also
15181 remote files.
15182
d86d2721
SM
15183 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15184 Use `equal' for upload base check.
b511b994 15185
25bbfb31
AM
151862011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15187
15188 * textmodes/texinfo.el (texinfo-environments):
15189 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15190
be996521
GM
151912011-03-08 Glenn Morris <rgm@gnu.org>
15192
e9c8529f
GM
15193 * cus-start.el (cursor-in-non-selected-windows):
15194 Fix :set quoting oddness. (Bug#8192)
15195
be996521
GM
15196 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15197 in some setf expressions. (Bug#2159)
15198
2bb5649e
CY
151992011-03-08 Chong Yidong <cyd@stupidchicken.com>
15200
15201 * custom.el (custom-available-themes): Return themes in
15202 alphabetical order.
15203
33383987 15204See ChangeLog.15 for earlier changes.
e3d51b27
MR
15205
15206;; Local Variables:
15207;; coding: utf-8
e3d51b27
MR
15208;; End:
15209
acaf905b 15210 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15211
15212 This file is part of GNU Emacs.
15213
15214 GNU Emacs is free software: you can redistribute it and/or modify
15215 it under the terms of the GNU General Public License as published by
15216 the Free Software Foundation, either version 3 of the License, or
15217 (at your option) any later version.
15218
15219 GNU Emacs is distributed in the hope that it will be useful,
15220 but WITHOUT ANY WARRANTY; without even the implied warranty of
15221 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15222 GNU General Public License for more details.
15223
15224 You should have received a copy of the GNU General Public License
15225 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.