Auto-commit of loaddefs files.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
60057926
CY
12012-06-13 Chong Yidong <cyd@gnu.org>
2
3 * emacs-lisp/package.el (list-packages): Compute a list of
4 packages that are newly-available since the last list-packages
5 invocation.
6 (package-menu--new-package-list): New var.
7 (package-menu--generate, package-menu--print-info)
8 (package-menu--status-predicate, package-menu-mark-install):
9 Handle new status label "new".
10
ad4d226c
SM
112012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
14 conversion to backquotes.
15
f1a4e679
CY
162012-06-12 Chong Yidong <cyd@gnu.org>
17
18 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
19 Rename from gud-inhibit-global-bindings.
20
21 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
22
23 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
24 hook from nxml-glyph-set-hook.
25
26 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
27 declaration.
28
29 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
30
31 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
32 Convert to defcustom.
33
0c9e42b5
DA
342012-06-12 Drew Adams <drew.adams@oracle.com>
35
36 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
37 New functions.
38 (help-mode): Use them.
39
09e06855
GM
402012-06-11 Glenn Morris <rgm@gnu.org>
41
42 * progmodes/fortran.el (fortran-font-lock-keywords-3):
43 Use preprocessor face for directives.
44 (fortran-directive-re): Doc fix.
45
71adb94b
SM
462012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
47
2eb87922
SM
48 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
49 conversion to backquotes (bug#11652).
50
71adb94b
SM
51 Fix compiler-expansion of CL's cXXr functions (bug#11673).
52 * emacs-lisp/cl-lib.el (cl--defalias): New function.
53 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
54 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
55 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
56 (cl-ninth, cl-tenth): Mark them as inlinable.
57 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
58 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
59 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
60 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
61 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
62 (cl-list*, cl-adjoin): Don't put an autoload manually.
63 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
64 (cl--compiler-macro-list*): Add autoload cookie.
65 (cl--compiler-macro-cXXr): New function.
2eb87922 66
71adb94b
SM
67 * help-fns.el (help-fns--compiler-macro): New function extracted from
68 describe-function-1; follow aliases and use `compiler-macro' property.
69 (describe-function-1): Use it.
70
a6674402
CY
712012-06-11 Chong Yidong <cyd@gnu.org>
72
73 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
74 is uninstalled, if imagemagick is installed.
75
bb3faf5b
SM
762012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
77
78 * emacs-lisp/cl-lib.el: Use lexical-binding.
79 (cl-map-extents, cl-maclisp-member): Remove.
80 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
81 (cl--set-substring, cl--block-wrapper, cl--block-throw)
82 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
83 * emacs-lisp/cl-extra.el: Use lexical-binding.
84 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
85 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
86 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
87 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
88 * emacs-lisp/cl-seq.el: Use lexical-binding.
89 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
90 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
91 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
92 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
93 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
94 CL's internals.
95
2fe4b125
MA
962012-06-11 Michael Albinus <michael.albinus@gmx.de>
97
98 Sync with Tramp 2.2.6-pre.
99
100 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
101 `print-length' and `print-level' to nil, in order to avoid
102 truncation. Reported by Christopher Schmidt
103 <christopher@ristopher.com>.
104
105 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
106
107 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
108 New defmacro.
109 (tramp-compat-copy-directory): Add optional argument
110 COPY-CONTENTS. It is not handled yet.
111
112 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
113 (tramp-ftp-file-name-p): Simplify.
114
115 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
116 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
117 connection vector.
118
119 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
120 (tramp-methods): Do not use `tramp-password-end-of-line'.
121 (tramp-completion-function-alist-putty): Handle UNIX case.
122 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
123 (tramp-do-file-attributes-with-stat)
124 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
125 gid as real numbers. They could run out of integer range on cygwin.
126 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
127 (tramp-sh-handle-expand-file-name): Handle hops.
128 (tramp-open-connection-setup-interactive-shell): Use
129 `tramp-cleanup'. Move check for busyboxes ...
130 (tramp-find-shell): ... here. Simplify implementation. Set
131 "remote-shell" property also for alternative shells.
132 (tramp-remote-coding-commands): Check "test -c /dev/stdout". If
133 failing, a regular file would be written otherwise. Reported by
134 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
135 (tramp-find-inline-encoding): Cache the coding commands in the
136 process cache. Apply test command on the remote side, if defined.
137 (tramp-find-inline-compress): Cache the compress commands in the
138 process cache.
139 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
140 when requested. Handle hops.
141 (tramp-current-connection): New defvar.
142 (tramp-maybe-open-connection): Use `tramp-cleanup'. Throw
143 `suppress', if there was a failed connection shortly before.
144 Handle user interrupt. (Bug#10187)
145 (tramp-get-inline-compress, tramp-get-inline-coding): Read
146 connection properties from the process cache.
147
148 * net/tramp-smb.el (tramp-smb-server-version)
149 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar): New
150 defconsts.
151 (tramp-smb-prompt): Extend for powershell prompt.
152 (tramp-smb-file-name-handler-alist): Add handlers for
153 `process-file', `shell-command' and `start-file-process'.
154 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
155 (tramp-smb-winexe-shell-command-switch): New defcustoms.
156 (tramp-smb-file-name-p): Simplify.
157 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
158 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
159 (tramp-smb-shell-quote-argument): New defuns.
160 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
161 Implement using "tar". By this, time-stamps are preserved.
162 (tramp-smb-handle-copy-file): Handle also the case of directories.
163 (tramp-smb-do-file-attributes-with-stat)
164 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities): Use
165 `tramp-get-connection-buffer').
166 (tramp-smb-handle-rename-file): Use "rename", when source and
167 target are on the same share.
168 (tramp-smb-maybe-open-connection): Handle wrong passwords. Use
169 `tramp-smb-server-version'.
170 (tramp-smb-wait-for-output): Remove prompt.
171
172 * net/tramp.el (top): Require 'cl.
173 (tramp-methods, tramp-rsh-end-of-line): Remove
174 `tramp-password-end-of-line' from docstring.
175 (tramp-save-ad-hoc-proxies): New defcustom.
176 (tramp-completion-function-alist): Adapt docstring.
177 (tramp-default-password-end-of-line): Remove defcustom.
178 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
179 (tramp-user-regexp, tramp-file-name-regexp-unified)
180 (tramp-file-name-regexp-url): Extend regexp by hop separator.
181 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
182 (tramp-remote-file-name-spec-regexp): New defconst.
183 (tramp-file-name-structure): Extend structure for hops.
184 (tramp-get-method-parameter): Move up.
185 (tramp-file-name-p, tramp-dissect-file-name)
186 (with-parsed-tramp-file-name): Handle hops.
187 (tramp-file-name-hop): New defun.
188 (tramp-make-tramp-file-name): New optional arg HOP.
189 (tramp-message-show-progress-reporter-message): New defvar.
190 (tramp-with-progress-reporter): Use it. We cannot use
191 `tramp-message-show-message' here, because this suppresses also
192 error buffers.
193 (tramp-error-with-buffer): Suppress buffer view, if
194 `tramp-message-show-message' is nil. Use
195 `tramp-get-connection-buffer'.
196 (tramp-cleanup): New defun.
197 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
198 (tramp-file-name-handler): If `debug-on-error' is set, propagate
199 an error unchanged.
200 (tramp-completion-handle-file-name-all-completions): Handle hops.
201 Fix an error when called from ido.
202 (tramp-completion-dissect-file-name): Use better local variable
203 name. Add hop to the vector.
204 (tramp-handle-insert-file-contents): Use progress-reporter for the
205 whole scenario.
206 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
207 to `t'.
208 (tramp-check-for-regexp): Simplify search.
209 (tramp-enter-password): Remove it. Move implementation ...
210 (tramp-action-password): ... here.
211 (tramp-mode-string-to-int, tramp-local-host-p)
212 (tramp-make-tramp-temp-file, tramp-read-passwd)
213 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff): Set
214 tramp-autoload cookie.
215
216 * net/trampver.el: Update release number.
217
2182012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
219 Michael Albinus <michael.albinus@gmx.de>
220
221 * net/tramp.el (tramp-set-completion-function): Fix docstring.
222 (tramp-parse-group, tramp-parse-file)
223 (tramp-parse-shostkeys-sknownhosts): New defuns.
224 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
225 (tramp-parse-shosts-group, tramp-parse-sconfig)
226 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
227 (tramp-parse-sknownhosts, tramp-parse-hosts)
228 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
229 Use them.
230 (tramp-parse-passwd-group, tramp-parse-netrc-group)
231 (tramp-parse-putty-group): Don't narrow.
232 (tramp-parse-putty): Make a loop.
233 (tramp-file-name-handler): Catch the `suppress' signal.
234
72834e10
CY
2352012-06-11 Chong Yidong <cyd@gnu.org>
236
237 * image.el (imagemagick-register-types): Put the ImageMagick entry
238 at the end of image-type-file-name-regexps.
239
a4712e11
JB
2402012-06-11 Johan Bockgård <bojohan@gnu.org>
241
242 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
243 (pcase, pcase-let*, pcase-dolist): Use them.
244
82ad98e3
SM
2452012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
246
247 * emacs-lisp/pcase.el (pcase--let*): New function.
248 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
249 (pcase--expand): Use macroexp-let².
250
f80efb86
SM
2512012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
254 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
255 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
256 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
257 * emacs-lisp/derived.el: Use pcase instead of `cl'.
258 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
259
31ca4639 2602012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 261
31ca4639
CY
262 * mail/rmail.el (rmail-yank-current-message): Leave point at
263 correct position. (Bug#11660)
94f0aa34 264
31ca4639 2652012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 266
31ca4639 267 * allout-widgets.el: Fix code header.
9e1b8ec4 268
31ca4639 2692012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 270
f80efb86
SM
271 * cus-edit.el (customize-changed-options-previous-release):
272 Bump to 24.1.
31ca4639 273
642b6d30
AS
2742012-06-09 Andreas Schwab <schwab@linux-m68k.org>
275
276 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
277
4f5d2ba1
CY
2782012-06-09 Chong Yidong <cyd@gnu.org>
279
280 * ebuff-menu.el (electric-buffer-list): Preserve header line.
281
e75852fd
MR
2822012-06-09 Martin Rudalics <rudalics@gmx.at>
283
284 * window.el (special-display-popup-frame): Don't use
285 window--display-buffer (Bug#11651).
286
1e48e282
EZ
2872012-06-09 Eli Zaretskii <eliz@gnu.org>
288
8a26b487
EZ
289 Fix parallel builds: make sure loaddefs.el is not being written
290 while Lisp files are compiled.
291 (compile): Don't depend on 'mh-autoloads'.
292 (compile-CMD, compile-SH): Depend on 'autoloads'.
293 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
294
1e48e282
EZ
295 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
296
6175e34b
CY
2972012-06-09 Chong Yidong <cyd@gnu.org>
298
299 * face-remap.el (face-remap-add-relative, face-remap-set-base)
300 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
301 Doc fixes (Bug#11225).
302
d9857e53
SM
3032012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
304
305 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
306 a function if there's a clear indication that it has a compiler-macro.
307 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
308 (macro-declarations-alist): Add arglist to declaration functions.
309 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
310 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
311 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
312 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
313 Also add autoload to find the compiler macro.
314 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
315 (cl--compiler-macro-member, cl--compiler-macro-assoc)
316 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
317 (cl--compiler-macro-get): New functions, replacing calls to
318 cl-define-compiler-macro.
319 (cl-typep) [compiler-macro]: Use macroexp-let².
320
f81298f8 3212012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
322
323 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
324 string properly, fixes Bug#11473.
325
4b56d0fe
CY
3262012-06-08 Chong Yidong <cyd@gnu.org>
327
328 * faces.el (set-face-attribute): Doc fix.
329 (modify-face): Don't use :bold and :italic.
330 (error, warning, success): Tweak definitions.
331
332 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
333 (custom-modified, custom-set, custom-changed, custom-themed)
334 (custom-saved, custom-button, custom-button-mouse)
335 (custom-button-pressed, custom-state, custom-comment-tag)
336 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
337 (custom-group-subtitle): Use new-style face specs.
338 (custom-invalid-face, custom-rogue-face, custom-modified-face)
339 (custom-set-face, custom-changed-face, custom-saved-face)
340 (custom-button-face, custom-button-pressed-face)
341 (custom-documentation-face, custom-state-face)
342 (custom-comment-face, custom-comment-tag-face)
343 (custom-variable-tag-face, custom-variable-button-face)
344 (custom-face-tag-face, custom-group-tag-face-1)
345 (custom-group-tag-face): Remove obsolete face alias.
346
347 * epa.el (epa-validity-high, epa-validity-medium)
348 (epa-validity-low, epa-mark, epa-field-name, epa-string)
349 (epa-field-name, epa-field-body):
350 * font-lock.el (font-lock-comment-face, font-lock-string-face)
351 (font-lock-keyword-face, font-lock-builtin-face)
352 (font-lock-function-name-face, font-lock-variable-name-face)
353 (font-lock-type-face, font-lock-constant-face):
354 * ido.el (ido-first-match, ido-only-match, ido-subdir)
355 (ido-virtual, ido-indicator, ido-incomplete-regexp):
356 * speedbar.el (speedbar-button-face, speedbar-file-face)
357 (speedbar-directory-face, speedbar-tag-face)
358 (speedbar-selected-face, speedbar-highlight-face)
359 (speedbar-separator-face):
360 * whitespace.el (whitespace-newline, whitespace-space)
361 (whitespace-hspace, whitespace-tab, whitespace-trailing)
362 (whitespace-line, whitespace-space-before-tab)
363 (whitespace-space-after-tab, whitespace-indentation)
364 (whitespace-empty):
365 * emulation/cua-base.el (cua-global-mark):
366 * eshell/em-prompt.el (eshell-prompt):
367 * net/newst-plainview.el (newsticker-new-item-face)
368 (newsticker-old-item-face, newsticker-immortal-item-face)
369 (newsticker-obsolete-item-face, newsticker-date-face)
370 (newsticker-statistics-face, newsticker-default-face):
371 * net/newst-reader.el (newsticker-feed-face)
372 (newsticker-extra-face, newsticker-enclosure-face):
373 * net/newst-treeview.el (newsticker-treeview-face)
374 (newsticker-treeview-new-face, newsticker-treeview-old-face)
375 (newsticker-treeview-immortal-face)
376 (newsticker-treeview-obsolete-face)
377 (newsticker-treeview-selection-face):
378 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
379 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
380 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
381 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
382 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
383 (nxml-outline-active-indicator, nxml-outline-ellipsis):
384 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
385 (mpuz-text):
386 * progmodes/vera-mode.el (vera-font-lock-number)
387 (vera-font-lock-function, vera-font-lock-interface):
388 * textmodes/table.el (table-cell): Use new-style face specs, and
389 don't use the old :bold and :italic attributes.
390
391 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
392 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
393 (ebrowse-member-class, ebrowse-progress): Likewise.
394 (ebrowse-tree-mark-face, ebrowse-root-class-face)
395 (ebrowse-file-name-face, ebrowse-default-face)
396 (ebrowse-member-attribute-face, ebrowse-member-class-face)
397 (ebrowse-progress-face): Remove obsolete faces.
398
399 * progmodes/flymake.el (flymake-errline, flymake-warnline):
400 Inherit from error and warning faces respectively.
401
402 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
403 Likewise.
f80efb86
SM
404 (flyspell-incorrect-face, flyspell-duplicate-face):
405 Remove obsolete aliases.
4b56d0fe 406
03310646
MA
4072012-06-08 Michael Albinus <michael.albinus@gmx.de>
408
409 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
410 Avoid infloop.
411
513749ee
SM
4122012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * startup.el (argv, argi): Make lexically scoped.
415 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
416 * emacs-lisp/cl-macs.el: Use lexical-binding.
417 Rename cl-bind-* to cl--bind-*.
418 * files.el: Don't require `cl' since it doesn't use it.
419 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
420
595ef4ad
JB
4212012-06-08 Juanma Barranquero <lekktu@gmail.com>
422
423 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
424 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
425 instead of calling external sort utility.
426 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
427
e9f66fcb
EZ
4282012-06-08 Eli Zaretskii <eliz@gnu.org>
429
430 * descr-text.el (describe-char): Mention how to insert the
431 character, if the current input method doesn't support it.
432 See the discussion in this thread for the details:
433 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
434
3d10db47
SS
4352012-06-08 Sam Steingold <sds@gnu.org>
436
437 * bindings.el (global-map): Bind XF86Forward to next-buffer and
438 XF86Back to previous-buffer.
439 (minibuffer-local-map): Bind them to next-history-element and
440 previous-history-element respectively.
441 * help-mode.el (help-mode-map): Bind them to help-go-forward and
442 help-go-back respectively.
443 * info.el (Info-mode-map): Bind them to Info-history-forward and
444 Info-history-back respectively.
445 These are the keys next to Up on the ThinkPad keyboard.
446
de7e2b36
SM
4472012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
450 * emacs-lisp/cl-macs.el: Provide itself.
451 (cl--labels-convert-cache): New var.
452 (cl--labels-convert): New function.
453 (cl-flet, cl-labels): New implementation with new semantics, relying on
454 lexical-binding.
455 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
456 (cl-closure-vars, cl--function-convert-cache)
457 (cl--function-convert): Move from cl-macs.el.
458 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
459 rename by removing the "cl-" prefix.
460 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
461
6fa6c4ae
SM
4622012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
465 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
466 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
467 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
468 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
469 (cl-hash-table-count): Add old compatibility aliases.
470
471 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
472 Use macroexpand-all-environment instead.
473 (cl--old-macroexpand): New var.
474 (cl--sm-macroexpand): New function.
475 (cl-symbol-macrolet): Use it during macro expansion.
476 (cl--function-convert-cache): New var.
477 (cl--function-convert): New function, extracted from
478 cl-macroexpand-all.
479 (cl-lexical-let): Use it.
480
481 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
482 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
483 (cl-member): Remove old alias.
484
485 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
486 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
487 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
488 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
489 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
490 (cl-macroexpand-cmacs): Remove var.
491 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
492 Use macroexpand-all instead.
493
4dd1c416
SM
4942012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
497 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
498 (macroexp-copyable-p): New functions and macros.
499 * emacs-lisp/edebug.el (edebug-unwrap):
500 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
501 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
502 (pcase--let*): Remove.
503 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
504 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
505 macroexp-const-p instead.
506 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
507
508 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
509 instead of "cl-" for internal definitions. Use macroexp-const-p.
510 (cl-old-bc-file-form): Remove var.
511 (cl-const-exprs-p): Remove fun.
512 (cl-labels, cl-macrolet): Use backquote.
513 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
514 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
515 (cl-define-setf-expander): Rename from cl-define-setf-method.
516 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
517
518 * international/mule-cmds.el: Don't require CL.
519 (view-hello-file): Don't use `letf'.
520
ed8bd4d7
SM
5212012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
522
7287f2f3
SM
523 * tmm.el (tmm-prompt): Use string-prefix-p.
524 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
525 (tmm-add-prompt): Use minibuffer-completion-help.
526 (tmm-delete-map): Remove.
527
ed8bd4d7
SM
528 * subr.el (kbd): Make it its own function.
529
7b4cdbf4
SM
5302012-06-07 Stefan Merten <smerten@oekonux.de>
531
532 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
533 Silence compiler warnings. Fix versions.
ed8bd4d7 534 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 535 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 536 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
537 (rst-package-emacs-version-alist): Correct Emacs version to
538 represent major merge with upstream.
ed8bd4d7 539 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 540
2b48d721
GM
5412012-06-06 Glenn Morris <rgm@gnu.org>
542
543 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
544 Only print environment variables if set.
545
fa779ab0
SM
5462012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
549 (macroexp--cons): Rename from maybe-cons.
550 (macroexp--accumulate): Rename from macroexp-accumulate.
551 (macroexp--all-forms): Rename from macroexpand-all-forms.
552 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
553 (macroexp--expand-all): Rename from macroexpand-all-1.
554
628299e0
SS
5552012-06-06 Sam Steingold <sds@gnu.org>
556
557 * calendar/calendar.el (calendar-in-read-only-buffer):
558 Call `special-mode' to enable the standard read-only keybindings.
559
b7bb5838
SM
5602012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
563 with "loading" messages (bug#11635).
564
dfb308ba
MA
5652012-06-06 Michael Albinus <michael.albinus@gmx.de>
566
567 * files.el (enable-remote-dir-locals): New option.
568 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
569
0372ee92
MA
570 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
571 Ensure, that the temp directory is local.
572
573 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
574 `temporary-file-directory'.
575
eed0bb91
MA
576 * progmodes/python.el (python-send-region): Ensure, that the
577 temporary file is created also in the remote case.
578
7a58f64d
GM
5792012-06-06 Glenn Morris <rgm@gnu.org>
580
f7dd4e98
GM
581 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
582 (vc-rcs-update-changelog): Use it.
583
276d5f5d
GM
584 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
585
7a58f64d
GM
586 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
587 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
588 (vc-sccs-diff): Replace use of the external vcdiff script.
589
daed4003
GM
5902012-06-05 Glenn Morris <rgm@gnu.org>
591
592 * ledit.el: Move to obsolete/.
593
48c455c7
SS
5942012-06-05 Sam Steingold <sds@gnu.org>
595
596 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
597 patch (Bug#11140).
598
57a7d507
SM
5992012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
600
d32926ff
SM
601 * emacs-list/cust-print.el: Move to obsolete.
602
53aacf21
SM
603 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
604 compiler-macro expansion.
605
57a7d507
SM
606 Add native compiler-macro support.
607 * emacs-lisp/macroexp.el (macroexpand-all-1):
608 Support compiler-macros directly. Properly follow aliases and apply
609 the compiler macros more thoroughly.
610 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
611 macroexpand now properly follows aliases.
612 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
613 (cl-compiler-macroexpand): Use new prop.
614 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
615
616 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
617
51a5f9d8
MR
6182012-06-05 Martin Rudalics <rudalics@gmx.at>
619
620 * window.el (get-lru-window, get-mru-window, get-largest-window):
621 New argument NOT-SELECTED to avoid picking the selected window.
622 (window--display-buffer-1, window--display-buffer-2): Replace by
623 new function window--display-buffer
624 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
625 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
626 Use window--display-buffer.
51a5f9d8
MR
627 (display-buffer-use-some-window): Remove temporary dedication
628 hack by calling get-lru-window and get-largest-window with
629 NOT-SELECTED argument non-nil. Call window--display-buffer.
630
08f9f738
GM
6312012-06-05 Glenn Morris <rgm@gnu.org>
632
633 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
634 Replace external vcdiff script.
635
e364a2b7
SM
6362012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
639
041df390
CY
6402012-06-04 Chong Yidong <cyd@gnu.org>
641
e364a2b7
SM
642 * image.el (imagemagick-types-inhibit): Revert last change.
643 Add INFO and M.
47b36b94 644 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 645
7c1898a7
SM
6462012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * emacs-lisp/cl-lib.el: Rename from cl.el.
649 * emacs-lisp/cl.el: New compatibility file.
650 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
651 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
652 to obey the "cl-" prefix.
653 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
654
0c3461de
GM
6552012-06-03 Glenn Morris <rgm@gnu.org>
656
1e266c88
GM
657 * emacs-lisp/authors.el (authors-aliases): Addition.
658
0c3461de
GM
659 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
660 Fix :version.
661
d8a52e15
SM
6622012-06-03 Stefan Merten <smerten@oekonux.de>
663
664 * textmodes/rst.el: Add comments.
665 (rst-transition, rst-adornment): New faces.
666 (rst-adornment-faces-alist): Make default safe to reevaluate.
667 Fixes
668 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
669 Improve customization tags.
670 (rst-define-level-faces): Clarify meaning.
671
5205d6f6
CY
6722012-06-03 Chong Yidong <cyd@gnu.org>
673
674 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
675 (compilation-mode-line-run, compilation-mode-line-exit):
676 New faces.
5205d6f6
CY
677 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
678
757ee657
JD
6792012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
680
7c1898a7
SM
681 * progmodes/which-func.el (which-func-update-ediff-windows):
682 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 683
5f2c76c6
CY
6842012-06-03 Chong Yidong <cyd@gnu.org>
685
686 * bindings.el: Remove explicit help text from format-mode-line.
687 It is now supplied by mode-line-default-help-echo.
688 (mode-line-front-space, mode-line-end-spaces)
689 (mode-line-misc-info): New variables.
690 (mode-line-modes, mode-line-position): Move the default value to
691 the variable definition.
692 (mode-line-default-help-echo): New defcustom.
383f7350
CY
693 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
694 (mode-line-modified-help-echo): New functions.
695 (mode-line-mule-info, mode-line-modified): Use them.
696 (mode-line-eol-desc, propertized-buffer-identification):
697 Consistency fixes for help text.
cbe46e5f
CY
698 (mode-line-coding-system-map): Allow using mouse-3 to invoke
699 set-buffer-file-coding-system (Bug#289).
700 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 701
f2d6a3df
SM
7022012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * simple.el (execute-extended-command): Set real-this-command
705 (bug#11506).
706
37269466
CY
7072012-06-02 Chong Yidong <cyd@gnu.org>
708
709 Remove incorrect uses of "modeline" in comments, docstrings, and
710 function/variable names (Bug#10329).
711
712 * cus-edit.el (mode-line):
713 * dframe.el (dframe-mouse-hscroll):
714 * emacs-lisp/re-builder.el:
715 * emacs-lisp/easy-mmode.el (define-minor-mode):
716 * frame.el (set-frame-name):
717 * help.el (lookup-minor-mode-from-indicator):
718 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
719 * progmodes/cc-cmds.el (c-toggle-auto-newline)
720 (c-toggle-hungry-state):
721 * progmodes/antlr-mode.el (antlr-language-alist):
722 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
723 * progmodes/vhdl-mode.el (vhdl-mode):
724 * progmodes/which-func.el (which-func, which-func-cleanup-function):
725 * term/ns-win.el (ns-face-at-pos):
726 * term/sup-mouse.el (sup-mouse-report):
727 * textmodes/flyspell.el (flyspell-mode-line-string):
728 * textmodes/ispell.el (ispell-highlight-face):
729 * textmodes/reftex-global.el:
730 * vc/vc-arch.el (vc-arch-mode-line-string):
731 * vc/vc-cvs.el (vc-cvs-mode-line-string):
732 * vc/vc-git.el (vc-git-mode-line-string):
733 * vc/vc-hooks.el (vc-display-status)
734 (vc-default-mode-line-string):
735 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
736
737 * ansi-color.el (ansi-color-faces-vector): Change default faces.
738
739 * dired.el (dired-sort-set-mode-line): Rename from
740 dired-sort-set-modeline. All callers changed.
741
742 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
743 eshell-status-in-modeline.
744
745 * foldout.el (foldout-mode-line-string): Rename from
746 foldout-modeline-string. All callers changed.
747 (foldout-update-mode-line): Rename from foldout-update-modeline.
748
749 * subr.el (redraw-modeline): Make into obsolete alias.
750
751 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
752 timeclock-modeline-display. Make old name an alias.
753 (timeclock-update-mode-line): Likewise. All callers changed.
754 (timeclock-mode-line-display): No need to check before using
755 add-hook.
756 (timeclock-relative, timeclock-day-over-hook)
757 (timeclock-use-elapsed, timeclock-mode-string)
758 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
759
760 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
761 crisp-mode-modeline-string.
762
763 * play/solitaire.el (solitaire-build-mode-line): Rename from
764 solitaire-build-modeline. All callers changed.
765
766 * play/zone.el (zone-hiding-mode-line): Rename from
767 zone-hiding-modeline. All callers changed.
768 (zone): Remove unusued `modeline-hidden-level' property.
769
770 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
771 xscheme-modeline-initialize. All callers changed.
772
773 * strokes.el (strokes-lighter): Rename from
774 strokes-modeline-string.
775
776 * textmodes/sgml-mode.el (html-face-tag-alist)
777 (html-tag-face-alist): Use mode-line face instead of obsolete
778 alias modeline.
779
42152ee4
SM
7802012-06-02 Stefan Merten <smerten@oekonux.de>
781
782 * textmodes/rst.el: Always require `cl'.
4cf9b38d 783 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 784
95f520b5
CY
7852012-06-02 Chong Yidong <cyd@gnu.org>
786
787 * image.el (imagemagick-enabled-types): Rename from
788 imagemagick-types-enable. Add many more types.
789 (imagemagick-types-inhibit): Change default to nil.
790 (imagemagick-filter-types): Caller changed.
791
4a5f187a
SM
7922012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
793
03fef3e6
SM
794 * emacs-lisp/cl-macs.el: Use backquotes.
795 (cl-transform-function-property): Use eval-and-compile rather than
796 abusing `require'.
797 (defstruct): Use declare-function instead of with-no-warnings.
798
4a5f187a
SM
799 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
800 (byte-compile-output-docform): Re-add the print-circle bindings.
801 (byte-compile-fix-header): Use #$ just because it's shorter.
802 (byte-compile-output-file-form): Remove defun/defmacro.
803
bd56924f
MR
8042012-06-01 Martin Rudalics <rudalics@gmx.at>
805
806 * simple.el (choose-completion): Remove now obsolete binding for
807 owindow.
808
046e38ce
MA
8092012-06-01 Michael Albinus <michael.albinus@gmx.de>
810
811 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
812 in order to avoid "Stack overflow in regexp matcher".
813
32d72c2f
GM
8142012-05-31 Glenn Morris <rgm@gnu.org>
815
816 * image.el: For clarity, call imagemagick-register-types at
817 top-level, rather than relying on a custom :initialize.
818 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
819 (imagemagick-filter-types): New function. (Bug#7406)
820 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
821 If disabling support, remove elements altogether rather
822 than using an impossible regexp.
823 (imagemagick-types-inhibit): Give it the default init function.
824
dd41169b
SM
8252012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
826
4a5f187a
SM
827 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
828 Handle arbitrary file name lengths (Bug#11585).
dd41169b 829
efc00ab1 8302012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
831
832 * desktop.el (desktop-read): Clear previous and next buffers for
833 all windows and bury *Messages* buffer (bug#11556).
834
500fcedc
SM
8352012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 Add `declare' for `defun'. Align `defmacro's with it.
838 * emacs-lisp/easy-mmode.el (define-minor-mode)
839 (define-globalized-minor-mode): Don't autoload the var definitions.
840 * emacs-lisp/byte-run.el: Use lexical-binding.
841 (defun-declarations-alist, macro-declarations-alist): New vars.
842 (defmacro, defun): Use them.
843 (make-obsolete, define-obsolete-function-alias)
844 (make-obsolete-variable, define-obsolete-variable-alias):
845 Use `declare'.
846 (macro-declaration-function): Mark obsolete.
847 * emacs-lisp/autoload.el: Use lexical-binding.
848 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
849
6e8a1786
AM
8502012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
851
852 * textmodes/ispell.el (ispell-with-no-warnings):
853 Define as a macro.
500fcedc
SM
854 (ispell-kill-ispell, ispell-change-dictionary):
855 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
856 `interactive-p'.
857
61b108cc
SM
8582012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
861 (macro-declaration-function): Move var from C code.
862 (macro-declaration-function): Define function with defalias.
863 * emacs-lisp/macroexp.el (macroexpand-all-1):
864 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
865 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
866 defun/defmacro any more.
867 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
868 Provide fallback for unknown arglist.
869 (byte-compile-arglist-warn): Change calling convention.
870 (byte-compile-output-file-form): Move print-vars binding.
871 (byte-compile-output-docform): Simplify accordingly.
872 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
873 (byte-compile-defmacro-declaration): Remove.
874 (byte-compile-file-form-defmumble): Generalize to defalias.
875 (byte-compile-output-as-comment): Return byte-positions.
876 Simplify callers accordingly.
877 (byte-compile-lambda): Use `assert'.
878 (byte-compile-defun, byte-compile-defmacro): Remove.
879 (byte-compile-file-form-defalias):
880 Use byte-compile-file-form-defmumble.
881 (byte-compile-defalias-warn): Remove.
882
6d3f7c2f
SM
8832012-05-29 Stefan Merten <smerten@oekonux.de>
884
885 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 886 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
887
888 (rst-mode-abbrev-table): Merge definition.
889 (rst-mode): Make sure `font-lock-defaults' is buffer local.
890 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
891
6dbaa1c7
UJ
8922012-05-29 Ulf Jasper <ulf.jasper@web.de>
893
894 * calendar/icalendar.el
895 (icalendar-export-region): Export UID properly.
896
8972012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
898 * calendar/icalendar.el (icalendar-import-format):
899 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
900 (icalendar-import-format-uid): New.
901 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
902 Export UID.
903
6876a58d
SM
9042012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
907 different alternative patterns.
908 (pcase-codegen): Be more careful to preserve identity.
909 (pcase--u1): Don't forget to mark vars as used.
910
911 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
912 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
913 (byte-compile-from-buffer): ...rather than here.
914
915 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
916 functions from byte-compile-function-environment.
917
46b7967e
TN
9182012-05-29 Troels Nielsen <bn.troels@gmail.com>
919
920 * window.el (window-deletable-p): Avoid deleting the root window
921 of a frame with an active minibuffer.
922
69d565e2
MR
9232012-05-29 Martin Rudalics <rudalics@gmx.at>
924
925 * simple.el (choose-completion): Use quit-window (Bug#11567).
926
a149fa51
CY
9272012-05-29 Chong Yidong <cyd@gnu.org>
928
929 * whitespace.el (whitespace-cleanup): Fix usage of
930 whitespace-empty-at-bob-regexp (Bug#11492).
931
2b311310
AH
9322012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
933
934 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
935 revert (Bug#11488).
936
b9cb2387
JL
9372012-05-29 Juri Linkov <juri@jurta.org>
938
939 * isearch.el (isearch-mode-map): Bind `M-s _' to
940 `isearch-toggle-symbol'. Bind `M-s c' to
941 `isearch-toggle-case-fold'.
942 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
943 (isearch-forward): Add `M-s _' to the docstring.
944 (isearch-forward-symbol, isearch-toggle-case-fold)
945 (isearch-symbol-regexp): New functions. (Bug#11381)
946
d5e61c1c
JL
9472012-05-29 Juri Linkov <juri@jurta.org>
948
949 * isearch.el (isearch-word): Add docstring. (Bug#11381)
950 (isearch-occur, isearch-search-and-update): If `isearch-word' is
951 a function, call it to get the regexp.
952 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
953 property `isearch-message-prefix' instead of the string "word ".
954 (isearch-search-fun-default): For the case of `isearch-word',
955 return a lambda that calls re-search-forward/re-search-backward
956 with a regexp returned by `word-search-regexp' or by the function
957 in `isearch-word'.
958
8cbd80f7
JL
9592012-05-29 Juri Linkov <juri@jurta.org>
960
961 * isearch.el (isearch-search-fun-default): New function.
962 (isearch-search-fun): Move default part to the new function
963 `isearch-search-fun-default'.
964 (isearch-search-fun-function): Set the default value to
965 `isearch-search-fun-default'. (Bug#11381)
966
967 * comint.el (comint-history-isearch-end):
968 Use `isearch-search-fun-default'.
969 (comint-history-isearch-search): Use `isearch-search-fun-default'
970 and remove spacial case for `isearch-word'.
971 (comint-history-isearch-wrap): Remove spacial case for
972 `isearch-word'.
973
974 * hexl.el (hexl-isearch-search-function):
975 Use `isearch-search-fun-default'.
976
977 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
978 Use `word-search-regexp' for `isearch-word'.
979
980 * misearch.el (multi-isearch-search-fun):
981 Use `isearch-search-fun-default'.
982
983 * simple.el (minibuffer-history-isearch-search):
984 Use `isearch-search-fun-default' and remove spacial case for
985 `isearch-word'.
986 (minibuffer-history-isearch-wrap): Remove spacial case for
987 `isearch-word'.
988
989 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
990 Remove spacial case for `isearch-word'.
991 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
992
85c8c5b6
AM
9932012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
994
995 Decrease XEmacs incompatibilities.
996 * textmodes/flyspell.el (flyspell-check-pre-word-p):
997 Use `string-match'.
998 (flyspell-delete-region-overlays): Use alternative definition for
999 XEmacs.
1000 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1001 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1002 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1003 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1004 `define-obsolete-face-alias' under XEmacs, but old method.
1005
1006 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1007 `with-no-warnings' definition or Emacs alias.
1008 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1009 (ispell-word): Do not use `region-p' if XEmacs.
1010
8cab9efc
AM
10112012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1012
1013 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1014 Check for `ispell-dictionary-base-alist' instead of full
1015 `ispell-dictionary-alist'.
1016 (ispell-init-process): Show spellchecker when starting new Ispell
1017 process.
1018
fda91268
RZ
10192012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1022 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1023
694ea8e3
JB
10242012-05-27 Juanma Barranquero <lekktu@gmail.com>
1025
1026 * version.el (motif-version-string, gtk-version-string)
1027 (ns-version-string): Declare.
1028
e4d4f539
JL
10292012-05-27 Juri Linkov <juri@jurta.org>
1030
1031 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1032 after the `eval-defun-1' specialcaseing
1033 like in `edebug-eval-defun' (bug#10181).
1034
1035 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1036 like in `eval-defun-1'.
1037
33017faf 10382012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1039
fda91268
RZ
1040 * mail/sendmail.el (mail-yank-region):
1041 Recognize rmail-yank-current-message in addition to insert-buffer.
1042 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1043 a *mail* buffer created through rmail-start-mail with sendmail as
1044 mail-user-agent.
1045
33017faf
GM
10462012-05-27 Chong Yidong <cyd@gnu.org>
1047
1048 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1049 Default to 256 (Bug#11267).
1050
1051 * help.el (describe-mode): Doc fix.
1052
04188bb9
GM
10532012-05-26 Glenn Morris <rgm@gnu.org>
1054
38264cc9
GM
1055 * w32-fns.el (w32-init-info): Remove.
1056 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1057
eb7afdad
GM
1058 * info.el (info-initialize): For self-contained NS builds, put the
1059 included info/ directory at the front. (Bug#2791)
1060
04188bb9
GM
1061 * paths.el (Info-default-directory-list): Make it a defcustom,
1062 mainly so that we can use custom-initialize-delay.
1063
a179e3f7
SM
10642012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1065
43416392
SM
1066 * subr.el (buffer-has-markers-at): Mark obsolete.
1067
a179e3f7 1068 * subr.el (lambda): Use declare.
43416392 1069
a179e3f7
SM
1070 * emacs-lisp/lisp-mode.el (lambda):
1071 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1072
34a008d9
AH
10732012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1074
1075 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1076
0a3b289f
GM
10772012-05-26 Glenn Morris <rgm@gnu.org>
1078
1079 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1080
758c81e8
GM
10812012-05-25 Glenn Morris <rgm@gnu.org>
1082
f9f334f0
GM
1083 * paths.el: Remove no-byte-compile.
1084 * loadup.el: No need to load paths.el uncompiled.
1085
87eb79c2
GM
1086 * image.el (imagemagick-types-inhibit): Doc fix.
1087
758c81e8
GM
1088 * version.el: Remove no-byte-compile and associated formatting.
1089 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1090 is ancient code from when there was an "inc-vers.el".
1091
e7e85dc0
SM
10922012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * progmodes/gdb-mi.el: Minor style changes.
1095 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1096 Turn into minor modes.
1097 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1098 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1099 (gdb-shell): Remove unneeded let-binding.
1100 (gdb-get-many-fields): Eliminate O(n²) behavior.
1101
f31237a4
EZ
11022012-05-25 Eli Zaretskii <eliz@gnu.org>
1103
1104 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1105 platforms that don't link in fontset.c.
1106
bc1b21bb
JL
11072012-05-25 Juri Linkov <juri@jurta.org>
1108
1109 Use the same diff color scheme as in modern VCSes (bug#10181).
1110
1111 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1112 to avoid confusion with `diff-added' that now uses green colors.
1113 (diff-removed): Use shades of red.
1114 (diff-added): Use shades of green.
1115 (diff-changed): Leave just the yellow color.
1116 (diff-use-changed-face): New variable.
1117 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1118 how to highlight context diff changes.
1119 (diff-refine-change): Use shades of yellow.
1120 (diff-refine-removed): New face that uses shades of red.
1121 (diff-refine-added): New face that uses shades of green.
1122 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1123 `diff-refine-removed' in the call to `smerge-refine-subst'
1124 depending on the value of `diff-use-changed-face'.
1125
1126 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1127 (smerge-other): Use shades of green.
1128 (smerge-base): Use shades of yellow.
1129 (smerge-refined-change): Empty face.
1130 (smerge-refined-removed): New face that uses shades of red.
1131 (smerge-refined-added): New face that uses shades of green.
1132 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1133 args `props-r' and `props-a', and use them. Doc fix.
1134 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1135 on its value use different faces `smerge-refined-change',
1136 `smerge-refined-removed', `smerge-refined-added' in the call to
1137 `smerge-refine-subst'.
1138
1139 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1140 Add face condition `min-colors 88' with shades of red.
1141 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1142 `min-colors 88' with shades of green.
1143 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1144 `min-colors 88' with shades of yellow.
1145
6df9112c
GM
11462012-05-24 Glenn Morris <rgm@gnu.org>
1147
ead5edc0
GM
1148 * paths.el (prune-directory-list, remote-shell-program): Move to...
1149 * files.el (prune-directory-list, remote-shell-program): ...here.
1150 For the latter, delay initialization, prefer ssh, just search PATH.
1151
f18b81e6
GM
1152 * paths.el (term-file-prefix): Move to faces.el (the only user).
1153 * faces.el (term-file-prefix): Move here, make it a defcustom.
1154
ee2f89a6
GM
1155 * paths.el (news-directory, news-path, news-inews-program):
1156 Move to gnus/nnspool.el.
61a583ca 1157
f8815e4c
GM
1158 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1159
c8f3b42c
GM
1160 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1161 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1162 Make the latter a defcustom, with a delayed initialization.
1163
6df9112c
GM
1164 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1165 These were deleted from Gnus itself late 2010.
1166
5dadff36
JB
11672012-05-22 Juanma Barranquero <lekktu@gmail.com>
1168
9e1701c6
JB
1169 * progmodes/which-func.el (which-func-ff-hook):
1170 Check against user-error, not error.
1171
bd7239f5 1172 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1173 cl-specs.el, which no longer exists.
1174
3290526d
GM
11752012-05-22 Glenn Morris <rgm@gnu.org>
1176
1177 * info.el (info-emacs-bug): New command.
1178 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1179 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1180
ff0c3cfb
GM
11812012-05-21 Glenn Morris <rgm@gnu.org>
1182
1183 * makefile.w32-in (update-subdirs-SH):
1184 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1185
5814f126
SM
11862012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1187
a52c0aa0
SM
1188 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1189
5814f126
SM
1190 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1191 Simplify Maven regexp, and make sure the file can't start with a space
1192 (bug#11517).
1193
b847032c
GM
11942012-05-21 Glenn Morris <rgm@gnu.org>
1195
1196 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1197 Scrap superfluous subshells.
1198
3858bfe7
SM
11992012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1200
1201 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1202 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1203
d14b0029
JB
12042012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1205
1206 * calc/calc.el (calc-ensure-consistent-units): New variable.
1207
a52c0aa0
SM
1208 * calc/calc-units.el (math-consistent-units-p)
1209 (math-check-unit-consistency): New functions.
1210 (calc-quick-units, calc-convert-units):
1211 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1212 is non-nil.
d14b0029
JB
1213 (calc-extract-units): Fix typo.
1214
60c4db3a
SM
12152012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1216
77f3b62e
SM
1217 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1218
60c4db3a
SM
1219 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1220 (flyspell-default-deplacement-commands): Don't spell check after
1221 repeated window/frame switches (e.g. triggered by mouse-movement).
1222 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1223 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1224 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1225 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1226 Remove unused vars.
1227 (flyspell-get-casechars, flyspell-get-not-casechars):
1228 Simplify; Don't bother removing a ] just to add it back.
1229 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1230
b1a10716
RS
12312012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1232
1233 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1234 New functions.
bd7239f5 1235 (math-function-table): Add support for more C functions.
b1a10716 1236
3f1b25b5
AM
12372012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1238
1239 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1240 (flyspell-debug-signal-word-checked): Protect delay handling for
1241 otherchars against empty otherchars.
1242
b581bb5c
SM
12432012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1244
1245 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1246 their respective macro declarations.
1247 * skeleton.el (define-skeleton):
1248 * progmodes/compile.el (define-compilation-mode):
1249 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1250 (define-ibuffer-filter):
1251 * emacs-lisp/generic.el (define-generic-mode):
1252 * emacs-lisp/easy-mmode.el (define-minor-mode)
1253 (define-globalized-minor-mode):
1254 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1255 * emacs-lisp/byte-run.el (defsubst):
1256 * custom.el (deftheme): Add doc-string metadata.
1257
70b8ef8f
SM
12582012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1259
1260 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1261
b1198e17
SM
12622012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1263
9abdc45d
SM
1264 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1265
b1198e17
SM
1266 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1267 * emacs-lisp/cl-macs.el: Idem.
1268 * emacs-lisp/cl-specs.el: Remove.
1269
4735906a
SM
12702012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1271
1272 Minor renaming of internal CL functions and variables.
1273 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1274 (cl--position): Rename from cl-position.
1275 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1276 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1277 (cl--random-state): Rename from *random-state*.
1278
ac348012
SM
12792012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1282 parens around the arg list (bug#11499).
1283
a0a79cde
JL
12842012-05-17 Juri Linkov <juri@jurta.org>
1285
1286 * isearch.el (word-search-regexp, word-search-backward)
1287 (word-search-forward, word-search-backward-lax)
1288 (word-search-forward-lax): Move functions from search.c
1289 (bug#10145, bug#11381).
1290
65034a51
AM
12912012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1292
1293 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1294 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1295 normal word components.
1296
1a72a195
SM
12972012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * minibuffer.el (completion--sifn-requote): Fix last change.
1300 (minibuffer-local-must-match-filename-map):
1301 Move define-obsolete-variable-alias before its var.
1302
fdb058c2
SM
13032012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1304
c41045e6
SM
1305 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1306
036dfb8b
SM
1307 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1308 behavior.
1309 (completion--string-equal-p): New function.
1310 (completion--twq-all): Use it to get better assertion failure data.
1311
2473256d
SM
1312 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1313 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1314 (shell--requote-argument): New functions.
1315 (shell-completion-vars): Use them.
1316 (shell--parse-pcomplete-arguments): Rename from
1317 shell-parse-pcomplete-arguments.
1318 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1319 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1320 Obey comint-file-name-quote-list.
1321
fdb058c2
SM
1322 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1323 (smie-indent-keyword): Use it.
1324
51fa99f1
SM
13252012-05-14 Stefan Merten <smerten@oekonux.de>
1326
1327 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1328
e18afed7 13292012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1330
1331 * net/rlogin.el (rlogin-mode-map): Fix last change.
1332
e18afed7 13332012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1334
1335 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1336 the following \r\n using a single `process-send-string', since the
1337 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1338 with two `process-send-string's (Bug#11444).
8633b1f4 1339
e18afed7 13402012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1341
fdb058c2
SM
1342 * shell.el (shell-parse-pcomplete-arguments):
1343 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1344
2d21d7f6
WJ
13452012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1346
e18afed7 1347 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1348 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1349 (image-transform-width, image-transform-fit-width): New functions.
1350 (image-transform-properties): Use them.
1351 (image-transform-check-size): New function.
1352 (image-toggle-display-image): Use it (for testing).
1353 (image-transform-set-rotation): Reduce angle mod 360.
1354 Delete obsolete comment.
1355
7102e6d0
WJ
13562012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1357
1358 * image-mode.el: Fix scaling (bug#11399).
1359 (image-transform-resize): Doc fix.
1360 (image-transform-properties): Default scale is 1 and height should
1361 be an integer.
1362
06bc5e6e
SM
13632012-05-13 Johan Bockgård <bojohan@gnu.org>
1364
1365 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1366 than hard-coding `car', to fix misbehavior when moving forward.
1367
0ae03b6a
CY
13682012-05-13 Chong Yidong <cyd@gnu.org>
1369
1370 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1371 (tabulated-list-entries, tabulated-list-padding)
1372 (tabulated-list-sort-key): Make permanent-local.
1373
1374 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1375 (electric-buffer-list): Put electric buffer menu
1376 command descriptions in this docstring, instead of the docstring
1377 of electric-buffer-menu-mode. Code cleanups.
1378 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1379 Electric-buffer-menu-mode.
1380 (electric-buffer-update-highlight): Minor code cleanup.
1381
205a7391
MA
13822012-05-13 Michael Albinus <michael.albinus@gmx.de>
1383
1384 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1385 (Bug#11447)
1386
e5bd0a28
SM
13872012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1388
1389 Move define-obsolete-variable-alias before the var's definition.
1390 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1391 * tooltip.el (tooltip-hook):
1392 * textmodes/reftex-toc.el (reftex-toc-map):
1393 * textmodes/reftex-sel.el (reftex-select-label-map)
1394 (reftex-select-bib-map):
1395 * textmodes/reftex-index.el (reftex-index-map)
1396 (reftex-index-phrases-map):
1397 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1398 * progmodes/meta-mode.el (meta-mode-map):
1399 * novice.el (disabled-command-hook):
1400 * loadhist.el (unload-hook-features-list):
1401 * frame.el (blink-cursor):
1402 * files.el (find-file-not-found-hooks, write-file-hooks)
1403 (write-contents-hooks):
1404 * emulation/tpu-edt.el (GOLD-map):
1405 * emacs-lock.el (emacs-lock-from-exiting):
1406 * emacs-lisp/generic.el (generic-font-lock-defaults):
1407 * emacs-lisp/chart.el (chart-map):
1408 * dos-fns.el (register-name-alist):
1409 * dired-x.el (dired-omit-files-p):
1410 * desktop.el (desktop-enable):
1411 * cus-edit.el (custom-mode-hook):
1412 * buff-menu.el (buffer-menu-mode-hook):
1413 * bookmark.el (bookmark-read-annotation-text-func)
1414 (bookmark-exit-hooks):
1415 * allout.el (allout-mode-deactivate-hook)
1416 (allout-exposure-change-hook, allout-structure-added-hook)
1417 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1418 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1419 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1420 comes before the corresponding variable's definition.
1421
ac59c2f6
CY
14222012-05-12 Chong Yidong <cyd@gnu.org>
1423
1424 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1425 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1426 (Buffer-menu-mode-map): Bind it.
1427 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1428
dee6c9a3
SM
14292012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1430
2171cea5
SM
1431 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1432 (prolog-upper-case-string, prolog-lower-case-string)
1433 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1434 (prolog-use-smie, prolog-smie-grammar): New vars.
1435 (prolog-smie-forward-token, prolog-smie-backward-token)
1436 (prolog-smie-rules): New funs.
1437 (prolog-comment-indent): Remove.
1438 (prolog-mode-variables): Use default comment indentation instead.
1439 Setup SMIE.
1440 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1441 (prolog-mode): Don't call them any more.
1442 (prolog-electric-colon, prolog-electric-dash)
1443 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1444
aa0382bd
SM
1445 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1446
dbacb4bd
SM
1447 * minibuffer.el (completion--twq-all): Again, allow case differences.
1448
13bdd94c
SM
1449 * term.el: Move keymap initialization code to be more idiomatic.
1450 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1451 (term-terminal-menu): Move initialization into declaration.
1452 (term-escape-char): Let the user set it in her .emacs.
1453
ff46c759
SM
1454 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1455 Provide SMIE-based indentation (not enabled by default yet).
1456 (sh-mode-map): Don't bind electric keys.
1457 Use electric-pair-mode instead of skeleton-pair.
1458 (sh-assignment-regexp): Fit within 80 columns.
1459 (sh-indent-supported): Specify actual shell name instead of boolean.
1460 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1461 (sh-maybe-here-document): Use it. Make obsolete.
1462 (sh-electric-here-document-mode) New minor mode.
1463 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1464 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1465 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1466 (sh-smie-rc-grammar, sh-use-smie): New vars.
1467 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1468 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1469 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1470 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1471 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1472 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1473 (sh-set-shell): Use smie-setup if requested.
1474
dee6c9a3
SM
1475 * term.el (term-set-escape-char): Properly set term-escape-char.
1476 See http://stackoverflow.com/questions/10524656.
1477
9f9aa044
CY
14782012-05-10 Chong Yidong <cyd@gnu.org>
1479
1480 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1481 Use url-generic-parse-url, and handle host names and Windows
1482 filenames properly.
1483 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1484 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1485 URL schemes to work on.
1486 (ffap--toggle-read-only): New function.
1487 (ffap-read-only, ffap-read-only-other-window)
1488 (ffap-read-only-other-frame): Use it.
1489 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1490 necessary for ffap-url-unwrap-remote.
1491
836d29b3
DA
14922012-05-10 Dave Abrahams <dave@boostpro.com>
1493
1494 * cus-start.el (create-lockfiles): Add it.
1495
00fd78ed
CY
14962012-05-09 Chong Yidong <cyd@gnu.org>
1497
1498 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1499 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1500
666b903b 15012012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1502
1503 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1504
666b903b 15052012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1506
1507 * ansi-color.el (ansi-color-process-output): Check for validity of
1508 comint-last-output-start before using it. This avoids a bad
1509 interaction with gdb-mi's input/output buffer.
1510
666b903b 15112012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1512
1513 * files.el (dir-locals-read-from-file):
1514 Mention dir-locals in any error message.
1515
666b903b 15162012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1517
1518 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1519 package (Bug#11410).
1520
f677562b
CY
1521 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1522 variables into description.
1523
666b903b 15242012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1525
1526 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1527 shell-delimiter-argument-list (bug#11348).
1528 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1529
b499d8d0
JB
15302012-05-09 Juanma Barranquero <lekktu@gmail.com>
1531
8f6b6da8
JB
1532 * textmodes/rst.el: Silence byte-compiler warnings.
1533 (rst-re-alist, rst-reset-section-caches): Move around.
1534 (rst-re): Use `characterp', not `char-valid-p'.
1535 (font-lock-beg, font-lock-end): Declare.
1536
4824146a
JB
1537 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1538 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1539
b499d8d0
JB
1540 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1541
ad89bb83
GM
15422012-05-08 Glenn Morris <rgm@gnu.org>
1543
1544 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1545
8bba5a75
SM
15462012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1547
49ed9c8e
SM
1548 * vc/log-edit.el: Add GNU coding standards highlighting.
1549 (log-edit-font-lock-gnu-style)
1550 (log-edit-font-lock-gnu-keywords): New vars.
1551 (log-edit-font-lock-keywords): New fun.
1552 (log-edit-mode): Don't fold case in font-lock.
1553 (log-edit-font-lock-keywords): Do not assume case-folding.
1554
07d00b56
SM
1555 * imenu.el: Misc cleanup. Make docstrings out of comments.
1556 Use lexical-binding.
1557 (imenu--index-alist, imenu--last-menubar-index-alist)
1558 (imenu-menubar-modified-tick): Use defvar-local.
1559 (imenu--split-menu): Remove unused var.
1560 (imenu--cleanup-seen): Declare as global.
1561 (imenu--cleanup): Use dolist.
1562
8bba5a75
SM
1563 * subr.el (defvar-local): Add debug spec and doc-string position.
1564
5075bdb5
GM
15652012-05-08 Glenn Morris <rgm@gnu.org>
1566
c052c904
GM
1567 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1568 * language/english.el, language/georgian.el, language/greek.el:
1569 * language/japanese.el, language/khmer.el, language/korean.el:
1570 * language/lao.el, language/misc-lang.el, language/romanian.el:
1571 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1572 * language/thai.el, language/utf-8-lang.el:
1573 Remove no-byte-compile setting.
1574
5075bdb5
GM
1575 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1576
06f679a7
AH
15772012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1578
1579 * progmodes/make-mode.el (makefile-browse):
1580 Remove unnecessary interactive. (Bug#11324)
1581
03794570
GM
15822012-05-07 Glenn Morris <rgm@gnu.org>
1583
af8630f4
GM
1584 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1585
03794570
GM
1586 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1587
f0809a9d
SM
15882012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1589
28be5ce7
SM
1590 * loadup.el: Preload newcomment.el.
1591 * newcomment.el: Move autoload-only code to toplevel.
1592
f0809a9d
SM
1593 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1594 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1595 Handle new :right-align column property.
1596 (tabulated-list-print-col): Idem, plus use `display' text-property to
1597 try and preserve alignment for variable pitch fonts.
1598
1241b724
CY
15992012-05-07 Chong Yidong <cyd@gnu.org>
1600
1601 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1602 (tabulated-list-use-header-line): New var.
1603 (tabulated-list-init-header): Use it.
1604 (tabulated-list-print-fake-header): New function.
1605 (tabulated-list-print): Use it.
1606 (tabulated-list-sort-button-map): Add non-header-line commands.
1607 (tabulated-list-init-header): Add column name property to basic
1608 labels as well.
1609 (tabulated-list-col-sort): Handle non-header-line button case.
1610 (tabulated-list--sort-by-column-name): Fix a corner case.
1611
f0809a9d
SM
1612 * buff-menu.el (list-buffers--refresh):
1613 Handle Buffer-menu-use-header-line.
1241b724 1614
e5f9458f
CY
16152012-05-06 Chong Yidong <cyd@gnu.org>
1616
1617 * buff-menu.el: Convert to Tabulated List mode.
1618 (Buffer-menu-buffer+size-width): Make obsolete.
1619 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1620 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1621 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1622 documentation into docstring of buffer-menu.
1623 (Buffer-menu-toggle-files-only): Add an informative message.
1624 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1625 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1626 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1627 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1628 (Buffer-menu-execute, Buffer-menu-select)
1629 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1630 (Buffer-menu-bury): Use Tabulated List machinery.
1631 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1632 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1633 Delete.
e5f9458f
CY
1634 (list-buffers--refresh): New function.
1635 (list-buffers-noselect): Use it.
1636 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1637 (Buffer-menu--pretty-file-name): New helper functions.
1638
1639 * loadup.el: Preload tabulated-list.
1640
1641 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1642 tabulated-list-sort-column.
1643 (tabulated-list-init-header): Add the initial aligning space even
1644 if tabulated-list-padding is zero.
1645
e129292c
CS
16462012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1647
1648 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1649 whose cdr is not a cons cell correctly (bug#11038).
1650
6632d361
CY
16512012-05-06 Chong Yidong <cyd@gnu.org>
1652
e129292c
CS
1653 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1654 Accept additional plist in column descriptors.
6632d361
CY
1655 (tabulated-list-init-header): Obey it.
1656 (tabulated-list-get-entry): New function.
1657 (tabulated-list-put-tag): Use it. Use string-width instead of
1658 length.
1659 (tabulated-list--column-number): New function.
1660 (tabulated-list-print): Use it.
e129292c
CS
1661 (tabulated-list-print-col): New function.
1662 Set `tabulated-list-column-name' property on each column's text.
6632d361 1663 (tabulated-list-print-entry): Use it.
e129292c
CS
1664 (tabulated-list-delete-entry, tabulated-list-set-col):
1665 New functions.
6632d361
CY
1666 (tabulated-list-sort-column): New command (Bug#11337).
1667
3cc99f68
CY
1668 * buff-menu.el (list-buffers): Move C-x C-b binding from
1669 buff-menu.el to bindings.el.
1670
1671 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1672 :advertised-binding feature.
1673
52b61776
TN
16742012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1675
1676 * progmodes/compile.el (compilation-internal-error-properties):
1677 Calculate start position correctly when end-col is set but
1678 end-line is not (Bug#11382).
1679
ebfe2597
WJ
16802012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1681
1682 * man.el (Man-unindent): Use text-property-default-nonsticky to
1683 prevent untabify from inheriting face properties (Bug#11408).
1684
6d3f7c2f
SM
16852012-05-05 Stefan Merten <smerten@oekonux.de>
1686
1687 * textmodes/rst.el: Major merge with upstream development up to
1688 Docutils SVN r7399 / rst.el V1.2.1.
1689
1690 Clarify maintainership and authors.
1691
1692 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1693 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1694 (rst-official-version, rst-official-cvs-rev, rst-version)
1695 (rst-package-emacs-version-alist): New functions and variables
1696 for version information.
1697
1698 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1699 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1700 (rst-mode-syntax-table, rst-mode): New and corrected functions
1701 and variables representing reStructuredText features.
1702
1703 (rst-re): New function for reStructuredText regexes. Use in
1704 many places.
1705
1706 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1707 (rst-mode-map): Rebind keys.
1708
1709 (rst-mode-lazy, rst-font-lock-keywords)
1710 (rst-font-lock-extend-region)
1711 (rst-font-lock-extend-region-internal)
1712 (rst-font-lock-extend-region-extend)
1713 (rst-font-lock-find-unindented-line-limit)
1714 (rst-font-lock-find-unindented-line-match)
1715 (rst-adornment-level, rst-font-lock-adornment-level)
1716 (rst-font-lock-adornment-match)
1717 (rst-font-lock-handle-adornment-pre-match-form)
1718 (rst-font-lock-handle-adornment-matcher): Major revision of
1719 font-locking. Integrate with other code. Use `jit-lock-mode'.
1720
1721 (rst-preferred-adornments, rst-adjust-hook)
1722 (rst-new-adornment-down, rst-preferred-bullets)
1723 (rst-preferred-bullets, rst-indent, rst-indent-width)
1724 (rst-indent-field, rst-indent-literal-normal)
1725 (rst-indent-literal-minimized, rst-indent-comment): Change,
1726 extend and improve customization.
1727
1728 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1729 (rst-normalize-cursor-position, rst-get-decoration)
1730 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1731 (rst-rstrip, rst-toc-insert-find-delete-contents)
1732 (rst-shift-fill-region, rst-compute-bullet-tabs)
1733 (rst-debug-print-tabs, rst-debug-mark-found)
1734 (rst-shift-region-guts, rst-shift-region-right)
1735 (rst-shift-region-left, rst-use-char-classes)
1736 (rst-font-lock-keywords-function)
1737 (rst-font-lock-indentation-point)
1738 (rst-font-lock-find-unindented-line-begin)
1739 (rst-font-lock-find-unindented-line-end)
1740 (rst-font-lock-find-unindented-line)
1741 (rst-font-lock-adornment-point, rst-font-lock-level)
1742 (rst-adornment-level-alist): Remove functions and variables.
1743
1744 (rst-compare-adornments, rst-get-adornment-match)
1745 (rst-suggest-new-adornment, rst-get-adornments-around)
1746 (rst-adornment-complete-p, rst-get-next-adornment)
1747 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1748 (rst-straighten-adornments): Standardize function names to
1749 use "adornment" instead of "decoration". Correct callers.
1750 Similar standardizing in many places.
1751
1752 (rst-update-section, rst-adjust, rst-promote-region)
1753 (rst-enumerate-region, rst-bullet-list-region)
1754 (rst-repeat-last-character): Correct use of `interactive'.
1755
1756 (rst-classify-adornment, rst-find-all-adornments)
1757 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1758 (rst-find-leftmost-column, rst-repeat-last-character):
1759 Refactor functions.
1760
1761 (rst-find-title-line, rst-reset-section-caches)
1762 (rst-get-adornments-around, rst-adjust-adornment-work)
1763 (rst-arabic-to-roman, rst-roman-to-arabic)
1764 (rst-insert-list-pos, rst-insert-list-new-item)
1765 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1766 New functions.
1767
1768 (rst-all-sections, rst-section-hierarchy)
1769 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1770 New variables.
1771
1772 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1773 configuration instead of only buffer. Change where necessary.
1774
1775 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1776 (rst-shift-region, rst-adaptive-fill): New functions for
1777 indentation and filling.
1778
1779 (rst-comment-line-break, rst-comment-indent)
1780 (rst-comment-insert-comment, rst-comment-region)
1781 (rst-uncomment-region): New functions for handling comments.
1782
1783 (rst-compile): Quote shell arguments.
1784
1785 (rst-compile-pdf-preview, rst-compile-slides-preview):
1786 Delete temporary files after use.
1787
a43f98b3
GM
17882012-05-05 Glenn Morris <rgm@gnu.org>
1789
48176e8b
GM
1790 * calendar/cal-html.el: Optionally include holidays in the output.
1791 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1792 (cal-html-holidays): New option.
1793 (cal-html-css-default): Add holiday entry.
1794 (holiday-in-range): Autoload it.
1795 (cal-html-htmlify-entry): Add optional class argument.
1796 (cal-html-htmlify-list): Add optional holidays argument.
1797 (cal-html-insert-agenda-days): Include holidays in the output.
1798 (cal-html-one-month): Maybe include holidays.
1799
a43f98b3
GM
1800 * calendar/holidays.el (holiday-in-range):
1801 Move here from cal-tex-list-holidays.
1802 * calendar/cal-tex.el (cal-tex-list-holidays):
1803 Make it an obsolete alias for holiday-in-range. Update all callers.
1804
fef9d149 18052012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1806
1807 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1808 Nextstep.
1809
248da2f4
RW
18102012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1811
1812 * files.el (file-auto-mode-skip): New var.
1813 (set-auto-mode-1): Use it.
1814
f95e9344
SM
18152012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1816
df96ab1e
SM
1817 * repeat.el: Use lexical-binding.
1818 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1819 (repeat-undo-count): Remove.
1820 (repeat):
1821 * progmodes/octave-mod.el (octave-abbrev-start):
1822 * progmodes/f90.el (f90-abbrev-start):
1823 * face-remap.el (text-scale-adjust):
1824 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1825
5342bb06
SM
1826 * emacs-lisp/pcase.el (pcase--let*): New function.
1827 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1828 a bit more.
1829 (pcase--split-pred): Be more clever about ruling out overlap between
1830 a predicate and some constant pattern.
1831 (pcase--q1): Use `null' instead of (eq foo nil).
1832
f95e9344
SM
1833 * subr.el (setq-local, defvar-local): New macros.
1834 (kbd): Redefine as an alias.
1835 (with-selected-window): Leave unrelated frames alone.
1836 (set-temporary-overlay-map): New function.
1837
71873e2b
SM
18382012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * subr.el (user-error): New function.
1841 * window.el (switch-to-buffer):
1842 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1843 (smerge-match-conflict):
1844 * simple.el (previous-matching-history-element)
1845 (next-matching-history-element, goto-history-element, undo-more)
1846 (undo-start):
1847 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1848 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1849 (next-file, tags-loop-scan, list-tags, complete-tag):
1850 * progmodes/compile.el (compilation-loop):
1851 * mouse.el (mouse-minibuffer-check):
1852 * man.el (Man-bgproc-sentinel, Man-goto-page):
1853 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1854 (Info-history-forward, Info-follow-reference, Info-menu)
1855 (Info-extract-menu-item, Info-extract-menu-counting)
1856 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1857 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1858 (Info-next-reference, Info-prev-reference, Info-index)
1859 (Info-index-next, Info-follow-nearest-node)
1860 (Info-copy-current-node-name):
1861 * imenu.el (imenu--make-index-alist)
1862 (imenu-default-create-index-function, imenu-add-to-menubar):
1863 * files.el (basic-save-buffer, recover-file):
1864 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1865 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1866 (checkdoc-message-text, checkdoc-defun):
1867 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1868 * cus-edit.el (customize-changed-options, customize-rogue)
1869 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1870 (custom-variable-mark-to-reset-standard)
1871 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1872 (custom-file):
1873 * completion.el (check-completion-length):
1874 * comint.el (comint-search-arg)
1875 (comint-previous-matching-input-string-position)
1876 (comint-previous-matching-input)
1877 (comint-replace-by-expanded-history-before-point, comint-send-input)
1878 (comint-copy-old-input, comint-backward-matching-input)
1879 (comint-goto-process-mark, comint-set-process-mark):
1880 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1881 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1882
8a61ee22
SM
18832012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1884
66408d1e
SM
1885 * dabbrev.el (dabbrev--ignore-case-p): New function.
1886 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1887 Use it.
1888
8a61ee22
SM
1889 * files.el (automount-dir-prefix): Mark as obsolete.
1890
3c74813a
GM
18912012-05-04 Glenn Morris <rgm@gnu.org>
1892
1893 * patcomp.el, play/bruce.el: Move to obsolete/.
1894
0bfcf5c5
PE
18952012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1896
1897 Fix minor Y10k bugs.
1898 * arc-mode.el (archive-unixdate):
1899 * autoinsert.el (auto-insert-alist):
1900 * calc/calc-forms.el (math-this-year):
1901 * emacs-lisp/copyright.el (copyright-current-year)
1902 (copyright-update-year, copyright):
1903 * tar-mode.el (tar-clip-time-string):
1904 * time.el (display-time-update):
1905 Don't assume years have 4 digits.
1906
78f3273a
CY
19072012-05-04 Chong Yidong <cyd@gnu.org>
1908
1909 * dos-w32.el (file-name-buffer-file-type-alist)
1910 (direct-print-region-use-command-dot-com):
1911 * ffap.el (ffap-menu-regexp):
1912 * find-file.el (ff-special-constructs):
1913 * follow.el (follow-debug):
1914 * forms.el (forms--debug):
1915 * iswitchb.el (iswitchb-all-frames):
1916 * ido.el (ido-all-frames):
1917 * emacs-lisp/timer.el (timer-max-repeats):
1918 * mail/feedmail.el (feedmail-mail-send-hook)
1919 (feedmail-mail-send-hook-queued):
1920 * mail/footnote.el (footnote-signature-separator):
1921 * mail/mailabbrev.el (mail-alias-separator-string)
1922 (mail-abbrev-mode-regexp):
1923 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1924 * progmodes/idlwave.el (idlwave-libinfo-file)
1925 (idlwave-default-completion-case-is-down)
1926 (idlwave-library-routines): Convert defvars to defcustoms.
1927
1928 * mail/rmail.el (rmail-decode-mime-charset):
1929 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1930 (idlwave-shell-fix-inserted-breaks)
1931 (idlwave-shell-activate-alt-keybindings)
1932 (idlwave-shell-use-breakpoint-glyph):
1933 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1934
f7ae6719
SM
19352012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1938
47086495
WS
19392012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1940
1941 * progmodes/verilog-mode.el (font-lock-keywords):
1942 Fix mis-highligting auto. Reported by Craig Barner.
1943 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1944 defines from global name space. Reported by Dan Dever.
1945 (verilog-auto-reset, verilog-auto-reset-widths)
1946 (verilog-auto-tieoff): Support using unbased numbers for
1947 AUTORESET and AUTOTIEOFF.
1948 (verilog-submit-bug-report): Update variable list.
1949 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1950 parenthesis from not matching. Reported by Michael Rytting.
1951 (verilog-auto-template-lint): Fix hash error when linting modules
1952 with no used templates.
1953 (verilog-warn, verilog-warn-error)
1954 (verilog-warn-fatal): When non-interactive report multiple
1955 warnings before exiting. Suggested by Brad Dobbie.
1956 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1957 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1958 to report unused template errors. Reported by Brad Dobbie.
1959 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1960 nets, bug438. Reported by Vns Blore.
1961 (verilog-auto-inout-module, verilog-auto-reg)
1962 (verilog-read-decls, verilog-read-sub-decls-sig)
1963 (verilog-signals-edit-wire-reg, verilog-signals-with):
1964 Fix passing of Verilog data types in ANSI input/output ports
1965 such as "output logic" into the AUTOs. Special case "wire" and
1966 "reg" for backwards compatibility presuming Verilog 2001.
1967 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1968 (verilog-preprocess): Fix replication of preprocess output.
1969 Reported by Brad Dobbie.
1970 (verilog-auto-inst-interfaced-ports):
1971 Create verilog-auto-inst-interfaced-ports, bug429.
1972 Reported by Julian Gorfajn.
1973 (verilog-after-save-font-hook)
1974 (verilog-before-save-font-hook): New variable.
1975 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1976 (verilog-save-font-mods): Wrap disabling fontification, reported
1977 by David Rogoff.
1978 (verilog-do-indent, verilog-pretty-declarations-auto)
1979 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1980 Reported by Pierre-David Pfister.
1981 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1982 of class declarations, bug292. Reported by Kevin Heilman.
1983 (verilog-read-decls): Fix 'parameter type' not appearing in
1984 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1985 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1986 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1987 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1988 Reported by David Kravitz.
1989
19902012-05-03 Michael McNamara <mac@mail.brushroad.com>
1991
1992 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1993 assignment with tests in ifs and for loops.
1994 (verilog-extended-complete-re, verilog-complete-reg): Change so
1995 that DPI inport functions don't look like fuction declarations.
1996 (verilog-pretty-expr): Don't line up assignment
1997 operations to the test and increment in if and for loops
1998 (verilog-extended-complete-re, verilog-complete-reg): Change so
1999 that DPI inport functions don't look like fuction declarations
2000
2e51d4b5
KH
20012012-05-03 Kenichi Handa <handa@m17n.org>
2002
2003 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2004 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2005 (Bug#11282).
2006
2bd785a2
SM
20072012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * emacs-lisp/bytecomp.el
2010 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2011 since cconv.el might have introduced :fun-body, internal-make-closure,
2012 and friends for bytecomp to handle (bug#11391).
2013 * custom.el (defcustom): Avoid ((λ ..) ..).
2014
99d27583
SM
20152012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2018
55a71479
JB
20192012-05-02 Juanma Barranquero <lekktu@gmail.com>
2020
2021 * notifications.el (dbus-debug):
2022 * term/linux.el (gpm-mouse-enable):
2023 * term/screen.el (xterm-register-default-colors): Declare.
2024
7b97c764
CY
20252012-05-02 Chong Yidong <cyd@gnu.org>
2026
2bc356d7
CY
2027 * cus-start.el (gc-cons-percentage, exec-suffixes)
2028 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2029 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2030 (make-cursor-line-fully-visible, void-text-area-pointer)
2031 (font-list-limit): Add customization data.
2032
7b97c764
CY
2033 * allout.el (allout-exposure-change-functions)
2034 (allout-structure-added-functions)
2035 (allout-structure-deleted-functions)
2036 (allout-structure-shifted-functions): Rename abnormal hooks from
2037 *-hook, and convert to defcustoms.
5d3385a0
JB
2038 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2039 Convert to defcustoms.
7b97c764
CY
2040 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2041
2042 * allout-widgets.el: Hook callers changed.
2043
90207a15 20442012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2045
2046 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2047 the yanked message in preference to the default value of
2048 buffer-file-coding-system.
2049
90207a15 20502012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2051
5d3385a0
JB
2052 * window.el (display-buffer--action-function-custom-type):
2053 Fix entry.
d9558cad 2054
90207a15 20552012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2056
2057 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2058
d80ac57b
GM
20592012-05-01 Glenn Morris <rgm@gnu.org>
2060
976f7668
GM
2061 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2062
beb83b5a
GM
2063 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2064
d80ac57b
GM
2065 * cus-edit.el (custom-variable-documentation): Simplify with format.
2066
b593d6a9
AH
20672012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2068 Stefan Monnier <monnier@iro.umontreal.ca>
2069
2070 * simple.el (suggest-key-bindings, execute-extended-command):
2071 Move from keyboard.c.
2072
782fbf2a
CY
20732012-05-01 Chong Yidong <cyd@gnu.org>
2074
2075 * follow.el: Eliminate advice.
2076 (set-process-filter, process-filter, sit-for): Advice deleted.
2077 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2078 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2079 Vars deleted.
782fbf2a
CY
2080 (follow-auto): Use a :set function.
2081 (follow-mode): Rewritten. Don't advise process filters.
2082 (follow-switch-to-current-buffer-all, follow-scroll-up)
2083 (follow-scroll-down): Assume follow-mode is bound.
2084 (follow-comint-scroll-to-bottom)
2085 (follow-align-compilation-windows): New functions.
2086 (follow--window-sorter): New function.
2087 (follow-all-followers): Use it to explicitly sort windows by their
2088 positions; don't make assumptions about next-window order.
2089 (follow-windows-start-end, follow-delete-other-windows-and-split)
2090 (follow-calc-win-start): Doc fix.
2091 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2092 vertical-motion unnecessarily.
2093 (follow-adjust-window): New function.
2094 (follow-post-command-hook): Use it.
2095 (follow-call-set-process-filter, follow-call-process-filter)
2096 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2097 (follow-stop-intercept-process-output, follow-generic-filter):
2098 Functions deleted.
2099 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2100 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2101 New functions, replacing advice on scroll-bar-* commands.
87233a14 2102 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2103
2104 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2105 (comint-postoutput-scroll-to-bottom): Use it.
2106 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2107
290af740
GM
21082012-05-01 Glenn Morris <rgm@gnu.org>
2109
2110 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2111 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2112 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2113 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2114 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2115 Remove no-byte-compile setting.
2116
6eac8dc9
SM
21172012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2120 all-completions code to not return a number in the last cdr.
2121
9cc7819c
LL
21222012-04-30 Leo Liu <sdl.web@gmail.com>
2123
2124 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2125 read-only error.
2126
c93b886f
CY
21272012-04-29 Chong Yidong <cyd@gnu.org>
2128
2129 * follow.el (follow-calc-win-end): Rewrite to handle partial
2130 screen lines correctly (Bug#8390).
2131 (follow-avoid-tail-recenter): Minor cleanup.
2132
8b6c19f4
SM
21332012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2134
2135 Avoid the obsolete `assoc' package.
2136 * speedbar.el (speedbar-refresh): Avoid adelete.
2137 (speedbar-file-lists): Simplify and avoid aput.
2138 * man.el (Man--sections, Man--refpages): New vars, replacing
2139 Man-sections-alist and Man-refpages-alist.
2140 (Man-build-section-alist, Man-build-references-alist):
2141 Use them; avoid aput.
2142 (Man--last-section, Man--last-refpage): New vars.
2143 (Man-follow-manual-reference): Use them.
2144 Use the `default' arg of completing-read.
2145 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2146
c5bb7569
CY
21472012-04-27 Chong Yidong <cyd@gnu.org>
2148
d1d2e2e8
CY
2149 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2150
15cd8efd
CY
2151 * startup.el (x-apply-session-resources): New function.
2152
2153 * term/ns-win.el (ns-initialize-window-system):
2154 * term/w32-win.el (w32-initialize-window-system):
2155 * term/x-win.el (x-initialize-window-system): Use it to properly
2156 set menu-bar-mode and other vars from X resources, even if the
2157 initial frame is not a window-system frame (Bug#2299).
2158
c5bb7569
CY
2159 * subr.el (read-key): Avoid running filter function when setting
2160 up temporary tool bar entries (Bug#9922).
2161
a8e7d6d7 21622012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2163
2164 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2165 (Bug#11344)
2166
a8e7d6d7 21672012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2168
2169 * select.el (xselect--encode-string): New function, split from
2170 xselect-convert-to-string.
2171 (xselect-convert-to-string): Use it.
2172 (xselect-convert-to-filename, xselect-convert-to-os)
2173 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2174 returned strings are properly encoded (Bug#11315).
2175
a8e7d6d7 21762012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2177
2178 * simple.el (delete-active-region): Move to killing custom group.
2179
a8e7d6d7 21802012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2181
2182 * progmodes/which-func.el (which-func-current): Quote %
2183 characters for mode-line processing.
2184
578c1d4b 21852012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2186
2187 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2188 reaching eob (Bug#11286).
2189
a8e7d6d7 21902012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2191
2192 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2193 (gdb): Make it buffer-local and init to zero.
2194 (gdb-control-commands-regexp): New variable.
2195 (gdb-send): Don't wrap in "-interpreter-exec console" if
2196 gdb-control-level is positive. Increment gdb-control-level
2197 whenever the command matches gdb-control-commands-regexp, and
2198 decrement it each time the command is "end". (Bug#11279)
2199
a8e7d6d7 22002012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2201
2202 * window.el (adjust-window-trailing-edge, enlarge-window)
2203 (shrink-window, window-resize):
2204 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2205 windows (Bug#11276).
2206
b3608390
CY
22072012-04-27 Chong Yidong <cyd@gnu.org>
2208
2209 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2210 fix "missing prefix" warning. All callers changed.
b3608390 2211
797e6e88
SM
22122012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2213
2214 * emacs-lisp/assoc.el: Move to obsolete/.
2215
e95a67dc
SM
22162012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2217
657c21e4 2218 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2219
2220 * term/ns-win.el (ns-define-service):
2221 * progmodes/pascal.el (pascal-goto-defun):
2222 * progmodes/js.el (js--read-tab):
2223 * progmodes/etags.el (tags-lazy-completion-table):
2224 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2225 * emacs-lisp/ewoc.el (ewoc--wrap):
2226 * emacs-lisp/assoc.el (aput, adelete, amake):
2227 * doc-view.el (doc-view-convert-current-doc):
2228 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2229
cb3e7ae0
CY
22302012-04-26 Chong Yidong <cyd@gnu.org>
2231
dce04f7f
CY
2232 * image.el (image-type-from-buffer): Only return supported image
2233 type (Bug#9045).
2234
cb3e7ae0
CY
2235 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2236 value, for symmetry with diff-end-of-hunk.
2237 (diff-split-hunk, diff-find-source-location)
2238 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2239 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2240 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2241 compute the relevant hunk or file properly (Bug#6005).
2242 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2243
0d42eb3e
SM
22442012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * vc/vc-mtn.el:
2247 * vc/vc-hg.el:
2248 * vc/vc-git.el:
2249 * vc/vc-dir.el:
2250 * vc/vc-cvs.el:
2251 * vc/vc-bzr.el:
2252 * vc/vc-arch.el:
2253 * vc/vc.el: Replace lexical-let by lexical-binding.
2254 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2255 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2256 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2257
f08ae1c9
CY
22582012-04-26 Chong Yidong <cyd@gnu.org>
2259
8b71081d
CY
2260 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2261 (diff-mode-shared-map): Bind it to / and [remap undo].
2262
f08ae1c9
CY
2263 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2264 (ediff-window-setup-function): Use it as the default, to set up
2265 windows based on whether the current frame is graphical (Bug#2138).
2266 (ediff-choose-window-setup-function-automatically): Make obsolete.
2267
2268 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2269
ef24141c
SM
22702012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2271
cc356a5d
SM
2272 * ffap.el: Remove old code for obsolete package.
2273 (ffap-complete-as-file-p): Remove.
2274
b4ff4f1f
SM
2275 Use completion-table-with-quoting for comint and pcomplete.
2276 * comint.el (comint--unquote&requote-argument)
2277 (comint--unquote-argument, comint--requote-argument): New functions.
2278 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2279 (comint-quote-filename): Use regexp-opt-charset.
2280 (comint--common-suffix, comint--common-quoted-suffix)
2281 (comint--table-subvert): Remove.
2282 (comint-unquote-function, comint-requote-function): New vars.
2283 (comint--complete-file-name-data): Use them with
2284 completion-table-with-quoting.
2285 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2286 * pcomplete.el (pcomplete-arg-quote-list)
2287 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2288 (pcomplete-unquote-argument-function): Default to non-nil.
2289 (pcomplete-unquote-argument): Simplify.
2290 (pcomplete--common-quoted-suffix): Remove.
2291 (pcomplete-requote-argument-function): New var.
2292 (pcomplete--common-suffix): New function.
2293 (pcomplete-completions-at-point): Use completion-table-with-quoting
2294 and completion-table-subvert.
2295
79c4eeb4
SM
2296 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2297 (minibuffer--double-dollars): Preserve properties.
2298 (completion--sifn-requote): New function.
2299 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2300
ef24141c
SM
2301 * minibuffer.el: Add support for completion of quoted/escaped data.
2302 (completion-table-with-quoting, completion-table-subvert): New funs.
2303 (completion--twq-try, completion--twq-all): New functions.
2304 (completion--nth-completion): New function.
2305 (completion-try-completion, completion-all-completions): Use it.
2306
784e7d6e
LL
23072012-04-25 Leo Liu <sdl.web@gmail.com>
2308
dd2ac746
SM
2309 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2310 Use compilation-message if available to find real filename.
784e7d6e 2311
07875ee7
CY
23122012-04-25 Chong Yidong <cyd@gnu.org>
2313
2314 * vc/diff-mode.el (diff-setup-whitespace): New function.
2315 (diff-mode): Use it.
2316
2317 * vc/diff.el (diff-sentinel):
2318 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2319 Whitespace mode variables based on diff style (Bug#8612).
2320
5055880d
LL
23212012-04-25 Leo Liu <sdl.web@gmail.com>
2322
daf75653
LL
2323 * progmodes/python.el (python-send-region): Add suffix .py to the
2324 temp file.
2325
5055880d
LL
2326 * files.el (auto-mode-alist): Use javascript-mode instead.
2327
db9b177b
AH
23282012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2329
ef24141c 2330 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2331
2332 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2333 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2334 references, see Bug#9.
ef24141c 2335 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2336 when receiving a fault reply.
ef24141c 2337 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2338
2339 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2340 (soap-inspect-simple-type): New function.
db9b177b 2341
ef24141c 2342 * soap-client.el (soap-simple-type): New struct.
db9b177b 2343 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2344 (soap-decode-basic-type, soap-encode-basic-type):
2345 support unsignedInt and double basic types.
db9b177b 2346 (soap-resolve-references-for-simple-type)
ef24141c
SM
2347 (soap-parse-simple-type, soap-encode-simple-type): New function.
2348 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2349
2350 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2351 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2352 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2353 the local name of "soapenc:Array".
2354 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2355 decoding integer, byte and anyURI xsd types.
2356
1fc6097b
CY
23572012-04-25 Chong Yidong <cyd@gnu.org>
2358
2359 * cus-edit.el (custom-buffer-create-internal): Update header text.
2360
afc6df87
EZ
23612012-04-25 Eli Zaretskii <eliz@gnu.org>
2362
2363 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2364 settings on 'system-type', not on 'window-system'. On MS-Windows,
2365 set interactive-mode on in GDB.
2366
dfbd787f
SM
23672012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2368
2369 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2370 (ruby-syntax-propertize-regexp): Remove.
2371 (ruby-syntax-propertize-function): Split regexp into chunks.
2372 Match following code directly.
2373
85222d44
DG
23742012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2375
51a8ea2a
DG
2376 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2377 (ruby-syntax-propertize-regexp): New function.
2378 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2379 by a special keyword.
2380
85222d44
DG
2381 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2382 (ruby-syntax-general-delimiters-goto-beg)
2383 (ruby-syntax-propertize-general-delimiters): New functions.
2384 (ruby-syntax-propertize-function): Use them to handle GDL.
2385 (ruby-font-lock-keywords): Move old handling of GDL...
2386 (ruby-font-lock-syntactic-keywords): .. to here.
2387 (ruby-calculate-indent): Adjust indentation for GDL.
2388
b613912b
MA
23892012-04-24 Michael Albinus <michael.albinus@gmx.de>
2390
b5380639
MA
2391 * notifications.el (top): Remove unneeded declarations.
2392 (notifications-specification-version): Change to "1.2".
e43042fe 2393 (notifications-interface, notifications-notify-method)
b613912b
MA
2394 (notifications-close-notification-method): Fix docstring.
2395 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2396 (notifications-notify): Add :action-items, :resident and
2397 :transient hints. Change "image_data" to "image-data" and
2398 "image_path" to "image-path".
b613912b
MA
2399 (notifications-get-capabilities): New defun.
2400
257440aa
LL
24012012-04-24 Leo Liu <sdl.web@gmail.com>
2402
2403 * progmodes/python.el: Move hideshow setup to the end.
2404
b1bac16e
MR
24052012-04-24 Martin Rudalics <rudalics@gmx.at>
2406
2407 * window.el (handle-select-window): Clear echo area since this is
2408 no more done by read_char (Bug#11304).
2409
d81bd059
SM
24102012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2411
2412 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2413 and `/ M' to filter-derived-mode.
2414 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2415 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2416 (ibuffer-mark-by-mode): Use default rather than initial-input.
2417 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2418
c4cf6d91
IA
24192012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2420
2421 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2422 (ibuffer-filter-by-derived-mode): New filter.
2423 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2424
7511ded8
CY
24252012-04-23 Andreas Politz <politza@fh-trier.de>
2426
2427 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2428
775c916b
CY
24292012-04-23 Chong Yidong <cyd@gnu.org>
2430
2431 * cus-edit.el (customize-apropos, customize-apropos-options):
2432 Disable matching of non-option variables (Bug#11176).
2433 (customize-option, customize-option-other-window)
2434 (customize-changed-options): Doc fix.
2435 (customize-apropos-options, customize-apropos-faces)
2436 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2437
2438 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2439 Fix word list splitting (Bug#11132).
46c71e23
CY
2440 (apropos-symbol, apropos-keybinding, apropos-label)
2441 (apropos-property, apropos-function-button)
2442 (apropos-variable-button, apropos-misc-button): New faces.
2443 (apropos-symbol-face, apropos-keybinding-face)
2444 (apropos-label-face, apropos-property-face, apropos-match-face):
2445 Variables removed (Bug#8396).
2446 (apropos-library-button, apropos-format-plist, apropos-print)
2447 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2448
2df41f9c
MA
24492012-04-23 Michael Albinus <michael.albinus@gmx.de>
2450
2451 * net/xesam.el (xesam-mode-map): Use let-bound map in
2452 initialization. (Bug#11292)
2453
da00640a
AM
24542012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2455
2456 Preserve ispell session localwords when switching back to
2457 original buffer.
2458
2459 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2460 variable to hold buffer session localwords.
2461 (ispell-kill-ispell): add option 'clear to delete session
2462 localwords.
2463 (ispell-command-loop, ispell-change-dictionary)
2464 (ispell-buffer-local-words): Preserve session localwords when
2465 needed.
2466
2467 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2468 Preserve session localwords when needed.
2469
f621ccf5
AM
24702012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2471
2472 * ispell.el (ispell-insert-word) Remove unneeded function using
2473 obsolete `translation-table-for-input'.
ef24141c
SM
2474 (ispell-word, ispell-process-line, ispell-complete-word):
2475 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2476
c2d1019e
CY
24772012-04-22 Chong Yidong <cyd@gnu.org>
2478
2479 * cus-edit.el (custom-variable-menu)
2480 (custom-variable-reset-saved, custom-face-menu)
2481 (custom-face-reset-saved): If there is no saved value, make the
2482 "reset-saved" operation bring back the default (Bug#9509).
2483 (custom-face-state): Properly detect themed faces.
2484
eeddc531
CY
2485 * faces.el (face-spec-set): Stop supporting deprecated form of
2486 third arg.
2487
dcbf5805
MA
24882012-04-22 Michael Albinus <michael.albinus@gmx.de>
2489
2490 Move functions from C to Lisp. Make non-blocking method calls
2491 the default. Implement further D-Bus standard interfaces.
2492
ef24141c
SM
2493 * net/dbus.el (dbus-message-internal): Declare function.
2494 Remove unneeded function declarations.
dcbf5805
MA
2495 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2496 (dbus-message-type-method-return, dbus-message-type-error)
2497 (dbus-message-type-signal): Declare variables. Remove local
2498 definitions.
2499 (dbus-interface-dbus, dbus-interface-peer)
2500 (dbus-interface-introspectable, dbus-interface-properties)
2501 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2502 Adapt docstring.
2503 (dbus-interface-objectmanager): New defconst.
2504 (dbus-call-method, dbus-call-method-asynchronously)
2505 (dbus-send-signal, dbus-method-return-internal)
2506 (dbus-method-error-internal, dbus-register-service)
2507 (dbus-register-signal, dbus-register-method): New defuns, moved
2508 from dbusbind.c
2509 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2510 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2511 New defuns.
dcbf5805
MA
2512 (dbus-call-method-non-blocking): Make it an obsolete function.
2513 (dbus-unregister-object, dbus-unregister-service)
2514 (dbus-handle-event, dbus-register-property)
2515 (dbus-property-handler): Obey the new structure of
2516 `bus-registered-objects'.
2517 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2518 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2519 Use `dbus-call-method'.
2520
cf20dee0
CY
25212012-04-22 Chong Yidong <cyd@gnu.org>
2522
2523 * cus-edit.el (custom-commands, custom-reset-menu)
2524 (Custom-reset-standard): Tweak labels.
2525 (custom-reset-button-menu): Change default to t.
2526 (custom-buffer-create-internal): For the custom-reset-button-menu
2527 case, put the revert button first.
2528 (custom-group-subtitle): New face.
2529 (custom-group-value-create): Align docstring to a specific column.
2530
2531 * wid-edit.el (widget-documentation-link-add): Don't handle
2532 indentation in this function.
2533 (widget-documentation-string-indent-to): New function.
2534 (widget-documentation-string-value-create): Use it.
2535
2536 * autorevert.el (auto-revert):
2537 * epg-config.el (epg):
2538 * ibuffer.el (ibuffer):
2539 * mpc.el (mpc):
2540 * ses.el (ses):
2541 * eshell/eshell.el (eshell):
2542 * net/ange-ftp.el (ange-ftp):
2543 * progmodes/ebnf2ps.el (postscript):
2544 * progmodes/flymake.el (flymake):
2545 * progmodes/prolog.el (prolog):
2546 * progmodes/verilog-mode.el (verilog-mode):
2547 * progmodes/which-func.el (which-func):
2548 * term/xterm.el (xterm):
2549 * textmodes/picture.el (picture):
2550 * textmodes/tildify.el (tildify):
2551 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2552 customization buffers.
2553
583e23bd
AM
25542012-04-22 Alan Mackenzie <acm@muc.de>
2555
2556 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2557 Adding a ) can hide the resulting (..) from searches. Fix it.
2558 Bound the backward search to the position of the existing (.
2559
7dd51bf1
JB
25602012-04-21 Juanma Barranquero <lekktu@gmail.com>
2561
2562 * progmodes/verilog-mode.el (verilog-mode): Check whether
2563 which-func-modes is t before adding verilog-mode.
2564 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2565
d64a438f
LL
25662012-04-21 Leo Liu <sdl.web@gmail.com>
2567
7dd51bf1 2568 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2569
081e8d65
MV
25702012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2571
2572 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2573 filling of the last column of a table (Bug#5635).
2574 (woman-find-next-control-line): New arg, specifying an additional
2575 regexp component for the control line.
2576 (woman2-roff-buffer): Use it.
2577 (woman-break-table): New function.
2578 (woman2-TS): Use it.
2579
25802012-04-21 Chong Yidong <cyd@gnu.org>
2581
2582 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2583 (woman-horizontal-escapes, woman-negative-vertical-space)
2584 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2585 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2586
ed571ccb
SM
25872012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * minibuffer.el (completion-file-name-table): Complete user names.
2590
39773899
LL
25912012-04-20 Leo Liu <sdl.web@gmail.com>
2592
2593 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2594 and pcase-let*.
2595
de6ff46d
CY
25962012-04-20 Chong Yidong <cyd@gnu.org>
2597
2598 * server.el (server-execute): Respect initial-buffer-choice if it
2599 is a string and there are no files to open (Bug#2825).
2600 (server-create-window-system-frame, server-create-tty-frame):
2601 Don't switch buffers here.
2d0e8e61
CY
2602 (server-process-filter): Only try to open a window system frame if
2603 compiled with graphical support (Bug#8314).
de6ff46d 2604
54071013
DN
26052012-04-20 Dan Nicolaescu <dann@gnu.org>
2606
2607 * battery.el (battery-echo-area-format): Display remaining time
2608 for sysfs backend too (Bug#11269).
2609 (battery-linux-sysfs): Fix conditional for the charge.
2610
f30d612a
CY
26112012-04-20 Chong Yidong <cyd@gnu.org>
2612
c07a4c0b 2613 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2614 (gdb-inferior-io--init-proc): New function.
2615 (gdb-init-1): Use it.
2616 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2617 responsible for allocating a new pty and hooking it to gdb when
2618 the old pty gets an EIO due to process exit.
2619 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2620 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2621 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2622
2116e93c
EZ
26232012-04-20 Eli Zaretskii <eliz@gnu.org>
2624
2625 * window.el (window-min-size, window-sizable, window-min-delta)
2626 (window-max-delta, window--resizable, window-resizable)
2627 (window-total-size, window-full-height-p, window-full-width-p)
2628 (window-in-direction, window--resize-mini-window, window-resize)
2629 (window--resize-child-windows-normal)
2630 (window--resize-child-windows, window--resize-siblings)
2631 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2632 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2633
c07a4c0b 26342012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2635
ef24141c
SM
2636 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2637 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2638 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2639 pty process (Bug#11273).
2640 (gdb-update): New arg to suppress talking to the gdb process.
2641 (gdb-done-or-error): Use it.
2642 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2643 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2644 sentinel not being called.
2645
2646 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2647
d02766ab
CY
2648 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2649
c07a4c0b 26502012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2651
2652 * net/network-stream.el (open-network-stream): Doc fix.
2653
c07a4c0b 26542012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2655
2656 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2657
c07a4c0b 26582012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2659
2660 Ensure searching for keywords is case sensitive.
2661
2662 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2663 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2664 (c-defun-name, c-mark-function, c-cpp-define-name)
2665 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2666 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2667
ef24141c
SM
2668 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2669 Bind case-fold-search to nil.
f0f6bc35 2670
c07a4c0b 26712012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2672
2673 * mail/sendmail.el (mail-bury): Call return action with the right
2674 Rmail buffer (Bug#11242).
2675
9a864fa2
CY
2676 * server.el (server-process-filter): Handle corner case where both
2677 tty and nowait options are present (Bug#11102).
2678
539aa513
EZ
26792012-04-20 Eli Zaretskii <eliz@gnu.org>
2680
2681 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2682 (top level): Put into the executable the ident-style '$Id:' tag on
2683 windows-nt as well.
539aa513 2684
cfc7d5da
SM
26852012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2686
2687 * electric.el (electric-indent-post-self-insert-function): Check that
2688 electric-indent-mode is enabled in current buffer.
2689
5b01685c
JB
26902012-04-19 Juanma Barranquero <lekktu@gmail.com>
2691
2692 * imenu.el (imenu-progress-message): Restore; it is "used" in
2693 erc/erc-imenu.el and net/snmp-mode.el.
2694
4d6769e1
JB
26952012-04-19 Juanma Barranquero <lekktu@gmail.com>
2696
2697 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2698 (mouse-avoidance-nudge-mouse): Remove unused binding.
2699
2700 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2701
2702 * descr-text.el (describe-char):
2703 * progmodes/python.el (python-describe-symbol):
2704 Don't call `toggle-read-only', set `buffer-read-only'.
2705
2706 * imenu.el (imenu-default-goto-function): Mark unused args.
2707 (imenu-progress-message): Remove obsolete macro; all callers changed.
2708
2709 * subr.el (keymap-canonicalize): Remove unused binding.
2710 (read-passwd): Mark unused arg.
2711
2712 * tutorial.el (tutorial--display-changes): Remove unused binding.
2713 (tutorial--save-tutorial-to): Remove unused variable.
2714
2715 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2716 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2717 (package-generate-autoloads, package-menu--generate)
2718 (package-menu--find-upgrades): Remove unused bindings.
2719
2720 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2721 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2722 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2723 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2724 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2725 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2726 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2727 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2728 (cua-delete-char-rectangle): Mark unused args.
2729 (cua-align-rectangle): Remove unused binding.
2730
2731 * mail/rmail.el (compilation--message->loc)
2732 (epa--find-coding-system-for-mime-charset): Declare.
2733
2734 * net/dbus.el (dbus-register-service): Declare.
2735 (dbus-name-owner-changed-handler): Remove unused binding.
2736
2737 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2738 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2739 (nxml-scan-backward-within): Mark unused arg.
2740 (nxml-dynamic-markup-word): Remove unused binding.
2741
2742 * mouse.el (mouse-menu-major-mode-map):
2743 * emacs-lisp/authors.el (authors-scan-change-log)
2744 (authors-add-to-author-list):
2745 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2746 * emacs-lisp/smie.el (smie-auto-fill):
2747 * mail/sendmail.el (mail-bury):
2748 * mail/unrmail.el (unrmail):
2749 * net/tls.el (open-tls-stream):
2750 * textmodes/picture.el (picture-mouse-set-point):
2751 Remove unused bindings.
2752
8c8fc5df
MA
27532012-04-19 Michael Albinus <michael.albinus@gmx.de>
2754
2755 * net/tramp.el (tramp-action-password): Let-bind
2756 `enable-recursive-minibuffers' to t.
2757
a77b0ac9
SS
27582012-04-18 Sam Steingold <sds@gnu.org>
2759
2760 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2761 instead of 'string to accommodate values like [f11].
2762 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2763 * progmodes/gdb-mi.el: Likewise.
2764
12a106a9
LL
27652012-04-18 Leo Liu <sdl.web@gmail.com>
2766
2767 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2768 current buffer.
2769 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2770 LOCAL is nil.
2771
bc6494ef
CY
27722012-04-18 Chong Yidong <cyd@gnu.org>
2773
2774 * simple.el (line-move): Use forward-line if in batch mode
2775 (Bug#11053).
2776
c09c46b2
CS
27772012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2778
2779 * files.el (after-find-file): Do not try to add a final newline if
2780 the buffer is read-only (Bug#11156).
2781
5f6530ea
RS
27822012-04-17 Richard Stallman <rms@gnu.org>
2783
2784 * mail/rmail.el (rmail-start-mail):
2785 Pass (rmail-mail-return...) for the return-action.
2786 Pass (rmail-yank-current-message...) for the yank-action.
2787 (rmail-yank-current-message): New function.
2788 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2789 (rmail-reply): Likewise.
2790 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2791
2792 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2793 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2794 buffer, not newbuf.
2795
197b6f3c
JB
27962012-04-17 Juanma Barranquero <lekktu@gmail.com>
2797
2798 * server.el (server-ensure-safe-dir): Simplify.
2799
2311d8e5 28002012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2801
2311d8e5
GM
2802 * emacs-lisp/smie.el: Provide smarter auto-filling.
2803 (smie-auto-fill): New function.
2804 (smie-setup): Use it.
98fb480e 2805
2311d8e5
GM
2806 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2807
28082012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2809
2810 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2811 (comment-indent): Use it.
2812
2311d8e5 28132012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2814
2815 * ses.el: The overall change is to add cell renaming, that is
2816 setting fancy names for cell symbols other than name matching
2817 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2818 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2819 (ses-create-cell-variable): New defun.
2311d8e5 2820 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2821 (ses-relocate-formula): Relocate formulas only for cells the
2822 symbols of which are not renamed, i.e. symbols whose names do not
2823 match regexp "\\`[A-Z]+[0-9]+\\'".
2824 (ses-relocate-all): Relocate values only for cells the symbols of
2825 which are not renamed.
2826 (ses-load): Create cells variables as the (ses-cell ...) are read,
2827 in order to check row col consistency with cell symbol name only
2828 for cells that are not renamed.
2829 (ses-replace-name-in-formula): New defun.
2830 (ses-rename-cell): New defun.
4bdf2ad2 2831
fc72b15c
PO
28322012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2833
2834 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2835 New option (bug#11118).
2836 (perl-calculate-indent): Respect it.
2837
12e10e61
GM
28382012-04-17 Glenn Morris <rgm@gnu.org>
2839
2840 * dired-aux.el (dired-mark-read-string): Doc fix.
2841
30009afd
DA
28422012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2843
2844 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2845 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2846
41f03f4d
GM
28472012-04-17 Glenn Morris <rgm@gnu.org>
2848
2849 * mouse.el (mouse-drag-track):
2850 * speedbar.el (speedbar-frame-mode):
2851 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2852
f45f90f3
LL
28532012-04-16 Leo Liu <sdl.web@gmail.com>
2854
2855 * progmodes/python.el: Trivial cleanup.
2856
94ee8db5
GM
28572012-04-16 Glenn Morris <rgm@gnu.org>
2858
121b8917
GM
2859 * vc/vc.el (vc-string-prefix-p):
2860 * vc/pcvs-util.el (cvs-string-prefix-p):
2861 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2862 * mpc.el (mpc-string-prefix-p):
2863 Make all of these into obsolete aliases for string-prefix-p.
2864 Update callers.
2865 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2866
1197ecfa
GM
2867 * textmodes/two-column.el: Move custom options to the start.
2868 (frame-width): Remove compat definition.
2869 (2C-associate-buffer, 2C-dissociate):
2870 Use with-current-buffer rather than save-excursion.
2871 (2C-dissociate): Force a mode-line update.
2872 (2C-autoscroll): Use ignore-errors.
2873
099e7202
GM
2874 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2875 Autoload trivia.
2876
bf350d6a
GM
2877 * emacs-lisp/cl-extra.el (*random-state*):
2878 Remove unnecessary declaration.
2879
0e829eab
GM
2880 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2881
e3ad7552
GM
2882 * play/cookie1.el (cookie-snarf):
2883 Give an explicit error if input file cannot be read.
2884
68892d27
GM
2885 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2886
20f0c46d
GM
2887 * progmodes/perl-mode.el (c-macro-expand):
2888 Remove unnecessary autoload (it is in loaddefs.el).
2889
5a0978ce
GM
2890 * textmodes/picture.el (picture-desired-column)
2891 (picture-update-desired-column): Convert comments to doc-strings.
2892 (picture-substitute): Remove function.
2893 (picture-mode-map): Initialize in the defvar.
2894
6b955486
GM
2895 * woman.el: Remove eval-after-load for tar-mode.
2896 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2897 (woman-tar-extract-file): Autoload it.
2898
94ee8db5
GM
2899 * frame.el (automatic-hscrolling): Make this alias obsolete.
2900
177eca34
AM
29012012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2902
2903 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2904 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2905 (ispell-dictionary-base-alist): Revert to original XEmacs
2906 friendly version for default. [:alpha:] will be added in
2907 `ispell-set-spellchecker-params' if needed
177eca34 2908
c505aaeb
CY
29092012-04-16 Chong Yidong <cyd@gnu.org>
2910
2911 * image.el (imagemagick--extension-regexp): New variable.
2912 (imagemagick-register-types): Use it.
2913 (imagemagick-types-inhibit): Add :set function. Allow new value
2914 of t to inhibit all types.
2915
2916 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2917 so we can preload it.
2918
2919 * loadup.el (fboundp): Preload regexp-opt, needed by
2920 imagemagick-register-types.
2921
60efac0f
CY
29222012-04-15 Chong Yidong <cyd@gnu.org>
2923
2924 * frame.el (scrolling): Remove nearly unused customization group.
2925
2926 * scroll-all.el (scroll-all-mode): Move to windows group.
2927
5dd1713e
CY
29282012-04-15 Chong Yidong <cyd@gnu.org>
2929
2930 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2931
e6fd457e
CY
29322012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2935 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2936
e153c136
GM
29372012-04-15 Glenn Morris <rgm@gnu.org>
2938
2939 * simple.el (process-file-side-effects): Doc fix.
2940
e6fd457e 29412012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2942
2943 * international/mule-cmds.el (set-language-environment): Doc fix.
2944
3603c3b1
JB
29452012-04-14 Juanma Barranquero <lekktu@gmail.com>
2946
2947 * server.el (server-auth-key, server-generate-key): Doc fixes.
2948 (server-get-auth-key): Doc fix. Use `string-match-p'.
2949 (server-start): Reflow docstring.
2950
e6de100c
LI
29512012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2952
2953 * server.el (server-generate-key): `called-interactively-p'
2954 requires a parameter.
2955
29734c21
MN
29562012-04-14 Michal Nazarewicz <mina86@mina86.com>
2957
2958 * server.el (server-auth-key): New variable.
75f1671a 2959 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2960 (server-start): Use the new variable and functions to allow
2961 setting a permanent server key (bug#9423).
2962
d65c9521
LL
29632012-04-14 Leo Liu <sdl.web@gmail.com>
2964
2965 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2966
5ae255c7
PE
29672012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2968
2969 Spelling fixes.
2970 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2971 Emacs uses American spelling.
2972
d5e6342e
JB
29732012-04-14 Juanma Barranquero <lekktu@gmail.com>
2974
2975 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2976 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2977 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2978 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2979
ab036cd7
SM
29802012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2981
2982 * progmodes/which-func.el (which-func-modes): Change default.
2983
35dc09a1 29842012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2985
2986 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2987 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2988
35dc09a1 29892012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2990
2991 * custom.el (custom-theme-set-variables): Doc fix.
2992
35dc09a1 29932012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2994
2995 * international/mule.el (set-auto-coding-for-load): Doc fix.
2996
35dc09a1 29972012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2998
35dc09a1
GM
2999 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3000 imenu work again for Objective C Mode. Correct the *-index values,
3001 these having been disturbed by a previous change in 2011-08.
57f845ee 3002
0de3da9f
AM
3003 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3004 Correct two search limits.
3005
35dc09a1 30062012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3007
3008 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3009
35dc09a1 30102012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3011
3012 * international/characters.el: Fix sorting.
3013
35dc09a1 30142012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3015
3016 * international/characters.el: Add more missing Latin case pairs.
3017
35dc09a1 30182012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3019
3020 * files.el (dir-locals-set-class-variables): Doc fix.
3021
35dc09a1 30222012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3023
3f1b5bf8
EZ
3024 * international/characters.el: Add set-case-syntax-pair call for
3025 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3026 counterpart. (Bug#11209)
3027
9f847f41
EZ
3028 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3029
35dc09a1 30302012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3031
3032 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3033
35dc09a1 30342012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3035
35dc09a1
GM
3036 * textmodes/ispell.el (ispell-dictionary-base-alist):
3037 Add data for Hebrew.
e2627d21 3038
35dc09a1 30392012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3040
35dc09a1
GM
3041 * net/rcirc.el (rcirc-cmd-quit):
3042 Revert 2012-03-18 change (Bug#11192).
5c14e333 3043
35dc09a1 30442012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3045
3046 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3047
35dc09a1 30482012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3049
4517fe3a
SM
3050 * minibuffer.el (completion-in-region-mode-map):
3051 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3052
b472a594
VD
30532012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3054
3055 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3056
09b95ce3
MY
30572012-04-13 Masatake YAMATO <yamato@redhat.com>
3058
3059 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3060 to allow `C-M-f' and `C-M-b' to move to the nearest path
3061 separator (bug#9511).
3062
4b63a9ca
LI
30632012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3064
3065 * avoid.el: Require cl when compiling. And also move the
3066 `provide' to the end.
3067
7b55b8bf
TV
30682012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3069
3070 * avoid.el (mouse-avoidance-banish-position): New variable.
3071 (mouse-avoidance-banish-destination): Use it (bug#10165).
3072
adedaa1f
LL
30732012-04-13 Leo Liu <sdl.web@gmail.com>
3074
3075 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3076
70e74021
KB
30772012-04-13 Ken Brown <kbrown@cornell.edu>
3078
3079 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3080 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3081 (browse-url-filename-alist): For the same reason, don't modify
3082 file:// URLs on Cygwin.
3083
e75e89ba
SM
30842012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3085
3086 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3087 the region on shift if the binding is already shifted (bug#11221).
3088
82f289a4
GM
30892012-04-12 Glenn Morris <rgm@gnu.org>
3090
3091 * mail/mailpost.el: Move to obsolete/.
3092
d333dc4c
DA
30932012-04-12 Drew Adams <drew.adams@oracle.com>
3094
3095 * imenu.el (imenu--generic-function): Ignore invisible definitions
3096 (bug#10123).
3097
0d15b5ba
VD
30982012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3099
3100 * hexl.el (hexl-bits): New variable.
3101 (hexl-options): Mention the variable in the doc string.
75f1671a 3102 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3103 (hexl-mode): Mention the new variable.
75f1671a
JB
3104 (hexl-mode, hexl-current-address, hexl-current-address):
3105 Use the displen.
0d15b5ba
VD
3106 (hexl-ascii-start-column): New function.
3107 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3108 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3109
64a440db
AM
31102012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3111
3112 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3113 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3114 the encoding, as expected by hunspell.
3115
6decb6c2
SM
31162012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3117
3118 * battery.el (battery--linux-sysfs-regexp): New const.
3119 (battery-status-function): Use it. Remove yeeloong special case.
3120 (battery-yeeloong-sysfs): Remove.
3121 (battery-echo-area-format): Remove yeeloong special case.
3122
088be6fb
SM
31232012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3124
6622e416
SM
3125 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3126 Reported by Noah Friedman.
3127
088be6fb
SM
3128 * subr.el (read-passwd): Use read-string.
3129
b49f886e
LMI
31302012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3131
3132 * vcursor.el (vcursor-move): Increase the priority of the overlay
3133 (bug#9663).
3134
a63067fc
DD
31352012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3136
3137 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3138 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3139
ac3cf14a
WS
31402012-04-11 William Stevenson <yhvh2000@gmail.com>
3141
3142 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3143 define-minor-mode (bug#10760).
3144
c4fc691b 31452012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3146
4d6769e1 3147 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3148 that directories matching `grep-find-ignored-files' won't be
3149 pruned (bug#10351).
3150
af23e2e5
CY
31512012-04-11 Chong Yidong <cyd@gnu.org>
3152
3153 * startup.el (command-line): Remove support for long-obsolete
3154 variable font-lock-face-attributes.
3155
ab7ce8c1
GM
31562012-04-11 Glenn Morris <rgm@gnu.org>
3157
3158 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3159
de8c03dc
SM
31602012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3161
3162 * window.el (window--state-get-1): Obey window-point-insertion-type.
3163
050cc68b
LB
31642012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3165
3166 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3167 to previous function when point is on the first character of a
75f1671a 3168 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3169
a38c310c
GM
31702012-04-11 Glenn Morris <rgm@gnu.org>
3171
effed0c2
GM
3172 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3173 not just file-errors.
3174
a38c310c
GM
3175 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3176 (vc-bzr-sha1): Use internal sha1.
3177
0221e323
SM
31782012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3181
43956923
SG
31822012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3183
3184 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3185 that start in the middle of the line (bug#10496).
3186
6a8c9eaf
DN
31872012-04-10 Dan Nicolaescu <dann@gnu.org>
3188
3189 * battery.el (battery-linux-proc-acpi): Only one battery is
3190 discharged at a time, but that seems to confuse battery.el when
3191 computing `rate-type' for the battery not being discharged
3192 (bug#10332).
3193
1930bf5d
SM
31942012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3195
2a718f6f
SM
3196 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3197
599430d0
SM
3198 * international/quail.el: Use dolist and simplify.
3199 (quail-define-package, quail-update-keyboard-layout)
3200 (quail-define-rules): Use dolist.
3201 (quail-insert-kbd-layout, quail-get-translation): CSE.
3202
a2754b6c
SM
3203 * tmm.el: Use dolist, remove left over hook.
3204 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3205 Use dolist.
3206 (calendar-load-hook): Don't mess with it.
3207
1930bf5d
SM
3208 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3209 Use derived-mode-p. Run the diff asynchronously.
3210
9f67961c
LMI
32112012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3212
3213 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3214
2a8ce227
JB
32152012-04-10 Juanma Barranquero <lekktu@gmail.com>
3216
3217 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3218 (list-dynamic-libraries--loaded): New function.
3219 (list-dynamic-libraries--refresh): Use it.
3220
8f33b5f8
NW
32212012-04-10 Nathan Weizenbaum <nweiz@google.com>
3222
1930bf5d
SM
3223 * progmodes/python.el (python-fill-paragraph):
3224 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3225 disabled (bug#7018).
3226
b12f0439
L
32272012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3228
1930bf5d 3229 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3230 DOS/MS Windows for the Baltic languages. There are still plenty
3231 of texts written in this encoding/codepage (bug#6519).
b12f0439 3232
57c3bd01
GM
32332012-04-10 Glenn Morris <rgm@gnu.org>
3234
3235 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3236 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3237
6c3eab30
FA
32382012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3239
1930bf5d 3240 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3241 next-line "n" and previous-line "p" in order to make recentf more
3242 consistent with ibuffer, dired or org-mode (bug#9387).
3243
24d78a88
LMI
32442012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3245
bc72b5d9
LMI
3246 * image.el (put-image): Return the overlay created instead of the
3247 optional input string (bug#7834). Note that this may break code
3248 that is (for some reason or other) depending on `put-image'
3249 returning the string.
3250
bd2dba5a
LMI
3251 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3252
74beb59f
LMI
3253 * simple.el (zap-to-char): Allow zapping using input methods
3254 (bug#1580).
3255
24d78a88
LMI
3256 * textmodes/fill.el (fill-region): Leave point and mark where they
3257 were before filling (bug#5399).
3258
263f20cd
GM
32592012-04-09 Glenn Morris <rgm@gnu.org>
3260
3261 * version.el (emacs-bzr-get-version):
3262 Handle lightweight checkouts of local branches.
3263
58d1f797
AS
32642012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3265
263f20cd 3266 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3267
b4d3bc10
CY
32682012-04-09 Chong Yidong <cyd@gnu.org>
3269
3270 * custom.el (custom-variable-p): Return nil for non-symbol
3271 arguments instead of signaling an error.
3272 (user-variable-p): Obsolete alias for custom-variable-p.
3273
3274 * apropos.el (apropos-variable):
3275 * files-x.el (read-file-local-variable):
3276 * simple.el (set-variable):
3277 * woman.el (woman-mini-help):
3278 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3279
fd06db5d
GM
32802012-04-09 Glenn Morris <rgm@gnu.org>
3281
e5fcdb5e
GM
3282 * startup.el (normal-top-level): Don't look for leim-list.el
3283 in places where it will not be found. (Bug#910)
3284
fd06db5d
GM
3285 * international/mule-cmds.el (set-default-coding-systems):
3286 * files.el (normal-mode):
3287 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3288 This function was removed with ucs-tables.el in 2008.
3289
b39bb7e1
EZ
32902012-04-08 Eli Zaretskii <eliz@gnu.org>
3291
3292 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3293 ispell-encoding8-command to "-i", without a trailing space.
3294 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3295 separate command-line arguments, to specify the encoding, since
3296 that's how hunspell expects it.
3297
5c5b8e23
GM
32982012-04-08 Glenn Morris <rgm@gnu.org>
3299
3300 * loadup.el: Load bindings before cus-start.
3301 This reduces somewhat the number of "rogue" settings in emacs -Q.
3302
a1ed8b05
GM
33032012-04-07 Glenn Morris <rgm@gnu.org>
3304
3305 * version.el (emacs-bzr-get-version): New function.
dfae128a 3306 (emacs-bzr-version): New variable.
a1ed8b05
GM
3307 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3308 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3309
b142f158
EZ
33102012-04-07 Eli Zaretskii <eliz@gnu.org>
3311
dfae128a
GM
3312 * international/uni-bidi.el, international/uni-category.el:
3313 * international/uni-combining.el, international/uni-decimal.el:
3314 * international/uni-decomposition.el, international/uni-digit.el:
3315 * international/uni-lowercase.el, international/uni-mirrored.el:
3316 * international/uni-name.el, international/uni-numeric.el:
3317 * international/uni-titlecase.el, international/uni-uppercase.el:
3318 Update for Unicode 6.1.
b142f158 3319
9078ead6
EZ
33202012-04-07 Eli Zaretskii <eliz@gnu.org>
3321
3322 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3323
f23d2c7d
LMI
33242012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3325
3326 * window.el (shrink-window): Mention the `window-min-height'
3327 variable in the doc string.
3328
0a0a3573
BG
33292012-04-05 Bastien Guerry <bzg@altern.org>
3330
3331 * color.el (color-lighten-name): Fix typo.
3332
e5248ac9
SM
33332012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 * server.el (server--on-display-p): New function.
3336 (server--on-display-p): Use it.
3337
b4243e22
GV
33382012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3339
3340 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3341 (bug#11145).
3342
305d9f44
SM
33432012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 * comint.el (comint--common-quoted-suffix): Check string boundary
3346 before comparing (bug#11158).
3347 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3348
3d439cd1
CY
33492012-04-04 Chong Yidong <cyd@gnu.org>
3350
321cc491
CY
3351 * minibuffer.el (completion-extra-properties): Doc fix.
3352
3d439cd1
CY
3353 * subr.el (delayed-warnings-hook): Doc fix.
3354
2d562c0f
DU
33552012-04-04 Daiki Ueno <ueno@unixuser.org>
3356
3357 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3358 selection (Bug#11159).
3359 (epa-insert-keys): Inform that the default public key will be
3360 exported if no key is selected.
3361
4443f204
RS
33622012-04-04 Richard Stallman <rms@gnu.org>
3363
3364 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3365
529c06b6
CY
33662012-04-03 Chong Yidong <cyd@gnu.org>
3367
3368 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3369 mail-insert-file, not its obsolete alias mail-attach-file.
3370
66b907dc
MA
33712012-04-03 Michael Albinus <michael.albinus@gmx.de>
3372
3373 * notifications.el (notifications-notify): Fix docstring.
3374
c0ea195d
GM
33752012-04-02 Glenn Morris <rgm@gnu.org>
3376
3377 * emacs-lisp/authors.el (authors-aliases): Another addition.
3378
5ca64e00
MA
33792012-04-02 Michael Albinus <michael.albinus@gmx.de>
3380
3381 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3382 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3383 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3384
42ee526b
CY
33852012-04-01 Chong Yidong <cyd@gnu.org>
3386
3387 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3388 Handle root directory properly.
3389 (copy-directory): Caller changed.
3390
3391 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3392 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3393
0b021094
GM
33942012-03-31 Glenn Morris <rgm@gnu.org>
3395
40f86458
GM
3396 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3397
7019c177
GM
3398 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3399
a1daddd6
GM
3400 * calendar/calendar.el (calendar-window-list)
3401 (calendar-hide-window): Restore. (Bug#11140)
3402 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3403
0b021094
GM
3404 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3405
40311efc
TV
34062012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3407
3408 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3409 Check if file is a symlink (Bug#10489).
3410
3411 * files.el (copy-directory): Likewise.
3412
5319014e
CY
34132012-03-30 Chong Yidong <cyd@gnu.org>
3414
3415 * image.el (imagemagick-types-inhibit)
3416 (imagemagick-register-types): Doc fix.
3417
935d1290
AM
34182012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3419
ef24141c
SM
3420 * ispell.el (ispell-get-extended-character-mode):
3421 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3422 and treats ~word as ordinary words in pipe mode.
935d1290 3423
61c6e8fd
GM
34242012-03-30 Glenn Morris <rgm@gnu.org>
3425
3426 * tutorial.el (help-with-tutorial): Ensure local variables don't
3427 happen to make the buffer read-only. (Bug#11127)
3428
81fdff00
SM
34292012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3430
3431 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3432 (perl-calculate-indent): Return `noindent' in strings.
3433
6e7a6ec0
SS
34342012-03-28 Sam Steingold <sds@gnu.org>
3435
3436 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3437 instead of the broken adhockery which does not prevent calendar
3438 buffers from being displayed at random after exit.
3439 (calendar-window-list, calendar-hide-window): Remove the broken
3440 adhockery.
3441
fee88ca0
GM
34422012-03-28 Glenn Morris <rgm@gnu.org>
3443
3444 * replace.el (query-replace-map): Doc fix.
3445
38de3354
AS
34462012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3447
3448 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3449 contents. (Bug#11109)
3450
b973155e
SM
34512012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3452
3453 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3454 (bug#11077).
3455 (avl-tree--check, avl-tree--check-node): New funs.
3456
dcb6e7b3
MR
34572012-03-27 Martin Rudalics <rudalics@gmx.at>
3458
3459 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3460 (switch-to-prev-buffer, switch-to-next-buffer):
3461 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3462 showing a buffer already is done on the same frame.
3463
b4fa35fa
GM
34642012-03-27 Glenn Morris <rgm@gnu.org>
3465
3466 * startup.el (mail-host-address): Doc fix.
3467
f9210e18
SM
34682012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3469
3470 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3471 than 197 variables.
3472
c0bf7753
AF
34732012-03-26 Ami Fischman <ami@fischman.org>
3474
3475 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3476
33da7b16
GM
34772012-03-26 Glenn Morris <rgm@gnu.org>
3478
02243d9d
GM
3479 * files.el (save-buffers-kill-emacs): Doc fix.
3480
33da7b16
GM
3481 * startup.el (normal-top-level, command-line, command-line-1):
3482 Give them doc strings.
3483
e5a69fd0
EZ
34842012-03-25 Eli Zaretskii <eliz@gnu.org>
3485
3486 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3487 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3488
9a69676a
CY
34892012-03-25 Chong Yidong <cyd@gnu.org>
3490
4125cb8b
CY
3491 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3492 theme if it was previously enabled before (Bug#11031).
3493
dd470960
CY
3494 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3495 spec with custom-face-get-current-spec if its :shown-value is not
3496 determined yet (Bug#9337).
4125cb8b 3497 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3498
9a69676a
CY
3499 * button.el (button-at): Minor addition to docstring.
3500
6e7e90fa
SL
35012012-03-24 Simon Leinen <simon.leinen@gmail.com>
3502
3503 * vc/vc.el (vc-merge): Fix a prompt.
3504
f06e2758
CY
35052012-03-24 Chong Yidong <cyd@gnu.org>
3506
3507 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3508 point (Bug#9623).
3509
6e7e90fa
SL
3510 * button.el (button-at): Minor addition to docstring.
3511
b9d0879b
SM
35122012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 * newcomment.el (comment-choose-indent): No space after BOL.
3515
e71cebb3
SS
35162012-03-22 Sam Steingold <sds@gnu.org>
3517
3518 * window.el (switch-to-prev-buffer): Revert last patch because the
3519 bug turned out to be an advertised feature (Elisp manual 28.14).
3520
335aff35
GM
35212012-03-22 Glenn Morris <rgm@gnu.org>
3522
3523 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3524 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3525
c676576a
LMI
35262012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3527
3528 * net/network-stream.el (network-stream-open-starttls): Make error
3529 message under Windows be less misleading.
3530
126f3d39
LW
35312012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3532
3533 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3534 understands (bug#9942).
3535
64fee311
CY
35362012-03-22 Chong Yidong <cyd@gnu.org>
3537
3538 * simple.el (end-of-visible-line): Handle return value of
3539 next-single-property-change properly (Bug#9371).
3540
a640d29a
KH
35412012-03-22 Kenichi Handa <handa@m17n.org>
3542
3543 * international/quail.el (quail-insert-kbd-layout): Fix previous
3544 change. To avoid unwanted bidi reordering, use
3545 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3546
39675016
DG
35472012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3548
3549 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3550 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3551 (ruby-beginning-of-indent): Be more careful with the difference
3552 between word-boundary and symbol boundary.
3553 (ruby-mode-syntax-table): Make : a symbol constituent.
3554
0a6934fc 35552012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3556
3d008e4f
SM
3557 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3558
0a6934fc
SM
35592012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3560
af67c9d7
SM
3561 * progmodes/etags.el (tags-completion-at-point-function):
3562 Improve last fix.
3563
1acad97c
SM
3564 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3565
e298b5da
SS
35662012-03-21 Sam Steingold <sds@gnu.org>
3567
3568 * progmodes/etags.el (tags-completion-at-point-function):
3569 Avoid the error when point is inside the pattern.
3570
91d82a70
JY
35712012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3572
3573 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3574 line (Bug#10855).
3575
69188b79
CY
35762012-03-21 Drew Adams <drew.adams@oracle.com>
3577
3578 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3579
99fc91fe
AK
35802012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3581
3582 * ido.el (ido-set-current-directory, ido-read-internal)
3583 (ido-choose-completion-string, ido-completion-help): Handle nil
3584 value of ido-completion-buffer (Bug#11008).
3585
087bbb4c
SS
35862012-03-21 Sam Steingold <sds@gnu.org>
3587
3588 * window.el (switch-to-prev-buffer): Do not switch to a visible
3589 window previous buffer, just like with the frame previous buffers.
3590
fb5b8aca
CY
35912012-03-21 Chong Yidong <cyd@gnu.org>
3592
3593 * faces.el (make-face, make-empty-face, copy-face):
3594 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3595 Doc fixes.
3596
dc9924b8
SM
35972012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3598
3599 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3600 (widget-complete): Remove broken use of it.
3601
f0bcceb9
CY
36022012-03-20 Chong Yidong <cyd@gnu.org>
3603
dc9924b8
SM
3604 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3605 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3606 characters.
3607
ee52ebf3
TH
36082012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3609
3610 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3611 to draw rectangles, not squares. (Regression introduced by revno
3612 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3613
4c5779ab
CY
36142012-03-18 Chong Yidong <cyd@gnu.org>
3615
3616 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3617 it is not yet defined (for temacs).
3618
15360934
LL
36192012-03-18 Leo Liu <sdl.web@gmail.com>
3620
dc9924b8 3621 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3622
d9a8eb66
EZ
36232012-03-17 Eli Zaretskii <eliz@gnu.org>
3624
3625 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3626 (ispell-choices-win-default-height, ispell-silently-savep)
3627 (ispell-dictionary-alist, ispell-encoding8-command)
3628 (ispell-check-version, ispell-aspell-find-dictionary)
3629 (ispell-valid-dictionary-list, ispell-words-keyword)
3630 (ispell-get-word, ispell-internal-change-dictionary)
3631 (ispell-region, ispell-skip-region-list)
3632 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3633 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3634 (ispell-message-text-end, ispell-message)
3635 (ispell-buffer-local-parsing): Doc fix.
3636
f02ff80d
J
36372012-03-13 Jambunathan K <kjambunathan@gmail.com>
3638
3639 * htmlfontify.el: Add support for code block fontification for ODT
3640 export (Bug #9914).
3641 (hfy-optimisations): Define new option
3642 `body-text-only'
3643 (hfy-fontify-buffer): Honor above setting.
3644 (hfy-begin-span, hfy-end-span): New routines factored out form
3645 `hfy-fontify-buffer'.
3646 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3647 that permit insertion of custom tags.
3648 (hfy-fontify-buffer): Use above handlers.
3649 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3650 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3651 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3652 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3653 bind a special variable `hfy-user-sheet-assoc'.
3654 (htmlfontify-string): New defun.
3655 (hfy-compile-face-map): Make sure that the last char in the
3656 buffer is correctly fontified.
3657 (hfy-face-resolve-face): Whitespace only change.
3658
9ac7a13f
EZ
36592012-03-17 Eli Zaretskii <eliz@gnu.org>
3660
3661 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3662 message more clear.
3663
e2b5bdd7
LL
36642012-03-16 Leo Liu <sdl.web@gmail.com>
3665
3666 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3667
2e492df3
AM
36682012-03-16 Alan Mackenzie <acm@muc.de>
3669
3670 Further optimise the handling of large macros.
3671
3672 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3673 limit to a call of `c-literal-limits'.
3674 (c-determine-+ve-limit): New function.
dc9924b8
SM
3675 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3676 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3677 In CASE 5B, restrict a search limit to 500.
3678 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3679
3680 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3681 Restrict macro bounds to +-500 from after-change's BEG END.
3682
50e94f0c
LL
36832012-03-16 Leo Liu <sdl.web@gmail.com>
3684
3685 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3686
6f09f6ed
AH
36872012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3688
3689 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3690 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3691
c7e73d51
GM
36922012-03-16 Glenn Morris <rgm@gnu.org>
3693
da986230
GM
3694 * view.el (view-buffer, view-buffer-other-window)
3695 (view-buffer-other-frame): Doc fixes re special mode-class.
3696
0835f01e
GM
3697 * subr.el (eval-after-load): If named feature is provided not from
3698 a file, run after-load forms. (Bug#10946)
3699
c7e73d51
GM
3700 * calendar/calendar.el (calendar-insert-at-column):
3701 Handle non-unit-width characters a bit better. (Bug#10978)
3702
3f2eafd1
CY
37032012-03-15 Chong Yidong <cyd@gnu.org>
3704
3705 * emacs-lisp/ring.el (ring-extend): New function.
3706 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3707
3708 * comint.el (comint-read-input-ring)
3709 (comint-add-to-input-history): Grow comint-input-ring lazily.
3710
103af3fe
SM
37112012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3712
663b1677
SM
3713 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3714 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3715
103af3fe
SM
3716 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3717 (imenu-add-to-menubar): Don't add a redundant index.
3718 (imenu-update-menubar): Handle a dynamically composed keymap.
3719
899cb7cb
KY
37202012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3721
3722 * mail/sendmail.el (mail-encode-header):
3723 Bind rfc2047-encode-encoded-words to nil.
3724
3809f91d
GM
37252012-03-13 Glenn Morris <rgm@gnu.org>
3726
3727 * calendar/calendar.el (calendar-string-spread):
3728 Handle non-unit-width characters a bit better. (Bug#10978)
3729
9e345a01
LL
37302012-03-13 Leo Liu <sdl.web@gmail.com>
3731
3732 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3733 directory and file as argument (Bug#10822).
3734
4a07df36
KS
37352012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3736
3737 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3738 For dynamically generated code, follow $PC.
3739 (gdb-disassembly-handler-custom): Handle no function name case.
3740
4aaa9356
TL
37412012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3742
3743 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3744 * emulation/ws-mode.el (ws-query-replace):
3745 * sort.el (sort-regexp-fields):
3746 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3747
225979da
SM
37482012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * dabbrev.el: Fix cycle completion order (bug#10963).
3751 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3752 (dabbrev-completion): Don't use an obarray; provide
3753 a cycle-sort-function.
3754
e2f1fdab
LL
37552012-03-12 Leo Liu <sdl.web@gmail.com>
3756
dc9924b8 3757 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3758 (kill-do-not-save-duplicates): Doc fix.
3759
b19490ed
SM
37602012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3761
3762 * dabbrev.el: Fix cycle completion (bug#10963).
3763 Use lexical binding and wrap to 80 columns.
3764 (dabbrev-completion): Delay computing the list of completions.
3765
4b05d722
KH
37662012-03-12 Kenichi Handa <handa@m17n.org>
3767
3768 * international/quail.el (quail-insert-kbd-layout): Surround each
3769 row by LRO and PDF instead of inserting many LRMs. Pad the left
3770 and right of each non-spacing marks. Insert invisible space
3771 between lower and upper characters to prevent composition.
3772
dbbc2e69
SM
37732012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3774
3775 * minibuffer.el (minibuffer-complete): Don't get confused when the
3776 function is run twice via different commands (bug#10958).
3777 (complete-with-action): Fix docstring.
3778
292112ed
CY
37792012-03-12 Chong Yidong <cyd@gnu.org>
3780
5d1ac394
CY
3781 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3782 (nxml-completion-at-point-function): New function.
3783 (nxml-mode): Use it.
3784 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3785
292112ed
CY
3786 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3787 Load generated autoloads file before byte compiling (Bug#10970).
3788 (package--make-autoloads-and-compile): New helper fun.
3789
4098f8f7
CS
37902012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3791
3792 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3793
8f754691
MA
37942012-03-11 Michael Albinus <michael.albinus@gmx.de>
3795
3796 * autorevert.el (auto-revert-handler): Ensure, that
3797 file-readable-p is applied only for local files or in
3798 auto-revert-tail-mode.
3799
e29ab36b
AS
38002012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3801
dbbc2e69
SM
3802 * server.el (server-eval-at): Handle non-tcp connections.
3803 Decode result string.
ad0bf5b6 3804
e29ab36b
AS
3805 * server.el (server-msg-size): New constant.
3806 (server-reply-print): New function.
3807 (server-eval-and-print): Use it.
3808 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3809 Handle -print-nonl.
3810
de5939ba
CS
38112012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3812
3813 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3814 (Bug#10987).
3815
0c93eabf
CY
38162012-03-11 Chong Yidong <cyd@gnu.org>
3817
397a688f
CY
3818 * simple.el (goto-line): Doc fix (Bug#9938).
3819
2cc775f9
CY
3820 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3821
0c93eabf
CY
3822 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3823 when finished (Bug#10963).
3824
c491fa41
MR
38252012-03-11 Martin Rudalics <rudalics@gmx.at>
3826
3827 * window.el (split-window-below): Fix bug in case where
3828 split-window-keep-point is nil (Bug#10971).
3829
300e8fa5
JL
38302012-03-11 Juri Linkov <juri@jurta.org>
3831
3832 * replace.el (replace-highlight): Set isearch-word to nil
3833 unconditionally. (Bug#10887)
3834
dbf6c5a1
EZ
38352012-03-10 Eli Zaretskii <eliz@gnu.org>
3836
3837 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3838 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3839 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3840 (mairix-widget-create-query): Add usage information about mairix
3841 search forms: negating words, searching for substrings, etc.
3842
b9e501de
JP
38432012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3844
3845 * international/fontset.el (font-encoding-alist): Add an entry for
3846 ksx1001 (Bug#5667).
3847
92795c91
RS
38482012-03-10 Richard Stallman <rms@gnu.org>
3849
1694e6c1
RS
3850 * mail/sendmail.el (mail-encode-header):
3851 Set rfc2047-encode-encoded-words.
3852
607e8555
RS
3853 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3854
de3bc99a
RS
3855 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3856 view buffer means not swapped.
3857 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3858 (rmail-write-region-annotate): Error if real text has disappeared.
3859
92795c91
RS
3860 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3861
699bd04e
CY
38622012-03-10 Chong Yidong <cyd@gnu.org>
3863
3864 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3865 * emulation/cua-base.el (cua--init-keymaps):
3866 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3867
570a1714
MR
38682012-03-10 Martin Rudalics <rudalics@gmx.at>
3869
dbbc2e69
SM
3870 * speedbar.el (speedbar-unhighlight-one-tag-line):
3871 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3872
82dcf4e4
CY
38732012-03-10 Chong Yidong <cyd@gnu.org>
3874
7a2c7ca7
CY
3875 * minibuffer.el (completion-in-region, completion-help-at-point):
3876 Give the completion field overlay a high priority (Bug#6830).
3877
82dcf4e4
CY
3878 * dired.el (dired-goto-file): Recognize absolute file name
3879 listings (Bug#7126).
3880 (dired-goto-file-1): New helper function.
3881 (dired-toggle-read-only): Inhibit warnings.
3882
052e28ac
MA
38832012-03-09 Michael Albinus <michael.albinus@gmx.de>
3884
75f1671a 3885 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3886 there are no properties.
3887
95d5e396
LL
38882012-03-09 Leo Liu <sdl.web@gmail.com>
3889
3890 * savehist.el (savehist-printable): Stricter check for string
3891 value (Bug#10937).
3892
3f018d6d
EZ
38932012-03-09 Eli Zaretskii <eliz@gnu.org>
3894
dbbc2e69
SM
3895 * mail/smtpmail.el (smtpmail-send-it):
3896 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3897 valid mbox format.
3898
f7fd3d79
GM
38992012-03-09 Glenn Morris <rgm@gnu.org>
3900
3901 * files.el (dir-locals-find-file):
3902 Don't check result is regular, readable.
3903 (dir-locals-read-from-file): Demote errors.
3904
6ff6e72f
EZ
39052012-03-08 Eli Zaretskii <eliz@gnu.org>
3906
dbbc2e69
SM
3907 * international/quail.el (quail-insert-kbd-layout):
3908 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3909 layout cell, to prevent their reordering by bidi display engine.
3910 For details, see the discussion in
3911 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3912
9cec7834
AM
39132012-03-08 Alan Mackenzie <acm@muc.de>
3914
3915 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3916 the starting position; make it extend the marked region when
3917 invoked repeatedly - all under appropriate circumstances.
3918 Fixes bugs #5525, #10906.
3919
9a40b8d4
GM
39202012-03-08 Glenn Morris <rgm@gnu.org>
3921
3922 * files.el (locate-dominating-file, dir-locals-find-file):
3923 Undo 2012-03-06 change.
3924
7a08ed35
EZ
39252012-03-07 Eli Zaretskii <eliz@gnu.org>
3926
dbbc2e69
SM
3927 * international/quail.el (quail-help):
3928 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3929 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3930 for the reason.
3931
5aca4f71 39322012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3933
3934 Avoid superfluous registering of signals. (Bug#10807)
3935
3936 * notifications.el (notifications-on-action-object)
3937 (notifications-on-close-object): New defvars.
3938 (notifications-on-action-signal, notifications-on-closed-signal):
3939 Unregister the signal if not needed any longer.
3940 (notifications-notify): Register `notifications-action-signal' or
3941 `notifications-closed-signal', if :on-action or :on-close has been
3942 passed as argument.
3943
78e8b10a
CY
39442012-03-07 Chong Yidong <cyd@gnu.org>
3945
3946 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3947 non-X platforms.
3948
69481eb8
GM
39492012-03-06 Glenn Morris <rgm@gnu.org>
3950
3951 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3952 (x-disown-selection-internal, x-get-selection-internal):
3953 Doc fix (add arglist signatures). (Bug#10783)
3954
133b8e11
KS
39552012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3956
3957 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3958 Handle breakpoints with no "type".
3959
99a83064
GM
39602012-03-06 Glenn Morris <rgm@gnu.org>
3961
3962 * files.el (locate-dominating-file): Add optional predicate argument.
3963 (dir-locals-find-file): Make use of above change.
3964
17798e78
TTN
39652012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3966
3967 * info.el (Info-insert-dir): Also try "dir.gz".
3968
eb182446
GM
39692012-03-06 Glenn Morris <rgm@gnu.org>
3970
8f2114ee
GM
3971 * files.el (dir-locals-find-file):
3972 Ignore non-readable or non-regular files. (Bug#10928)
3973
eb182446
GM
3974 * files.el (locate-dominating-file): Doc fix.
3975
24679323
AS
39762012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3977
3978 * calendar/calendar.el (calendar-set-mode-line):
3979 `getenv' returns a string. (Bug#10951)
3980
01d972a9
LL
39812012-03-05 Leo Liu <sdl.web@gmail.com>
3982
109aa8a9
LL
3983 * simple.el (backward-delete-char-untabify): Constrain point to
3984 field (Bug#10939).
3985
01d972a9
LL
3986 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3987
10607bea
CY
39882012-03-05 Chong Yidong <cyd@gnu.org>
3989
3990 * simple.el (count-words): If called from Lisp, return the word
3991 count, for symmetry with `count-lines'. Arglist changed.
3992 (count-words--message): Args changed. Consolidate counting code
3993 from count-words and count-words-region.
3994 (count-words-region): Caller changed.
3995 (count-lines-region): Make it an obsolete alias.
3996
5dd11cfe
TH
39972012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3998
3999 * saveplace.el (save-place-to-alist)
4000 (save-place-ignore-files-regexp): Allow value nil to disable this
4001 feature.
4002
c349f4e6
CY
40032012-03-04 Chong Yidong <cyd@gnu.org>
4004
4005 * faces.el (face-spec-reset-face): For the default face, reset the
4006 attributes to default values (Bug#10748).
4007
e627be4c
LMI
40082012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4009
4010 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4011 previous patch: Check `message-send-mail-function', and not the
4012 default function (bug#10897).
4013
ebeabff4
MA
40142012-03-04 Michael Albinus <michael.albinus@gmx.de>
4015
a41a6cf4
MA
4016 * notifications.el (notifications-on-action-signal)
4017 (notifications-on-closed-signal): Check for unique service name of
4018 incoming event. Fix error in removing entry.
ebeabff4 4019 (top): Register for signals with wildcard service name.
a41a6cf4 4020 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4021
c1ca42b4
CY
40222012-03-04 Chong Yidong <cyd@gnu.org>
4023
dc9924b8 4024 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4025
ea16568d
GM
40262012-03-04 Glenn Morris <rgm@gnu.org>
4027
4028 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4029 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4030 (expand-abbrev, define-abbrev-table): Doc fixes.
4031
fbae4637
LMI
40322012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4033
4034 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4035 `message-default-send-mail-function' and not `send-mail-function'
4036 when doing the prompting for `sendmail-query-once' before sending
4037 in Message buffers (bug#10897).
4038
a1e7225c
LMI
4039 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4040 This is inconsistent with all the other stream functions, which leave
4041 the setting up to the higher levels (if so wanted) (bug#10931).
4042
56d093a9
AM
40432012-03-02 Alan Mackenzie <acm@muc.de>
4044
4045 Depessimize the handling of very large macros.
4046
4047 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4048 (c-macro-cache-syntactic): New variables to implement a one
4049 element macro cache.
4050 (c-invalidate-macro-cache): New function.
4051 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4052 Adapt to use the new cache.
4053 (c-state-safe-place): Use better the cache of safe positions.
4054 (c-state-semi-nonlit-pos-cache)
4055 (c-state-semi-nonlit-pos-cache-limit):
4056 New variables for...
4057 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4058 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4059 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4060 Use c-state-semi-safe-place.
56d093a9 4061
dbbc2e69
SM
4062 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4063 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4064
817e5c3d
MA
40652012-03-02 Michael Albinus <michael.albinus@gmx.de>
4066
dbbc2e69
SM
4067 * jka-compr.el (jka-compr-call-process):
4068 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4069 not remote.
4070
a032a702
MA
40712012-03-01 Michael Albinus <michael.albinus@gmx.de>
4072
4073 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4074 access of FILE2, if FILE1 does not exist.
4075
99a54f21
MA
4076 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4077 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4078
4079 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4080 Add "PAGER=" to `process-environment'.
4081
f6561e1f
MM
40822012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4083
4084 * progmodes/sql.el: Bug fix
4085 (sql-get-login-ext): Save login values in globals.
4086 (sql-get-login): Use new version of `sql-get-login-ext'.
4087 (sql-interactive-mode): Set global `sql-connection' to nil.
4088 (sql-connect): Set global values for connection.
4089 (sql-product-interactive): Save global values as buffer local.
4090
2d44d9cc
LL
40912012-02-29 Leo Liu <sdl.web@gmail.com>
4092
4093 * abbrev.el (define-abbrevs): Reset sys to nil.
4094
96b49301 40952012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4096
bf7f9bc5
JB
4097 * files.el (file-equal-p): Rename from `files-equal-p'.
4098 Return nil when one or both files don't exist.
96b49301 4099 (file-subdir-of-p): Now only top directory must exists,
4100 return nil if it doesn't.
bf7f9bc5
JB
4101 (copy-directory): No need to test with `file-subdir-of-p' after
4102 creating dir.
4103 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4104 to `file-equal-p'.
96b49301 4105
44e97401
GM
41062012-02-28 Glenn Morris <rgm@gnu.org>
4107
4108 * shell.el (shell-mode):
4109 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4110 * play/landmark.el (landmark-font-lock-face-O):
4111 * play/handwrite.el (handwrite):
4112 * play/gomoku.el (gomoku-O):
4113 * net/browse-url.el (browse-url-browser-display):
4114 * international/mule.el (define-charset):
4115 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4116 * filesets.el (filesets-find-file-delay):
4117 * eshell/em-xtra.el (eshell-xtra):
4118 * eshell/em-unix.el (eshell-grep):
4119 * emulation/viper.el (viper-mode):
4120 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4121 * emacs-lisp/easymenu.el (easy-menu-define):
4122 * calendar/timeclock.el (timeclock-use-display-time):
4123 * bs.el (bs-mode):
4124 * bookmark.el (bookmark-save-flag):
4125 Doc fix (standardize possessive apostrophe usage).
4126
c98c6276
CY
41272012-02-27 Chong Yidong <cyd@gnu.org>
4128
bf7f9bc5
JB
4129 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4130 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4131
c98c6276
CY
4132 * font-lock.el (font-lock-specified-p): Rename from
4133 font-lock-spec-present. Callers changed.
4134
9c62cd04 41352012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4136
bf7f9bc5
JB
4137 * emacs-lisp/package.el (package-compute-transaction):
4138 Handle holding a package version to t in package-load-list.
8ac9e529 4139
530739c9
MA
41402012-02-26 Michael Albinus <michael.albinus@gmx.de>
4141
4142 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4143 (tramp-get-inode, tramp-get-device): Use cached values.
4144
487915d7
AM
41452012-02-26 Alan Mackenzie <acm@muc.de>
4146
4147 Check there is a font-lock specification before doing initial
4148 fontification.
4149
4150 * font-core.el (font-lock-mode): Move the conditional from
4151 :after-hook to font-lock-initial-fontify.
4152 (font-lock-default-function): Move the check for a specification
4153 to font-lock-spec-present.
4154
dc9924b8 4155 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4156 (font-lock-spec-present): New function.
4157
4fd96557
JB
41582012-02-26 Jim Blandy <jimb@red-bean.com>
4159
4160 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4161 (gdb-send): Apply it to the operand of the '-interpreter-exec
4162 console' command, so that we can pass arguments with (say) quotes
4163 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4164
9a4888c0
CY
41652012-02-26 Chong Yidong <cyd@gnu.org>
4166
07498861
CY
4167 * help-fns.el (describe-function-1): Clarify description of
4168 remapping (Bug#10844).
4169
9a4888c0
CY
4170 * files.el (files-equal-p): Doc fix.
4171 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4172 and quit the loop once a mismatch is found.
4173
ea8fb88d
JB
41742012-02-25 Juanma Barranquero <lekktu@gmail.com>
4175
4176 * bs.el (bs--show-with-configuration): Don't throw an error
4177 if the window cannot be split; otherwise, subsequent calls to
4178 bs-show fail, restoring a stale window config. (Bug#10882)
4179
525795c1
JD
41802012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4181
4182 * term/ns-win.el (global-map): Bind ns-drag-file to
4183 ns-find-file (Bug#5855, Bug#10050).
4184
f008086f
AS
41852012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4186
4187 * calendar/parse-time.el (parse-time-string): Allow extractor to
4188 return nil.
4189
a3fcfa99
MA
41902012-02-25 Michael Albinus <michael.albinus@gmx.de>
4191
91027d08
JB
4192 * net/tramp.el (tramp-file-name-for-operation):
4193 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4194
4195 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4196 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4197 Add COPY-CONTENTS argument.
a3fcfa99 4198
67b0de11
CY
41992012-02-25 Chong Yidong <cyd@gnu.org>
4200
4201 Add custom groups for VC backends, for consistency with vc-bzr.
4202
4203 * vc/vc-arch.el (vc-arch):
4204 * vc/vc-cvs.el (vc-cvs):
4205 * vc/vc-git.el (vc-git):
4206 * vc/vc-hg.el (vc-hg):
4207 * vc/vc-mtn.el (vc-mtn):
4208 * vc/vc-rcs.el (vc-rcs):
4209 * vc/vc-sccs.el (vc-sccs):
4210 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4211 All relevant defcustoms reassigned.
4212
3c9dfce6
CY
42132012-02-25 Chong Yidong <cyd@gnu.org>
4214
1339bf43
CY
4215 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4216
3c9dfce6
CY
4217 * term/x-win.el (x-initialize-window-system): Reduce default for
4218 x-selection-timeout to 5 seconds (Bug#8869).
4219
25b2e303 42202012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4221
ec70a47d
GM
4222 * files.el (files-equal-p, file-subdir-of-p): New functions.
4223 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4224 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4225 * dired-aux.el (dired-copy-file-recursive): Same.
4226 (dired-create-files): Modify destination when source is equal to
4227 dest when copying files.
53a46cd0 4228 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4229
914260cd
MA
42302012-02-24 Michael Albinus <michael.albinus@gmx.de>
4231
4232 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4233 (Bug#10874)
4234
2cb228f7
AM
42352012-02-23 Alan Mackenzie <acm@muc.de>
4236
4237 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4238 parameter "after-hook:" to allow the expansion to run code after
4239 the execution of the mode hooks.
4240
4241 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4242 from font-lock-mode-internal.
2cb228f7 4243
91027d08 4244 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4245 :after-hook.
4246
8f0fde21
SM
42472012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4248
3e88618b
SM
4249 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4250 (completion--cache-all-sorted-completions): New function.
4251 (completion-all-sorted-completions): Use it.
4252 (completion--do-completion, minibuffer-force-complete):
4253 Use it to re-instate the flush hook.
4254
8f0fde21
SM
4255 * icomplete.el (icomplete-completions): Replace last fix with a better
4256 one (bug#10850).
4257
8e911f6f
DG
42582012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4259
4260 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4261 when it might call us back infinitely (bug#10797).
4262
49fe4321
GM
42632012-02-23 Glenn Morris <rgm@gnu.org>
4264
4265 * minibuffer.el (completion-category-overrides): Doc fix.
4266
b291b572
SM
42672012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4268
4269 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4270 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4271
31a9ef2e
GM
42722012-02-23 Glenn Morris <rgm@gnu.org>
4273
5e6e6794 4274 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4275 (authors-obsolete-files-regexps, authors-ignored-files)
4276 (authors-ambiguous-files, authors-renamed-files-alist):
4277 Add more entries.
4278
0bd1e074
JL
42792012-02-23 Juri Linkov <juri@jurta.org>
4280
4281 * isearch.el (isearch-occur): Sync interactive spec with occur's
4282 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4283
b617673c
JL
4284 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4285
19e9789e
JL
42862012-02-22 Juri Linkov <juri@jurta.org>
4287
4288 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4289 (ucs-insert): Doc fix. Check for hex digits in the string.
4290 Don't display `nil' in the error message. (Bug#10857)
4291
f41ce09d
AM
42922012-02-22 Alan Mackenzie <acm@muc.de>
4293
7a71b18d 4294 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4295
ac2eceee
GM
42962012-02-22 Glenn Morris <rgm@gnu.org>
4297
4298 * ffap.el (ffap-c-path):
4299 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4300
abd1f678
CY
43012012-02-22 Chong Yidong <cyd@gnu.org>
4302
4303 * custom.el (load-theme): Doc fix.
4304
f25aef2e
GM
43052012-02-22 Glenn Morris <rgm@gnu.org>
4306
4307 * dired-x.el (dired-guess-shell-alist-default):
4308 Remove escape sequences from nroff output. (Bug#172)
4309
5f8dc2ca
GM
43102012-02-21 Glenn Morris <rgm@gnu.org>
4311
6ff86ec4
GM
4312 * vc/emerge.el (emerge-defvar-local):
4313 Set `permanent-local' property rather than unused `preserved'.
4314
be3223a3 4315 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4316 (picture-mode-map): Use it. (Bug#10860)
4317 (picture-mode): Doc fix.
4318
3fe58f4f
JB
43192012-02-21 Juanma Barranquero <lekktu@gmail.com>
4320
4321 * newcomment.el (uncomment-region-default): Remove unused binding.
4322
f9a998c3
GM
43232012-02-21 Glenn Morris <rgm@gnu.org>
4324
4325 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4326 (picture-self-insert, picture-tab-chars): Doc fix.
4327 (picture-mode-map): Fix C-a, C-e.
4328
c6029348
GM
43292012-02-20 Glenn Morris <rgm@gnu.org>
4330
4331 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4332
ab1ce9d7
LL
43332012-02-20 Leo Liu <sdl.web@gmail.com>
4334
4335 * icomplete.el (icomplete-completions): Check FROM arg before
4336 passing to substring (Bug#10850).
4337
0fd40f89
CY
43382012-02-19 Chong Yidong <cyd@gnu.org>
4339
4340 * comint.el: Require ansi-color.
4341 (comint-output-filter-functions): Add ansi-color-process-output.
4342
4343 * ansi-color.el: Don't set comint-output-filter-functions; it is
4344 now in the initial value defined in comint.el.
4345 (ansi-color-apply-face-function): New variable.
4346 (ansi-color-apply-on-region): Use it.
4347 (ansi-color-apply-overlay-face): New function.
4348
4349 * shell.el (shell): No need to require ansi-color.
4350 (shell-mode): Use ansi-color-apply-face-function to highlight
4351 color escapes using font-lock-face property (Bug#10835).
4352
20af2394
CY
43532012-02-19 Chong Yidong <cyd@gnu.org>
4354
4355 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4356 mode-line formats (Bug#10839).
4357
e23a3fbe
GM
43582012-02-18 Glenn Morris <rgm@gnu.org>
4359
b474519e
GM
4360 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4361
4362 * mail/undigest.el (unforward-rmail-message): Doc fix.
4363
e23a3fbe
GM
4364 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4365
57939ff4
EZ
43662012-02-18 Eli Zaretskii <eliz@gnu.org>
4367
4368 * international/characters.el (script-list): Sync with the latest
4369 Unicode Character Database.
4370
0c23686e
AS
43712012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4372
4373 * international/titdic-cnv.el: Remove duplicate coding tag.
4374 * language/cham.el: Likewise.
4375 * language/tai-viet.el: Likewise.
4376
6818b449
GM
43772012-02-18 Glenn Morris <rgm@gnu.org>
4378
4379 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4380 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4381 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4382 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4383 * calendar/holidays.el (holiday-bahai-holidays)
4384 (calendar-holidays, list-holidays):
4385 Use utf-8 Bahá'í in doc-strings, menus, etc.
4386
0311a3fc
TH
43872012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4388
4389 * saveplace.el (save-place-ignore-files-regexp): New variable
4390 allowing for excluding files from saving their location of point.
4391 The default value matches the temporary commit message editing
4392 files from Git, SVN, Bazaar, and Mercurial.
4393 (save-place-to-alist): Use it.
4394
eb864a71
LM
43952012-02-17 Lawrence Mitchell <wence@gmx.li>
4396 Stefan Monnier <monnier@iro.umontreal.ca>
4397
4398 * newcomment.el (uncomment-region-default): Don't leave extra space
4399 when an arg is provided (bug#8150).
4400
ee0ce425
TZ
44012012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4402
eb864a71 4403 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4404
95ddf442
GM
44052012-02-17 Glenn Morris <rgm@gnu.org>
4406
4407 * net/socks.el: Require network-stream. (Bug#10599)
4408
48dd1e39 44092012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4410
4411 * international/charprop.el:
4412 * international/uni-name.el:
4413 * international/uni-old-name.el:
4414 * international/uni-comment.el: Regenerate.
4415
d68cd087
GM
44162012-02-16 Glenn Morris <rgm@gnu.org>
4417
4418 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4419 Interactively in calendar buffer, give an error if not on a date.
4420
13932042
GM
44212012-02-15 Glenn Morris <rgm@gnu.org>
4422
4423 * shell.el (shell-delimiter-argument-list):
4424 Revert 2011-02-17 change. (Bug#8027)
4425
c3a70e2b
CY
44262012-02-15 Chong Yidong <cyd@gnu.org>
4427
60236b0d
CY
4428 * minibuffer.el (completion-at-point-functions): Doc fix.
4429
c3a70e2b
CY
4430 * custom.el (defcustom): Doc fix; note use of defvar.
4431
9f26dc24
GM
44322012-02-15 Glenn Morris <rgm@gnu.org>
4433
4434 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4435 Doc fixes.
4436
6546b134
GM
44372012-02-14 Glenn Morris <rgm@gnu.org>
4438
4439 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4440
d29b2b4c
LI
44412012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4442
4443 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4444 way the ports list is computed.
835bdcba
LI
4445 (smtpmail-query-smtp-server): Prompt the user for a port number if
4446 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4447
08dcdbc9
TZ
44482012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4449
4450 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4451
2605051a
GM
44522012-02-13 Glenn Morris <rgm@gnu.org>
4453
4454 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4455
7ee99f32
TZ
44562012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4457
4458 * net/gnutls.el (gnutls-trustfiles): New variable.
4459 (gnutls-negotiate): Use it.
4460
5f0af64f
LI
44612012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4462
4463 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4464 does its stuff if Gnus is running.
4465
c14fcc95
AM
44662012-02-13 Alan Mackenzie <acm@muc.de>
4467
4468 Fix a loop in c-set-fl-decl-start.
4469
7a71b18d 4470 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4471 c-backward-syntactic-ws actually moves backwards.
4472
142b4d90
LL
44732012-02-13 Leo Liu <sdl.web@gmail.com>
4474
4475 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4476 beginning so that all \C-o chars are removed.
4477
fa9958a6
TZ
44782012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4479
dc9924b8 4480 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4481
0bc5886a
AM
44822012-02-12 Alan Mackenzie <acm@muc.de>
4483
4484 Fix infinite loop with long macros.
4d6769e1 4485 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4486
d4bd55e7
CY
44872012-02-12 Chong Yidong <cyd@gnu.org>
4488
4489 * window.el (display-buffer): Doc fix (Bug#10785).
4490
66f3fe22
GM
44912012-02-12 Glenn Morris <rgm@gnu.org>
4492
bd7da63e
GM
4493 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4494 (x-disown-selection-internal, x-get-selection-internal):
4495 Sync docs with the xselect.c versions.
4496
66f3fe22
GM
4497 * allout-widgets.el: Add missing license notice.
4498
3e0d2fa7
GM
44992012-02-11 Glenn Morris <rgm@gnu.org>
4500
cfecdf09
GM
4501 * select.el (x-get-selection-internal, x-own-selection-internal)
4502 (x-disown-selection-internal):
4503 * x-dnd.el (x-get-selection-internal): Update declarations.
4504
6d216d7f
GM
4505 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4506
2bed3f04
GM
4507 * window.el (window-sides-slots):
4508 * tool-bar.el (tool-bar-position):
4509 * term/xterm.el (xterm-extra-capabilities):
4510 * ses.el (ses-self-reference-early-detection):
4511 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4512 (verilog-auto-wire-type)
4513 (verilog-auto-delete-trailing-whitespace)
4514 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4515 (verilog-auto-tieoff-declaration):
4516 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4517 (sql-oracle-statement-starters, sql-oracle-scan-on):
4518 * progmodes/prolog.el (prolog-align-comments-flag)
4519 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4520 (prolog-left-indent-regexp, prolog-paren-indent-p)
4521 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4522 (prolog-types, prolog-mode-specificators)
4523 (prolog-determinism-specificators, prolog-directives)
4524 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4525 (prolog-electric-dot-flag)
4526 (prolog-electric-dot-full-predicate-template)
4527 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4528 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4529 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4530 (prolog-program-switches, prolog-prompt-regexp)
4531 (prolog-debug-on-string, prolog-debug-off-string)
4532 (prolog-trace-on-string, prolog-trace-off-string)
4533 (prolog-zip-on-string, prolog-zip-off-string)
4534 (prolog-use-standard-consult-compile-method-flag)
4535 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4536 (prolog-imenu-max-lines, prolog-info-predicate-index)
4537 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4538 (prolog-char-quote-workaround):
4539 * progmodes/cc-vars.el (c-defun-tactic):
4540 * net/tramp.el (tramp-encoding-command-interactive)
4541 (tramp-local-end-of-line):
4542 * net/soap-client.el (soap-client):
4543 * net/netrc.el (netrc-file):
4544 * net/gnutls.el (gnutls):
4545 * minibuffer.el (completion-category-overrides)
4546 (completion-cycle-threshold)
4547 (completion-pcm-complete-word-inserts-delimiters):
4548 * man.el (Man-name-local-regexp):
4549 * mail/feedmail.el (feedmail-display-full-frame):
4550 * international/characters.el (glyphless-char-display-control):
4551 * eshell/em-ls.el (eshell-ls-date-format):
4552 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4553 (lisp-lambda-list-keyword-parameter-indentation)
4554 (lisp-lambda-list-keyword-parameter-alignment):
4555 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4556 * dired-x.el (dired-omit-verbose):
4557 * cus-theme.el (custom-theme-allow-multiple-selections):
4558 * calc/calc.el (calc-highlight-selections-with-faces)
4559 (calc-lu-field-reference, calc-lu-power-reference)
4560 (calc-note-threshold):
4561 * battery.el (battery-mode-line-limit):
4562 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4563 (archive-7z-update):
4564 * allout.el (allout-prefixed-keybindings)
4565 (allout-unprefixed-keybindings)
4566 (allout-inhibit-auto-fill-on-headline)
4567 (allout-flattened-numbering-abbreviation):
4568 * allout-widgets.el (allout-widgets-auto-activation)
4569 (allout-widgets-icons-dark-subdir)
4570 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4571 (allout-widgets-theme-dark-background)
4572 (allout-widgets-theme-light-background)
4573 (allout-widgets-item-image-properties-emacs)
4574 (allout-widgets-item-image-properties-xemacs)
4575 (allout-widgets-run-unit-tests-on-load)
4576 (allout-widgets-time-decoration-activity)
4577 (allout-widgets-hook-error-post-time)
4578 (allout-widgets-track-decoration):
4579 Add missing :version tags to new defcustoms and defgroups.
4580
5fec1b8e
GM
4581 * progmodes/sql.el (sql-ansi-statement-starters)
4582 (sql-oracle-statement-starters): Add custom type.
4583
3e0d2fa7
GM
4584 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4585 (prolog-system-version): Give it a type.
4586
90b671e2
EZ
45872012-02-11 Eli Zaretskii <eliz@gnu.org>
4588
4589 * term/pc-win.el (x-select-text, x-selection-owner-p)
4590 (x-own-selection-internal, x-disown-selection-internal)
4591 (x-get-selection-internal): Sync doc strings and argument lists
4592 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4593
5eac0c02
LL
45942012-02-11 Leo Liu <sdl.web@gmail.com>
4595
4596 * progmodes/python.el (python-end-of-statement): Fix infinite
4597 loop. (Bug#10788)
4598
f82cb659
GM
45992012-02-10 Glenn Morris <rgm@gnu.org>
4600
4601 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4602 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4603
cc26d239
LI
46042012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4605
4606 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4607 about SMTP before checking the From header.
4608
91027d08 4609 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4610 into own function for reuse by emacsbug.el.
4611
1be3ca5a
LL
46122012-02-10 Leo Liu <sdl.web@gmail.com>
4613
4614 * subr.el (condition-case-unless-debug): Rename from
4615 condition-case-no-debug. All callers changed.
4616 (with-demoted-errors): Fix caller.
4617
4618 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4619 * nxml/rng-valid.el (rng-do-some-validation):
4620 * emacs-lisp/package.el (package-refresh-contents)
4621 (package-menu-execute):
4622 * desktop.el (desktop-create-buffer):
91027d08 4623 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4624
b011fbfe
GM
46252012-02-10 Glenn Morris <rgm@gnu.org>
4626
b2096d72
GM
4627 * textmodes/bibtex.el:
4628 Add missing :version tags for new/changed defcustoms.
4629
b011fbfe
GM
4630 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4631
4c7e65bf
LI
46322012-02-09 Lars Ingebrigtsen <larsi@rusty>
4633
4634 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4635 (smtpmail-via-smtp): Use it, or fall back on the From address.
4636 (smtpmail-send-it): Ditto.
4637
f3934f6f
SM
46382012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4639
4640 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4641 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4642 (byte-compile-tmp-var): New const.
4643 (byte-compile-defvar): Use it to minimize .elc size.
4644 Just use `defvar' rather than simulate it (bug#10761).
4645
a075a2c5
GM
46462012-02-09 Glenn Morris <rgm@gnu.org>
4647
cf3aa21b
GM
4648 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4649
354998cd
GM
4650 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4651 Add :version tags.
4652
dc9924b8
SM
4653 * progmodes/compile.el (compilation-error-screen-columns)
4654 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4655
dab3703d
GM
4656 * vc/log-view.el (log-view-toggle-entry-display):
4657 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4658
3f88cd72
GM
4659 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4660 (report-emacs-bug-can-use-xdg-email):
4661 (report-emacs-bug-insert-to-mailer): Doc fixes.
4662 (report-emacs-bug): Message fix.
4663
d95b247d
GM
4664 * net/browse-url.el (browse-url-can-use-xdg-open)
4665 (browse-url-xdg-open): Doc fixes.
4666
a075a2c5
GM
4667 * electric.el (electric-indent-mode, electric-pair-mode)
4668 (electric-layout-rules, electric-layout-mode): Doc fixes.
4669 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4670
ffb6157e
MR
46712012-02-08 Martin Rudalics <rudalics@gmx.at>
4672
4673 * server.el (server-unselect-display): Don't inadvertently kill
4674 the current buffer. (Bug#10729)
4675
e1ac4066
GM
46762012-02-08 Glenn Morris <rgm@gnu.org>
4677
34e8a2da
GM
4678 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4679 (sql-list-table): Doc fixes.
4680
b4ac6e8c
GM
4681 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4682 Comment out (does nothing).
4683
e1ac4066
GM
4684 * completion.el (dynamic-completion-mode):
4685 * dirtrack.el (dirtrack-debug-mode):
4686 * electric.el (electric-layout-mode):
4687 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4688 * face-remap.el (text-scale-mode, buffer-face-mode):
4689 * iimage.el (iimage-mode):
4690 * image-mode.el (image-transform-mode):
4691 * minibuffer.el (completion-in-region-mode):
4692 * scroll-lock.el (scroll-lock-mode):
4693 * simple.el (next-error-follow-minor-mode):
4694 * tar-mode.el (tar-subfile-mode):
4695 * tooltip.el (tooltip-mode):
4696 * vcursor.el (vcursor-use-vcursor-map):
4697 * wid-browse.el (widget-minor-mode):
4698 * emulation/tpu-edt.el (tpu-edt-mode):
4699 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4700 * international/iso-ascii.el (iso-ascii-mode):
4701 * language/thai-util.el (thai-word-mode):
4702 * mail/supercite.el (sc-minor-mode):
4703 * net/goto-addr.el (goto-address-mode):
4704 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4705 * progmodes/cwarn.el (cwarn-mode):
4706 * progmodes/flymake.el (flymake-mode):
4707 * progmodes/glasses.el (glasses-mode):
4708 * progmodes/hideshow.el (hs-minor-mode):
4709 * progmodes/pascal.el (pascal-outline-mode):
4710 * textmodes/enriched.el (enriched-mode):
4711 * vc/smerge-mode.el (smerge-mode):
4712 Doc fixes (minor mode argument).
4713
5e0d957f
EZ
47142012-02-07 Eli Zaretskii <eliz@gnu.org>
4715
4716 * ls-lisp.el (ls-lisp-sanitize): New function.
4717 (ls-lisp-insert-directory): Use it to fix or remove any elements
4718 in file-alist with missing attributes. (Bug#4673)
4719
98d7371e
AM
47202012-02-07 Alan Mackenzie <acm@muc.de>
4721
4722 Fix spurious recognition of c-in-knr-argdecl.
4723
4724 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4725 putative K&R region.
4726
667ced3a
AM
47272012-02-07 Alan Mackenzie <acm@muc.de>
4728
eb864a71
LM
4729 * progmodes/cc-engine.el (c-forward-objc-directive):
4730 Prevent looping in "#pragma mark @implementation".
667ced3a 4731
5b77774d
MA
47322012-02-07 Michael Albinus <michael.albinus@gmx.de>
4733
4734 * notifications.el (notifications-on-closed-signal): Make `reason'
4735 optional. (Bug#10744)
4736
af008560
GM
47372012-02-07 Glenn Morris <rgm@gnu.org>
4738
60d47423
GM
4739 * emacs-lisp/easy-mmode.el (define-minor-mode):
4740 Doc fixes for the macro and the mode it defines.
4741
dd605cc4
GM
4742 * image.el (imagemagick-types-inhibit): Doc fix.
4743
af008560
GM
4744 * cus-start.el (imagemagick-render-type): Add it.
4745
5cc59a37
LI
47462012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4747
4d6769e1
JB
4748 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4749 Set the default at load time, too, so that `font-lock-fontify-buffer'
4750 can be called without setting up the entire mode first. This fixes
4751 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4752
9a6dd747
CY
47532012-02-06 Chong Yidong <cyd@gnu.org>
4754
2d16b285
CY
4755 * simple.el (list-processes--refresh): Delete exited processes
4756 (Bug#8094).
4757
171e9b6e
CY
4758 * comint.el (comint-next-prompt): next-single-char-property-change
4759 and prev-single-char-property-change never return nil (Bug#8657).
4760
9a6dd747
CY
4761 * custom.el (defcustom): Doc fix (Bug#9711).
4762
aa4589a7
CY
47632012-02-05 Chong Yidong <cyd@gnu.org>
4764
5c2a252f
CY
4765 * cus-edit.el (custom-variable-reset-backup): Quote the value
4766 before storing it in the customized-value property (Bug#6712).
4aab9006 4767 (custom-display): Add a customization type tag.
983b9602 4768 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4769
aa4589a7
CY
4770 * wid-edit.el (widget-field-value-get): New optional arg to
4771 suppress trailing whitespace truncation.
4772 (character): Use it (Bug#2689).
4773
1ff980ae
AS
47742012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4775
4776 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4777 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4778
03988c98
CY
47792012-02-05 Chong Yidong <cyd@gnu.org>
4780
eeb6cc88
CY
4781 * cus-edit.el (custom-variable-value-create): For mismatched
4782 types, show the current value (Bug#7600).
4783
03988c98
CY
4784 * custom.el (defcustom): Doc fix.
4785
f8cdeef0
GM
47862012-02-05 Glenn Morris <rgm@gnu.org>
4787
4788 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4789
0696d255
JB
47902012-02-05 Juanma Barranquero <lekktu@gmail.com>
4791
4792 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4793 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4794 (pp-last-sexp): Use `looking-at-p'.
4795
34c99998
GM
47962012-02-04 Glenn Morris <rgm@gnu.org>
4797
8f05da42
GM
4798 * files.el (revert-buffer):
4799 Doc fix (mention revert-buffer-in-progress-p).
4800
f160676e
GM
4801 * emacs-lisp/ert-x.el (ert-simulate-command):
4802 Check deferred-action-list (which is obsolete) is bound.
4803
c7291ad9
GM
4804 * subr.el (with-wrapper-hook): Doc fixes.
4805
34c99998
GM
4806 * simple.el (filter-buffer-substring-functions)
4807 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4808
6283a7d3
LL
48092012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4810
4811 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4812 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4813
e96e3013
LL
48142012-02-04 Leo Liu <sdl.web@gmail.com>
4815
4816 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4817
8ded50f2
GM
48182012-02-04 Glenn Morris <rgm@gnu.org>
4819
82ff1d13
GM
4820 * image.el (image-extension-data): Add obsolete alias.
4821
987a0a16
GM
4822 * isearch.el (isearch-update): Doc fix.
4823
ea32ef46
GM
4824 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4825
8ded50f2
GM
4826 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4827
eea14f31
GM
48282012-02-03 Glenn Morris <rgm@gnu.org>
4829
4830 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4831 (image-animate-timeout): Doc fix.
4832
4833 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4834
12f381b7
GM
48352012-02-02 Glenn Morris <rgm@gnu.org>
4836
953cebf5
GM
4837 * server.el (server-auth-dir): Doc fix.
4838 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4839
12f381b7
GM
4840 * subr.el (run-mode-hooks): Doc fix.
4841
953a8c3b
JL
48422012-02-02 Juri Linkov <juri@jurta.org>
4843
4844 * image-mode.el (image-toggle-display-image): Remove tautological
4845 `major-mode' from the `derived-mode-p' test.
4846
c5d3843c
KH
48472012-02-02 Kenichi Handa <handa@m17n.org>
4848
9f6e692e 4849 * composite.el (compose-region): Cancel previous change.
c5d3843c 4850
159462d4 48512012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4852
4853 * composite.el (compose-region, compose-string): Signal error for
4854 a null string component (Bug#6988).
4855
9f562668
CY
48562012-02-01 Chong Yidong <cyd@gnu.org>
4857
e2cef717
CY
4858 * view.el (view-buffer-other-window, view-buffer-other-frame):
4859 Handle special modes like view-buffer (Bug#10650).
4860 (view-buffer): Simplify.
4861
9f562668
CY
4862 * frame.el (set-frame-font): Tweak meaning of third argument.
4863
9f6e692e
JB
4864 * dynamic-setting.el (font-setting-change-default-font):
4865 Use set-frame-font (Bug#9982).
9f562668 4866
781acb9f
GM
48672012-02-01 Glenn Morris <rgm@gnu.org>
4868
6035be52
GM
4869 * progmodes/compile.el (compilation-internal-error-properties):
4870 Respect compilation-first-column in the "*compilation*" buffer.
4871
781acb9f
GM
4872 * emacs-lisp/easy-mmode.el (define-minor-mode):
4873 Relax :variable's test for a named function.
4874
abbceb00
AM
48752012-01-31 Alan Mackenzie <acm@muc.de>
4876
4877 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4878 off by one error.
4879
fce3fdeb
CY
48802012-01-31 Chong Yidong <cyd@gnu.org>
4881
4882 * frame.el (set-frame-font): New arg ALL-FRAMES.
4883
4884 * menu-bar.el (menu-set-font): Use set-frame-font.
4885
4886 * faces.el (face-spec-reset-face): Don't apply unspecified
4887 attribute values to the default face.
4888
47893581
JB
48892012-01-31 Juanma Barranquero <lekktu@gmail.com>
4890
4891 * progmodes/cwarn.el (cwarn): Remove dead link.
4892 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4893 Remove * from defcustom docstrings.
4894 (turn-on-cwarn-mode): Make obsolete.
4895 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4896 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4897
e58e988a
GM
48982012-01-31 Glenn Morris <rgm@gnu.org>
4899
60dc2671 4900 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4901 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4902 Allow named functions to be used as the cdr of :variable.
e58e988a 4903
7a3f511d
GM
49042012-01-30 Glenn Morris <rgm@gnu.org>
4905
4906 * emacs-lisp/authors.el (authors-fixed-entries):
4907 Remove reference to deleted file rnewspost.el.
4908
cb882333
JB
49092012-01-29 Juanma Barranquero <lekktu@gmail.com>
4910
4911 * window.el (window-with-parameter): Remove unused variable `windows'.
4912 (window--side-check): Remove unused variable `code'.
4913 (window--resize-siblings): Remove unused variable `first'.
4914 (adjust-window-trailing-edge): Remove unused variable `failed'.
4915 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4916 Use `let', not `let*'.
4917 (balance-windows-2): Remove unused variable `found'.
4918 (window--state-put-2): Remove unused variable `splits'.
4919 (window-state-put): Remove unused variable `selected'.
4920 (same-window-p): Use `string-match-p'.
4921 (display-buffer-assq-regexp): Remove unused variable `value'.
4922 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4923 Mark argument ALIST as ignored.
4924 (pop-to-buffer): Remove unused variable `old-window'.
4925
907201af
EZ
49262012-01-29 Eli Zaretskii <eliz@gnu.org>
4927
4928 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4929 and .lzma compressed files.
4930
ea162670
CY
49312012-01-29 Chong Yidong <cyd@gnu.org>
4932
5b95ee8a
CY
4933 * frame.el (window-system-default-frame-alist): Doc fix.
4934
ea162670
CY
4935 * dynamic-setting.el (font-setting-change-default-font): Don't
4936 change the default face if SET-FONT argument is non-nil (Bug#9982).
4937
d6e6f4b1
SB
49382012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4939
4940 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4941
0f29fa41 49422012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4943
4944 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4945 breakpoints in files outside current directory (Bug#6098).
4946
db174434
CY
49472012-01-29 Chong Yidong <cyd@gnu.org>
4948
6b25e4e2
SE
4949 * progmodes/python.el: Require ansi-color at top-level.
4950
6df6ae42
JB
4951 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4952 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4953 (lisp-mode-abbrev-table): Add doc.
4954 (lisp-mode-variables): Don't set local-abbrev-table.
4955 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4956
e70ee681
RW
49572012-01-28 Roland Winkler <winkler@gnu.org>
4958
4959 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4960
ace88aa2
RW
49612012-01-28 Roland Winkler <winkler@gnu.org>
4962
4963 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4964 (bibtex-set-dialect): Use it. Either set global values of
4965 dialect-dependent variables or bind these variables buffer-locally
4966 (Bug#10254).
4967 (bibtex-mode): Call bibtex-set-dialect via
4968 hack-local-variables-hook.
eb864a71
LM
4969 (bibtex-dialect): Update docstring.
4970 Add safe-local-variable predicate.
ace88aa2
RW
4971 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4972 bibtex-set-dialect.
4973 (bibtex-mode-map): Define menu for each dialect.
4974 (bibtex-entry): Fix docstring.
4975
93376c5b
CY
49762012-01-28 Chong Yidong <cyd@gnu.org>
4977
4978 * eshell/esh-arg.el (eshell-quote-argument): New function.
4979
4980 * eshell/esh-ext.el (eshell-invoke-batch-file):
4981 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4982 first arg to eshell-parse-command (Bug#10523).
4983
4372494f
DA
49842012-01-28 Drew Adams <drew.adams@oracle.com>
4985
4986 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4987 `default-directory' is non-nil.
4988
4d4ec1f8
EZ
49892012-01-28 Eli Zaretskii <eliz@gnu.org>
4990
4991 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4992 line that displays system-configuration-options. (Bug#9924)
4993
7c188927
DA
49942012-01-28 Drew Adams <drew.adams@oracle.com>
4995
4996 * descr-text.el (describe-char): Show information about POS, in
4997 addition to information about the character at POS. Improve and
4998 update the doc string. Change "code point" to "code point in
4999 charset", to avoid confusion with the character's Unicode code
5000 point shown above that. (Bug#10129)
5001
e0da685a
EZ
50022012-01-28 Eli Zaretskii <eliz@gnu.org>
5003
5004 * descr-text.el (describe-char): Show the raw character, not only
5005 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5006 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5007 for the reasons.
5008
70550acf
PH
50092012-01-28 Phil Hagelberg <phil@hagelb.org>
5010
eb864a71
LM
5011 * emacs-lisp/package.el (package-install):
5012 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5013
0ce8e868
CY
50142012-01-28 Chong Yidong <cyd@gnu.org>
5015
cb882333
JB
5016 * emacs-lisp/package.el (package-maybe-load-descriptor):
5017 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5018 (package-maybe-load-descriptor): Use it.
5019 (package-download-transaction): Fully load required packages
5020 inside the loop, so that `require' calls work (Bug#10593).
5021 (package-install): No need to call package-initialize now.
5022
2e7f3bea
CY
50232012-01-28 Chong Yidong <cyd@gnu.org>
5024
6e9bad14
CY
5025 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5026
f823b8ca
CY
5027 * tooltip.el (tooltip-mode): Doc fix.
5028 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5029
2680c309
CY
5030 * frame.el (set-cursor-color): Doc fix (Bug#352).
5031
d7a9e63b
CY
5032 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5033 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5034
2e7f3bea
CY
5035 * cus-edit.el (custom-buffer-create-internal): Fix search button
5036 action (Bug#10542).
2ae01800 5037 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5038
fc4f7a23
EW
50392012-01-27 Eduard Wiebe <usenet@pusto.de>
5040
5041 * dired.el (dired-mark-files-regexp):
5042 Include any subdirectory components. (Bug#10445)
5043
7dd37071
ML
50442012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5045
5046 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5047 Handle [host]:port syntax. (Bug#10533)
5048
a268160b
AH
50492012-01-27 Alex Harsanyi <harsanyi@mac.com>
5050
5051 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5052
e43273ef
GM
50532012-01-26 Glenn Morris <rgm@gnu.org>
5054
5055 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5056 * term.el (term-raw-escape-map): Use Control-X-prefix.
5057 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5058
1edf595d
MR
50592012-01-25 Martin Rudalics <rudalics@gmx.at>
5060
5061 * window.el (window-state-get, window--state-get-1): Don't deal
5062 with fixed-sizeness of windows. Simplify code.
5063
fa8eafef
JC
50642012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5065
6df6ae42
JB
5066 * window.el (window--state-get-1, window--state-put-2):
5067 Don't save and restore the mark.
fa8eafef 5068
0b21c100
CY
50692012-01-25 Chong Yidong <cyd@gnu.org>
5070
5071 * custom.el (custom-variable-p): Doc fix.
5072
5ae1a6c8
GM
50732012-01-25 Glenn Morris <rgm@gnu.org>
5074
40047858
GM
5075 * dired.el (dired-goto-file): Handle some of the more common
5076 characters that `ls -b' escapes. (Bug#10596)
5077
5ddce96c
GM
5078 * progmodes/compile.el (compilation-next-error-function):
5079 Respect compilation-first-column in the "*compilation*" buffer.
5080 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5081
5ae1a6c8
GM
5082 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5083
b559f1a9
GM
50842012-01-24 Glenn Morris <rgm@gnu.org>
5085
5086 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5087
6725d21a
JD
50882012-01-24 Julien Danjou <julien@danjou.info>
5089
5090 * color.el (color-rgb-to-hsl): Fix value computing.
5091 (color-hue-to-rgb): New function.
5092 (color-hsl-to-rgb): New function.
5093 (color-clamp, color-saturate-hsl, color-saturate-name)
5094 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5095 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5096
70df4bbe
GM
50972012-01-24 Glenn Morris <rgm@gnu.org>
5098
5099 * vc/vc-rcs.el (vc-rcs-create-tag):
5100 * vc/vc-sccs.el (vc-sccs-create-tag):
5101 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5102
802a2ae2
ML
51032012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5104
5105 * eshell/esh-util.el (eshell-read-hosts-file):
5106 Skip comment lines. (Bug#10549)
5107
d7128bb1
ML
5108 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5109
d1a5c3b4
JB
51102012-01-23 Juanma Barranquero <lekktu@gmail.com>
5111
2724d9c7
JB
5112 * subr.el (display-delayed-warnings): Doc fix.
5113 (collapse-delayed-warnings): New function to collapse identical
5114 adjacent warnings.
5115 (delayed-warnings-hook): Add it.
d1a5c3b4 5116
a5509865
MA
51172012-01-22 Michael Albinus <michael.albinus@gmx.de>
5118
5119 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5120
a5509865
MA
5121 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5122 (tramp-default-user-alist): Don't add "pscp".
5123 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5124 property "login-as", if set. (Bug#10530)
5125
cc6d5805
MA
51262012-01-21 Michael Albinus <michael.albinus@gmx.de>
5127
5128 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5129 "plink1" and "psftp". (Bug#10530)
5130
51312012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5132
5133 * international/mule-cmds.el (prefer-coding-system): Show a
5134 warning message if the default value of file-name-coding-system
5135 was not changed.
5136
f0960428
JC
51372012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5138
cb882333
JB
5139 * windmove.el (windmove-reference-loc):
5140 Fix windmove-reference-loc miscalculation.
f0960428 5141
dd6f2a63
JB
51422012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5143
5144 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5145 default unit.
5146
7b447e9b
GM
51472012-01-21 Glenn Morris <rgm@gnu.org>
5148
117a9ea1
GM
5149 * international/mule.el (auto-coding-alist): Add .tbz.
5150
7b447e9b
GM
5151 * files.el (local-enable-local-variables): Doc fix.
5152 (inhibit-local-variables-regexps): Rename from
5153 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5154 Doc fix. Add some extensions from auto-coding-alist.
5155 (inhibit-local-variables-suffixes):
5156 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5157 (inhibit-local-variables-p):
5158 New function, extracted from set-auto-mode-1.
5159 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5160 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5161 (hack-local-variables): Doc fix. Make the mode-only case
5162 respect enable-local-variables and friends.
5163 Respect inhibit-local-variables-regexps for file-locals, but
5164 not for directory-locals.
5165 (set-visited-file-name):
5166 Take account of inhibit-local-variables-regexps.
5167 Whether it applies may change as the file name is changed.
5168 * jka-cmpr-hook.el (jka-compr-install):
5169 * jka-compr.el (jka-compr-uninstall):
5170 Update for inhibit-first-line-modes-suffixes name change.
5171
dd6e3cdd
MR
51722012-01-20 Martin Rudalics <rudalics@gmx.at>
5173
5174 * help-macro.el (make-help-screen): Temporarily restore original
5175 binding for minor-mode-map-alist (Bug#10454).
5176
0d0deb38
JD
51772012-01-19 Julien Danjou <julien@danjou.info>
5178
5179 * color.el (color-name-to-rgb): Use the white color to find the max
5180 color component value and return correctly computed values.
5181 (color-name-to-rgb): Add missing float conversion for max value.
5182
34a02f46
MR
51832012-01-19 Martin Rudalics <rudalics@gmx.at>
5184
5185 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5186 special state value for window-persistent-parameters.
5187 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5188 (window--state-put-2): Reset all window parameters to nil before
5189 assigning values of persistent parameters.
5190
606c44c4
AM
51912012-01-18 Alan Mackenzie <acm@muc.de>
5192
5193 Eliminate sluggishness and hangs in fontification of "semicolon
5194 deserts".
5195
cb882333
JB
5196 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5197 Change value 10000 -> 3000.
606c44c4
AM
5198 (c-state-safe-place): Reformulate so it doesn't stack up an
5199 infinite number of wrong entries in c-state-nonlit-pos-cache.
5200 (c-determine-limit-get-base, c-determine-limit): New functions to
5201 determine backward search limits disregarding literals.
5202 (c-find-decl-spots): Amend commenting.
5203 (c-cheap-inside-bracelist-p): New function which detects "={".
5204
5205 * progmodes/cc-fonts.el
5206 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5207 backward search.
5208 (c-font-lock-declarations): Fix an occurrence of point being
5209 undefined. Check additionally for point being in a bracelist or
5210 near a macro invocation without a semicolon so as to avoid a
5211 fruitless time consuming search for a declarator. Give a more
5212 precise search limit for declarators using the new
5213 c-determine-limit.
5214
f3860cea
GM
52152012-01-18 Glenn Morris <rgm@gnu.org>
5216
5217 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5218 (set-auto-mode): Doc fixes.
5219
1db03b16
GM
52202012-01-17 Glenn Morris <rgm@gnu.org>
5221
0e6038be
GM
5222 * isearch.el (search-nonincremental-instead): Fix doc typo.
5223
1db03b16
GM
5224 * dired.el (dired-insert-directory): Handle newlines in directory name.
5225 (dired-build-subdir-alist): Unescape newlines in directory name.
5226
4cb0aa75
MA
52272012-01-17 Michael Albinus <michael.albinus@gmx.de>
5228
5229 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5230 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5231 (tramp-action-terminal): Use it. (Bug#10530)
5232
1d00653d
SM
52332012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5236
6a6ee00d
MR
52372012-01-16 Martin Rudalics <rudalics@gmx.at>
5238
5239 * window.el (window-state-ignored-parameters): Remove variable.
5240 (window--state-get-1): Rename argument MARKERS to IGNORE.
5241 Handle persistent window parameters. Make copy of clone-of
5242 parameter only if requested. (Bug#10348)
5243 (window--state-put-2): Install a window parameter only if it has
5244 a non-nil value or an existing parameter shall be overwritten.
5245
97912def
MA
52462012-01-15 Michael Albinus <michael.albinus@gmx.de>
5247
5248 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5249
688070a5
EZ
52502012-01-14 Eli Zaretskii <eliz@gnu.org>
5251
5252 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5253 don't pass the (nil) value of `upnode' to string-match.
5254
301afadc
CY
52552012-01-14 Chong Yidong <cyd@gnu.org>
5256
5257 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5258 Fix values recognized by the cursorBlink resource.
301afadc 5259
9e5788aa
PE
52602012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5261
5262 * epg.el (epg--make-temp-file): Avoid permission race condition
5263 when running on old Emacs versions (bug#10403).
5264
3cdb7f5a
GM
52652012-01-14 Glenn Morris <rgm@gnu.org>
5266
5267 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5268
8c82b1b4
AM
52692012-01-13 Alan Mackenzie <acm@muc.de>
5270
5271 Fix filling for when filladapt mode is enabled.
5272
5273 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5274 c-mask-paragraph, pass in `fill-paragraph' rather than
5275 `fill-region-as-paragraph'. (This is a reversion of a previous
5276 change.)
eb864a71
LM
5277 * progmodes/cc-mode.el (c-basic-common-init):
5278 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5279
e517eda4
GM
52802012-01-13 Glenn Morris <rgm@gnu.org>
5281
1498536e
GM
5282 * dired.el (dired-switches-escape-p): New function.
5283 (dired-insert-directory): Use dired-switches-escape-p.
5284 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5285
e517eda4
GM
5286 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5287
328f984d
GM
52882012-01-12 Glenn Morris <rgm@gnu.org>
5289
5290 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5291 changes in adaptive-fill-regexp. (Bug#10276)
5292
2cc769a8
AM
52932012-01-11 Alan Mackenzie <acm@muc.de>
5294
5295 Fix Emacs bug #10463 - put `widen's around the critical spots.
5296
1d00653d 5297 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5298 widen around each invocation of c-state-pp-to-literal. Remove an
5299 unused let variable.
5300
e52c37fa
GM
53012012-01-11 Glenn Morris <rgm@gnu.org>
5302
5303 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5304 Doc fix.
e52c37fa 5305
96f8741e
CY
53062012-01-10 Chong Yidong <cyd@gnu.org>
5307
1d00653d
SM
5308 * net/network-stream.el (network-stream-open-starttls):
5309 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5310 response to the capability command.
5311
b09a806e
GM
53122012-01-10 Glenn Morris <rgm@gnu.org>
5313
5314 * mail/unrmail.el (unrmail): Tweak previous change.
5315
7655cb66
CY
53162012-01-09 Chong Yidong <cyd@gnu.org>
5317
5318 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5319
9d5a8f0b
AM
53202012-01-08 Alan Mackenzie <acm@muc.de>
5321
5322 Optimise font locking in long enum definitions.
5323
5324 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5325 arm to a cond form to handle enums.
5326 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5327 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5328
9a0115ab 53292012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5330
5331 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5332 (Bug#10401)
6bb72cbd 5333
f186bb95
LMI
53342012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5335
29232a68
LMI
5336 * faces.el (set-face-attribute): Clarify the meaning of the nil
5337 frame (bug#10294).
5338
4e5d086d
LMI
5339 * subr.el (with-selected-frame): Mention that the selected frame
5340 is restored (bug#9980).
5341
8e66aebe
LMI
5342 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5343 (bug#9759).
5344
cd394be1 5345 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5346 (password-read): Don't autoload unused function.
5347
adf4e762
JB
53482012-01-07 Juanma Barranquero <lekktu@gmail.com>
5349
5350 * progmodes/which-func.el (which-func-mode): Turn into a
5351 non-interactive function and mark as obsolete (bug#10428).
5352
89bd9ccd
CY
53532012-01-06 Chong Yidong <cyd@gnu.org>
5354
5355 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5356 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5357 functions, along with 1 and -1.
5358
4afee9d5
EZ
53592012-01-06 Eli Zaretskii <eliz@gnu.org>
5360
5361 * time.el (display-time-load-average)
5362 (display-time-default-load-average): Doc fixes. See the thread
5363 starting at
5364 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5365 for the details.
5366
536aea70
GM
53672012-01-06 Glenn Morris <rgm@gnu.org>
5368
665ae865
GM
5369 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5370 has no messages. (Bug#10377)
5371
c869783d
GM
5372 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5373 than Info-edit. (Bug#10385)
5374
2bb4227e
GM
5375 * time.el (display-time-load-average, display-time-next-load-average):
5376 Doc fixes.
5377
7d5944b9
GM
5378 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5379 local setting of buffer-read-only to the input buffer. (Bug#10419)
5380
536aea70
GM
5381 * calendar/calendar.el (calendar-mode):
5382 Locally set scroll-margin to 0. (Bug#10379)
5383
7dccca16
UM
53842012-01-06 Ulrich Mueller <ulm@gentoo.org>
5385
5386 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5387
afbb7930
GM
53882012-01-05 Glenn Morris <rgm@gnu.org>
5389
5390 * eshell/em-unix.el (diff-no-select): Autoload it.
5391 (eshell/diff): Use diff-no-select. (Bug#10420)
5392
04482335
CY
53932012-01-05 Chong Yidong <cyd@gnu.org>
5394
7baca3bc
CY
5395 * shell.el (shell-dynamic-complete-functions): Revert last change.
5396 (shell-command-completion-function): New function.
5397 (shell-completion-vars): Use it to implement
5398 shell-completion-execonly (Bug#10417).
5399
04482335
CY
5400 * custom.el (enable-theme): Don't set custom-safe-themes.
5401
1d00653d
SM
5402 * cus-theme.el (custom-theme-merge-theme):
5403 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5404
bb5aa5d6
MM
54052012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5406
5407 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5408 first prompt in `sql-interacive-mode'.
5409 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5410 keywords.
6df6ae42 5411 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5412 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5413 context of original buffer. Invoke `sql-login-hook'.
5414
a7183d7c
EZ
54152012-01-04 Eli Zaretskii <eliz@gnu.org>
5416
5417 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5418 letters in cite-prefix.
5419
a1eacd1e
LMI
54202012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5421
5422 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5423
787cdb34
CY
54242012-01-03 Chong Yidong <cyd@gnu.org>
5425
1d00653d
SM
5426 * shell.el (shell-dynamic-complete-functions):
5427 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5428 comint-filename-completion first (Bug#10417).
5429
30710442
RS
54302012-01-02 Richard Stallman <rms@gnu.org>
5431
5432 * battery.el (battery-status-function):
5433 Detect when to use battery-yeeloong-sysfs.
5434 (battery-echo-area-format): Add string for Yeeloong.
5435 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5436 (battery-yeeloong-sysfs): New function.
5437
f75bfc33
CY
54382012-01-02 Chong Yidong <cyd@gnu.org>
5439
5440 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5441 (dirtrack): Merge code for handling relative filenames in prompt
5442 from shell-dir-cookie-watcher.
5443 (dirtrack-debug-message): New arg to avoid excess format calls.
5444
5445 * shell.el (shell-dir-cookie-re): Variable deleted.
5446 (shell-dir-cookie-watcher): Function deleted.
5447 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5448 with dirtrack-mode.
5449
651e947e
EZ
54502012-01-01 Eli Zaretskii <eliz@gnu.org>
5451
1d00653d
SM
5452 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5453 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5454 libgnutls-26.dll.
5455
94d4c7dc
AS
54562011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5457
5458 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5459
8d43f3cd
EZ
54602011-12-31 Eli Zaretskii <eliz@gnu.org>
5461
5462 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5463 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5464
98c8795a
MA
54652011-12-29 Michael Albinus <michael.albinus@gmx.de>
5466
5467 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5468 also for alternative shells.
5469 (tramp-open-connection-setup-interactive-shell): Check, whether
5470 the shell is a busybox.
5471 (tramp-send-command): Don't suppress multiple prompts for
5472 busyboxes, it hurts.
5473
51281b32
CY
54742011-12-28 Chong Yidong <cyd@gnu.org>
5475
5476 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5477 (gdb-get-source-file): Move mode line update to
5478 gdb-get-source-file (Bug#10087).
5479
2170cb53
CY
54802011-12-25 Chong Yidong <cyd@gnu.org>
5481
5482 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5483 gud-gdb-marker-filter without taking it as an argument.
5484 (gud-gdb-run-command-fetch-lines): Caller changed.
5485 (gud-gdb-completion-function): New variable.
5486 (gud-gdb-completion-at-point): Use it.
5487 (gud-gdb-completions-1): Split from gud-gdb-completions.
5488
5489 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5490 function as separate arguments.
5491 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5492 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5493 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5494 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5495 (gdb-stopped, def-gdb-auto-update-trigger)
5496 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5497 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5498 Callers changed.
2170cb53
CY
5499 (gud-gdbmi-completions): New function.
5500 (gdb): Use it for generating the completion table.
5501
be8b11bb
AM
55022011-12-24 Alan Mackenzie <acm@muc.de>
5503
5504 Introduce a mechanism to widen the region used in context font
1d00653d 5505 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5506
1d00653d
SM
5507 * progmodes/cc-langs.el (c-before-font-lock-functions):
5508 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5509 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5510 functions to be run just before context (etc.) font locking.
5511
5512 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5513 New, functionality extracted from
be8b11bb 5514 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5515 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5516 (c-after-change): Set c-in-after-change-fontification.
5517 (c-set-fl-decl-start): Rejig its interface, so it can be called
5518 from both after-change and context fontifying.
b81d40f0
JB
5519 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5520 New functions.
5521 (c-standard-font-lock-fontify-region-function): New variable.
5522 (c-font-lock-fontify-region): New function.
be8b11bb 5523
341cf6ac
JL
55242011-12-24 Juri Linkov <juri@jurta.org>
5525
5526 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5527 (Bug#10348)
5528
bffcee0a
MA
55292011-12-23 Michael Albinus <michael.albinus@gmx.de>
5530
5531 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5532 existence of source file. (Bug#10325)
5533
cb5e207c
AM
55342011-12-23 Alan Mackenzie <acm@muc.de>
5535
5536 Fix unstable fontification inside templates.
5537
b81d40f0
JB
5538 * progmodes/cc-langs.el (c-before-font-lock-functions):
5539 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5540 additionally has c-set-fl-decl-start. The other languages (apart
5541 from AWK) have that as a single entry.
5542
b81d40f0
JB
5543 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5544 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5545 c-set-fl-decl-start.
5546
b81d40f0
JB
5547 * progmodes/cc-mode.el (c-common-init, c-after-change):
5548 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5549 (c-set-fl-decl-start): New function, extracted from
5550 c-font-lock-enclosing-decls and enhanced.
5551
60ff536c
JB
55522011-12-23 Juanma Barranquero <lekktu@gmail.com>
5553
5554 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5555
1c4757d6
JL
55562011-12-22 Juri Linkov <juri@jurta.org>
5557
5558 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5559
d031f2c7
CY
55602011-12-22 Chong Yidong <cyd@gnu.org>
5561
5562 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5563
bace743a
DA
55642011-12-21 Drew Adams <drew.adams@oracle.com>
5565
5566 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5567
728a1f2b
JC
55682011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5569
5570 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5571
0d373f73
TZ
55722011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5573
fec0aaa4
TZ
5574 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5575 highlighting and support. Fix up comments for capitalization.
5576 (cfengine-mode-debug): New var.
5577 (cfengine3-mode): Change the modeline indicator to "CFE3".
5578 (cfengine3-font-lock-keywords): Improve defun highlighting.
5579 (cfengine2-actions): Rename from `cfengine-actions'.
5580 (cfengine2-font-lock-keywords): Rename from
5581 `cfengine-font-lock-keywords'.
5582 (cfengine2-imenu-expression): Rename from
5583 `cfengine-imenu-expression'.
5584 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5585 (cfengine2-beginning-of-defun): Rename from
5586 `cfengine-beginning-of-defun'.
5587 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5588 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5589 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5590 modeline indicator to "CFE2".
5591 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5592 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5593
bc86f573
CY
55942011-12-21 Chong Yidong <cyd@gnu.org>
5595
5596 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5597 filename argument.
5598
d45ba96b
MR
55992011-12-20 Martin Rudalics <rudalics@gmx.at>
5600
5601 * window.el (window-normalize-buffer-to-display): Remove.
5602 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5603
a6198c90
CY
56042011-12-19 Chong Yidong <cyd@gnu.org>
5605
5606 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5607 Don't signal an error in a predicate function; return non-nil.
5608 (vc-dir-mark-file): Move the error here.
5609 (vc-dir-mark-unmark): If acting on the region, keep going if one
5610 of the entries cannot be marked/unmarked.
5611 (vc-dir-mark-all-files): If current entry is a directory, mark
5612 only child files, as documented.
5613
34c5fb55
VB
56142011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5615
5616 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5617 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5618 addition.
5619
c803b2b7
JD
56202011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5621
5622 * term/ns-win.el (ns-get-selection-internal)
5623 (ns-store-selection-internal): Declare.
1154d12e
JB
5624 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5625 Declare as obsolete.
5626 (ns-get-pasteboard, ns-paste-secondary):
5627 Use ns-get-selection-internal.
5628 (ns-set-pasteboard, ns-copy-including-secondary):
5629 Use ns-store-selection-internal.
c803b2b7 5630
9cff91f8 56312011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5632
5633 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5634 (vc-deduce-fileset): Doc fix.
99a289d9 5635
f16c898a
AS
56362011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5637
5638 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5639
763237c4
SS
56402011-12-13 Sam Steingold <sds@gnu.org>
5641
5642 * man.el (Man-getpage-in-background): When running under a
5643 window-system, ignore $MANWIDTH and $COLUMNS.
5644
5fc1c122
KH
56452011-12-15 Kenichi Handa <handa@m17n.org>
5646
5647 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5648 (setup-ethiopic-environment-internal): Comment out key-binding for
5649 ethio-toggle-punctuation.
5650
13d49cbb
AM
56512011-12-13 Alan Mackenzie <acm@muc.de>
5652
898169a2
AM
5653 Add the switch statement to AWK Mode.
5654
7a71b18d 5655 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5656 "default" to the keywords regexp.
5657
7a71b18d 5658 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5659 expression as the rest.
1d00653d
SM
5660 (c-nonlabel-token-key): Allow string literals for AWK.
5661 Refactor for the other modes.
898169a2 5662
13d49cbb 5663 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5664 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5665 routines. Limit backward searching in c-font-lock-enclosing.decl.
5666
5667 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5668 pp-state and literal type in addition to the limits.
1d00653d 5669 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5670 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5671 (c-slow-in-literal, c-fast-in-literal): Remove.
5672 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5673
5674 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5675 being in a literal. Add a limit for backward searching.
5676
5677 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5678 c-slow-in-literal.
5679
15e0efc7
SM
56802011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5681
5682 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5683
454592a6
MR
56842011-12-13 Martin Rudalics <rudalics@gmx.at>
5685
5686 * window.el (delete-other-windows): Use correct frame in call to
5687 window-with-parameter.
5688
87393f26
DP
56892011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5690
5691 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5692 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5693 (makefile-gmake-statements, makefile-makepp-statements):
5694 Use it and add new makepp keywords.
5695 (makefile-makepp-font-lock-keywords): Add new patterns.
5696 (makefile-match-function-end): Match new [...] and [[...]].
5697
11636b22
JB
56982011-12-11 Juanma Barranquero <lekktu@gmail.com>
5699
5700 * ses.el (ses-call-printer-return, ses-cell-property-get)
5701 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5702 (ses-create-cell-variable, ses-reset-header-string)
5703 (ses-cell-set-formula, ses-repair-cell-reference-all)
5704 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5705 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5706 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5707 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5708 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5709 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5710 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5711 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5712 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5713 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5714 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5715 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5716
cf018193
VB
57172011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5718
5719 * ses.el: The overall change is to add cell renaming, that is
5720 setting fancy names for cell symbols other than name matching
5721 "\\`[A-Z]+[0-9]+\\'" regexp .
5722 (ses-create-cell-variable): New defun.
5723 (ses-relocate-formula): Relocate formulas only for cells the
5724 symbols of which are not renamed, i.e. symbols whose names do not
5725 match regexp "\\`[A-Z]+[0-9]+\\'".
5726 (ses-relocate-all): Relocate values only for cells the symbols of
5727 which are not renamed.
5728 (ses-load): Create cells variables as the (ses-cell ...) are read,
5729 in order to check row col consistency with cell symbol name only
5730 for cells that are not renamed.
5731 (ses-replace-name-in-formula): New defun.
5732 (ses-rename-cell): New defun.
5733
ee957461
CY
57342011-12-11 Chong Yidong <cyd@gnu.org>
5735
5736 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5737 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5738
9a9e9ef0
MR
57392011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5740
5741 * window.el (other-window): Fix docstring.
5742
92a8eba5
EZ
57432011-12-10 Eli Zaretskii <eliz@gnu.org>
5744
5745 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5746 `from' or `to' address before taking its substring.
5747 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5748 encoded name is chopped in the middle of the encoded string, and
5749 thus displayed encoded.
5750
e152e577
JB
57512011-12-10 Juanma Barranquero <lekktu@gmail.com>
5752
5753 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5754
e5d84bfe
EZ
57552011-12-10 Eli Zaretskii <eliz@gnu.org>
5756
5757 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5758 to use texinfo-update-node and commands that call it if the
5759 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5760 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5761 (texinfo-all-menus-update, texinfo-master-menu)
5762 (texinfo-update-node, texinfo-every-node-update)
5763 (texinfo-multiple-files-update): Doc fix. Warn against updating
5764 all the @node lines.
5765 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5766 argument is numeric. Explain better in the doc string what the
5767 function really does.
5768 (texinfo-insert-master-menu-list): Improve the error message
5769 displayed if there's no menu in the Top node.
5770 (Bug#2975) See also this thread:
e5d84bfe
EZ
5771 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5772
1d84e9bb
MG
57732011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5774
5775 * speedbar.el (speedbar-supported-extension-expressions):
5776 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5777
382c953b
JB
57782011-12-09 Juanma Barranquero <lekktu@gmail.com>
5779
5780 * printing.el (pr-mode-alist):
5781 * simple.el (filter-buffer-substring-functions)
5782 (completion-list-insert-choice-function):
5783 * window.el (window-with-parameter, window-atom-root)
5784 (window-sides-slots, window-size-fixed, window-min-delta)
5785 (window-max-delta, window--resize-mini-window)
5786 (window--resize-child-windows-normal, window-tree)
5787 (delete-other-windows, quit-window, split-window)
5788 (display-buffer-record-window, special-display-buffer-names)
5789 (special-display-regexps, special-display-popup-frame)
5790 (same-window-p, split-window-sensibly)
5791 (display-buffer-overriding-action, display-buffer-alist)
5792 (display-buffer-base-action, display-buffer, switch-to-buffer)
5793 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5794 (fit-window-to-buffer, recenter-positions)
5795 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5796 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5797 and remove unneeded backslashes in docstrings.
5798
39c9faef
SM
57992011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5800
98449af8
SM
5801 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5802
39c9faef
SM
5803 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5804 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5805 end in ".mk".
5806 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5807 when reading the makefile (bug#10116).
5808
86ed9fdc
SM
58092011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5812 (bug#10116).
5813
5580f89d
GM
58142011-12-06 Glenn Morris <rgm@gnu.org>
5815
5816 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5817
28d3917c
CY
58182011-12-06 Chong Yidong <cyd@gnu.org>
5819
5820 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5821
a98edce9
JB
58222011-12-06 Juanma Barranquero <lekktu@gmail.com>
5823
5824 * textmodes/table.el (table-shorten-cell): Fix typo.
5825
e65adfac
CG
58262011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5827
5828 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5829
71cc0b74
EZ
58302011-12-05 Eli Zaretskii <eliz@gnu.org>
5831
5832 * descr-text.el (describe-char): Fix display of strong
5833 right-to-left characters and directional embeddings and overrides.
5834
5835 * simple.el (what-cursor-position): Fix display of codepoints of
5836 strong right-to-left characters.
5837
315bc30d
CY
58382011-12-05 Chong Yidong <cyd@gnu.org>
5839
5840 * faces.el (read-color): Doc fix.
5841
58a70b94
GM
58422011-12-05 Glenn Morris <rgm@gnu.org>
5843
5844 * align.el (align--set-marker): Add doc-string.
5845 Don't try to move something that is not a marker. (Bug#10216)
5846
5158face
GM
58472011-12-04 Glenn Morris <rgm@gnu.org>
5848
5849 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5850 overly zealous deletion of trailing whitespace.
5851
520fca41
JB
58522011-12-04 Juanma Barranquero <lekktu@gmail.com>
5853
5854 * server.el (server-delete-client): On Windows, do not try to delete
5855 the only terminal.
5856 (server-process-filter): On Windows, treat requests for a tty frame as
5857 if they were for a GUI frame if the running server is in GUI mode.
5858
5e605a2e
GM
58592011-12-03 Glenn Morris <rgm@gnu.org>
5860
5861 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5862
5c3fe83f
SM
58632011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5864
6f5e57e7
SM
5865 * electric.el: Streamline electric-indent's hook.
5866 (electric-indent-chars): Revert to simple list.
5867 (electric-indent-functions): New var.
5868 (electric-indent-post-self-insert-function): Use it.
5869
5c3fe83f
SM
5870 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5871 there's no inferior buffer (bug#10196).
5872 (prolog-consult-compile): Don't use toggle-read-only.
5873
6bdac736
MA
58742011-12-02 Michael Albinus <michael.albinus@gmx.de>
5875
5876 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5877 interrupt. (Bug#10187)
5878
6131ba7f
SM
58792011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5880
99c79fee
SM
5881 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5882 (bug#9160).
5883
6131ba7f
SM
5884 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5885 (bug#10191).
5886
cb0a02ea
JL
58872011-12-02 Juri Linkov <juri@jurta.org>
5888
5889 * info.el (Info-search): Display "end of manual" when Isearch
5890 reaches the end of single-file Info manual. (Bug#9918)
5891
66e0570c
EZ
58922011-12-02 Eli Zaretskii <eliz@gnu.org>
5893
5894 * isearch.el (isearch-message-prefix): Run the input method part
5895 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5896
02b16839
JL
58972011-12-02 Juri Linkov <juri@jurta.org>
5898
5899 * isearch.el (isearch-occur): Use `word-search-regexp' for
5900 `isearch-word'.
5901 (isearch-search-and-update): Add condition for `isearch-word' and
5902 call `word-search-regexp'. (Bug#10145)
5903
0b950688
GM
59042011-12-01 Glenn Morris <rgm@gnu.org>
5905
5906 * eshell/em-hist.el (eshell-hist-initialize):
5907 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5908 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5909
9505c3c7
SM
59102011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5911
5912 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5913
1bbe96b2 59142011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5915
a1beca85
SM
5916 * progmodes/verilog-mode.el (verilog-pretty-expr):
5917 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5918 verilog, such as += *= and the like.
5919 (verilog-assignment-operator-re): Regular expression to find the
5920 assigment operator in a verilog assignment.
5921 (verilog-assignment-operation-re): Regular expression to find an
5922 assignment statement for pretty-expr.
5923 (verilog-in-attribute-p): Query returns true if point is in an
5924 attribute context; used to skip these for expression line up from
5925 pretty-expr.
5926 (verilog-in-parameter-p): Query returns true if point is in an
5927 parameter definition context; used to skip these for expression
5928 line up from pretty-expr.
5929 (verilog-in-parenthesis-p): Query returns true if point is in a
5930 parenthetical expression, specifically ( ) but not [ ] or { };
5931 used by pretty-expr.
5932 (verilog-just-one-space): If there is no space, don't add one.
5933 (verilog-get-lineup-indent-2): Specifically skip just attribute
5934 contexts for expression lineup, rather than skipping all
5935 parenthetical expressions.
5936 (verilog-calculate-indent): Fix comment, and fix indent.
5937 (verilog-do-indent): Indent declarations in lists (suggested by
5938 Joachim Lechner).
5939 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5940 skeleton items.
5941 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5942 by Alain Mellan).
5943
1bbe96b2 59442011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5945
5946 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5947 parameters with embedded comments. Reported by Ray Stevens.
5948 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5949 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5950 Reported by Tim Holt.
5951 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5952 instantiated by upper module causing wrong expansion until AUTOed a
5953 second time. Reported by K C Buckenmaier.
5954 (verilog-diff-auto): Fix showing .* as a difference when
5955 `verilog-auto-star-save' off. Reported by Dan Dever.
5956 (verilog-auto-reset, verilog-read-always-signals)
5957 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5958 temporary signals in reset list if
5959 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5960 style to each signal's assignment type, bug381.
5961 Reported by Thomas Esposito.
6288f0ca
WS
5962 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5963 (verilog-uvm-statement-re): Support UVM indentation and
5964 highlighting, with old OVM keywords only.
a1beca85 5965 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5966 Support AUTOTIEOFF creating non-wire data types.
5967 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5968 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5969 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5970 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5971 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5972 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5973 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5974 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5975 non-numeric vector width. Reported by Alex Reed.
5976 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5977 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5978 (verilog-auto-delete-trailing-whitespace):
5979 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5980 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5981 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5982 Fix verilog-scan-cache corruption when running user AUTO expansion
5983 hooks that call indentation routines.
5984 (verilog-simplify-range-expression): Fix typo ignoring lower case
5985 identifiers.
5986 (verilog-delete-auto): Fix delete-autos to also remove user created
5987 automatics, as long as they start with AUTO.
5988 (verilog-batch-diff-auto, verilog-diff-auto)
5989 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5990 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5991 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5992 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5993 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5994 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5995 is disabled and its cache will get corrupt, causing AUTOS not to
5996 expand. Instead use only -quick functions.
5997 (verilog-scan-region): Fix scanning over escaped quotes.
5998 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5999 (verilog-re-search-backward-quick)
6000 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6001 related functions now ignore strings, to fix misparsing of strings
6002 with magic comments embedded in them.
a1beca85
SM
6003 (verilog-read-auto-template):
6004 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6005 Reported by Brad Dobbie.
6006 (verilog-read-auto-template):
6007 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6008 Reported by Brad Dobbie.
6288f0ca
WS
6009 (verilog-auto-inst, verilog-auto-inst-param)
6010 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6011 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6012 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6013 debugging templates without merge conflicts, bug357.
6014 Reported by Brad Dobbie.
6015 (verilog-read-auto-template):
6016 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6017 Reported by Brad Dobbie.
6018 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6019 abbrevs so user won't be asked to save.
6020 (verilog-read-auto-lisp-present): Fix to start at beginning of
6021 buffer in case called outside of verilog-auto.
6022 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6023 to "X-2". Reported by Matthew Myers.
6024 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6025 all inputs from module templates. Reported by Leith Johnson.
6026 (verilog-module-inside-filename-p): Fix locating programs as with
6027 modules.
6028 (verilog-auto-inst-port): Fix vl-width expressions when using
6029 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6030 (verilog-decls-get-regs, verilog-decls-get-signals,
6031 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6032 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6033 verilog-read-decls): Combine reg and wire structures into one var
6034 structure to represent SystemVerilog concepts.
6035 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6036 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6037 (verilog-auto-wire-type, verilog-insert-definition):
6038 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6039 SystemVerilog "logic" keyword instead of "wire"/"reg".
6040 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6041 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6042 ifdef or generate if so there's not a driver conflict).
6043 Reported by Matthew Myers.
6044 (verilog-auto-declare-nettype, verilog-insert-definition):
6045 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6046 `default_nettype none. Reported by Julian Gorfajn.
6047 (verilog-read-always-signals-recurse, verilog-read-decls)
6048 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6049 malformed end statement, bug325. Reported by Joshua Wise and
6050 Andrew Drake.
6051 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6052 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6053 when expanding .* in interfaces, bug320.
6054 Reported by Pierre-David Pfister.
6288f0ca 6055 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6056 name and open parenthesis, bug317.
6057 Reported by Pierre-David Pfister.
6288f0ca
WS
6058 (verilog-simplify-range-expression): Fix simplification of
6059 multiplications inside AUTOWIRE connections, bug303.
6060 (verilog-auto-inst-port): Support parameter expansion in
6061 multidimensional arrays.
6062 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6063 after "assert property". Reported by Julian Gorfajn.
6064 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6065 with multiplication, bug303.
6066 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6067 Reported by Jan Frode Lonnum.
6068
1bbe96b2
GM
60692011-11-30 Juanma Barranquero <lekktu@gmail.com>
6070
6071 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6072 (hfy-shell-file-name, hfy-shell):
6073 * international/fontset.el (x-decompose-font-name): Fix typos.
6074
60752011-11-29 Ken Brown <kbrown@cornell.edu>
6076
6077 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6078 (gdb-version): Remove defvar.
6079 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6080 (gdb-gud-context-command, gdb-non-stop-handler)
6081 (gdb-current-context-command, gdb-stopped): Use it.
6082 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6083 (gdb-non-stop-handler): Don't enable pretty-printing here.
6084 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6085 non-stop mode. Use the following.
6086 (gdb-check-target-async): New defun.
6087 (gud-watch, gdb-stopped): Fix whitespace.
6088 (gdb-get-source-file): Don't try to display the source file if
6089 `gdb-main-file' is nil.
6090
60912011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6092
6093 * align.el: Try to generate fewer markers (bug#10047).
6094 (align--set-marker): New macro.
6095 (align-region): Use it.
6096
c935221f
SM
60972011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6098
6099 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6100
e70b5064
CY
61012011-11-29 Chong Yidong <cyd@gnu.org>
6102
6103 * indent.el (indent-for-tab-command, indent-according-to-mode):
6104 Doc fix.
6105 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6106
f3af92b7
MA
61072011-11-29 Michael Albinus <michael.albinus@gmx.de>
6108
6109 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6110 aware of remote file names. (Bug#10124)
6111
ed472be9
CY
61122011-11-29 Chong Yidong <cyd@gnu.org>
6113
6114 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6115
24510c22
SM
61162011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6117
6118 * files.el (find-file): Don't use force-same-window (bug#10144).
6119 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6120 use pop-to-buffer if the selected window can't be used.
6121 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6122
c60c3703
EZ
61232011-11-28 Eli Zaretskii <eliz@gnu.org>
6124
6125 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6126 special-mode-map.
6127
e95def75
CY
61282011-11-28 Chong Yidong <cyd@gnu.org>
6129
6130 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6131
c3f1c606
NR
61322011-11-27 Nick Roberts <nickrob@snap.net.nz>
6133
6134 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6135 gdb-get-source-file-list on gdb-create-source-file-list.
6136
00db469c
EZ
61372011-11-26 Eli Zaretskii <eliz@gnu.org>
6138
6139 * whitespace.el (whitespace-newline): Use a different foreground
6140 color for 16-color light-background displays.
6141
4ad3bc2a
CY
61422011-11-24 Chong Yidong <cyd@gnu.org>
6143
6144 * window.el (display-buffer--special-action): Doc fix.
6145
e9fce1ac
JB
61462011-11-25 Juanma Barranquero <lekktu@gmail.com>
6147
6148 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6149 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6150 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6151 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6152 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6153 (avl-tree-stack-first):
6154 * emacs-lisp/cconv.el (cconv--analyse-use):
6155 * net/gnutls.el (gnutls-negotiate): Fix typos.
6156
cb825e5d
GM
61572011-11-24 Glenn Morris <rgm@gnu.org>
6158
3adbe224
GM
6159 * lpr.el (lpr-windows-system, lpr-lp-system):
6160 * mail/binhex.el (binhex-begin-line):
6161 * progmodes/grep.el (grep-history, grep-find-history):
6162 * textmodes/flyspell.el:
6163 * vc/pcvs-defs.el (cvs-global-menu):
6164 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6165 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6166 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6167
321decc8
GM
6168 * net/tls.el: Fix case of "GnuTLS".
6169
420b63ad
GM
6170 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6171
cb825e5d
GM
6172 * version.el (emacs-build-system): Give it a doc-string.
6173
a0649f08
JL
61742011-11-24 Juri Linkov <juri@jurta.org>
6175
6176 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6177
c0bc0fd4
GM
61782011-11-24 Glenn Morris <rgm@gnu.org>
6179
6180 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6181 if called on a non-mime message just toggle the headers. (Bug#8006)
6182
20db1522
JB
61832011-11-24 Juanma Barranquero <lekktu@gmail.com>
6184
6185 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6186 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6187 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6188 (allout-rebullet-heading, allout-open-sibtopic)
6189 (allout-toggle-current-subtree-encryption)
6190 (allout-toggle-subtree-encryption, allout-encrypt-string)
6191 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6192 (allout-distinctive-bullets-string, allout-auto-activation):
6193 * window.el (window-normalize-buffer-to-display):
6194 * progmodes/verilog-mode.el (verilog-batch-indent):
6195 * textmodes/bibtex.el (bibtex-field-braces-opt)
6196 (bibtex-field-strings-opt):
6197 * vc/cvs-status.el (cvs-tree-merge):
6198 Fix typos.
6199
7262a87c
MA
62002011-11-23 Michael Albinus <michael.albinus@gmx.de>
6201
6202 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6203 `non-essential' to t, in order to avoid remote connections.
6204
283430a1
EZ
62052011-11-23 Eli Zaretskii <eliz@gnu.org>
6206
a1beca85
SM
6207 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6208 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6209 case-insensitively.
6210
d2992a38
ML
62112011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6212
6213 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6214
50419064
GM
62152011-11-23 Glenn Morris <rgm@gnu.org>
6216
da94eca1
GM
6217 * paths.el (rmail-file-name): Reformat the doc-string so that it
6218 is picked up.
6219
9aac4de2
GM
6220 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6221 (rmail-auto-file): Ignore case in the "special" field names,
6222 as mail-fetch-field does for all others.
6223
8038d2d2
GM
6224 * mail/rmail.el (rmail-forward):
6225 * mail/rmailkwd.el (rmail-set-label):
6226 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6227 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6228
f3fe222a
GM
6229 * mail/rmail.el (rmail-current-message): Doc fix.
6230
50419064
GM
6231 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6232
28109f49
SM
62332011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6234
6235 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6236
394c65f1
GM
62372011-11-22 Glenn Morris <rgm@gnu.org>
6238
6239 * mail/rmailmm.el (test-rmail-mime-handler)
6240 (test-rmail-mime-bulk-handler)
6241 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6242
f2a0aa3a
JL
62432011-11-21 Juri Linkov <juri@jurta.org>
6244
1154d12e
JB
6245 * calc/calc.el (calc-read-key-sequence):
6246 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6247
9c34a344
LMI
62482011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6249
6250 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6251 Tell the caller that the next line needs recomputation, even
6252 though it doesn't start a sexp (bug#10094).
6253
f04a3be9
SM
62542011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6257
7978747f
SM
62582011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6259
f04a3be9
SM
6260 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6261 Use force-same-window.
7978747f 6262
fe7a3057
JB
62632011-11-20 Juanma Barranquero <lekktu@gmail.com>
6264
6265 * descr-text.el (describe-char-unicode-data):
6266 * json.el (json-string-escape):
6267 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6268 (Footnote-unicode, Footnote-style-p):
6269 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6270
24901d61
CY
62712011-11-20 Chong Yidong <cyd@gnu.org>
6272
6273 * window.el (replace-buffer-in-windows): Restore interactive spec.
6274
bac7ff22
SM
62752011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6276
24f3d7b9
SM
6277 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6278
bac7ff22
SM
6279 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6280 (byte-compile-global-not-obsolete-vars): New var.
6281 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6282 Use it.
6283 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6284
cd1181db
JB
62852011-11-20 Juanma Barranquero <lekktu@gmail.com>
6286
6287 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6288 * progmodes/pascal.el (electric-pascal-equal):
6289 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6290 * xml.el (xml-substitute-special): Fix typos.
6291
7fb18e9e
GM
62922011-11-20 Glenn Morris <rgm@gnu.org>
6293
6294 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6295 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6296 Doc fixes.
6297 (rmail-decode-mime-charset): Mark as obsolete.
6298
6299 * mail/rmailsum.el (rmail-message-regexp-p-1):
6300 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6301 Before using mime functions, check they are set. (Bug#10077)
6302
d5a6b3ba
JL
63032011-11-19 Juri Linkov <juri@jurta.org>
6304
6305 * info.el (Info-finder-find-node): Use `package--builtins' instead
6306 of `package-alist'. Use node names formed by the pattern "Keyword "
6307 and the keyword name.
6308
e981b61f
AS
63092011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6310
1d00653d 6311 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6312
3ffbc301
JL
63132011-11-19 Juri Linkov <juri@jurta.org>
6314
6315 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6316 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6317 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6318 `old-history', `old-history-forward'. Add let-binding
6319 `window-selected'. Remove calls to `kill-buffer',
6320 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6321 before calling `Info-find-node', so `Info-find-node-2' will reread
6322 the Info file. Restore window positions only when `window-selected'
6323 is non-nil.
6324
30c62133
JL
63252011-11-19 Juri Linkov <juri@jurta.org>
6326
6327 * isearch.el (isearch-lazy-highlight-new-loop):
6328 Remove condition `(not isearch-error)'. (Bug#9918)
6329
6330 * misearch.el (multi-isearch-search-fun): Add condition
6331 `(not bound)' to ignore lazy-highlighting search.
6332 Add the search-failed message "end of multi" when the end of
6333 multi-sequence is reached. Uncapitalize the search-failed
6334 message "Repeat for next buffer".
6335
6336 * info.el (Info-search): Add the search-failed message
6337 "end of the manual" when the end of the manual is reached
6338 in Isearch mode.
6339
645ca9cf
JL
63402011-11-19 Juri Linkov <juri@jurta.org>
6341
6342 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6343 Use non-destructive `remove' instead of `delete' because
6344 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6345 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6346
df754f66
JL
63472011-11-19 Juri Linkov <juri@jurta.org>
6348
6349 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6350 to nil instead of binding `search-ring' and `regexp-search-ring'.
6351 (Bug#9185)
6352
0e23d96a
EZ
63532011-11-19 Eli Zaretskii <eliz@gnu.org>
6354
6355 * simple.el (line-move): Force movement by logical lines for any
6356 hscrolled window, not only when auto-hscroll-mode is on.
6357 (line-move-visual): Update doc string to that effect. (Bug#10076)
6358
8a6ccb66
AS
63592011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6360
6361 * language/european.el (macintosh): Define as alias for mac-roman.
6362
49ae5b39
EZ
63632011-11-19 Eli Zaretskii <eliz@gnu.org>
6364
6365 * mail/rmailmm.el (rmail-mime-display-header)
6366 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6367 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6368 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6369 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6370 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6371 of a raw aref.
6372 (rmail-mime-entity-segment): To get past the tagline, move forward
6373 2 more lines, to account for the 2 empty lines that precede and
6374 follow the line with the buttons.
6375 (rmail-mime-update-tagline): Move one more line, to get past the
6376 empty line that follows the buttons in the tagline. (Bug#9520)
6377
c56cad4a
MR
63782011-11-19 Martin Rudalics <rudalics@gmx.at>
6379
6380 * window.el (window-max-delta-1, window-min-delta-1)
6381 (window-min-size-1, window-state-get-1, window-state-put-1)
6382 (window-state-put-2): Use "window--" prefix.
6383
cbe71af3
SM
63842011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6385
2ad52c60
SM
6386 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6387 (smie-warning-count): New var.
6388 (smie-set-prec2tab): Use it.
6389 (smie-bnf->prec2): Improve warnings. Add docstring.
6390 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6391 (smie-bnf--set-class): New function.
6392 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6393 corner case.
6394
6944dbc1
SM
6395 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6396 (compilation-error-properties, compilation-move-to-column):
6397 Handle compilation-first-column while in the target buffer.
6398
c400c4d7
SM
6399 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6400 Don't hardcode point-min==1.
6401
6dbe3e96
SM
6402 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6403 (eshell-rewrite-for-command): Remove workaround.
6404 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6405 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6406 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6407
cbe71af3
SM
6408 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6409
a8e1496d
GM
64102011-11-17 Glenn Morris <rgm@gnu.org>
6411
6412 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6413 Ignore buffer-local generated-autoload-file if it is the same
6414 as the global value. (Bug#10049)
6415
df85d315
JB
64162011-11-17 Juanma Barranquero <lekktu@gmail.com>
6417
6418 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6419 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6420 (reftex-toc-previous-heading, reftex-toc-max-level)
6421 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6422 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6423 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6424 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6425 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6426 (reftex-toc-rename-label, reftex-toc-visit-location)
6427 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6428 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6429 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6430 leaving "*toc*" only for references to the buffer.
6431
a0c2d0ae
MR
64322011-11-17 Martin Rudalics <rudalics@gmx.at>
6433
6434 * window.el (window-resize, delete-window, split-window):
6435 Replace window-splits by window-combination-resize.
1d00653d 6436 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6437
35c0bac8
GM
64382011-11-17 Glenn Morris <rgm@gnu.org>
6439
6440 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6441 Make bash entry derive from sh entry, not shell entry.
6442
d0c8fc8a
MA
64432011-11-16 Michael Albinus <michael.albinus@gmx.de>
6444
7262a87c
MA
6445 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6446 local file name.
6447
7877f373
JB
64482011-11-16 Juanma Barranquero <lekktu@gmail.com>
6449
6450 * menu-bar.el (menu-bar-file-menu):
6451 * printing.el (pr-ps-utility):
6452 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6453 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6454 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6455 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6456 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6457 (icalendar--convert-cyclic-to-ical)
6458 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6459 (icalendar--convert-ical-to-diary)
6460 (icalendar--convert-recurring-to-diary)
6461 (icalendar--convert-non-recurring-all-day-to-diary)
6462 (icalendar-import-format-sample):
6463 * progmodes/idlw-shell.el (idlwave-shell-mode):
6464 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6465 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6466 (vhdl-ps-print-init): Fix typos.
6467
10649b82
KM
64682011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6469
9d0cfcd6
GM
6470 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6471 FSF and collapse date sequence, obscure author/maintainer email address
6472 better, remove extra version line, track relocation of author's webpage.
10649b82 6473
9d0cfcd6
GM
6474 * progmodes/python.el (python-pdbtrack-input-prompt)
6475 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6476 regular python pdb prompts. Adjustments shamelessly taken exactly as
6477 suggested in EmacsWiki page (tiny change):
6478 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6479
58179cce
JB
64802011-11-16 Juanma Barranquero <lekktu@gmail.com>
6481
6482 * expand.el (expand-pos, expand-index, expand-point):
6483 Remove redundant info from docstring.
6484 (expand-add-abbrevs): Doc fix.
6485 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6486 (expand-sample-perl-mode-expand-list): Fix typos.
6487
6488 * net/dbus.el (dbus-event-member-name):
6489 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6490 * term/pc-win.el (msdos-create-frame-with-faces):
6491 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6492
b6f67890
MR
64932011-11-16 Martin Rudalics <rudalics@gmx.at>
6494
6495 * window.el (split-window, window-state-get-1)
6496 (window-state-put-1, window-state-put-2): Rename occurrences of
6497 window-nest to window-combination-limit.
1d00653d 6498 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6499
ce7ddba0
CY
65002011-11-16 Chong Yidong <cyd@gnu.org>
6501
6502 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6503 regexp (Bug#10033).
6504
3ae704f4
SM
65052011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6506
6507 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6508 `completing-read' will remove *Completions* and will preserve
6509 current-buffer for us.
6510 (tmm-add-prompt): Users of *Completions* will always (re)set its
6511 major mode.
6512 (tmm-old-comp-map): Remove.
6513
6ad1cdde
GM
65142011-11-16 Glenn Morris <rgm@gnu.org>
6515
6516 * mail/rmailedit.el: Require rmailmm when compiling.
6517 (rmail-old-mime-state): New declaration.
6518 (rmail-edit-current-message): If editing a mime message,
6519 edit the "raw" message from the mbox buffer.
6520 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6521
d20faa20
GM
65222011-11-15 Glenn Morris <rgm@gnu.org>
6523
6524 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6525 which wasn't being used. Add optional arg to force given state.
6526 (rmail-mime): Add optional arg to force given state.
6527
c7015153
JB
65282011-11-15 Juanma Barranquero <lekktu@gmail.com>
6529
6530 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6531 * frame.el (display-mm-dimensions-alist):
6532 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6533 (outline-move-subtree-down):
6534 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6535 (newsticker--treeview-do-get-node):
6536 * net/quickurl.el (quickurl-list-buffer-name):
6537 * progmodes/dcl-mode.el (dcl-mode):
6538 * progmodes/gdb-mi.el (gdb-mapcar*):
6539 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6540
45261b50
GM
65412011-11-15 Glenn Morris <rgm@gnu.org>
6542
6543 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6544 in a boolean sense, so just make it a boolean, and fix the doc.
6545 (rmail-show-mime-function, rmail-mime-feature)
6546 (rmail-require-mime-maybe): Doc fixes.
6547 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6548
6549 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6550
0d26e0b6
JB
65512011-11-15 Juanma Barranquero <lekktu@gmail.com>
6552
6553 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6554 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6555 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6556 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6557
447f30f6
GM
65582011-11-15 Glenn Morris <rgm@gnu.org>
6559
672b871d
GM
6560 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6561 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6562 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6563 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6564 (rmail-mime, rmail-show-mime): Doc fixes.
6565
f6aa5bb1
GM
6566 * term/ns-win.el (mode-line-frame-identification):
6567 Leave it alone. (Bug#10051)
6568
947cd66b
GM
6569 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6570
447f30f6
GM
6571 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6572 Handle empty buffers. (Bug#9978)
6573
0b381c7e
JB
65742011-11-14 Juanma Barranquero <lekktu@gmail.com>
6575
6576 * international/mule.el (define-charset):
6577 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6578 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6579 * progmodes/verilog-mode.el (verilog-backward-token):
6580 * textmodes/ispell.el (lookup-words):
6581 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6582
71e027ac
GM
65832011-11-14 Glenn Morris <rgm@gnu.org>
6584
56632ce4
GM
6585 * progmodes/executable.el
6586 (executable-make-buffer-file-executable-if-script-p):
6587 Handle file-modes returning nil.
6588
40500957
GM
6589 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6590 message - not necessary, and causes problems. (Bug#9831)
6591
071c2340
GM
6592 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6593
d3cfca60
GM
6594 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6595
71e027ac
GM
6596 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6597 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6598 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6599
89d61221
MR
66002011-11-12 Martin Rudalics <rudalics@gmx.at>
6601
6602 * window.el (window-resize, delete-window): Use window-splits
6603 variable instead of function.
6604 (window-state-get-1, window-state-put-2, window-state-put):
6605 Don't deal with windows' splits status.
6606
98282f6f
GM
66072011-11-12 Glenn Morris <rgm@gnu.org>
6608
6609 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6610 (apropos-documentation): Doc fixes.
6611
40a8bdf6
JB
66122011-11-11 Juanma Barranquero <lekktu@gmail.com>
6613
6614 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6615 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6616
65bd19ff
SM
66172011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6618
6619 * electric.el (electric-indent-post-self-insert-function): Make it
6620 possible for a char to only indent in some circumstances.
6621 (electric-indent-mode): Simplify.
6622
54f9154c
MR
66232011-11-11 Martin Rudalics <rudalics@gmx.at>
6624
6625 * window.el (windows-with-parameter): Remove unused function.
6626 (windows-at-side): Rename to window-at-side-list.
6627 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6628 (window-side-check, window-size-ignore, window-size-fixed-1)
6629 (window-in-direction-2): Prefix with "window--".
6630 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6631
68cbc58b
GM
66322011-11-11 Glenn Morris <rgm@gnu.org>
6633
6634 * subr.el (eval-after-load): If FILE is already loaded,
6635 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6636
b2621720
GM
66372011-11-10 Glenn Morris <rgm@gnu.org>
6638
9a4de110
GM
6639 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6640 Call svn via vc-svn-command rather than vc-do-command.
6641 (vc-svn-command): Add --non-interactive. (Bug#9993)
6642 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6643
b2621720
GM
6644 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6645 Add toggle-read-only. (Bug#7292)
6646 * files.el (toggle-read-only): Mention that it should only
6647 be used interactively. (Bug#10006)
6648
1dce7193
SM
66492011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6650
d9ac1a1e
SM
6651 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6652 Adjust regexp for OCaml warnings.
6653
0c325082
SM
6654 * electric.el (electric-pair-post-self-insert-function): Let user
6655 turn it off buffer-locally (bug#9932).
6656
90132c14
SM
6657 * progmodes/python.el (python-beginning-of-statement):
6658 Rewrite (bug#2703).
6659
1dce7193
SM
6660 * progmodes/compile.el: Better handle TABs (bug#9749).
6661 (compilation-internal-error-properties)
6662 (compilation-next-error-function): Obey the target buffer's
6663 compilation-error-screen-columns.
6664
c4e7c63a
JB
66652011-11-09 Juanma Barranquero <lekktu@gmail.com>
6666
6667 * progmodes/meta-mode.el: Remove obsolete comments.
6668 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6669 Fix typos in docstrings.
6670
2cffd681
MR
66712011-11-09 Martin Rudalics <rudalics@gmx.at>
6672
6673 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6674 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6675 (window--resizable): New function. Make all callers of
6676 window-resizable call window--resizable instead.
6677 (window-resizable): Rewrite in terms of window--resizable.
6678
0edcba87
GM
66792011-11-08 Glenn Morris <rgm@gnu.org>
6680
6681 * progmodes/delphi.el (delphi-mode-syntax-table):
6682 Let define-derived-mode define a proper syntax table. (Bug#9994)
6683
4b0d61e3
SM
66842011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6685
6686 * window.el: Stay away from defsubst.
6687 (window-list-no-nils): Remove.
6688 (window-state-get-1, window-state-get): Use backquote instead.
6689
cd394be1 66902011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6691
4b0d61e3 6692 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6693 Fix incorrect use of default argument in `completing-read'.
6694
e1c2c6f2
MR
66952011-11-08 Martin Rudalics <rudalics@gmx.at>
6696
6697 * window.el (display-buffer-function, special-display-function):
6698 Mention display-buffer-record-window but do not mention
6699 help-setup parameter in doc-strings.
b3f4a882 6700 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6701
105216ed
CY
67022011-11-08 Chong Yidong <cyd@gnu.org>
6703
6704 * window.el (window-total-height, window-total-width): Doc fix.
6705 (window-body-size): Move from C.
6706 (window-body-height, window-body-width): Move to C.
6707
0a9f9ab5
SM
67082011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * window.el: Make special-display like display-buffer-alist (bug#9532).
6711 (display-buffer--special-action): New function, morphed
6712 from display-buffer--special.
6713 (display-buffer): Use it to handle special-display-buffers at higher
6714 priority (just after display-buffer-alist).
6715 (display-buffer-fallback-action, display-buffer--other-frame-action)
6716 (pop-to-buffer-same-window): Remove display-buffer--special.
6717
a769dd15
GM
67182011-11-07 Glenn Morris <rgm@gnu.org>
6719
6720 * calendar/cal-menu.el (cal-menu-set-date-title):
6721 Do nothing if not in a calendar. (Bug#9976)
6722
05a61ee3
SM
67232011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * files.el (find-file): Always use selected-window.
6726
be7f5545
MR
67272011-11-07 Martin Rudalics <rudalics@gmx.at>
6728
6729 * window.el (window-combinations): Make WINDOW argument
6730 mandatory. Rewrite doc-string.
6731 (walk-window-subtree, window-atom-check, window-min-delta)
6732 (window-max-delta, window--resize-this-window)
6733 (window--resize-root-window-vertically, window-tree)
6734 (balance-windows, window-state-put): Rewrite doc-strings as to
6735 not mention the term "subwindow".
6736 (window--resize-subwindows-skip-p): Rename to
6737 window--resize-child-windows-skip-p.
6738 (window--resize-subwindows-normal): Rename to
6739 window--resize-child-windows-normal.
6740 (window--resize-subwindows): Rename to
6741 window--resize-child-windows.
6742 (window-or-subwindow-p): Rename to window--in-subtree-p.
6743
3c6702ef
ML
67442011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6745
6746 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6747 Ensure that mbox format messages end in two newlines (Bug#9974).
6748
49745b39
CY
67492011-11-06 Chong Yidong <cyd@gnu.org>
6750
6751 * window.el (window-combination-p): Function deleted; its
6752 side-effect is not used in any existing code.
6753 (window-combinations, window-combined-p): Call window-*-child
6754 directly.
6755
24300f5f
CY
67562011-11-05 Chong Yidong <cyd@gnu.org>
6757
6758 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6759 (window-size-ignore, window-state-get): Callers changed.
6760 (window-normalize-window): Rename from window-normalize-any-window.
6761 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6762 (window-normalize-live-window): Delete.
447f16b8
CY
6763 (window-combination-p, window-combined-p, window-combinations)
6764 (walk-window-subtree, window-atom-root, window-min-size)
6765 (window-sizable, window-sizable-p, window-size-fixed-p)
6766 (window-min-delta, window-max-delta, window-resizable)
6767 (window-resizable-p, window-full-height-p, window-full-width-p)
6768 (window-current-scroll-bars, window-point-1, set-window-point-1)
6769 (window-at-side-p, window-in-direction, window-resize)
6770 (adjust-window-trailing-edge, maximize-window, minimize-window)
6771 (window-deletable-p, delete-window, delete-other-windows)
6772 (record-window-buffer, unrecord-window-buffer)
6773 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6774 (quit-window, split-window, window-state-put)
6775 (set-window-text-height, fit-window-to-buffer)
6776 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6777
89bd5ee1
EZ
67782011-11-04 Eli Zaretskii <eliz@gnu.org>
6779
53479029
EZ
6780 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6781 rfc2047-decode-string.
6782 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6783 warnings.
6784
89bd5ee1
EZ
6785 * window.el (window-body-height, window-body-width): Mention in
6786 the doc string that the return values are in frame's canonical
6787 units. (Bug#9949)
6788
bd17fdee
AM
67892011-11-03 Alan Mackenzie <acm@muc.de>
6790
6791 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6792 change in cc-engine.el.
6793
acc825c5
SM
67942011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6797
1885e5b8
MR
67982011-11-02 Martin Rudalics <rudalics@gmx.at>
6799
6800 * window.el (quit-window): Call unrecord-window-buffer after
6801 showing another buffer in the window. (Bug#9937)
acc825c5 6802 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6803
ebe06da9
JB
68042011-11-02 Juanma Barranquero <lekktu@gmail.com>
6805
6806 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6807 Accept status with more than 9 shelves. (Bug#9935)
6808 Reported by Colin D Bennett <colin@gibibit.com>.
6809
4ee88440
MR
68102011-11-01 Martin Rudalics <rudalics@gmx.at>
6811
6812 * help.el (with-help-window): Don't reference
6813 temp-buffer-show-specifiers in doc-string.
6814
08e1d82c
AS
68152011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6816
6817 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6818 menu-item.
6819
84bd6e9e
VJL
68202011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6821
6822 * whitespace.el: New version 13.2.2.
6823 (whitespace-newline-mode): Disable properly. Reported by Sarah
6824 <EmacsWiki>.
6825
dba0634a
UJ
68262011-10-30 Ulf Jasper <ulf.jasper@web.de>
6827
6828 * net/newst-treeview.el: Remove "Time-stamp".
6829 (newsticker--group-manage-orphan-feeds): Do not call
6830 newsticker--treeview-tree-update.
db22a3c2
JB
6831 (newsticker-treeview-update, newsticker-treeview):
6832 Call newsticker--treeview-tree-update if necessary.
dba0634a 6833
3d8daefe
MR
68342011-10-30 Martin Rudalics <rudalics@gmx.at>
6835
6836 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6837 (window-iso-combinations): Remove "iso-" infix.
6838 Suggested by Chong Yidong.
3d8daefe
MR
6839 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6840 (window-max-delta-1, window-resize, window--resize-siblings)
6841 (window--resize-this-window, adjust-window-trailing-edge)
6842 (split-window, balance-windows-1)
6843 (shrink-window-if-larger-than-buffer):
6844 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6845 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6846
1bc4c3ae
SM
68472011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6848
6849 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6850 in place (bug#9907).
6851 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6852 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6853 (eshell-structure-basic-command, eshell-rewrite-while-command)
6854 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6855 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6856 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6857 (eshell-do-pipelines-synchronously, eshell-eval-command):
6858 Use backquotes and prefer setq to set.
6859 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6860 (eshell-macrop): Use functionp.
c1e2f5fa 6861 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6862
30b65d9c
CY
68632011-10-30 Chong Yidong <cyd@gnu.org>
6864
6865 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6866 instead of set-mark (Bug#9810).
6867
2d197ffb
CY
68682011-10-30 Chong Yidong <cyd@gnu.org>
6869
6870 * window.el (split-window-below, split-window-right): Rename from
6871 split-window-above-each-other and split-window-side-by-side
6872 respectively. All callers changed.
6873 (split-window-sensibly, split-window-sensibly): Use them.
6874 (split-window-keep-point): Doc fix.
6875
6876 * isearch.el: Add isearch-scroll property to split-window-below
6877 and split-window-right.
6878
6879 * follow.el (follow-mode):
6880 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6881 * progmodes/ada-xref.el (ada-gdb-application):
6882 * emulation/vip.el (vip-buffer-in-two-windows):
6883 * image-dired.el (image-dired-dired-with-window-configuration):
6884 * dired-x.el (dired-do-find-marked-files):
6885 * dired.el (dired-pop-to-buffer):
6886 * bs.el (bs--show-with-configuration):
6887 * vc/emerge.el (emerge-setup-windows):
6888 * textmodes/two-column.el (2C-two-columns):
6889 * textmodes/reftex-toc.el (reftex-toc):
6890 * progmodes/gdb-mi.el (gdb-setup-windows):
6891 * progmodes/fortran.el (fortran-window-create):
6892 * net/newst-treeview.el (newsticker--treeview-window-init):
6893 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6894 * emulation/tpu-edt.el (tpu-gold-map):
6895 * emulation/crisp.el (crisp-mode-map):
6896 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6897
38bb2ca8
CY
68982011-10-29 Chong Yidong <cyd@gnu.org>
6899
aa4de341
CY
6900 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6901
e1eb5385
CY
6902 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6903
5d2ece3c
CY
6904 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6905 forged Ispell output (Bug#7904).
6906
38bb2ca8
CY
6907 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6908
d0af9f77
SM
69092011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 * doc-view.el: Avoid ugly errors about not finding nil.
6912 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6913 (doc-view-dvipdf-program, doc-view-unoconv-program)
6914 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6915 Avoid nil or absolute file name as default value.
6916 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6917
52bedd34
AM
69182011-10-28 Alan Mackenzie <acm@muc.de>
6919
db22a3c2 6920 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6921
7e43cfa5
AM
69222011-10-28 Alan Mackenzie <acm@muc.de>
6923
6924 Amend the handling of c-beginning/end-of-defun in nested declaration
6925 scopes.
6926
52bedd34
AM
6927 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6928 cc-langs.el. Change it to a defcustom.
7e43cfa5 6929
52bedd34
AM
6930 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6931 cc-vars.el.
7e43cfa5 6932
d0af9f77
SM
6933 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6934 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6935
52bedd34 6936 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6937 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6938 (c-widen-to-enclosing-decl-scope): New function.
6939 (c-while-widening-to-decl-block): New macro.
6940 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6941 outward for defun boundaries, and correspondingly change symbol
6942 `respect-enclosure' to `go-outward'.
6943 (c-declaration-limits): Change algorithm to report only the "innermost"
6944 defun's boundaries.
6945
1a2ce9ee
DD
69462011-10-28 Deniz Dogan <deniz@dogan.se>
6947
6948 * net/rcirc.el (rcirc-mode): Use hard newlines.
6949
bc97a826
AM
69502011-10-28 Alan Mackenzie <acm@muc.de>
6951
6952 Amend to indent and fontify macros "which include their own semicolon"
6953 correctly, using the "virtual semicolon" mechanism.
6954
52bedd34 6955 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6956
d0af9f77 6957 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6958 Recode to scan one line at a time rather than having \n and \r
58179cce 6959 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6960 (c-forward-label): Amend for virtual semicolons.
58179cce 6961 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6962
52bedd34
AM
6963 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6964 of the new C macros.
bc97a826 6965
52bedd34 6966 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6967 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6968 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6969 (c-opt-cpp-macro-define): Make into a full language variable.
6970 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6971 AWK Mode (including \n, \r) removed, no longer needed.
6972
d0af9f77
SM
6973 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6974 Invoke c-make-macro-with-semi-re.
bc97a826 6975
52bedd34
AM
6976 * progmodes/cc-vars.el (c-macro-with-semi-re):
6977 (c-macro-names-with-semicolon): New variables.
58179cce 6978 (c-make-macro-with-semi-re): New function.
bc97a826 6979
7a6c0941
SM
69802011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * vc/log-edit.el: Fill empty field rather than adding new one.
6983 (log-edit-add-field): New function.
6984 (log-edit-insert-changelog): Use it.
6985
b0c4cdcf
ML
69862011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6987
6988 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6989
ee1f1da9
SM
69902011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6993 (gdb--check-interpreter): New function.
6994 (gdb): Use it.
6995
51bc5f8b
GM
69962011-10-27 Glenn Morris <rgm@gnu.org>
6997
416a2c45
GM
6998 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6999 (least-positive-float, least-negative-float)
7000 (least-positive-normalized-float, least-negative-normalized-float)
7001 (float-epsilon, float-negative-epsilon):
7002 Remove unnecessary declarations.
7003
7004 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7005 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7006 (least-positive-float, least-negative-float)
7007 (least-positive-normalized-float, least-negative-normalized-float)
7008 (float-epsilon, float-negative-epsilon): Add doc-strings,
7009 based on those in cl.texi.
7010
51bc5f8b
GM
7011 * files.el (set-visited-file-name): If the major-mode changed,
7012 reload the local variables. (Bug#9796)
7013
15de15c6
CY
70142011-10-27 Chong Yidong <cyd@gnu.org>
7015
7016 * subr.el (change-major-mode-after-body-hook): New hook.
7017 (run-mode-hooks): Run it.
7018
ee1f1da9
SM
7019 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7020 Use change-major-mode-before-body-hook.
15de15c6
CY
7021
7022 * simple.el (fundamental-mode):
7023 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7024 change introducing fundamental-mode-hook.
7025
5430d399
JB
70262011-10-26 Juanma Barranquero <lekktu@gmail.com>
7027
acc825c5 7028 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7029
ad74a69e
MA
70302011-10-26 Michael Albinus <michael.albinus@gmx.de>
7031
7032 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7033 tramp.el explicitly. (Bug#7583)
ad74a69e 7034
71d4c2a5
SM
70352011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7036
7037 * progmodes/octave-mod.el:
7038 * progmodes/octave-inf.el: Update maintainer.
7039
b1f6fa26
CY
70402011-10-26 Chong Yidong <cyd@gnu.org>
7041
7042 * subr.el (with-wrapper-hook): Rewrite doc.
7043
3f04efd6
MA
70442011-10-25 Michael Albinus <michael.albinus@gmx.de>
7045
7046 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7047 filenames "/method:foo:". (Bug#9793)
3f04efd6 7048
410488d3
SM
70492011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7050
7051 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7052 (bug#9865).
7053
c1ebb47e
GM
70542011-10-24 Glenn Morris <rgm@gnu.org>
7055
7056 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7057
7f5c46c7
MA
70582011-10-24 Michael Albinus <michael.albinus@gmx.de>
7059
7060 * notifications.el: Add the requirement of a running D-Bus session
7061 bus to the Commentary.
7062
db2440b6
JL
70632011-10-24 Juri Linkov <juri@jurta.org>
7064
7065 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7066 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7067 (Bug#9364)
7068
feecf435
JL
70692011-10-24 Juri Linkov <juri@jurta.org>
7070
7071 * info.el (Info-following-node-name-re): Add newline to the list
7072 of allowed characters for leading space. (Bug#9824)
7073
a3839de2
SM
70742011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7075
acc825c5
SM
7076 * progmodes/octave-inf.el (inferior-octave-mode-map):
7077 Fix C-c C-h binding.
a3839de2
SM
7078 * progmodes/octave-mod.el (octave-help): Remove.
7079
09388e76
MA
70802011-10-23 Michael Albinus <michael.albinus@gmx.de>
7081
7082 Sync with Tramp 2.2.3.
7083
7084 * net/tramp-cache.el (top): Pacify byte-compiler using
7085 `init-file-user' and `site-run-file'.
7086
7087 * net/trampver.el: Update release number.
7088
86c60681
CY
70892011-10-23 Chong Yidong <cyd@gnu.org>
7090
7091 * files.el (toggle-read-only): Remove obsolete comment about
7092 version control.
7093
7094 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7095 for toggle-read-only. Note that this hasn't called vc-next-action
7096 since 2008-05-02, though it wasn't documented at the time.
7097
a3839de2
SM
7098 * vc/ediff-init.el (ediff-toggle-read-only-function):
7099 Use toggle-read-only.
86c60681 7100
cd5495ff
AM
71012011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7102
7103 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7104 of c-parse-state.
7105
00b77525 7106 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7107 correct faulty logical expression.
cd5495ff
AM
7108 (c-parse-state-state, c-record-parse-state-state):
7109 (c-replay-parse-state-state): New defvar/defuns.
7110 (c-debug-parse-state): Use new functions.
7111
42ee24ed
MR
71122011-10-22 Martin Rudalics <rudalics@gmx.at>
7113
7114 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7115 last fix. Use window-in-direction correctly.
42ee24ed 7116
a7dee7e7
CY
71172011-10-21 Chong Yidong <cyd@gnu.org>
7118
7119 * progmodes/idlwave.el (idlwave-mode):
7120 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7121 require-final-newline; that's done in prog-mode.
7122 Suggested by Stefan Monnier.
a7dee7e7 7123
e07b9a6d
MR
71242011-10-21 Martin Rudalics <rudalics@gmx.at>
7125
7126 * mouse.el (mouse-drag-window-above)
7127 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7128 (mouse-drag-mode-line-1, mouse-drag-header-line)
7129 (mouse-drag-vertical-line-rightward-window): Remove.
7130 (mouse-drag-line): New function.
7131 (mouse-drag-mode-line, mouse-drag-header-line)
7132 (mouse-drag-vertical-line): Call mouse-drag-line.
7133 * window.el (window-at-side-p, windows-at-side): New functions.
7134
7e1361d9
UM
71352011-10-21 Ulrich Mueller <ulm@gentoo.org>
7136
7137 * tar-mode.el (tar-grind-file-mode):
7138 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7139
30fcaf3a
CY
71402011-10-21 Chong Yidong <cyd@gnu.org>
7141
7142 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7143 * progmodes/vera-mode.el (vera-mode):
7144 Use mode-require-final-newline.
30fcaf3a 7145
516eddb0
GM
71462011-10-20 Glenn Morris <rgm@gnu.org>
7147
db22a3c2 7148 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7149
10d5f513
CS
71502011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7151
7152 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7153
ac6c8639
CY
71542011-10-20 Chong Yidong <cyd@gnu.org>
7155
7156 * emulation/cua-base.el (cua-mode):
7157 * mail/footnote.el (footnote-mode):
7158 * mail/mailabbrev.el (mail-abbrevs-mode):
7159 * net/xesam.el (xesam-minor-mode):
7160 * progmodes/bug-reference.el (bug-reference-mode):
7161 * progmodes/cap-words.el (capitalized-words-mode):
7162 * progmodes/compile.el (compilation-minor-mode)
7163 (compilation-shell-minor-mode):
7164 * progmodes/gud.el (gud-tooltip-mode):
7165 * progmodes/hideif.el (hide-ifdef-mode):
7166 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7167 * progmodes/subword.el (subword-mode):
7168 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7169 * progmodes/which-func.el (which-function-mode):
7170 * term/tvi970.el (tvi970-set-keypad-mode):
7171 * term/vt100.el (vt100-wide-mode):
7172 * textmodes/flyspell.el (flyspell-mode):
7173 * textmodes/ispell.el (ispell-minor-mode):
7174 * textmodes/nroff-mode.el (nroff-electric-mode):
7175 * textmodes/paragraphs.el (use-hard-newlines):
7176 * textmodes/refill.el (refill-mode):
7177 * textmodes/reftex.el (reftex-mode):
7178 * textmodes/rst.el (rst-minor-mode):
7179 * textmodes/sgml-mode.el (html-autoview-mode)
7180 (sgml-electric-tag-pair-mode):
7181 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7182 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7183 * emulation/crisp.el (crisp-mode):
7184 * emacs-lisp/eldoc.el (eldoc-mode):
7185 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7186 minor mode behavior.
7187
aa42ab43
JL
71882011-10-19 Juri Linkov <juri@jurta.org>
7189
7190 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7191 the list of hard-coded chars with escape-glyph face.
7192
89400f1d
SM
71932011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7194
7195 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7196
305c07f6
MA
71972011-10-19 Michael Albinus <michael.albinus@gmx.de>
7198
7199 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7200 running process.
7201
13754b54
GM
72022011-10-19 Glenn Morris <rgm@gnu.org>
7203
7204 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7205 Ignore ignored files. (Bug#9726)
7206
06e21633
CY
72072011-10-19 Chong Yidong <cyd@gnu.org>
7208
7209 Doc fix for minor modes, stating that an omitted argument enables
7210 the mode unconditionally when called from Lisp.
7211
7212 * abbrev.el (abbrev-mode):
7213 * allout.el (allout-mode):
7214 * autoinsert.el (auto-insert-mode):
7215 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7216 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7217 (global-auto-revert-mode):
7218 * battery.el (display-battery-mode):
7219 * composite.el (global-auto-composition-mode)
7220 (auto-composition-mode):
7221 * delsel.el (delete-selection-mode):
7222 * desktop.el (desktop-save-mode):
7223 * dired-x.el (dired-omit-mode):
7224 * dirtrack.el (dirtrack-mode):
7225 * doc-view.el (doc-view-minor-mode):
7226 * double.el (double-mode):
7227 * electric.el (electric-indent-mode, electric-pair-mode):
7228 * emacs-lock.el (emacs-lock-mode):
7229 * epa-hook.el (auto-encryption-mode):
7230 * follow.el (follow-mode):
7231 * font-core.el (font-lock-mode):
7232 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7233 * help.el (temp-buffer-resize-mode):
7234 * hilit-chg.el (highlight-changes-mode)
7235 (highlight-changes-visible-mode):
7236 * hi-lock.el (hi-lock-mode):
7237 * hl-line.el (hl-line-mode, global-hl-line-mode):
7238 * icomplete.el (icomplete-mode):
7239 * ido.el (ido-everywhere):
7240 * image-file.el (auto-image-file-mode):
7241 * image-mode.el (image-minor-mode):
7242 * iswitchb.el (iswitchb-mode):
7243 * jka-cmpr-hook.el (auto-compression-mode):
7244 * linum.el (linum-mode):
7245 * longlines.el (longlines-mode):
7246 * master.el (master-mode):
7247 * mb-depth.el (minibuffer-depth-indicate-mode):
7248 * menu-bar.el (menu-bar-mode):
7249 * minibuf-eldef.el (minibuffer-electric-default-mode):
7250 * mouse-sel.el (mouse-sel-mode):
7251 * msb.el (msb-mode):
7252 * mwheel.el (mouse-wheel-mode):
7253 * outline.el (outline-minor-mode):
7254 * paren.el (show-paren-mode):
7255 * recentf.el (recentf-mode):
7256 * reveal.el (reveal-mode, global-reveal-mode):
7257 * rfn-eshadow.el (file-name-shadow-mode):
7258 * ruler-mode.el (ruler-mode):
7259 * savehist.el (savehist-mode):
7260 * scroll-all.el (scroll-all-mode):
7261 * scroll-bar.el (scroll-bar-mode):
7262 * server.el (server-mode):
7263 * shell.el (shell-dirtrack-mode):
7264 * simple.el (auto-fill-mode, transient-mark-mode)
7265 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7266 (line-number-mode, column-number-mode, size-indication-mode)
7267 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7268 * strokes.el (strokes-mode):
7269 * time.el (display-time-mode):
7270 * t-mouse.el (gpm-mouse-mode):
7271 * tool-bar.el (tool-bar-mode):
7272 * tooltip.el (tooltip-mode):
7273 * type-break.el (type-break-mode-line-message-mode)
7274 (type-break-query-mode):
7275 * view.el (view-mode):
7276 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7277 (global-whitespace-mode, global-whitespace-newline-mode):
7278 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7279
a3839de2
SM
7280 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7281 Fix autogenerated docstring.
06e21633 7282
5214e501
JL
72832011-10-19 Juri Linkov <juri@jurta.org>
7284
7285 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7286 by checking environment variables "DESKTOP_SESSION" and
7287 "XDG_CURRENT_DESKTOP". (Bug#9779)
7288
195f8db9
JL
72892011-10-19 Juri Linkov <juri@jurta.org>
7290
7291 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7292 (browse-url-chromium-program, browse-url-chromium-arguments):
7293 New defcustoms.
7294 (browse-url-default-browser): Check for `browse-url-chromium' and
7295 call `browse-url-chromium-program'.
7296 (browse-url-chromium): New command. (Bug#9779)
7297
343a34ff
JB
72982011-10-18 Juanma Barranquero <lekktu@gmail.com>
7299
7300 * facemenu.el (list-colors-duplicates): On Windows, detect more
7301 duplicates by assuming that only colors matching "^System" are
7302 special "system colors". (Bug#9722)
7303
6978a151
SM
73042011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7305
7306 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7307 to distinguish the author from the committer.
7308
6a80b297
MA
73092011-10-18 Michael Albinus <michael.albinus@gmx.de>
7310
7311 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7312
b31a5677
JK
73132011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7314
7315 * international/mule.el (sgml-html-meta-auto-coding-function):
7316 Add support for detecting encoding in HTML5 specified only as
7317 <meta charset="UTF-8">. Implementation just makes http-equiv and
7318 content-type parts from HTML4 encoding string optional. (Bug#9716)
7319
80c6d77f
GM
73202011-10-18 Glenn Morris <rgm@gnu.org>
7321
7322 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7323
08b0fee8
CY
73242011-10-18 Chong Yidong <cyd@gnu.org>
7325
7326 * faces.el (cursor): Doc fix.
7327
67e729a5
CY
73282011-10-17 Chong Yidong <cyd@gnu.org>
7329
7330 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7331
343a34ff 73322011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7333
7334 * dirtrack.el (dirtrack): Support shell buffers with path
7335 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7336
0bc06380
TZ
73372011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7338
7339 * json.el: Bump version to 1.3 and note change in History.
7340 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7341
8b79f3e0
SM
73422011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7343
5a7c536b
SM
7344 * comint.el (comint-insert-input, comint-send-input)
7345 (comint-get-old-input-default, comint-backward-matching-input)
7346 (comint-next-prompt): Use nil instead of `input' for field property of
7347 past user input (bug#114).
7348
96a8a0df
SM
7349 * minibuffer.el (completion--replace): Inherit surrounding properties
7350 (bug#114).
7351 (minibuffer-complete-and-exit): Use it.
7352
8b79f3e0
SM
7353 * comint.el (comint--table-subvert): Quote the all-completions output
7354 (bug#9160).
7355
b8f7ff0d
MR
73562011-10-17 Martin Rudalics <rudalics@gmx.at>
7357
8b79f3e0 7358 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7359
b8f7ff0d 7360 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7361 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7362 entries and separate them from frame entries.
7363
c235b555
GM
73642011-10-15 Glenn Morris <rgm@gnu.org>
7365
7366 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7367 Doc fixes.
7368
6bbfa6e1
CY
73692011-10-15 Chong Yidong <cyd@stupidchicken.com>
7370
8b79f3e0
SM
7371 * net/network-stream.el (network-stream-open-starttls):
7372 Improve detection of failure due to lack of TLS support.
ec5c990d 7373
6bbfa6e1
CY
7374 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7375 putting the input text in front and in bold.
7376
98488977
SM
73772011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7378
3d1337be
SM
7379 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7380
ee0b45e4
SM
7381 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7382 empty buffer.
7383
98488977
SM
7384 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7385 unread-command-events rather than pushing yet-another event.
7386
186f4720
EZ
73872011-10-14 Eli Zaretskii <eliz@gnu.org>
7388
7389 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7390 the explanation of the possible choices. Make the options passed
7391 to completing-read shorter.
7392
8b7a997c
AM
73932011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7394
7395 * textmodes/flyspell.el (flyspell-large-region): Make sure
7396 extended character mode is used if defined (Bug#1339).
7397
12587bbb
EZ
73982011-10-13 Eli Zaretskii <eliz@gnu.org>
7399
7400 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7401 character info for LRE, LRO, RLE, and RLO characters by appending
7402 an invisible PDF.
12587bbb 7403
bad41229
SM
74042011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7405
7406 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7407 even in case of error; add debug spec; simplify data flow.
7408 (with-timeout-handler): Remove.
7409
28dbc92f
MA
74102011-10-12 Michael Albinus <michael.albinus@gmx.de>
7411
7412 Fix Bug#6019, Bug#9315.
7413
7414 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7415 complete `buffer-file-name', the local file name part could look
7416 remotely (for example on VMS).
7417
7418 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7419 `tramp-run-real-handler'.
7420 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7421 already quoted by '"'.
7422
7423 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7424 Let `file-name-handler-alist' be nil, the local file name part
7425 could look remotely (for example on VMS).
7426
e1b0b23a
SM
74272011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7428
7429 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7430 from here...
7431 (flyspell-post-command-hook): ...to here.
7432
a120bde9
SM
74332011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7434
7435 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7436 if not needed.
7437 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7438 using completion. Protect against "slow" callers.
7439 Remove the "message hack".
7440
7ce7717b
JL
74412011-10-11 Juri Linkov <juri@jurta.org>
7442
7443 * isearch.el (isearch-lazy-highlight-word): New variable.
7444 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7445 Use it. (Bug#9727)
7446
c02ee9d6
GM
74472011-10-11 Glenn Morris <rgm@gnu.org>
7448
7449 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7450 like f90-previous-statement does.
7451
93e616fd 74522011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7453
1f190e73 7454 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7455 only in interactive use, to avoid error.
7456
af7b6078
SM
74572011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * minibuffer.el (completion-file-name-table): Fix last change,
7460 i.e. ignore normal errors but not the other ones.
7461
0563dae9
MR
74622011-10-10 Martin Rudalics <rudalics@gmx.at>
7463
7464 * window.el (special-display-buffer-names)
7465 (special-display-regexps): Remove some remnants of earlier
7466 changes from doc-strings.
366ca7f3
MR
7467 (quit-windows-on): New function.
7468
7469 * vc/vc.el (vc-revert, vc-rollback):
7470 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7471 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7472 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7473
49677495
MR
74742011-10-09 Martin Rudalics <rudalics@gmx.at>
7475
7476 * window.el (frame-auto-hide-function): Add version tag.
7477 (Bug#9699)
7478
56f2d1e1
MA
74792011-10-09 Michael Albinus <michael.albinus@gmx.de>
7480
7481 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7482 condition.
7483
112a6592
LL
74842011-10-09 Leo Liu <sdl.web@gmail.com>
7485
7486 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7487 (Bug#9701)
7488
0812589b
GM
74892011-10-08 Glenn Morris <rgm@gnu.org>
7490
7491 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7492 before the first code statement zero indent. (Bug#9690)
7493
b2b0776e
CY
74942011-10-08 Chong Yidong <cyd@stupidchicken.com>
7495
7496 * simple.el (count-words-region): Always count in the region.
7497 Report the number of lines and characters too.
7498 (count-words): New command, which counts in the buffer if the
7499 region is inactive, as count-words-region used to.
7500 (count-words--message): New function. Handle plurals.
7501 (count-lines-region): Make it an alias for count-words-region.
7502
7503 * bindings.el (esc-map): Replace count-lines-region with
7504 count-words-region.
7505
c557cd6b
MR
75062011-10-08 Martin Rudalics <rudalics@gmx.at>
7507
7508 * window.el (window--delete): Delete dedicated frame
7509 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7510 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7511
61a57ef4 75122011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7513
3a7d293b 7514 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7515
c3833279
CY
75162011-10-07 Chong Yidong <cyd@stupidchicken.com>
7517
7518 * bindings.el ([M-left],[M-right]): Bind to left-word and
7519 right-word respectively.
7520
21ce8245
GM
75212011-10-07 Glenn Morris <rgm@gnu.org>
7522
7523 * cus-start.el (debug-on-quit): Fix custom type.
7524
6d823bb2
LMI
75252011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7526
0181e193
LMI
7527 * subr.el (define-key-after): Clarify that the function is not
7528 useful for non-menu keymaps.
7529
6d823bb2
LMI
7530 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7531
8e3459ce 75322011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7533
21ce8245 7534 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7535 in current minibuffer (Fix bug with recursive minibuffers).
7536
a1c2d21e
CY
75372011-10-06 Chong Yidong <cyd@stupidchicken.com>
7538
7539 * progmodes/gdb-mi.el (gdb): Doc fix.
7540
5a4cf282
MR
75412011-10-05 Martin Rudalics <rudalics@gmx.at>
7542
7543 * window.el (frame-auto-hide-function): New option replacing
7544 frame-auto-delete. Suggested by Stefan Monnier.
7545 (window--delete): Call frame-auto-hide-function instead of
7546 investigating frame-auto-delete.
c96111ea
MR
7547 (window-point-1, set-window-point-1): New functions.
7548 (window-in-direction, record-window-buffer, window-state-get-1)
7549 (display-buffer-record-window): Use window-point-1 instead of
7550 window-point.
7551 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7552
9854542e
SM
75532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7554
7555 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7556
8943cfb0
GM
75572011-10-05 Glenn Morris <rgm@gnu.org>
7558
7559 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7560 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7561
647ab967
LL
75622011-10-05 Leo Liu <sdl.web@gmail.com>
7563
7564 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7565 works with buffer object.
7566
3ddfbced
SM
75672011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * mpc.el (mpc-tool-bar-map): Add labels.
7570
bdfa5dd2
GM
75712011-10-04 Glenn Morris <rgm@gnu.org>
7572
7573 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7574
0e2070b5
MR
75752011-10-04 Martin Rudalics <rudalics@gmx.at>
7576
7577 * window.el (window--delete): New function.
7578 (frame-auto-delete): Resuscitate option.
7579 (bury-buffer, replace-buffer-in-windows)
7580 (quit-window): Rewrite using window--delete.
7581 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7582 Pass display-buffer-mark-dedicated to window--display-buffer-2
7583 (Bug#9639).
7584
3dc61a09
SM
75852011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7586
915a9b64
SM
7587 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7588 returns a list (bug#9554). Add remote file name completion.
7589 * comint.el (comint--table-subvert): Curry and get quote&unquote
7590 functions as arguments.
7591 (comint--complete-file-name-data): Adjust call accordingly.
7592 * pcomplete.el (pcomplete--table-subvert): Remove.
7593 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7594
3dc61a09
SM
7595 * minibuffer.el (completion-table-case-fold): Use currying.
7596 (completion--styles-type, completion--cycling-threshold-type):
7597 New constants.
7598 (completion-styles, completion-category-overrides)
7599 (completion-cycle-threshold): Use them.
7600 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7601 completion-table-case-fold.
7602
8ea0a993
SB
76032011-10-03 Stephen Berman <stephen.berman@gmx.net>
7604
7605 * minibuffer.el (completion-category-overrides): Fix type of styles
7606 and add more user friendly tags (bug#9660).
7607
8c24b7f6
SM
76082011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7609
7610 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7611 (mule-input-method-string): New widget.
7612 (default-input-method, language-info-custom-alist): Use it.
7613
428fe61a
SM
76142011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7615
32c1fffd
SM
7616 * pcomplete.el: Require comint.
7617 (pcomplete--common-suffix): Remove.
7618 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7619 (pcomplete--table-subvert): Sync with comint--table-subvert.
7620 (pcomplete--entries): Use comint-completion-file-name-table.
7621 * comint.el (comint-unquote-filename): Simplify.
7622 (comint-completion-file-name-table): New function (bug#9616).
7623 (comint--complete-file-name-data): Use it.
7624
428fe61a
SM
7625 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7626 (pcmpl-gnu-tar-buffer): Remove.
7627 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7628 around. Make sure pcomplete-suffix-list is only changed temporarily.
7629 Don't look inside the tar's file if it's too large.
428fe61a 7630
04c52e2f
CY
76312011-10-01 Chong Yidong <cyd@stupidchicken.com>
7632
ce3cefcc
CY
7633 * cus-edit.el (custom-mode-map):
7634 * epa.el (epa-key-list-mode-map):
7635 * man.el (Man-mode-map):
7636 * startup.el (splash-screen-keymap):
7637 * simple.el (special-mode-map): Use scroll-up-command and
7638 scroll-down-command.
7639
7640 * progmodes/idlw-help.el (idlwave-help-mode-map):
7641 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7642 * net/newst-plainview.el (newsticker-mode-map):
7643 * emulation/ws-mode.el (wordstar-mode-map):
7644 * emulation/vi.el (vi-com-map):
7645 * calc/calc-graph.el (calc-graph-show-dumb):
7646 * term/sun.el (terminal-init-sun):
7647 * term/ns-win.el (global-map):
7648 * progmodes/grep.el (grep-mode-map):
7649 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7650 * mail/rmail.el (rmail-mode-map):
7651 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7652
04c52e2f
CY
7653 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7654 custom-safe-themes as special.
7655
79adf8c8
JD
76562011-10-01 Julien Danjou <julien@danjou.info>
7657
7658 * notifications.el (notifications-notify): Fix docstring.
7659
63bd50d3
PS
76602011-10-01 Per Starbäck <per@starback.se>
7661
7662 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7663
199e4c7e
MR
76642011-09-30 Martin Rudalics <rudalics@gmx.at>
7665
7666 * startup.el (command-line-1): Fix last fix by inserting
7667 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7668 (Bug#9605) and (Bug#9636)
199e4c7e 7669
fe5f08dd
EZ
76702011-09-29 Eli Zaretskii <eliz@gnu.org>
7671
7672 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7673 window is hscrolled, move by logical lines. (Bug#9607)
7674 (line-move-visual): Update the doc string to the above effect.
7675
b5516bbd
MR
76762011-09-29 Martin Rudalics <rudalics@gmx.at>
7677
ccee00c0
MR
7678 * window.el (display-buffer-record-window): When WINDOW is the
7679 selected window use `point' instead of `window-point'. (Bug#9626)
7680
b5516bbd
MR
7681 * startup.el (command-line-1): Use insert-before-markers when
7682 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7683
b5516bbd
MR
7684 * help.el (help-window): Remove variable.
7685
52aa0014
GM
76862011-09-29 Glenn Morris <rgm@gnu.org>
7687
7688 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7689
df9a7357
JB
76902011-09-29 Juanma Barranquero <lekktu@gmail.com>
7691
7692 * descr-text.el (describe-char-categories): Accept category
7693 descriptions more than one line long.
7694
a8406c20
SM
76952011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7696
88d9610c
SM
7697 * simple.el (delete-trailing-whitespace): Fix last change.
7698
a5daf810
SM
7699 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7700 Don't confuse "y => 3" as the beginning of a `y' operation.
7701
a8406c20
SM
7702 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7703 object has more than 4 slots (bug#9613).
7704
a239d4e9
JB
77052011-09-28 Juanma Barranquero <lekktu@gmail.com>
7706
7707 * subr.el (with-output-to-temp-buffer):
7708 * net/quickurl.el (quickurl, quickurl-browse-url):
7709 Fix typos in docstrings.
7710
693fbdb6
EZ
77112011-09-27 Eli Zaretskii <eliz@gnu.org>
7712
7713 * minibuffer.el (completion-styles)
7714 (completion-category-overrides): Cross reference each other in doc
7715 strings.
7716
8b457e28
GM
77172011-09-27 Glenn Morris <rgm@gnu.org>
7718
7719 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7720 to split-string. (Bug#9606)
7721
85a16208
LMI
77222011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7723
7724 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7725 (bug#9615).
7726
502f9ebd
CY
77272011-09-27 Chong Yidong <cyd@stupidchicken.com>
7728
7729 * emacs-lisp/package.el (list-packages): Fix echo area message.
7730
7690bdea
LL
77312011-09-27 Leo Liu <sdl.web@gmail.com>
7732
7733 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7734
e2ee6f30
MA
77352011-09-25 Michael Albinus <michael.albinus@gmx.de>
7736
7737 * net/dbus.el (dbus-unregister-object): Don't release services for
7738 registered signals. (Bug#9581)
7739
f3f98342
TZ
77402011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7741
7742 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7743 function that picks between cfengine 2 and 3 support
7744 automatically. Update docs accordingly.
7745
dd7aa8dd
KH
77462011-09-22 Kenichi Handa <handa@m17n.org>
7747
7748 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7749 ZERO.
7750 (indian-itrans-v5-table-for-tamil): New variable.
7751 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7752
3f2b07f8
KM
77532011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7754
7755 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7756 that's true if the current command involved collapsing of text.
7757 It's reset to false at the beginning of the next command.
7758 (allout-post-command-business): Move the cursor to the beginning
7759 of entry if the cursor is hidden and collapsing activity just
7760 happened.
7761
371d6a61
CY
77622011-09-24 Chong Yidong <cyd@stupidchicken.com>
7763
7764 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7765 tracking (Bug#9541).
7766
2ac2721a
UJ
77672011-09-24 Ulf Jasper <ulf.jasper@web.de>
7768
7769 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7770 (newsticker-show-news): Automatically load html rendering package
7771 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7772 because w3m-fill-column is let-bound" and the error "Symbol's value
7773 as variable is void: w3m-fill-column".
2ac2721a 7774
fac7ae53
MA
77752011-09-24 Michael Albinus <michael.albinus@gmx.de>
7776
7777 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7778 Release services only if they are defined. (Bug#9581)
7779
e08b633b
RS
77802011-09-23 Richard Stallman <rms@gnu.org>
7781
e488d29c
RS
7782 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7783 distinguish start of paragraph from start of its text.
7784
19c38752
RS
7785 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7786
e08b633b
RS
7787 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7788 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7789 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7790
0a39f27e
AS
77912011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7792
7793 * international/mule-diag.el (mule-diag): Insert a newline after
7794 each fontset description.
7795
db4e950d
SM
77962011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7797
7798 * simple.el (delete-trailing-whitespace):
7799 Document last change; simplify.
7800
eca3f3ea
PW
78012011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7802
d68e189a
PW
7803 * simple.el (delete-trailing-whitespace): Also delete
7804 extra newlines at the end of the buffer.
7805
eca3f3ea
PW
7806 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7807 (picture-newline): Use forward-line so as to ignore fields.
7808
01c157cc
SM
78092011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7810
7811 * subr.el (with-wrapper-hook): Fix edebug spec.
7812
022de23e
LMI
78132011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7814
7815 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7816 (bug#4538).
7817
91683089
MA
78182011-09-23 Michael Albinus <michael.albinus@gmx.de>
7819
eca3f3ea
PW
7820 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7821 Fix nasty bug using wrong cached values.
91683089 7822
5bdd6fa4
AM
78232011-09-23 Alan Mackenzie <acm@muc.de>
7824
7825 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7826
97adfb97
CY
78272011-09-23 Chong Yidong <cyd@stupidchicken.com>
7828
7829 * window.el (pop-to-buffer): Ensure right window is selected if we
7830 chose another frame.
7831
d4ef2b50
EZ
78322011-09-22 Eli Zaretskii <eliz@gnu.org>
7833
7834 * simple.el (what-cursor-position): Use get-char-property-change
7835 and next-single-char-property-change, to be able to show display
7836 properties that come from overlays as well as text properties.
7837
72258fe5
CY
78382011-09-22 Chong Yidong <cyd@stupidchicken.com>
7839
7840 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7841
7842 * cmuscheme.el (run-scheme, switch-to-scheme):
7843 * cus-edit.el (customize-group, custom-buffer-create)
7844 (customize-browse):
7845 * info.el (info):
7846 * shell.el (shell):
7847 * mail/sendmail.el (mail):
7848 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7849
8f098516
RS
78502011-09-22 Richard Stallman <rms@gnu.org>
7851
7852 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7853 move back only to line beg, don't move back over blank lines.
7854
e74f1bb6
MA
78552011-09-22 Michael Albinus <michael.albinus@gmx.de>
7856
7857 * files.el (copy-directory): Set directory attributes only in case
7858 they could be retrieved from the source directory. (Bug#9565)
7859
bfeef8b6
DK
78602011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7861
7862 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7863 (hs-find-block-beginning, hs-hide-level-recursive):
7864 Ignore strings as well as comments. (Bug#9502)
7865
7e423bb8
AS
78662011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7867
7868 * progmodes/sql.el (sql-comint-postgres):
7869 Convert port number to a string. (Bug#9566)
7870
b4d72fcf
MR
78712011-09-22 Martin Rudalics <rudalics@gmx.at>
7872
7873 * window.el (quit-window): Undedicate window when switching to
7874 previous buffer. Reported by Thierry Volpiatto
7875 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7876 (special-display-popup-frame): When popping up a new frame reset
7877 its previous buffers to nil. Simplify code.
b4d72fcf 7878
a7b88dc6
MA
78792011-09-21 Michael Albinus <michael.albinus@gmx.de>
7880
7881 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7882 and process filter, as done also in `shell-command'.
7883
cf4eacfd
MR
78842011-09-21 Martin Rudalics <rudalics@gmx.at>
7885
eca3f3ea 7886 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7887 Call set-window-start with NOFORCE argument t.
7888 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7889 (quit-window): Reword doc-string. Handle new format of
7890 quit-restore parameter. Don't delete window if it has a
7891 previous buffer we can show instead of the present one.
7892 (display-buffer-record-window): Rewrite using a new format for
7893 the quit-restore window parameter
7894 (special-display-popup-frame, display-buffer-same-window)
7895 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7896 (display-buffer-pop-up-window, display-buffer-use-some-window):
7897 Adapt symbol passed to display-buffer-record-window.
7898 * help.el (help-window-setup): Handle new format of quit-restore
7899 parameter.
7900
8d28cb95
SM
79012011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7902
94ab793f
SM
7903 * faces.el (face-list): Fix docstring (bug#9564).
7904
8d28cb95
SM
7905 * window.el (display-buffer--action-function-custom-type):
7906 Don't include internal functions in the Custom interface.
7907
3820edeb
JL
79082011-09-20 Juri Linkov <juri@jurta.org>
7909
7910 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7911 (Info-forward-node, Info-backward-node, Info-next-preorder)
7912 (Info-last-preorder): Use it. (Bug#9528)
7913
5147931d
JL
79142011-09-20 Juri Linkov <juri@jurta.org>
7915
7916 * info.el (Info-last-preorder): Visit last menu item only when
7917 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7918
cf499a1a
JD
79192011-09-20 Julien Danjou <julien@danjou.info>
7920
7921 * password-cache.el (password-cache-remove): Remove entries even if the
7922 value is nil, so that password with a nil value (negative caching) is
7923 possible to invalidate.
7924
f84e2fe2
LM
79252011-09-20 Lawrence Mitchell <wence@gmx.li>
7926
7927 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7928 all whitespace around breakpoint. (Bug#9553)
7929 (f90-find-breakpoint): Only break at whitespace inside a comment.
7930
78054a46
SM
79312011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7932
7933 * minibuffer.el (completion-file-name-table): Keep track of errors.
7934 (completion-table-with-predicate): Handle the case where pred1 is nil.
7935 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7936
345083b2
SM
79372011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7938
e24e27be
SM
7939 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7940 (debugger-return-value): Signal an error if the debugging context does
7941 not await any return value.
7942
345083b2
SM
7943 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7944 * image-mode.el (image-toggle-display-text)
7945 (image-toggle-display-image): Stay away from evil `intangible'.
7946
08d355e3
LL
79472011-09-19 Leo Liu <sdl.web@gmail.com>
7948
7949 * replace.el (occur-revert-arguments): Make it permanent-local.
7950 (occur-mode): Don't call font-lock-defontify.
7951
f01da43f
CY
79522011-09-19 Chong Yidong <cyd@stupidchicken.com>
7953
7954 * net/ldap.el (ldap-search-internal): Don't push empty search
7955 result (Bug#9508).
7956
b6072fa6
SM
79572011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7958
7959 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7960
443d6696
MA
79612011-09-19 Michael Albinus <michael.albinus@gmx.de>
7962
7963 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7964 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7965
7cc6e154
JL
79662011-09-18 Juri Linkov <juri@jurta.org>
7967
7968 * buff-menu.el (Buffer-menu-mode-map):
7969 * dired.el (dired-mode-map):
7970 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7971 (lisp-interaction-mode-map):
7972 * emacs-lisp/package.el (package-menu-mode-map):
7973 * epa.el (epa-key-list-mode-map):
7974 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7975 (menu-bar-options-menu):
7976 * outline.el (outline-mode-menu-bar-map):
7977 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7978 * vc/vc-dir.el (vc-dir-menu-map):
7979 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7980 Capitalize non-function content words in menu item strings.
7981
7982 * dired.el (dired-mode-map): Add menu item for
7983 `image-dired-dired-toggle-marked-thumbs'.
7984
80302a81
JL
79852011-09-18 Juri Linkov <juri@jurta.org>
7986
7987 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7988 to `isearch-case-fold-search' and restore its original value
7989 after the `isearch-mode' call.
7990
46c5cf66
JL
79912011-09-18 Juri Linkov <juri@jurta.org>
7992
7993 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7994 because `zgrep' returns 1 for successful matches (bug#9226).
7995
d18b513b
JL
79962011-09-18 Juri Linkov <juri@jurta.org>
7997
7998 * info.el (Info-extract-menu-node-name): Check the second match
7999 for empty string (second test-case of bug#9528).
8000 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8001 intermediate nodes to the history (first test-case of bug#9528).
8002
72753f87
JL
80032011-09-18 Juri Linkov <juri@jurta.org>
8004
8005 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8006 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8007
c9384295
JL
80082011-09-18 Juri Linkov <juri@jurta.org>
8009
1154d12e
JB
8010 * info.el (Info-file-supports-index-cookies):
8011 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8012 outputs one more line for long file names (bug#4142).
c9384295 8013
d473dce8
CY
80142011-09-18 Chong Yidong <cyd@stupidchicken.com>
8015
8016 * newcomment.el (comment-normalize-vars): If prompting for
8017 comment-start, set comment-start-skip too (Bug#8424).
8018
2176854d
JB
80192011-09-18 Johan Bockgård <bojohan@gnu.org>
8020
8021 * icomplete.el: Fix previous fix of Bug#5849.
8022 (icomplete-mode): Don't set completion-show-inline-help.
8023 (icomplete-minibuffer-setup): Set completion-show-inline-help
8024 locally during icompletion.
8025
3aace4e4
CY
80262011-09-18 Chong Yidong <cyd@stupidchicken.com>
8027
c940224f
CY
8028 * woman.el (woman2-process-escapes): Don't delete unrecognized
8029 escapes (Bug#7843).
8030
3aace4e4
CY
8031 * files.el (inhibit-first-line-modes-regexps): Add image files.
8032 (hack-local-variables-prop-line): Return nil for malformed
8033 prop-lines (Bug#9044).
8034
710dec63
MA
80352011-09-18 Michael Albinus <michael.albinus@gmx.de>
8036
8037 * net/tramp.el (top): Don't require 'shell.
8038 (tramp-methods): Fix docstring.
8039 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8040 Return complete remote file name. Handle "smb" case.
8041 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8042 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8043
8044 * net/tramp-compat.el (top): Require 'shell.
8045
8046 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8047 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8048 `tramp-current-host'.
8049 (tramp-get-remote-tmpdir): Remove.
8050
8051 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8052 `tramp-tmpdir' entries.
8053 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8054 (tramp-smb-handle-file-attributes): Ignore errors.
8055 (tramp-smb-wait-for-output): Check also for process end.
8056
5d5ac8ec
LMI
80572011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8058
8059 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8060 when sending QUIT (bug#9312).
8061
8c0f49f0
CY
80622011-09-17 Chong Yidong <cyd@stupidchicken.com>
8063
8064 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8065 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8066 occur-mode-display-occurrence.
8067 (occur-edit-mode): Add usage message.
8068 (occur-cease-edit): New command.
8069 (occur-after-change-function): Use text properties to find the
8070 position of the prefix text.
8071 (occur-engine): Set stickiness of prefix text properties.
8072
8f1383f7
GM
80732011-09-17 Glenn Morris <rgm@gnu.org>
8074
8075 * progmodes/etags.el (complete-tag):
8076 Fix call to completion-in-region. (Bug#9526)
8077
744ba0e3
JL
80782011-09-17 Juri Linkov <juri@jurta.org>
8079
8080 * textmodes/ispell.el (ispell-word): Add to the error message
8081 the word, ispell program name and current dictionary (bug#9121).
8082 (ispell-tex-arg-end): Capitalize "error" in the error message.
8083
d9bbf400
AS
80842011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8085
8086 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8087 check. (Bug#4251)
8088
8da11505
JL
80892011-09-17 Juri Linkov <juri@jurta.org>
8090
8091 * window.el (window-safe-min-height, window-safe-min-width):
8092 Fix typos (followup to bug#9522).
8093
a91adc7e
SJ
80942011-09-17 Sven Joachim <svenjoac@gmx.de>
8095
8096 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8097
064f328a
EZ
80982011-09-16 Eli Zaretskii <eliz@gnu.org>
8099
8100 * simple.el (line-move): If goal-column is set, move by logical
8101 lines, not by display lines. (Bug#971)
8102 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8103 to reflect the above change.
8104
e69df516
SM
81052011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * image.el (imagemagick-register-types): Use regexp-opt.
8108
cbb0f9ab
CY
81092011-09-15 Chong Yidong <cyd@stupidchicken.com>
8110
8111 * window.el (display-buffer-base-action): Rename from
8112 display-buffer-default-action. Make default value empty.
8113 (display-buffer-overriding-action): Convert to defvar.
8114 (display-buffer-fallback-action): New var.
8115
25322144
CY
81162011-09-15 Chong Yidong <cyd@stupidchicken.com>
8117
8118 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8119 declaration.
8120 (package--add-to-archive-contents): If there is a duplicate entry
8121 with an older version, remove it.
8122 (package-menu-mark-delete, package-menu-mark-install)
8123 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8124 (package-menu-mark-obsolete-for-deletion):
8125 Use package-menu-get-status instead of a regexp search.
25322144
CY
8126 (package-menu-get-status): Use tabulated-list-entry.
8127 (package-menu-mark-upgrades): New command.
d770725a 8128 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8129 (package-menu-execute): Do installation before deletion.
8130 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8131 instead of checking major-mode.
8132 (package-menu--find-upgrades): New function.
8133
7520339c
LMI
81342011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8135
8136 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8137 passwords in the log buffer.
65a046c4
LMI
8138 (smtpmail-process-filter): Update the process marker so that the
8139 "broken by peer" status message is inserted in the right place.
7520339c 8140
d3c30954
SM
81412011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8142
3fe48822
SM
8143 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8144 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8145 bibtex-completion-at-point-function.
8146 (bibtex-completion-at-point-function): Use them.
8147
1b8b3954
SM
8148 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8149
d3c30954
SM
8150 * mpc.el (mpc-constraints-tag-lookup): New function.
8151 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8152 also to browser "album|playlist".
8153
72779976
JL
81542011-09-14 Juri Linkov <juri@jurta.org>
8155
8156 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8157 (isearch-edit-string): Use length of `isearch-string' when
8158 `isearch-fail-pos' returns nil.
8159 (isearch-message): Remove duplicate code and call
8160 `isearch-fail-pos' with arg `t'.
8161
a0bf2bcd
CY
81622011-09-14 Chong Yidong <cyd@stupidchicken.com>
8163
17bb0a2d
CY
8164 * replace.el (occur-mode-goto-occurrence): Don't force using other
8165 window (Bug#9499).
8166
a0bf2bcd
CY
8167 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8168
f678e0b6
MR
81692011-09-14 Martin Rudalics <rudalics@gmx.at>
8170
8171 * window.el (display-buffer-window): Remove.
8172 (display-buffer-record-window): Use help-setup window parameter
8173 instead of variable display-buffer-window.
8174 (display-buffer-function, special-display-buffer-names)
8175 (special-display-function): Mention help-setup parameter instead
8176 of display-buffer-window in doc-string.
d3c30954
SM
8177 * help.el (help-window-setup): New argument help-window.
8178 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8179 Reword some messages.
8180 (with-help-window): Pass window used for displaying the buffer
8181 to help-window-setup. Don't set display-buffer-window.
8182
8e39b2e8
GM
81832011-09-13 Glenn Morris <rgm@gnu.org>
8184
8185 * emacs-lisp/debug.el (debugger-make-xrefs):
8186 Preserve point. (Bug#9462)
8187
85e9c04b
CY
81882011-09-13 Chong Yidong <cyd@stupidchicken.com>
8189
8190 * window.el (window-deletable-p): Use next-frame.
8191
1b36ed6a
MR
81922011-09-13 Martin Rudalics <rudalics@gmx.at>
8193
8194 * window.el (window-auto-delete): Remove.
8195 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8196 dedication and previous buffers.
1b36ed6a
MR
8197 (switch-to-prev-buffer): Don't delete window.
8198 (delete-windows-on): Delete a window's frame if and only if the
8199 window is dedicated.
8200 (replace-buffer-in-windows): Delete buffer's window or frame if
8201 and only if window is dedicated.
8202 (quit-window): Handle quit-restore as before last change.
4d61f28d 8203 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8204
ef8ef9fb
CY
82052011-09-13 Chong Yidong <cyd@stupidchicken.com>
8206
8207 * window.el (window-deletable-p): Never delete the last frame on a
8208 given terminal.
8209
b2cba41e
GM
82102011-09-13 Glenn Morris <rgm@gnu.org>
8211
8212 * help.el (describe-key-briefly): Copy previous standard-output change.
8213
51553db6 82142011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8215
8216 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8217
b7556719
GM
82182011-09-13 Glenn Morris <rgm@gnu.org>
8219
8220 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8221 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8222
64b51947
CY
82232011-09-12 Chong Yidong <cyd@stupidchicken.com>
8224
8225 * dired-aux.el (dired-mark-read-string): Don't return default
8226 value on empty input (Bug#9361).
8227 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8228 Omit initial minibuffer contents.
8229 (dired-do-chmod): Signal an error on empty input.
8230 (dired-mark-read-string): Don't return default on empty input.
8231
8232 * files.el (file-modes-symbolic-to-number): Doc fix.
8233
393a301e
SM
82342011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * international/mule-cmds.el (ucs-completions): Remove.
8237 (read-char-by-name): Use complete-with-action instead; add metadata.
8238
fa5660f9
CY
82392011-09-11 Chong Yidong <cyd@stupidchicken.com>
8240
8241 * window.el (display-buffer--action-function-custom-type)
8242 (display-buffer--action-custom-type): New vars.
8243 (display-buffer-alist, display-buffer-default-action)
8244 (display-buffer-overriding-action): Add defcustom types.
8245
4a592f66
CY
8246 * frame.el (delete-other-frames): Doc fix (Bug#276).
8247
73d56dbd
LMI
82482011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8249
8250 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8251
37ac18a3
CY
82522011-09-11 Chong Yidong <cyd@stupidchicken.com>
8253
8254 Change modes that used same-window-* vars to use switch-to-buffer.
8255
8256 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8257 Use switch-to-buffer.
8258
8259 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8260 (customize-browse, custom-buffer-create-other-window):
8261 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8262
8263 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8264 (Info-prev, Info-up, Info-speedbar-goto-node)
8265 (info-display-manual): Use switch-to-buffer.
8266 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8267
8268 * mail/sendmail.el (mail): Use switch-to-buffer.
8269 (mail-recover): Use switch-to-buffer-other-window.
8270
8271 * cmuscheme.el (run-scheme, switch-to-scheme):
8272 * ielm.el (ielm):
8273 * shell.el (shell):
8274 * net/rlogin.el (rlogin):
8275 * net/telnet.el (telnet, rsh):
8276 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8277
10195bd6
AS
82782011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8279
8280 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8281
b322f63a
LMI
82822011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8283
39d7fed6
LMI
8284 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8285 so don't mention it (bug#9301).
ba5a81f1 8286 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8287
ee0e9f11
LMI
8288 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8289 match `x', `w32' and `ns', like the manual says (bug#9029).
8290
0b1c89c1 8291 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8292 (process-kill-buffer-query-function): Mention the buffer name in
8293 the query.
0b1c89c1 8294
77549ea8
LMI
8295 * image-mode.el (image-next-line): The line parameter is mandatory
8296 (bug#9258).
8297
803ef892
LMI
8298 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8299 which can be useful (bug#9301).
8300
12980837
LMI
8301 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8302
91054f8f
LMI
8303 * subr.el (match-string): Mention that the current buffer should
8304 be the same as the search was done in (bug#9282).
8305
b322f63a
LMI
8306 * facemenu.el: Disable the remove-* commands if the mark isn't
8307 active (bug#9162).
8308
3199b96f
CY
83092011-09-10 Chong Yidong <cyd@stupidchicken.com>
8310
8311 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8312 of display-buffer.
8313 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8314
8315 * replace.el (occur-mode-goto-occurrence)
8316 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8317 and display-buffer.
8318
8319 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8320 display-buffer.
8321
8322 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8323 special-display and same-window variables.
8324 (mail-other-window): Use switch-to-buffer-other-window.
8325 (mail-other-frame): USe switch-to-buffer-other-frame.
8326
393a301e
SM
8327 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8328 Use display-buffer-other-frame.
3199b96f
CY
8329 (gdb-display-gdb-buffer): Use pop-to-buffer.
8330
8331 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8332
8333 * progmodes/python.el: Don't set same-window-buffer-names.
8334
8335 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8336
8337 * window.el (display-buffer-alist): Add *Python*.
8338
8319e0bf
CY
83392011-09-10 Chong Yidong <cyd@stupidchicken.com>
8340
8341 * window.el (display-buffer-alist): Add entry for buffers
8342 previously handled same-window-*.
8343 (display-buffer-alist, display-buffer-default-action)
8344 (display-buffer-overriding-action): Mark as risky.
8345 (display-buffer-alist): Document action function changes.
8346 (display-buffer--same-window-action)
8347 (display-buffer--other-frame-action): New variables.
8348 (switch-to-buffer, display-buffer-other-frame): Use them.
8349 (display-buffer): Rename reuse-frame entry to reusable-frames.
8350 (display-buffer-reuse-selected-window): Function deleted.
8351 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8352 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8353 (display-buffer-special): New function.
8354 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8355 display-buffer-reuse-or-pop-window. Split off special-display
8356 part into display-buffer-special.
8357 (display-buffer-use-some-window): Don't perform any special
8358 pop-up-frames handling.
8359 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8360 (display-buffer--maybe-same-window): Rename from
0d3ff375 8361 display-buffer-maybe-same-window.
8319e0bf 8362
919a69aa
CY
8363 * info.el: Don't set same-window-regexps.
8364 (info-setup): New function.
8365 (info-other-window, info): Call it.
8366
8367 * cus-edit.el: Don't set same-window-regexps.
8368 (customize-group): New argument.
8369 (customize-group-other-window): Use it.
8370 (customize-face, customize-face-other-window): Likewise.
8371 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8372
8319e0bf
CY
8373 * net/rlogin.el:
8374 * net/telnet.el:
8375 * progmodes/gud.el: Don't set same-window-regexps.
8376
8377 * cmuscheme.el:
8378 * ielm.el:
8379 * shell.el:
8380 * mail/sendmail.el:
8381 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8382
25173000
JL
83832011-09-10 Juri Linkov <juri@jurta.org>
8384
8385 * isearch.el (isearch-edit-string): Remove obsolete mention of
8386 `C-w' (`isearch-yank-word-or-char') from docstring.
8387 (isearch-query-replace): Fix typo in docstring (bug#9466).
8388
056e44ef
JL
83892011-09-10 Juri Linkov <juri@jurta.org>
8390
8391 * paren.el (show-paren-function): Don't show escaped parens.
8392 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8393
c3760c17
EZ
83942011-09-10 Eli Zaretskii <eliz@gnu.org>
8395
8396 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8397 (mm-default-file-encoding): Remove autoload forms, they are
8398 replaced with autoload cookies in mml.el and mm-encode.el.
8399 (mail-add-attachment): New command.
8400 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8401 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8402 the doc string.
8403 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8404
fece895e
RT
84052011-09-10 Reuben Thomas <rrt@sc3d.org>
8406
e69df516
SM
8407 * simple.el (count-words-region): Use buffer if there's no region
8408 (bug#9429).
fece895e 8409
5e68ce4a
JL
84102011-09-09 Juri Linkov <juri@jurta.org>
8411
8412 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8413 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8414 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8415
0a6b9622
AM
84162011-09-09 Alan Mackenzie <acm@muc.de>
8417
8418 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8419 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8420
14a29deb
EZ
84212011-09-09 Eli Zaretskii <eliz@gnu.org>
8422
8423 Fix for Savannah bug#9392.
8424 * simple.el (mail-encode-mml): New defvar.
8425
8426 * mail/rmail.el (mail-encode-mml): Add a defvar.
8427 (rmail-enable-mime-composing): Default to t.
8428 (rmail-forward): Use MIME method of forwarding only if both
8429 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8430 Set mail-encode-mml non-nil if the MIME method was used.
8431
8432 * mail/sendmail.el (mml-to-mime): Add autoload form.
8433 (mail-encode-mml): Add a defvar.
8434 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8435 to nil.
8436 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8437 message through mml-to-mime, and reset mail-encode-mml to nil.
8438
28c45130
GM
84392011-09-09 Glenn Morris <rgm@gnu.org>
8440
8441 * woman.el (woman-if-body): When processing an .el block,
8442 do not delete the next .el block as well. (Bug#9447)
69f4b618 8443 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8444
9b1c252e
MR
84452011-09-08 Martin Rudalics <rudalics@gmx.at>
8446
8447 * window.el (window-deletable-p): Make sure window is live before
8448 invoking window-prev-buffers.
8449
567457e3
LL
84502011-09-08 Leo Liu <sdl.web@gmail.com>
8451
8452 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8453
97f05794
JL
84542011-09-08 Juri Linkov <juri@jurta.org>
8455
8456 * progmodes/compile.el (compilation-environment): Make it
8457 a defcustom (bug#8340).
8458
8b0874b5
MR
84592011-09-08 Martin Rudalics <rudalics@gmx.at>
8460
8461 * window.el (frame-auto-delete): Rename to window-auto-delete.
8462 Make it control auto-deletion of windows and/or frames.
8463 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8464 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8465 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8466 Rewrite handling of case when window/frame can be deleted.
8467 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8468 argument t. (Bug#9456)
8b0874b5 8469
4feb6e73
CY
84702011-09-07 Chong Yidong <cyd@stupidchicken.com>
8471
8472 * help-mode.el (help-mode): Restore autoload.
8473
91ab9c13
JL
84742011-09-07 Juri Linkov <juri@jurta.org>
8475
8476 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8477 `compilation-environment'. Set buffer-local
8478 `compilation-environment' to `thisenv' later after (funcall mode).
8479 (Bug#8340)
8480
8481 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8482 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8483 instead of replacing its value. (Bug#8340)
8484
0527e251
JL
84852011-09-07 Juri Linkov <juri@jurta.org>
8486
8487 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8488 based on text properties put by `grep-filter' instead of matching
8489 escape sequences.
8490 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8491 to the value of `grep-error-screen-columns' (bug#9438).
8492
249f792c
JL
84932011-09-07 Juri Linkov <juri@jurta.org>
8494
8495 * simple.el (next-error-highlight, next-error-highlight-no-select):
8496 Doc fix (bug#9432).
8497
ff7271b9
OT
84982011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8499
8500 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8501 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8502
183fc730
LL
85032011-09-07 Leo Liu <sdl.web@gmail.com>
8504
8505 * net/rcirc.el (rcirc-mode): Conditionally initialize
8506 rcirc-input-ring.
8507
77694924
SM
85082011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8509
8510 * emacs-lisp/find-func.el (find-function-C-source): Only set
8511 find-function-C-source-directory after checking that we found a source
8512 file there (bug#9440).
8513
d809b8eb
AM
85142011-09-06 Alan Mackenzie <acm@muc.de>
8515
8516 * isearch.el (isearch-other-meta-char): Wherever a key list is
8517 unread, "unread" the prefix arg, too. This fixes bug #8901.
8518
453de99f
OG
85192011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8520
8521 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8522
90439906
JL
85232011-09-05 Juri Linkov <juri@jurta.org>
8524
8525 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8526
f62bd846
JL
85272011-09-05 Juri Linkov <juri@jurta.org>
8528
8529 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8530 keeping point where processing of grep matches begins, and
8531 continue to delete remaining escape sequences from the same point.
8532 (grep-filter): Make leading zero optional in "0?1;31m" because
8533 git-grep emits "\033[1;31m" escape sequences unlike expected
8534 "\033[01;31m" as GNU Grep does (bug#9408).
8535 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8536
045820ec
JL
85372011-09-05 Juri Linkov <juri@jurta.org>
8538
8539 * subr.el (y-or-n-p): Capitalize "yes".
8540
f5e29b9b
MA
85412011-09-04 Michael Albinus <michael.albinus@gmx.de>
8542
8543 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8544 `tramp-cache-unload-hook' where appropriate.
8545 (tramp-methods): Rename `tramp-remote-sh' to
8546 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8547 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8548
8549 * net/tramp-sh.el (top): Don't require 'shell.
8550 (tramp-methods): Add `tramp-remote-shell' and
8551 `tramp-remote-shell-args' entries.
8552 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8553 (tramp-sh-handle-shell-command): Remove.
8554 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8555 Use `tramp-remote-shell'.
8556
2784c434
CY
85572011-09-03 Chong Yidong <cyd@stupidchicken.com>
8558
393a301e 8559 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8560 (sendmail-query-once): Save directly to send-mail-function.
8561 Update message-send-mail-function too.
8562
8563 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8564
464cdf56
CS
85652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8566
8567 * progmodes/python.el (python-mode-map): Use correct function to
8568 start python interpreter from menu-bar (as reported by Geert
8569 Kloosterman).
8570 (inferior-python-mode-map): Fix typo.
393a301e 8571 (python-shell-map): Remove.
464cdf56 8572
d37e5c87
DD
85732011-09-03 Deniz Dogan <deniz@dogan.se>
8574
8575 * net/rcirc.el (rcirc-print): Simplify code for
8576 rcirc-scroll-show-maximum-output. There is no need to walk
8577 through all windows to find the right one.
8578
f3ada0ee
CS
85792011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8580
8581 * help.el (help-return-method): Doc fix.
8582
1f3c99ca
MR
85832011-09-03 Martin Rudalics <rudalics@gmx.at>
8584
8585 * window.el (window-deletable-p): Don't return a non-nil value
8586 when there's a buffer that was shown in the window before.
8587 (Bug#9419)
393a301e
SM
8588 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8589 Set window's previous buffers to nil.
1f3c99ca 8590
a3cf097f
EZ
85912011-09-03 Eli Zaretskii <eliz@gnu.org>
8592
8593 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8594 newline before and after the tag line, so it doesn't interfere
8595 with determining the paragraph direction of bidirectional text.
8596
3d03de90
LL
85972011-09-03 Leo Liu <sdl.web@gmail.com>
8598
8599 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8600
c3313451
CY
86012011-09-02 Chong Yidong <cyd@stupidchicken.com>
8602
393a301e 8603 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8604 (pop-to-buffer): Change interactive spec. Pass second argument
8605 directly to display-buffer.
8606 (display-buffer): Fix interactive spec. Use functionp to
8607 distinguish between a function and a list of functions.
8608
8609 * abbrev.el (edit-abbrevs):
8610 * arc-mode.el (archive-extract):
8611 * autoinsert.el (auto-insert):
8612 * bookmark.el (bookmark-bmenu-list):
8613 * files.el (find-file):
8614 * view.el (view-buffer):
8615 * progmodes/compile.el (compilation-goto-locus):
8616 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8617
89894cd8
CY
86182011-09-02 Chong Yidong <cyd@stupidchicken.com>
8619
8620 * window.el (display-buffer-alist): Doc fix.
8621 (display-buffer): Add docstring. Don't treat
8622 display-buffer-default specially.
8623 (display-buffer-reuse-selected-window)
8624 (display-buffer-same-window, display-buffer-maybe-same-window)
8625 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8626 (display-buffer-pop-up-window)
8627 (display-buffer-reuse-or-pop-window)
8628 (display-buffer-use-some-window): New functions.
8629 (display-buffer-default-action): Use them.
393a301e 8630 (display-buffer-default): Delete.
89894cd8
CY
8631 (pop-to-buffer-1): Fix choice of actions.
8632
ae0bc9fb
SM
86332011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * minibuffer.el (completion--insert-strings): Don't get confused by
8636 completion entries that end with an LF char.
8637
e9d90883
EZ
86382011-09-01 Eli Zaretskii <eliz@gnu.org>
8639
8640 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8641
437014c8
CY
86422011-09-01 Chong Yidong <cyd@stupidchicken.com>
8643
8644 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8645 (display-buffer-same-window, display-buffer-other-window):
8646 New functions.
437014c8
CY
8647 (pop-to-buffer-1): New function. Use the above.
8648 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8649 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8650
8651 * view.el (view-buffer-other-window, view-buffer-other-frame):
8652 Just use pop-to-buffer.
8653
a5e063d5
TV
86542011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8655
8656 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8657
793d32bb
WH
86582011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8659
8660 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8661
d65e4c15
RS
86622011-08-31 Richard Stallman <rms@gnu.org>
8663
8664 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8665 of the separation of rmail-view-buffer from rmail-buffer.
8666 If you say no to "replace original", the decrypt is in the
8667 view buffer. If you say yes, the decrypt goes into the
8668 rmail buffer also.
8669
f818cd2a
MR
86702011-08-31 Martin Rudalics <rudalics@gmx.at>
8671
8672 * window.el (display-buffer-window): Rewrite doc-string.
8673 (display-buffer-record-window): New function.
8674 (display-buffer-macro-specifiers)
8675 (display-buffer-even-window-sizes, display-buffer-set-height)
8676 (display-buffer-set-width, display-buffer-in-window)
8677 (display-buffer-reuse-window, display-buffer-split-specifiers)
8678 (display-buffer-side-specifiers, display-buffer-split-window-1)
8679 (display-buffer-split-window, display-buffer-split-atom-window)
8680 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8681 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8682 (display-buffer-other-window-means-other-frame)
8683 (display-buffer-normalize-special)
8684 (display-buffer-normalize-default)
8685 (display-buffer-normalize-argument)
8686 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8687 (display-buffer-normalize-specifiers, display-buffer-frame)
8688 (display-buffer-same-window, display-buffer-same-frame)
8689 (display-buffer-other-window)
8690 (display-buffer-same-frame-other-window)
8691 (display-buffer-other-frame, pop-to-buffer-same-window)
8692 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8693 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8694 (switch-to-buffer-same-frame)
8695 (switch-to-buffer-other-window-same-frame)
8696 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8697 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8698 (display-buffer-alist-set): Remove.
8699 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8700 (special-display-regexps, special-display-function):
8701 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8702 parameter.
8703 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8704 (special-display-frame-alist, special-display-popup-frame)
8705 (same-window-buffer-names, same-window-regexps, same-window-p)
8706 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8707 (split-window-preferred-function, split-height-threshold)
8708 (split-width-threshold, window-splittable-p)
8709 (split-window-sensibly, window--try-to-split-window)
8710 (window--frame-usable-p, even-window-heights)
8711 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8712 (window--display-buffer-2, display-buffer-other-frame):
8713 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8714 (display-buffer-default, display-buffer-assq-regexp): New functions.
8715 (display-buffer-alist): Rewrite doc-string.
8716 (display-buffer-default-action)
8717 (display-buffer-overriding-action): New variables.
8718 (display-buffer, switch-to-buffer): Rewrite.
8719 (pop-to-buffer): Restore Emacs 23 behavior but use
8720 window-normalize-buffer-to-display.
8721 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8722 Restore Emacs 23 behavior but use
8723 window-normalize-buffer-to-switch-to.
8724 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8725 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8726 Rewrite using Emacs 23 options.
f818cd2a 8727
5bc3b51d
MA
87282011-08-31 Michael Albinus <michael.albinus@gmx.de>
8729
8730 * net/tramp.el (tramp-root-regexp): Remove.
8731 (tramp-completion-file-name-regexp-unified)
8732 (tramp-completion-file-name-regexp-separate)
8733 (tramp-completion-file-name-regexp-url): Don't use leading volume
8734 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8735 (tramp-drop-volume-letter): Simplify definition.
8736 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8737
b1a4f8e1
SM
87382011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8739
8740 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8741 (bug#9356).
8742
5664fa7b
RT
87432011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8744
b1a4f8e1 8745 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8746
9a45d6c3
JL
87472011-08-29 Juri Linkov <juri@jurta.org>
8748
8749 * isearch.el (isearch-done): Don't display message "Mark saved"
8750 when arg `edit' is non-nil to prevent its flicker in the echo area.
8751
fb87e0fb
CY
87522011-08-28 Chong Yidong <cyd@stupidchicken.com>
8753
8754 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8755 obsolete packages for deletion.
8756
09ac1c2a
CS
87572011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8758
8759 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8760 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8761 view-mode from help-mode.
8762 (help-xref-override-view-map): Remove.
8763 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8764 view-mode is not used anymore.
8765
7a1ff57f
CY
87662011-08-28 Chong Yidong <cyd@stupidchicken.com>
8767
8768 * server.el (server-port): Doc fix.
8769
b9696605
CY
8770 * cus-theme.el (custom-theme-choose-mode): Inherit from
8771 special-mode (Bug#9124).
8772 (custom-theme-choose-mode-map): Add special-mode to parent.
8773
ef8cdf8c
AM
87742011-08-28 Alan Mackenzie <acm@muc.de>
8775
8776 * progmodes/cc-fonts.el
8777 (c-make-font-lock-BO-decl-search-function): New function.
8778 (c-basic-matchers-after - "Fontify the clauses after various
8779 keywords"): Extract the three keyword lists for the 3 erroneous
8780 constructs from the list of four, and use the new function above
8781 in place of an old one.
8782
27de4e20
DD
87832011-08-28 Deniz Dogan <deniz@dogan.se>
8784
8785 * net/rcirc.el (rcirc-insert-prev-input)
8786 (rcirc-insert-next-input): Remove unused argument.
8787
356a3681
SM
87882011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8789
8790 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8791
3fc9b218
AM
87922011-08-27 Alan Mackenzie <acm@muc.de>
8793
8794 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8795 handle function pointer parameters properly.
8796
538a061c
MR
87972011-08-27 Martin Rudalics <rudalics@gmx.at>
8798
8799 * window.el (display-buffer-reuse-window): Fix case where
8800 selected window was reused with non-nil OTHER-WINDOW argument.
8801 (Bug#9381)
8802
35b1c40c
DD
88032011-08-27 Deniz Dogan <deniz@dogan.se>
8804
8805 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8806 oftc's NickServ messages.
8807
2f6a3e79
GM
88082011-08-27 Glenn Morris <rgm@gnu.org>
8809
8810 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8811
7254299e
CY
88122011-08-26 Chong Yidong <cyd@stupidchicken.com>
8813
8814 * emacs-lisp/package.el (package-install): Call package-initialize
8815 if called interactively.
8816
f8ccf167
LL
88172011-08-26 Leo Liu <sdl.web@gmail.com>
8818
8819 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8820
3e8cd5ce
JL
88212011-08-25 Juri Linkov <juri@jurta.org>
8822
8823 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8824 `search-whitespace-regexp' (bug#9364).
8825
93eb7113
JL
88262011-08-25 Juri Linkov <juri@jurta.org>
8827
8828 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8829 `regexp-search-ring' to their global values to protect from
8830 updating by `read-from-minibuffer' (bug#9185).
8831
f65d1611
JL
88322011-08-25 Juri Linkov <juri@jurta.org>
8833
8834 * textmodes/ispell.el (ispell-command-loop): Add newline
8835 at the end of the "Use option `i'..." line.
8836
f1cf7a31
JL
88372011-08-25 Juri Linkov <juri@jurta.org>
8838
8839 * battery.el (display-battery-mode): If `battery-status-function'
8840 or `battery-mode-line-format' is nil, display the message and set
8841 `display-battery-mode' to nil (bug#9363).
8842
0c95fcf7
EZ
88432011-08-25 Eli Zaretskii <eliz@gnu.org>
8844
8845 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8846 bidi-string-mark-left-to-right; they are unnecessary now.
8847
a2ebe600
DD
88482011-08-25 Deniz Dogan <deniz@dogan.se>
8849
8850 * net/quickurl.el: Documentation typo fixes.
8851
e4ed06f1
CY
88522011-08-25 Chong Yidong <cyd@stupidchicken.com>
8853
8854 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8855
e5f1c99e
GM
88562011-08-25 Glenn Morris <rgm@gnu.org>
8857
b2948976
GM
8858 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8859
e5f1c99e
GM
8860 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8861 (smtpmail-via-smtp): Handle nil response from smtp.
8862
f22f4808
JL
88632011-08-24 Juri Linkov <juri@jurta.org>
8864
8865 * proced.el (proced-marked): Inherit from `error' instead of
8866 `font-lock-warning-face'.
8867
8868 * ibuffer.el (ibuffer-marked-face): Change default face from
8869 `font-lock-warning-face' to `warning'.
8870 (ibuffer-deletion-face): Change default face from
8871 `font-lock-type-face' to `error'.
8872
8873 * battery.el (battery-update): Use the face `error' instead of
8874 `font-lock-warning-face' (bug#6117).
8875
6a93965e
JL
88762011-08-24 Juri Linkov <juri@jurta.org>
8877
8878 * faces.el (success): Change face color from "Green3" to
8879 "ForestGreen" on light background (bug#9353).
8880
1ed43b09
CY
88812011-08-24 Chong Yidong <cyd@stupidchicken.com>
8882
5664fa7b
RT
8883 * window.el (quit-window): Rename from quit-restore-window.
8884 Use same arglist as old quit-window.
1ed43b09
CY
8885 (frame-auto-delete): Doc fix.
8886
8887 * view.el (view-mode-exit): Use quit-window.
8888
11dcdbb2
JL
88892011-08-24 Juri Linkov <juri@jurta.org>
8890
8891 * isearch.el (isearch-ring-adjust1): Start visiting previous
8892 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8893 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8894 for empty search string (when the last search string is reused
8895 automatically) to adjust the isearch ring to the last element and
8896 prepare the correct index for further M-p commands (bug#9185).
8897
de62b4df
KH
88982011-08-24 Kenichi Handa <handa@m17n.org>
8899
8900 * international/ucs-normalize.el: If decomposition property of
8901 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8902 nil.
8903 (nfd, nfkd): Likewise.
8904
963b492b
SM
89052011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8906
8907 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8908 from process filters aren't reliably transmitted to the surrounding
8909 accept-process-output.
8910 (mpc-proc-check): New function.
8911 (mpc-proc-sync): Use it (bug#8293)
8912
93b6b5e1
SM
89132011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8914
8915 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8916 Add compatibility functions (bug#9313).
8917
bca633fb
EZ
89182011-08-23 Eli Zaretskii <eliz@gnu.org>
8919
b177498a
EZ
8920 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8921
6df6ae42 8922 * international/uni-bidi.el: Regenerate.
bca633fb 8923
0902a04e
KH
89242011-08-23 Kenichi Handa <handa@m17n.org>
8925
8926 * international/charprop.el:
8927 * international/uni-bidi.el:
8928 * international/uni-category.el:
8929 * international/uni-combining.el:
8930 * international/uni-comment.el:
8931 * international/uni-decimal.el:
8932 * international/uni-decomposition.el:
8933 * international/uni-digit.el:
8934 * international/uni-lowercase.el:
8935 * international/uni-mirrored.el:
8936 * international/uni-name.el:
8937 * international/uni-numeric.el:
8938 * international/uni-old-name.el:
8939 * international/uni-titlecase.el:
8940 * international/uni-uppercase.el: Regenerate.
8941
3bbf23bc
MR
89422011-08-23 Martin Rudalics <rudalics@gmx.at>
8943
8944 * help.el (help-window-setup): Fix message displayed when other
8945 window is reused. (Bug#9341)
8946
b3fd59bd
SM
89472011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8948
1802e444
SM
8949 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8950 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8951
b3fd59bd
SM
8952 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8953 Mark obsolete.
8954 * shell.el (shell-parse-pcomplete-arguments): New function.
8955 (shell-completion-vars): Use it instead (bug#9160).
8956
4eb61348
SM
89572011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8958
867cab74
SM
8959 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8960 strings and comments (bug#9333).
8961
4eb61348
SM
8962 * emacs-lisp/debug.el (debug-arglist): New function.
8963 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8964 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8965
262a1439
JL
89662011-08-22 Juri Linkov <juri@jurta.org>
8967
56ee679c
JL
8968 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8969 Revert regexp that highlights output switches to its old
8970 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8971
262a1439
JL
8972 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8973 to check for empty output (bug#9226).
8974
f13f86fb
CY
89752011-08-22 Chong Yidong <cyd@stupidchicken.com>
8976
8977 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8978 symbol-constituent as the default, as that stops font-lock from
8979 working properly (Bug#8843).
8980
c65c9622
LMI
89812011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8982
8983 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8984 `coding-system-for-*' around the process open call to avoid
8985 auth-source side effects.
e7f2c178 8986 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8987 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8988 probe hangs.
c65c9622 8989
23a8a5ab
CY
89902011-08-21 Chong Yidong <cyd@stupidchicken.com>
8991
ff98b2dd
CY
8992 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8993
23a8a5ab
CY
8994 * emacs-lisp/find-func.el (find-function-noselect): New arg
8995 lisp-only.
8996
8997 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8998 signal an error for built-in functions (Bug#6664).
8999
f5e3c598
LMI
90002011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9001
9002 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9003 (smtpmail-try-auth-methods): Use it.
9004
a3f2468a
CY
90052011-08-21 Chong Yidong <cyd@stupidchicken.com>
9006
2c34e8da
CY
9007 * font-lock.el (font-lock-fontify-region)
9008 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9009 (font-lock-default-unfontify-buffer)
9010 (font-lock-default-fontify-region)
9011 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9012
b3fd59bd
SM
9013 * progmodes/compile.el (compilation-error-properties):
9014 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9015 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9016 `ant' regexp.
ee31aabc 9017
a3f2468a
CY
9018 * net/browse-url.el (browse-url-firefox): Don't call
9019 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9020
8e999f70
GM
90212011-08-20 Glenn Morris <rgm@gnu.org>
9022
c21a496a
GM
9023 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9024
59ee0542
GM
9025 * tutorial.el (tutorial--default-keys): Update some default bindings.
9026
8e999f70
GM
9027 * files.el (hack-local-variables): Fully ignore case for "mode:".
9028
e3715033
AM
90292011-08-20 Alan Mackenzie <acm@muc.de>
9030
9031 Resolve invalid use of a regexp in regexp-opt.
9032
4d61f28d
JB
9033 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9034 detection for a java annotation.
e3715033 9035
4d61f28d 9036 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9037 detection for a java annotation.
9038
4d61f28d
JB
9039 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9040 handling for java.
e3715033
AM
9041 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9042
04ed2e9c
CY
90432011-08-20 Chong Yidong <cyd@stupidchicken.com>
9044
9045 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9046 (Bug#9274).
9047
826cee64
AM
90482011-08-20 Alan Mackenzie <acm@muc.de>
9049
58179cce 9050 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9051 such a construct. Mainly for when jit-lock etc. starts a chunk
9052 here.
9053
58179cce 9054 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9055 variable.
58179cce 9056 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9057 c-make-font-lock-search-function.
9058 (c-make-font-lock-search-function): Use the above function.
9059 (c-make-font-lock-context-search-function): New function.
9060 (c-cpp-matchers): Enhance the preprocessor expression case with
9061 the above function
9062 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9063 which takes an expression.
9064
9065 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9066
13009bd8
MR
90672011-08-20 Martin Rudalics <rudalics@gmx.at>
9068
9069 * window.el (display-buffer-reuse-window)
9070 (display-buffer-pop-up-window): Don't reuse or split a side
9071 window.
9072
9234ff7f
GM
90732011-08-19 Glenn Morris <rgm@gnu.org>
9074
9075 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9076 Downcase "Mode:". (Bug#9331)
9234ff7f 9077
f635daa1
CY
90782011-08-18 Chong Yidong <cyd@stupidchicken.com>
9079
9080 * international/characters.el: Add L and R categories.
9081
9082 * subr.el (bidi-string-mark-left-to-right): Rename from
9083 string-mark-left-to-right. Use category search.
9084
9085 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9086
bc987f8b
JL
90872011-08-18 Juri Linkov <juri@jurta.org>
9088
9089 * faces.el (error, warning, success): New faces with definitions
9090 copied from old default values of `font-lock-warning-face',
9091 `compilation-warning', `compilation-info' (bug#6117).
9092
9093 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9094
9095 * progmodes/compile.el (compilation-error): Inherit from `error'.
9096 (compilation-warning): Inherit from `warning'.
9097 (compilation-info): Inherit from `success'.
9098
9099 * dired.el (dired-marked): Inherit from `warning'.
9100 (dired-flagged): Inherit from `error'.
9101
57173b96
LMI
91022011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9103
3e79eb87
LMI
9104 * mail/smtpmail.el (auth-source): Require to avoid problems with
9105 binding variables (bug#9298). Also clean up some unused
9106 autoloads.
9107
b3fd59bd
SM
9108 * net/network-stream.el (network-stream-open-starttls):
9109 Support using starttls.el without using gnutls-cli.
57173b96 9110
02b404de
JL
91112011-08-17 Juri Linkov <juri@jurta.org>
9112
9113 * progmodes/grep.el (rgrep): Handle the case when
9114 `grep-find-command' is a cons cell (bug#9278).
9115
8c9177f2
MR
91162011-08-17 Martin Rudalics <rudalics@gmx.at>
9117
9118 * window.el (display-buffer-pop-up-frame): Run frame creation
9119 function with BUFFER current (as special-display-popup-frame
9120 does). Reported by Drew Adams.
9121
3644a0ab
DU
91222011-08-17 Daiki Ueno <ueno@unixuser.org>
9123
9124 * epa-mail.el: Simplify GnuPG group expansion using
9125 epg-expand-group.
9126 (epa-mail-group-alist, epa-mail-group-modtime)
9127 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9128 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9129 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9130 Remove.
9131
5e617bc2 91322011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9133
9134 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9135
9c4aeabf
AM
91362011-08-16 Alan Mackenzie <acm@muc.de>
9137
9138 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9139 Correct, to avoid the inside of macros.
9140
3a99bf64
RS
91412011-08-16 Richard Stallman <rms@gnu.org>
9142
04963aa8
RS
9143 * epa-mail.el: Handle GnuPG group definitions.
9144 (epa-mail-group-alist, epa-mail-group-modtime)
9145 (epa-mail-gnupg-conf-file): New variables.
9146 (epa-mail-parse-groups, epa-mail-sync-groups)
9147 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9148 (epa-mail-expand-recipients): New functions.
9149 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9150
177549d0
RS
9151 * mail/rmail.el (rmail-epa-decrypt): New command.
9152
fe38beef
RS
9153 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9154 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9155 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9156 (epa-decrypt-armor-in-region): Make error message clearer.
9157
934eacb9
SM
91582011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9159
9160 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9161 and "a2b" to "ab" for `prefix'.
9162
d024fb4e
CY
91632011-08-14 Chong Yidong <cyd@stupidchicken.com>
9164
9165 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9166 filter groups.
de148fee
CY
9167 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9168 Fourquet (Bug#8804).
d024fb4e 9169
62f1ca49
JB
91702011-08-12 Juanma Barranquero <lekktu@gmail.com>
9171
9172 * startup.el (argi): Declare as global variable (bug#9275).
9173
9ccaaa4b
CY
91742011-08-12 Chong Yidong <cyd@stupidchicken.com>
9175
9176 * subr.el (string-mark-left-to-right): Search the entire string
9177 for RTL script, not just the terminating character. Doc fix.
9178
a3dae87a
SM
91792011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9180
6cd18349
SM
9181 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9182 New function.
9183 (js--regexp-literal, js-syntax-propertize-function): Remove.
9184 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9185 (js-mode-map): Don't rebind electric keys.
9186 (js-insert-and-indent): Remove.
9187 (js-mode): Setup electric-layout and electric-indent instead.
9188
a3dae87a
SM
9189 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9190
9d5cb631
DU
91912011-08-12 Daiki Ueno <ueno@unixuser.org>
9192
9193 * epa.el (epa-progress-callback-function): Fix the logic of
9194 displaying progress.
9195 * epa-file.el (epa-file-insert-file-contents): Make progress
9196 display more user-friendly.
9197 (epa-file-write-region): Ditto.
9198
3e26a4a2
CY
91992011-08-10 Chong Yidong <cyd@stupidchicken.com>
9200
9201 * subr.el (string-mark-left-to-right): New function.
9202
9203 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9204 Use string-mark-left-to-right.
9205 (list-buffers-noselect): Caller changed.
9206
a3dae87a
SM
9207 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9208 Use string-mark-left-to-right.
3e26a4a2
CY
9209 (tabulated-list-print): Recenter after moving point.
9210
ac8cf6e6
JL
92112011-08-10 Juri Linkov <juri@jurta.org>
9212
9213 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9214 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9215 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9216
8d96c9a4
CY
92172011-08-09 Chong Yidong <cyd@stupidchicken.com>
9218
9219 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9220 (Bug#7554).
9221
7be1c708 92222011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9223
9224 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9225 character. (Bug#6594)
9226
37e11a63
CY
92272011-08-08 Chong Yidong <cyd@stupidchicken.com>
9228
839dde57
CY
9229 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9230 (image-dired--with-db-file): New macro.
9231 (image-dired-write-tags, image-dired-remove-tag)
9232 (image-dired-create-gallery-lists, image-dired-write-comments)
9233 (image-dired-get-comment, image-dired-mark-tagged-files)
9234 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9235 (image-dired-gallery-generate): Use insert-file-contents.
9236
37e11a63
CY
9237 * time.el (display-time-world-list, display-time-world-display):
9238 * time-stamp.el (time-stamp-string):
9239 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9240 set-time-zone-rule (Bug#7337).
9241
0b4946c4
DU
92422011-08-08 Daiki Ueno <ueno@unixuser.org>
9243
9244 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9245 (epg-error-to-string, epg-errors-to-string): New function.
9246 (epg-wait-for-completion): Reverse errors list.
9247 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9248 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9249 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9250 (epg-sign-keys, epg-generate-key-from-file)
9251 (epg-generate-key-from-string): Format errors by using
9252 epg-errors-to-string (bug#9255).
9253 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9254
75bfc667
JL
92552011-08-07 Juri Linkov <juri@jurta.org>
9256
9257 * faces.el (list-faces-display): Remove extra angle bracket
9258 from `help-mode-map'.
9259
9260 * info.el (Info-history-toc-nodes): Doc fix.
9261
9262 * longlines.el (longlines-mode): Doc fix.
9263
673e08bb
SM
92642011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9265
4640dd88
SM
9266 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9267 of statements and in a few more cases (bug#9183).
9268
673e08bb
SM
9269 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9270 New functions.
9271 (cl-transform-lambda): Use them (bug#9239).
9272
89b3f019
MR
92732011-08-05 Martin Rudalics <rudalics@gmx.at>
9274
9275 * window.el (display-buffer-same-window)
9276 (display-buffer-same-frame, display-buffer-other-window)
9277 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9278 (pop-to-buffer-other-window)
9279 (pop-to-buffer-same-frame-other-window)
9280 (pop-to-buffer-other-frame): Make them defuns.
9281 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9282
640c8776
SM
92832011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * subr.el (make-composed-keymap): Move from C. Change calling
9286 convention, and improve docstring to bring attention to a subtle point.
9287 * minibuffer.el (completing-read-default): Adjust accordingly.
9288
63648a95
MA
92892011-08-03 Michael Albinus <michael.albinus@gmx.de>
9290
9291 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9292 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9293
9294 * net/trampver.el: Update release number.
9295
b796c9b7
SM
92962011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9297
9298 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9299 "in" (bug#9190).
9300
2239d7d5
LMI
93012011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9302
e07dd7c3
LMI
9303 * mail/sendmail.el (sendmail-query-once): Restore the current
9304 buffer after querying (bug#9074).
9305
0e6a2bd7
LMI
9306 * dired.el (dired-flagged): Use different faces for marked and
9307 flagged files (bug#6117).
9308
ce887515
LMI
9309 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9310 (bug#4433).
9311
92f2affc
LMI
9312 * ido.el (ido-mode): Switch off the message if called
9313 non-interactively.
9314
57d5aff0
LMI
9315 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9316 before 587, since it appears that that's more likely to work for
9317 more people.
9318
98cd6c18 9319 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9320 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9321 exist.
9322
b96dec83
LMI
9323 * info.el: Remove the `Info-beginning-of-buffer' function
9324 (bug#8325).
9325
b796c9b7
SM
9326 * net/network-stream.el (network-stream-open-starttls):
9327 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9328
d90e2ea0
MR
93292011-08-01 Martin Rudalics <rudalics@gmx.at>
9330
9331 * window.el (display-buffer-in-window): Don't set dedicated status
9332 of window here (Bug#9215).
9333 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9334 (display-buffer-pop-up-side-window)
b796c9b7 9335 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9336
cca09170
SM
93372011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9339 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9340 before binding generated-autoload-file.
9341
027b979c
DD
93422011-08-01 Deniz Dogan <deniz@dogan.se>
9343
9344 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9345
3c7ee4f3
MA
93462011-07-30 Michael Albinus <michael.albinus@gmx.de>
9347
9348 Sync with Tramp 2.2.2.
9349
9350 * net/trampver.el: Update release number.
9351
2cc8e51a
JL
93522011-07-30 Juri Linkov <juri@jurta.org>
9353
9354 * dired-aux.el (dired-touch-initial): Remove function.
9355 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9356 current time, and `default' to the last modification time of the
9357 current marked file (bug#6887).
9358
a514d856
JM
93592011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9360
9361 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9362 numeric argument to read-number (bug#9163).
a514d856 9363
8a7eddd7
MA
93642011-07-27 Michael Albinus <michael.albinus@gmx.de>
9365
9366 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9367 connection process, it could be nil.
9368
1ddd96f5
LL
93692011-07-27 Leo Liu <sdl.web@gmail.com>
9370
9371 Simplify url handling in rcirc-mode.
9372
9373 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9374 (rcirc-browse-url-at-mouse): Remove.
9375 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9376
b248a85d
AM
93772011-07-26 Alan Mackenzie <acm@muc.de>
9378
9379 Fontify bitfield declarations properly.
9380
9381 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9382 (c-symbol-chars): Now exported as a lang variable.
9383 (c-not-primitive-type-keywords): New lang variable.
9384
9385 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9386 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9387 parsed as a bitfield declaration.
b248a85d 9388
b796c9b7
SM
9389 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9390 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9391 (c-punctuation-in): New function.
9392 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9393 declarations properly.
9394
68575ab0
UJ
93952011-07-26 Ulf Jasper <ulf.jasper@web.de>
9396
9397 * calendar/icalendar.el (icalendar--all-events): Take care of
9398 multiple vcalendars in a single file.
b796c9b7 9399 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9400
0f0a88b9
DD
94012011-07-25 Deniz Dogan <deniz@dogan.se>
9402
9403 * image.el (insert-image): Clarifying docstring.
9404
0b3f36df
MA
94052011-07-24 Michael Albinus <michael.albinus@gmx.de>
9406
9407 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9408 `tramp-send-command-and-check' if there is no error.
9409 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9410
a9901f61
AM
94112011-07-22 Alan Mackenzie <acm@muc.de>
9412
9413 Prevent cc-langs.elc being loaded at run time.
9414
9415 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9416 cc-langs.
9417
4d61f28d 9418 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9419 "(require 'cc-langs)". Quote a form so it will evaluate at
9420 (cc-mode's) compilation time.
9421
11d074b2
MA
94222011-07-22 Michael Albinus <michael.albinus@gmx.de>
9423
9424 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9425 loading. (Bug#9114)
9426
938b94c8
MR
94272011-07-21 Martin Rudalics <rudalics@gmx.at>
9428
9429 * window.el (display-buffer-pop-up-window)
9430 (display-buffer-pop-up-side-window)
9431 (display-buffer-in-side-window): Call display-buffer-set-height
9432 and display-buffer-set-width after setting the new window's
b796c9b7 9433 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9434
bfa4f190
SS
94352011-07-20 Sam Steingold <sds@gnu.org>
9436
9437 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9438 (etags-tags-included-tables): Call `convert-standard-filename' on
9439 the file names contained in TAGS so that windows Emacs can handle
9440 TAGS files created by cygwin ctags.
9441
8ca42262
LMI
94422011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9443
9444 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9445 which apparently didn't work.
9446
5db2afd2 94472011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9448
5db2afd2
RW
9449 * proced.el (proced-send-signal): For *Marked Processes* buffer
9450 put point at beginning of buffer.
9451
92e15d10
SB
94522011-07-19 Stephen Berman <stephen.berman@gmx.net>
9453
9454 * proced.el (proced-format): Make header lines align with the text
9455 (bug#1779).
9456
1bfd59e5
LMI
94572011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9458
9459 * view.el (view-buffer): Allow running in `special' modes if we're
9460 visiting a file (bug#8615).
9461
f5aae37c
MR
94622011-07-19 Martin Rudalics <rudalics@gmx.at>
9463
9464 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9465 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9466 New functions.
f5aae37c
MR
9467 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9468 more accurately.
9469
bf2c1571
AM
94702011-07-18 Alan Mackenzie <acm@muc.de>
9471
9472 Fontify declarators properly when, e.g., a jit-lock chunk begins
9473 inside a declaration.
9474
9475 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9476
b796c9b7
SM
9477 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9478 New function.
bf2c1571
AM
9479 (c-complex-decl-matchers): Insert reference to
9480 c-font-lock-enclosing-decls.
9481
9482 * progmodes/cc-engine.el (c-backward-single-comment):
9483 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9484 to nil around calls to (forward-comment -1).
9485
4e190b80
LMI
94862011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9487
12dc863d
LMI
9488 * image.el (put-image): Doc typo fix.
9489
a762e966
LMI
9490 * progmodes/etags.el (tags-search): Doc typo fix.
9491
4e190b80
LMI
9492 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9493 password if we get errors 550 to 554.
9494
f019fb21
LMI
94952011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9496
b796c9b7 9497 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9498
81746738
LMI
9499 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9500 indentation character (bug#6380).
9501
3ee3a1b5
LMI
9502 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9503
c82f64de
LMI
9504 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9505 to clarify what the problem is (bug#4291).
9506
f019fb21
LMI
9507 * simple.el (current-kill): Clarify what
9508 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9509 (auto-fill-mode): Document `auto-fill-function' in relation to
9510 `auto-fill-mode' (bug#2470).
f019fb21 9511
0794775d
LM
95122011-07-16 Lawrence Mitchell <wence@gmx.li>
9513
9514 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9515 method if slot is read-only (bug#9035).
9516
be39b8cc
MR
95172011-07-16 Martin Rudalics <rudalics@gmx.at>
9518
b796c9b7 9519 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9520 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9521 selected before, see discussion of (Bug#8615), (Bug#6954).
9522 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9523
6ccf7859
GM
95242011-07-15 Glenn Morris <rgm@gnu.org>
9525
9526 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9527 Respect help-form.
6ccf7859 9528
87e86684
LM
95292011-07-09 Lawrence Mitchell <wence@gmx.li>
9530
9531 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9532 (gnutls-negotiate): Use it.
9533
d6066239
LMI
95342011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9535
b796c9b7
SM
9536 * net/gnutls.el (gnutls-negotiate):
9537 Upcase `gnutls-algorithm-priority'.
d6066239 9538
bd23ebc0
GM
95392011-07-15 Glenn Morris <rgm@gnu.org>
9540
c65bca65
GM
9541 * jka-compr.el (jka-compr-verbose): Move from here...
9542 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9543 Add missing :version tag.
9544 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9545
478615cc
LMI
95462011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9547
7b41decb
LMI
9548 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9549 (gnutls-negotiate): Use it.
9550
dbc44fcd
LMI
9551 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9552
06789f97
LMI
9553 * info.el (Info-beginning-of-buffer): New command.
9554 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9555 announcing `b' as the key (bug#8325).
ab896c37 9556 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9557
c39da690
LMI
9558 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9559
3aa5f34b
LMI
9560 * international/mule-cmds.el
9561 (describe-specified-language-support): Make the error message
9562 clearer (bug#8905).
9563
4bf0979f
LMI
9564 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9565
478615cc
LMI
9566 * isearch.el (isearch-barrier): Add a doc string, since it's
9567 mentioned in a function doc string (bug#8678).
9568
75c68aa1
MR
95692011-07-15 Martin Rudalics <rudalics@gmx.at>
9570
9571 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9572 buffer argument (Bug#9083) and self-identifying label argument.
9573
a7c33da2
GM
95742011-07-15 Glenn Morris <rgm@gnu.org>
9575
9576 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9577
2f5c6024
LMI
95782011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9579
9580 * man.el (Man-fontify-manpage): Fix message when formatting the
9581 man page (bug#7929).
9582
0bb23927 95832011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9584
9585 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9586 argument LRM; if non-nil, append an invisible LRM character to the
9587 buffer name.
9588 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9589 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9590 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9591 paragraph direction.
cce4b0a7 9592
621ef9ab
LMI
95932011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9594
d1583c48
LMI
9595 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9596 the man page name (bug#7929).
9597
6a57fb5f
LMI
9598 * image.el (put-image): Mention the `put-image' overlay property
9599 (bug#7834).
9600
d7956b14
LMI
9601 * scroll-bar.el (set-scroll-bar-mode): Mention that
9602 `scroll-bar-mode' lists the values (bug#7772).
9603
5b2d4a66
LMI
9604 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9605 command (bug#7729).
9606
7509a874
LMI
9607 * rect.el (apply-on-rectangle): Return the point after the last
9608 operation.
9609 (string-rectangle): Go to the point after the last operation
9610 (bug#7522).
9611
4fe74b19
LMI
9612 * printing.el (pr-toggle-region): Clarify the documentation
9613 slightly (bug#7493).
9614
b796c9b7
SM
9615 * time.el (display-time-update):
9616 Allow `display-time-mail-function' to return nil (bug#7158).
9617 Fix suggested by Detlev Zundel.
ab283561 9618
fc233c9d
LMI
9619 * vc/diff.el (diff): Clarify the order the file names are read
9620 (bug#7111).
9621
43f5740b
LMI
9622 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9623 the doc string (bug#7015).
9624
f2182a76
LMI
9625 * font-lock.el (font-lock-maximum-decoration): Mention what
9626 numeric levels mean (bug#6935).
9627
621ef9ab
LMI
9628 * startup.el (initial-buffer-choice): Don't mention the `none'
9629 selection, which is against policy.
9630
adc47434
MR
96312011-07-14 Martin Rudalics <rudalics@gmx.at>
9632
b796c9b7
SM
9633 * window.el (display-buffer-normalize-special):
9634 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9635
7e5bfb8f
EZ
96362011-07-14 Eli Zaretskii <eliz@gnu.org>
9637
9638 * subr.el (version<, version<=, version=): Mention "-CVS" and
9639 "-12345" alpha version numbers.
9640
27fa387a
CY
96412011-07-14 Chong Yidong <cyd@stupidchicken.com>
9642
9643 * bindings.el: Add advertised binding for set-mark-command
9644 (Bug#5772).
9645
8bdfa064
CY
96462011-07-14 Chong Yidong <cyd@stupidchicken.com>
9647
9648 * bindings.el (mode-line-other-buffer):
9649 * bookmark.el (bookmark-bmenu-2-window):
9650 * bs.el (bs-cycle-next, bs-cycle-previous):
9651 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9652 switch-to-buffer.
9653
9654 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9655 Delete.
8bdfa064 9656
5eba16a3
JB
96572011-07-14 Juanma Barranquero <lekktu@gmail.com>
9658
9659 * follow.el (follow-debug-message, follow-redisplay):
9660 * jka-cmpr-hook.el (with-auto-compression-mode):
9661 Fix typos in docstrings.
9662
15853710
LMI
96632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9664
a28e4607
LMI
9665 * subr.el (with-silent-modifications): Clarify somewhat what the
9666 macro inhibits (bug#6525).
9667
15853710
LMI
9668 * simple.el (eval-expression): Note what it does if called
9669 interactively (bug#6495).
9670
bee0fcef
CY
96712011-07-13 Chong Yidong <cyd@stupidchicken.com>
9672
b796c9b7
SM
9673 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9674 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9675
9676 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9677 Remove switch-to-buffer.
9678
58274504
LMI
96792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9680
bd2fcc8d
LMI
9681 * files.el (make-directory): Clarify that an error will be raised
9682 if there's an error (bug#6397).
9683
0f04b32c
LMI
9684 * startup.el (initial-buffer-choice): Add `none' as a choice
9685 (bug#6234).
9686
465c5fc8
LMI
9687 * subr.el (add-hook): Clarify section about buffer-local hooks
9688 (bug#6218).
9689
58274504
LMI
9690 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9691
bead9a43
JB
96922011-07-13 Juanma Barranquero <lekktu@gmail.com>
9693
9694 * tabify.el (untabify): Preserve the current column so that point
9695 doesn't move (bug#6032).
9696
3af98a7b
LMI
96972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9698
b796c9b7
SM
9699 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9700 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9701
6240145a
GM
97022011-07-13 Glenn Morris <rgm@gnu.org>
9703
9704 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9705 (dired-insert-directory): Give a message the first time
9706 if ls is found not to support --dired.
9707
1d8c2ccc
LMI
97082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9709
9710 * simple.el (toggle-truncate-lines): Clarify what is toggled
9711 (bug#5580). Text by Drew Adams.
9712
5fc4038e
CY
97132011-07-13 Chong Yidong <cyd@stupidchicken.com>
9714
9715 * simple.el (blink-matching-open): Make the error message from the
9716 last change less verbose.
9717
bf6012e5
DN
97182011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9719
9720 * font-lock.el (font-lock-comment-face): Use the high contrast
9721 "yellow" color for font-lock-comment-face on low color terminals
9722 using a dark background color (bug#4221).
9723
343c3b5a
LMI
97242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9725
7e9505c5
LMI
9726 * dired.el (dired-insert-set-properties): Make the doc string
9727 reflect what it does now (bug#5325).
9728
c26fdcf5
LMI
9729 * simple.el (blink-matching-open): Say that we were unable to find
9730 the match within the limit, if we're limited (bug#5122).
9731
bb388cc5
LMI
9732 * international/mule-cmds.el (prefer-coding-system): Add an
9733 example (bug#4869).
9734
343c3b5a
LMI
9735 * progmodes/etags.el (tags-search): Document `file-list-form'
9736 (bug#4731).
9737
2a517d45
LM
97382011-07-13 Lawrence Mitchell <wence@gmx.li>
9739
9740 * net/browse-url.el (browse-url-default-browser)
9741 (browse-url-browser-function): Make the default browser choice a
9742 bit more logical (bug#4300). Also clean up the doc string.
9743
b6c78ef2
JB
97442011-07-13 Juanma Barranquero <lekktu@gmail.com>
9745
9746 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9747 binary endings (bug#4440).
9748
1c4dd947
LMI
97492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9750
a2014063
LMI
9751 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9752 which can be pretty annoying (bug#8971).
9753
9c9c2d88
LMI
9754 * jka-compr.el (jka-compr-verbose): New variable, and use
9755 throughout (bug#8971).
9756
1c4dd947
LMI
9757 * info.el (Info-find-file): Fall back on the installation
9758 directory if we can't find the info node anywhere else.
9759
a1c9f41b
SO
97602011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9761
9762 * vc/vc.el (vc-revert-file):
9763 Don't set file time-stamp in the past. (Bug#5181)
9764
536f3d36
LMI
97652011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9766
7152b011
LMI
9767 * files.el (after-find-file): Give a better error message when
9768 trying to find a symlink that points to a file that doesn't exist
9769 (bug#4398).
9770
536f3d36
LMI
9771 * progmodes/cc-vars.el: Remove (probably) misleading comment
9772 (bug#4396).
9773
460c0fba
JB
97742011-07-12 Johan Bockgård <bojohan@gnu.org>
9775
9776 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9777
7a6bda45
CY
97782011-07-12 Chong Yidong <cyd@stupidchicken.com>
9779
9780 * mouse-sel.el: Hack restoring functionality, while keeping
9781 compatibility with 2010-07-03 changes to mouse selection.
9782 (mouse-sel-primary-overlay): New var.
9783 (mouse-sel-selection-alist): Use it.
9784 (mouse-sel-mode): Doc fix; remove points that are default features
9785 of mouse.el.
9786
c79598ef
JB
97872011-07-12 Johan Bockgård <bojohan@gnu.org>
9788
9789 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9790 Fix previous fix (bug#2490).
9791
ff8be6ef
RW
97922011-07-12 Roland Winkler <winkler@gnu.org>
9793
b796c9b7
SM
9794 * textmodes/bibtex.el (bibtex-initialize):
9795 Use pop-to-buffer-same-window.
ff8be6ef
RW
9796 (bibtex-search-entries): Fix interactive call.
9797
296ba3ee
LMI
97982011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9799
f5242a02 9800 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9801 Fontise bytecomp Error lines more correctly (bug#2490).
9802 Fix suggested by Johan Bockgård.
f5242a02 9803
296ba3ee
LMI
9804 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9805
9806 * dired-x.el (dired-guess-default): Use `delete-dups'.
9807
f69fd0d2
CY
98082011-07-12 Chong Yidong <cyd@stupidchicken.com>
9809
9810 * dired.el (dired-mark-prompt):
9811 * dired-aux.el (dired-read-shell-command): Doc fix.
9812
eab5dc07
LMI
98132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9814
b796c9b7
SM
9815 * mail/sendmail.el (sendmail-query-once):
9816 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9817 emacs -Q.
9818
9819 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9820
eab5dc07
LMI
9821 * cus-edit.el (custom-file): Take an optional no-error variable.
9822 (customize-save-variable): Set the variable, and give a warning if
9823 running under "emacs -q".
9824
a1e65d42
JB
98252011-07-11 Juanma Barranquero <lekktu@gmail.com>
9826
9827 * loadhist.el (unload-feature-special-hooks):
9828 Add `auto-coding-functions', `fill-nobreak-predicate' and
9829 `find-directory-functions' (bug#5327).
9830
1d52da10
LMI
98312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9832
be958f1d
LMI
9833 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9834
5bedb26c
LMI
9835 * cus-edit.el (custom-guess-name-alist): -alist variables should
9836 use the `alist' type (bug#3120). Suggested by Drew Adams.
9837
1d52da10
LMI
9838 * printing.el: Add documentation to all the `pr-toggle-' commands.
9839
cd394be1 98402011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9841
9842 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9843 backends where it makes sense (bug#2623).
9844
dcc88d8a
LMI
98452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9846
c3de9feb
LMI
9847 * dired-x.el (dired-guess-default): Remove duplicate shell command
9848 entries (bug#2028).
8a93078b 9849 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9850 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9851
dcc88d8a
LMI
9852 * subr.el (remove-duplicates): New conveniency function.
9853
505e3645
LMI
98542011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9855
9856 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9857 (bug#1526).
9858
98592011-07-10 Martin Rudalics <rudalics@gmx.at>
9860
9861 * window.el (display-buffer-normalize-default): Don't invert
9862 meaning of even-window-heights. Reported by Eli Zaretskii
9863 <eliz@gnu.org>.
9864
455e4fa1
BR
98652011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9866
9867 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9868
8e0bc3e9
CY
98692011-07-10 Chong Yidong <cyd@stupidchicken.com>
9870
9871 * window.el (display-buffer): Fix arguments to
9872 display-buffer-reuse-window in last change.
9873
fa7c3228
CY
9874 * faces.el (link): Use a less saturated blue on light backgrounds.
9875
9876 * startup.el (fancy-startup-text, fancy-about-text)
9877 (fancy-startup-tail): Use font-lock faces, for background safety.
9878
c0a7f300
BN
98792011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9880
b796c9b7
SM
9881 * emulation/viper-cmd.el (viper-change-state-to-vi):
9882 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9883
4dc2a129
MR
98842011-07-09 Martin Rudalics <rudalics@gmx.at>
9885
9886 * window.el (display-buffer-default-specifiers): Remove.
9887 (display-buffer-macro-specifiers): Remove default specifiers.
9888 (display-buffer-alist): Default to nil.
b796c9b7 9889 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9890 (display-buffer-pop-up-window): Allow splitting internal
9891 windows. Check whether a live window was created.
9892 (display-buffer-other-window-means-other-frame)
9893 (display-buffer-normalize-arguments): Rename to
9894 display-buffer-normalize-argument and rewrite. Set the
9895 other-window specifier.
9896 (display-buffer-normalize-special): New function.
9897 (display-buffer-normalize-options): Rename to
9898 display-buffer-normalize-default and rewrite.
9899 (display-buffer-normalize-options-inhibit): Remove.
9900 (display-buffer-normalize-specifiers): Rewrite.
9901 (display-buffer): Process other-window specifier and call
9902 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9903 more faithfully.
b796c9b7 9904 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9905 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9906 (display-buffer-in-window, display-buffer-alist-set):
9907 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9908 <tassilo@member.fsf.org>.
9909
2d43b8c9
LL
99102011-07-09 Leo Liu <sdl.web@gmail.com>
9911
9912 * register.el (insert-register): Restore accidental change on
9913 2011-06-26. (Bug#9028)
9914
7f9b7c53
GM
99152011-07-09 Glenn Morris <rgm@gnu.org>
9916
9917 * subr.el (remq): Handle the empty list. (Bug#9024)
9918
f042cfd8
AS
99192011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9920
9921 * mail/sendmail.el (send-mail-function): No longer delay custom
9922 initialization.
9923 * custom.el (custom-initialize-delay): Doc fix.
9924
856b2f11
SM
99252011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9926
9927 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9928
afae1d68
MA
99292011-07-08 Michael Albinus <michael.albinus@gmx.de>
9930
9931 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9932 human-friendly prompt.
9933
0757af94
SM
99342011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9937 provided by a particular plugin.
9938
d760b731
LMI
99392011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9940
9941 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9942 save customizations (with "emacs -Q"), just set the variable
9943 instead of erroring out.
9944
9945 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9946
cd79ce90
JL
99472011-07-08 Juri Linkov <juri@jurta.org>
9948
9949 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9950 (archive-zip-update-case): Use 7z if found by `executable-find'.
9951 The order of searching the available programs is the same as in
9952 `archive-zip-extract' (bug#8968).
9953
14cc04aa
CY
99542011-07-07 Chong Yidong <cyd@stupidchicken.com>
9955
9956 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9957 (menu-bar-options-menu): Tweak descriptions.
9958
0a1848ec
LMI
99592011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9960
9961 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9962 menu items into verb phrases (bug#1421). Also refill to fit under
9963 80 columns.
9964
f5bd0689
CY
99652011-07-07 Chong Yidong <cyd@stupidchicken.com>
9966
538e85c6
CY
9967 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9968 (Info-read-node-name): Doc fix (Bug#1084).
9969
f5bd0689
CY
9970 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9971 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9972 (end-of-sexp, beginning-of-sexp)
9973 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9974 (forward-symbol, forward-same-syntax, word-at-point)
9975 (sentence-at-point): Doc fix (Bug#1144).
9976
56ec5115
LMI
99772011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9978
f3f8e37f
LMI
9979 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9980 should cover it (bug#1281).
9981
0757af94 9982 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9983
e9fce1ac 9984 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9985 negotiation fails, then possibly try again with a non-encrypted
9986 connection (bug#9017).
9987
56ec5115
LMI
9988 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9989 be used.
9990
c2f9aec8
RS
99912011-07-07 Richard Stallman <rms@gnu.org>
9992
9993 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9994 property, and handle its changed format.
9995 Look for the correct line number.
9996 Use file's line contents (but not past first =) to find
9997 correct line in message.
9998
ef7b981d 99992011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10000
10001 * international/characters.el (build-unicode-category-table):
10002 Delete it.
0757af94 10003 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10004
0757af94 10005 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10006 to src/chartab.c.
10007 (get-char-code-property): Call unicode-property-table-internal to
10008 load a file. Call get-unicode-property-internal where necessary.
10009 (put-char-code-property): Call unicode-property-table-internal to
10010 load a file. Call put-unicode-property-internal where necessary.
10011 put-unicode-property-internal where necessary.
0757af94
SM
10012 (char-code-property-description):
10013 Call unicode-property-table-internal to load a file.
c805dec0
KH
10014
10015 * international/charprop.el:
10016 * international/uni-bidi.el:
10017 * international/uni-category.el:
10018 * international/uni-combining.el:
10019 * international/uni-comment.el:
10020 * international/uni-decimal.el:
10021 * international/uni-decomposition.el:
10022 * international/uni-digit.el:
10023 * international/uni-lowercase.el:
10024 * international/uni-mirrored.el:
10025 * international/uni-name.el:
10026 * international/uni-numeric.el:
10027 * international/uni-old-name.el:
10028 * international/uni-titlecase.el:
10029 * international/uni-uppercase.el: Regenerate.
10030
10031 * loadup.el: Load international/charprop.el before
10032 international/characters.
10033
e14b388a
CY
100342011-07-07 Chong Yidong <cyd@stupidchicken.com>
10035
10036 * window.el (next-buffer, previous-buffer): Signal an error if
10037 called from a minibuffer window.
10038
10039 * bindings.el: Revert 2011-07-04 change.
10040
354cf0ba
RS
100412011-07-06 Richard Stallman <rms@gnu.org>
10042
10043 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10044 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10045 Treat markers like ints.
10046 (rmail-mime-entity): Doc fix.
10047
a48868a7
LMI
100482011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10049
4906cd3d
LMI
10050 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10051 defcustom again for backwards compatibility.
10052
e0457abe
LMI
10053 * simple.el (shell-command-on-region): Fill.
10054
d67f7e1f
LMI
10055 * dired-aux.el (dired-kill-line): Add a doc string.
10056
fe204702
LMI
10057 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10058 to "\\sw\\|\\s_" (bug#358).
10059
a48868a7
LMI
10060 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10061 (dired-unmark-backward): Ditto.
10062 (dired-flag-backup-files): Ditto.
10063
10064 * dired-x.el (dired-mark-sexp): Ditto.
10065
aa8a705c
RS
100662011-07-06 Richard Stallman <rms@gnu.org>
10067
10068 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10069 (rmail-mime-entity): New arg TRUNCATED.
10070 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10071 New functions.
10072 (rmail-mime-save): Warn if entity is truncated.
10073 (rmail-mime-toggle-hidden): Likewise, for showing.
10074 (rmail-mime-process-multipart): Record when an entity is truncated.
10075
a9a936b9
RS
10076 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10077 if ENTITY is a string.
10078
1f2b92cb
LMI
100792011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10080
f4f73198 10081 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10082 of faces when `M-C-x'-ing their definitions (bug#8378).
10083 Also clean up the code slightly.
f4f73198 10084
12b16734 10085 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10086 because that makes the colors go away.
12b16734 10087
f0691d22
LMI
10088 * mail/sendmail.el (send-mail-function): Change the default to
10089 `sendmail-query-once'.
9e87df06 10090 (sendmail-query-once): Add an autoload cookie.
f0691d22 10091
1f2b92cb
LMI
10092 * net/network-stream.el (network-stream-open-starttls): Try using
10093 a plain connection even if the server offered STARTTLS, and we
10094 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10095 capability. This should make smtpmail.el work in slightly more
10096 configurations.
10097
1cdd2a1b
MA
100982011-07-06 Michael Albinus <michael.albinus@gmx.de>
10099
10100 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10101 New defun.
10102 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10103
fbcc67e2
MM
101042011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10105
10106 * progmodes/sql.el: Version 3.0
0757af94 10107 (sql-product-alist): Add product :completion-object,
fbcc67e2 10108 :completion-column, and :statement attributes.
0757af94 10109 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10110 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10111 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10112 ansi keywords.
10113 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10114 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10115 (sql-oracle-show-reserved-words): New function for development.
10116 (sql-product-font-lock): Simplify for source code buffers.
10117 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10118 New functions.
10119 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10120 (sql-mode-map): Add statement movement functions.
10121 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10122 New variable.
fbcc67e2
MM
10123 (sql-statement-regexp, sql-beginning-of-statement)
10124 (sql-end-of-statement, sql-signum): New functions.
0757af94 10125 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10126 (sql-show-sqli-buffer): Bug fix.
10127 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10128 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10129 with sql-interactive-mode.
10130 (sql-save-connection): Save buffer local settings.
0757af94 10131 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10132 (sql-product-interactive): Bug fix.
10133 (sql-preoutput-hold): New variable.
10134 (sql-interactive-remove-continuation-prompt): Bug fixes.
10135 (sql-debug-redirect): New variable.
10136 (sql-str-literal): New function.
10137 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10138 Redesign.
fbcc67e2
MM
10139 (sql-oracle-save-settings, sql-oracle-restore-settings)
10140 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10141 (sql-completion-object, sql-completion-column)
10142 (sql-completion-sqlbuf): New variables.
10143 (sql-build-completions-1, sql-build-completions)
10144 (sql-try-completion): New functions.
10145 (sql-read-table-name): Use them.
10146 (sql-contains-names): New buffer local variable.
10147 (sql-list-all, sql-list-table): Use it.
10148 (sql-oracle-completion-types): New variable.
10149 (sql-oracle-completion-object, sql-sqlite-completion-object)
10150 (sql-postgres-completion-object): New functions.
10151
d4eaeab1
GM
101522011-07-06 Glenn Morris <rgm@gnu.org>
10153
10154 * window.el (pop-to-buffer): Doc fix.
10155
322b7dab 101562011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10157
10158 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10159
322b7dab 101602011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10161
322b7dab 10162 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10163
322b7dab 10164 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10165
605dd5bf
CY
101662011-07-05 Chong Yidong <cyd@stupidchicken.com>
10167
10168 * button.el (button): Inherit from link face. Suggested by Dan
10169 Nicolaescu.
10170
7dbfa719
SM
101712011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10172
3db614b0
SM
10173 * progmodes/gdb-mi.el: Fit in 80 columns.
10174 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10175 switch-to-buffer.
10176
7dbfa719
SM
10177 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10178 if imenu is simply not configured (bug#8941).
10179
919d884a
KM
101802011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10181
10182 * allout.el (allout-post-undo-hook): New allout outline-change
10183 event hook to signal undo activity.
10184 (allout-post-command-business): Run allout-post-undo-hook if an
10185 undo just occurred.
7dbfa719
SM
10186 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10187 * allout-widgets.el (allout-widgets-after-undo-function):
10188 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10189 in the vicinity of an undo.
10190 (allout-widgets-mode): Include allout-widgets-after-undo-function
10191 on the new allout-post-undo-hook.
10192
450a0f09
SM
101932011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10194
10195 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10196 Let define-derived-mode define it.
10197 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10198 cycles of abbrev-table inheritance (bug#8998).
10199
2de69e00
RW
102002011-07-05 Roland Winkler <winkler@gnu.org>
10201
10202 * textmodes/bibtex.el: Add support for biblatex.
10203 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10204 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10205 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10206 (bibtex-entry-alist, bibtex-field-alist): New variables.
10207 (bibtex-entry-field-alist): Obsolete alias for
10208 bibtex-BibTeX-entry-alist.
10209 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10210 (bibtex-set-dialect): New command.
10211 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10212 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10213 Bind via bibtex-set-dialect.
2de69e00
RW
10214 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10215 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10216 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10217 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10218 Define via bibtex-set-dialect.
450a0f09
SM
10219 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10220 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10221 (bibtex-vec-push, bibtex-vec-incr): New functions.
10222 (bibtex-format-entry, bibtex-field-list)
10223 (bibtex-print-help-message, bibtex-validate)
10224 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10225
2dcdbdd9
SM
102262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10227
10228 * progmodes/compile.el (compilation-goto-locus):
10229 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10230 * bs.el (bs-cycle-next, bs-cycle-previous):
10231 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10232 * bindings.el (mode-line-other-buffer):
10233 * autoinsert.el (auto-insert):
10234 * arc-mode.el (archive-extract):
10235 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10236
b27640fe
JB
102372011-07-05 Juanma Barranquero <lekktu@gmail.com>
10238
10239 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10240 Fix check of `emacs-lock-unlockable-modes'.
10241 Coerce true values of `emacs-lock--try-unlocking' to t.
10242
53bbe3ad
JB
102432011-07-05 Juanma Barranquero <lekktu@gmail.com>
10244
10245 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10246 * emacs-lock.el: New file.
10247
1d3cdbc7
JD
102482011-07-05 Julien Danjou <julien@danjou.info>
10249
10250 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10251 than `boundp' to check if face is set.
10252
9173deec
JB
102532011-07-05 Juanma Barranquero <lekktu@gmail.com>
10254
10255 * register.el (registerv-make):
10256 * window.el (window-min-height): Fix typos in docstrings.
10257
869795d6
JD
102582011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10259
9173deec 10260 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10261 Update doc string.
10262
b768cdcd
JB
102632011-07-04 Juanma Barranquero <lekktu@gmail.com>
10264
10265 * server.el (server-execute): Catch quit and call
10266 `server-return-error' to pass the error back to emacsclient and
10267 close the connection (bug#8942).
10268
13aa217b
KM
102692011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10270
10271 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10272 insecure exception for current topic. Also note that auto-saves
10273 are handled differently.
10274
5d3385a0 10275 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10276 State variables for tracking auto-save inhibition situation.
10277
10278 (allout-write-contents-hook-handler): Rename from
10279 'allout-write-file-hook-handler', and describe how it depends on
10280 write-contents-functions sensitivity to non-nil value to prevent
10281 file write.
10282
10283 (allout-auto-save-hook-handler): Remove. auto-save does not check
10284 this in individual buffers, only in the starting buffer, so this
10285 is not the right way for us to inhibit auto-save in a buffer
10286 according to its condition.
10287
10288 (allout-mode): Use new allout-write-contents-hook-handler, and
10289 only with write-contents-functions. Remove auto-save provisions -
10290 they're implemented elsewhere.
10291
10292 (allout-before-change-handler): If undo is in progress, note that
10293 for attention of allout-post-command-business.
10294
10295 (allout-post-command-business): If the command we're following was
10296 an undo, check for change in the status of encrypted items and
10297 adjust auto-save inhibitions accordingly.
10298
10299 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10300 according to whether there are or aren't any plain-text topics
10301 pending encryption.
10302
2dcdbdd9 10303 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10304 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10305 if there are plain-text topics pending encryption.
13aa217b
KM
10306
10307 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10308 buffer-saved-size and some allout state to not inhibit auto-saves
10309 if there are no longer any plain-text topics pending encryption.
10310
0757af94
SM
10311 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10312 No longer provide for exemption of the current topic.
13aa217b 10313
ac89b32c
JL
103142011-07-04 Juri Linkov <juri@jurta.org>
10315
10316 Add 7z operations to delete and save changed members (bug#8968).
10317 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10318 New defcustoms.
10319 (archive-7z-write-file-member): New function.
10320 (archive-7z-summarize): Fix the number of dashes in the
10321 listing output.
10322
8fa39615
SM
103232011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10326 (bug#8958).
10327
2f11b3f1
CY
103282011-07-04 Chong Yidong <cyd@stupidchicken.com>
10329
d66fef2b
CY
10330 * bindings.el: Ignore next-buffer and previous-buffer in
10331 minibuffer-local-map.
10332
2f11b3f1
CY
10333 * font-lock.el (font-lock-builtin-face): Change light background
10334 color to dark slate blue (Bug#6693).
10335
f932a347
WD
103362011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10337
10338 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10339
c8af70e1
SM
103402011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10343 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10344 Add switch-to-buffer.
10345
f158badc
LMI
103462011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10347
10348 * isearch.el (isearch-search-fun-function): Clarify further the
10349 meaning of the function returned.
10350
6d95bd46
MA
103512011-07-04 Michael Albinus <michael.albinus@gmx.de>
10352
10353 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10354
10355 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10356 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10357 Use it.
10358 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10359 `tramp-default-remote-path' does not exist.
10360 (tramp-send-command-and-read): New optional argument NOERROR.
10361 (tramp-open-connection-setup-interactive-shell)
10362 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10363 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10364 (tramp-process-sentinel): Flush also process' connection property.
10365 (tramp-sh-handle-start-file-process): Do not set process
10366 sentinel. It is done now ...
10367 (tramp-maybe-open-connection): ... here. (Bug#8929)
10368
909e6b67
MK
103692011-07-04 MON KEY <monkey@sandpframing.com>
10370
10371 * play/animate.el (animate-string): Doc fixes and allow changing
10372 the buffer name (bug#5417).
10373
103742011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10375
c8af70e1 10376 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10377
f34755dc
PE
103782011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10379
396cec72
PE
10380 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10381 This is simpler and helps future-proof the code.
10382 (timer-until): Use time-subtract and float-time.
08235028 10383 (timer--time-less-p): Use time-less-p.
f34755dc 10384
56e6cc31
JB
103852011-07-04 Juanma Barranquero <lekktu@gmail.com>
10386
3abb79e5
JB
10387 * type-break.el (timep): Use the value of `float-time' to avoid a
10388 byte-compiler warning.
10389
56e6cc31
JB
10390 * server.el (server-eval-and-print): Return any result, even nil.
10391
7b9430b4
PE
103922011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10393
10394 * type-break.el: Accept time formats that the builtins accept.
10395 (timep, type-break-time-difference): Accept any format that
10396 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10397 This is simpler and helps future-proof the code.
10398 (type-break-time-difference): Round rather than ignoring
10399 subseconds components.
10400
3034e9e7
LMI
104012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10402
10403 * info.el (Info-apropos-matches): Make non-interactive, since it
10404 doesn't seem to do anything useful as a command (bug#8829).
10405
1485f4c0
CY
104062011-07-03 Chong Yidong <cyd@stupidchicken.com>
10407
10408 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10409 Move from faces.el.
1485f4c0
CY
10410 (frame-default-terminal-background): New function.
10411
10412 * custom.el (custom-push-theme): Don't record faces in `changed'
10413 theme; this doesn't work correctly for per-frame face settings.
10414 (disable-theme): Use face-set-after-frame-default to reset faces.
10415 (custom--frame-color-default): New function.
10416
9fa3dd45
LMI
104172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10418
c8af70e1 10419 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10420 (bug#8769).
10421
6cbbc20c
KR
104222011-03-29 Kevin Ryde <user42@zip.com.au>
10423
10424 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10425 `perl-Test2' extend to match possible "fail #N" rep count
10426 (bug#8377).
10427
c7f98048
LMI
104282011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10429
65676592
LMI
10430 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10431 `smtpmail-via-smtp' now returns the error instead of nil.
10432
c7f98048
LMI
10433 * isearch.el (isearch-search-fun-function): Clarify the doc string
10434 (bug#8101).
10435
56e6cc31 104362011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10437
10438 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10439 unnecessary spaces (bug#8987).
10440
2b216704
LMI
104412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10442
10443 * net/network-stream.el (open-network-stream): Use the
10444 :end-of-capability command thoughout.
10445
104462011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10447
10448 * net/network-stream.el (open-network-stream): Add the
10449 :end-of-capability command parameter, used by pop3.el.
10450
36adf6ce
LMI
104512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10452
1ca0da0e
LMI
10453 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10454
fc00f69c
LMI
10455 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10456 for list)" (bug#6475).
10457
28fd8759 10458 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10459 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10460 an error (bug#6297).
10461
0dd8b6da
LMI
10462 * man.el (Man-reference-regexp): Allow matching possible
10463 word-wrapped references (bug#6289).
10464
ce1438d6
LMI
10465 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10466 for consistency with the other vc buffers (bug#6197).
10467 (vc-checkin): Ditto.
10468
10469 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10470
36adf6ce
LMI
10471 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10472
e83cc1f7
LMI
104732011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10474
8a20ca4c
LMI
10475 * custom.el (defcustom): Clarify that :set is only used in the
10476 Customize user interface (bug#6089).
10477
83319045
LMI
10478 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10479 associated with a file, refuse to run instead of erroring out
10480 (bug#6084).
10481
a8392169
LMI
10482 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10483 the doc string, since it appears that using `fill-column' always
10484 controls the width (bug#7845).
10485
e83cc1f7
LMI
10486 * simple.el (shell-command-on-region): Say where the error output
10487 went if `shell-command-default-error-buffer' is set (bug#6857).
10488
e47ca23b
KM
104892011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10490
10491 * allout.el (allout-yank-processing): Adjust cursor position for
10492 backwards-deleted space.
10493
10494 (allout-rebullet-heading): Register changes with
10495 allout-exposure-changed-hook, so the modified topic is properly
10496 decorated.
10497
5cf56143
LMI
104982011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10499
08549772
LMI
10500 * minibuffer.el (completion-in-region): Document PREDICATE
10501 (bug#7136).
10502
48e96771
LMI
10503 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10504 of keyword/argument pairs (bug#6904).
10505
c8af70e1
SM
10506 * replace.el (multi-occur):
10507 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10508
e17d05e2
LMI
105092011-07-02 Drew Adams <drew.adams@oracle.com>
10510
10511 * dired.el (dired-mark-if): Make the message about whether it's
10512 marking or unmarking clearer (bug#8523).
10513
063b0e45
LMI
105142011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10515
10516 * disp-table.el (display-table-print-array): New function.
10517 (describe-display-table): Use it to print the vectors more pretty
10518 (Bug#8859).
10519
28545e04
MR
105202011-07-02 Martin Rudalics <rudalics@gmx.at>
10521
10522 * window.el (window-state-get-1): Don't assign clone numbers.
10523 Add clone-of item to list of window parameters.
10524 (window-state-put-2): Don't process clone numbers.
10525 (display-buffer-alist): Fix doc-string.
10526
3349e122
SM
105272011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * subr.el (remq): Don't allocate if it's not needed.
10530 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10531 (keymap--merge-bindings): New functions.
10532 (keymap-canonicalize): Use them to refine the canonicalization.
10533 * minibuffer.el (minibuffer-local-completion-map)
10534 (minibuffer-local-must-match-map): Move initialization from C.
10535 (minibuffer-local-filename-completion-map): Move initialization from C;
10536 don't inherit from anything here.
10537 (minibuffer-local-filename-must-match-map): Make obsolete.
10538 (completing-read-default): Use make-composed-keymap to combine
10539 minibuffer-local-filename-completion-map with either
10540 minibuffer-local-must-match-map or
10541 minibuffer-local-filename-completion-map.
10542
d224ac83
GM
105432011-07-01 Glenn Morris <rgm@gnu.org>
10544
3de63bf8
GM
10545 * type-break.el (type-break-time-sum): Use dolist.
10546
d224ac83
GM
10547 * textmodes/flyspell.el (flyspell-word-search-backward):
10548 Replace CL function.
10549
1a1e3f32
SM
105502011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10551
fe3f64d5
SM
10552 * mouse.el (mouse--strip-first-event): New function.
10553 (function-key-map): Use it to map fringe clicks to normal clicks
10554 by default.
10555
eb604e34
SM
10556 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10557 (vc-bzr-revision-completion-table): Add support for annotate and date.
10558
1a1e3f32
SM
10559 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10560 inherit from parent.
10561
5bd35902
LMI
105622011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10563
ace6c69c 10564 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10565 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10566
191e2bed
LMI
10567 * dired.el (dired-mode): Fix up the doc string as suggested by
10568 Drew Adams (bug#8817).
10569
5bd35902
LMI
10570 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10571 cookie, since the manual says that it should be possible to add
10572 this function to `find-file-hook' (bug#8709).
10573
eee8207a
TZ
105742011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10575
10576 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10577 here. Noted Ted Zlatanov as the maintainer.
10578 (cfengine-common-settings, cfengine-common-syntax): New functions
10579 to set up common things between `cfengine-mode' and
10580 `cfengine3-mode'.
10581 (cfengine3-mode): New mode.
10582 (cfengine3-defuns cfengine3-defuns-regex
10583 (cfengine3-class-selector-regex cfengine3-category-regex)
10584 (cfengine3-vartypes cfengine3-font-lock-keywords)
10585 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10586 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10587
36b148cf
MA
105882011-07-01 Michael Albinus <michael.albinus@gmx.de>
10589
10590 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10591
10592 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10593
0bf4ba9a
MR
105942011-07-01 Martin Rudalics <rudalics@gmx.at>
10595
10596 * window.el (same-window-buffer-names, same-window-regexps)
10597 (same-window-p, special-display-frame-alist)
10598 (special-display-popup-frame, special-display-function)
10599 (special-display-buffer-names, special-display-regexps)
10600 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10601 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10602 (split-window-preferred-function, split-height-threshold)
10603 (split-width-threshold, even-window-heights)
10604 (display-buffer-mark-dedicated, window-splittable-p)
10605 (split-window-sensibly, window-safely-shrinkable-p):
10606 Un-obsolete.
10607 (display-buffer): Don't spread args with function specifier
10608 because special-display-popup-frame won't like it.
10609
35837f51
PE
106102011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10611
d0672f86
PE
10612 Time-stamp simplifications and fixes.
10613 These improve accuracy slightly, and future-proof the code
10614 against some potential changes to current-time format.
10615
b9444d97
PE
10616 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10617 by using time-since and float-time.
10618
0ef923dc
PE
10619 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10620 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10621 + NNN microseconds".
10622
2f81380d
PE
10623 * type-break.el (type-break-time-sum): Rewrite using time-add.
10624
845b5c3e
PE
10625 * play/hanoi.el (hanoi-current-time-float): Remove.
10626 All uses replaced by float-time.
10627
ee6f1be0
PE
10628 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10629 This yields a more-accurate answer.
10630 (rng-time-to-float): Remove; no longer needed.
10631
fe955043
PE
10632 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10633
5777162a
PE
10634 * calendar/timeclock.el (timeclock-seconds-to-time):
10635 Defalias to seconds-to-time, since they're the same thing.
10636
3103f8b6 10637 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10638 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10639 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10640
0e61a35f
SM
106412011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10642
10643 * window.el (bury-buffer): Don't iconify the only frame.
10644 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10645 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10646
ddd63a1e
CY
106472011-07-01 Chong Yidong <cyd@stupidchicken.com>
10648
0e61a35f
SM
10649 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10650 Add mouse-yank-primary.
ddd63a1e 10651
055f4923
TZ
106522011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10653
10654 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10655
6a2fb145
SM
106562011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10659 (find-library-name): Use it to find relative load names when provided
10660 absolute file name (bug#8803).
10661
fd4983f2
LMI
106622011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10663
887d14ad
LMI
10664 * textmodes/flyspell.el (flyspell-word): Consider words that
10665 differ only in case as potential doublons (bug#5687).
10666
c53dc7fc
LMI
10667 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10668 Remove two rather uninteresting debugging-like messages to make
10669 debbugs.el more silent.
10670
fd4983f2
LMI
10671 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10672 a password-like phrase.
10673
7a71b18d 106742011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10675
10676 * progmodes/cc-guess.el: New file.
10677
6a2fb145 10678 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10679
10680 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10681 derived from `c-basic-common-init'.
10682
10683 * progmodes/cc-mode.el (top-level): Require cc-guess.
10684 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10685
1fa280a3
LM
106862011-06-30 Lawrence Mitchell <wence@gmx.li>
10687
10688 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10689
e6597158
AM
106902011-06-30 Alan Mackenzie <acm@muc.de>
10691
1fa280a3
LM
10692 * progmodes/cc-engine.el (c-guess-continued-construct):
10693 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10694 lock is disabled. Name this case as "CASE G".
10695
68ba37fb
KM
106962011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10697
10698 * allout.el (allout-yank-processing): Fix injection of extra space
10699 between bullet and non-whitespace character in first topic when
10700 pasting, ensuring that the actual spacing in the pasted topic
10701 following the bullet char is preserved. This extra space was
10702 causing pasted encrypted topics to get a decrypted status even
10703 when the content was actually still encrypted. Now the decryption
10704 status from before the paste is preserved.
10705
10706 (allout-flag-region): Set all allout overlays so they evaporate
10707 when reduced to zero length (evanescent), to prevent overlay
10708 leakage.
10709
887a0b34
GM
107102011-06-30 Glenn Morris <rgm@gnu.org>
10711
94b9acce
GM
10712 * w32-fns.el (w32-charset-info-alist): Declare.
10713
1d9b46d4
GM
10714 * find-dired.el (find-grep-options): Simplify.
10715
cc232200
GM
10716 * term/ns-win.el (ns-set-resource): Declare.
10717
28e77c46
GM
10718 * ses.el (row, col): Declare dynamic variables honestly.
10719
887a0b34
GM
10720 * textmodes/reftex-parse.el (index-tags): Declare.
10721
658d8eb8
CY
107222011-06-30 Chong Yidong <cyd@stupidchicken.com>
10723
10724 * cus-edit.el (customize-push-and-save): New function.
10725
10726 * files.el (hack-local-variables-confirm): Use it.
10727
1fa280a3
LM
10728 * custom.el (load-theme): New arg NO-CONFIRM.
10729 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10730 (custom-enabled-themes): Doc fix.
10731
10732 * cus-theme.el (customize-create-theme)
10733 (custom-theme-merge-theme): Callers to load-theme changed.
10734
bb617717
LMI
107352011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10736
d61bdd5d
LMI
10737 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10738 short URLs have at least one dot in them (bug #7614).
10739
bb617717
LMI
10740 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10741 nil, because using a pty is apparently too slow (bug #895).
10742
2f31f37a
LMI
107432011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10744
10745 * mail/sendmail.el (sendmail-query-once): New function.
10746 (sendmail-query-once-function): New variable.
10747
3076b24e
GM
107482011-06-29 Glenn Morris <rgm@gnu.org>
10749
faf2a174
GM
10750 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10751
3076b24e
GM
10752 * ses.el (top-level): Require cl when compiling.
10753 (ses-set-localvars): Fix error statement.
10754 Call it at compile time to silence a storm of warnings.
10755
5386012d
MR
107562011-06-29 Martin Rudalics <rudalics@gmx.at>
10757
10758 * window.el (normalize-live-buffer): Rename to
10759 window-normalize-buffer.
10760 (normalize-live-frame): Rename to window-normalize-frame.
10761 (normalize-any-window): Rename to window-normalize-any-window.
10762 (normalize-live-window): Rename to window-normalize-live-window.
10763 (make-window-atom): Rename to window-make-atom.
10764 (window-resize-reset): Rename to window--resize-reset.
10765 (window-resize-reset-1): Rename to window--resize-reset-1.
10766 (resize-mini-window): Rename to window--resize-mini-window.
10767 (resize-subwindows-skip-p): Rename to
10768 window--resize-subwindows-skip-p.
10769 (resize-subwindows-normal): Rename to
10770 window--resize-subwindows-normal.
10771 (resize-subwindows): Rename to window--resize-subwindows.
10772 (resize-other-windows): Rename to window--resize-siblings.
10773 (resize-this-window): Rename to window--resize-this-window.
10774 (resize-root-window): Rename to window--resize-root-window.
10775 (resize-root-window-vertically): Rename to
10776 window--resize-root-window-vertically.
10777 (normalize-buffer-to-display): Rename to
10778 window-normalize-buffer-to-display.
10779 (normalize-buffer-to-switch-to): Rename to
10780 window-normalize-buffer-to-switch-to.
10781 Correspondingly update all callers of the functions listed
10782 above.
10783 (display-buffer-alist, display-buffer-normalize-arguments)
10784 (display-buffer-normalize-options, display-buffer)
10785 (display-buffer-alist-set): Use "function" instead of
10786 "fun-with-args".
10787
1176868d
CY
107882011-06-28 Chong Yidong <cyd@stupidchicken.com>
10789
10790 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10791 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10792 debbugs.gnu.org. Mention acknowledgment email.
10793
20a7a65f
LMI
107942011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10795
10796 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10797 buffer multibyteness, since it shouldn't matter.
10798
5f45cca5
MR
107992011-06-28 Martin Rudalics <rudalics@gmx.at>
10800
10801 * window.el (display-buffer-in-side-window): Handle dedicated
10802 windows as in display-buffer-reuse-window.
10803 (display-buffer-normalize-alist): Use value of override
10804 specifier.
10805 (display-buffer-normalize-specifiers): Use value of
10806 other-window-means-other-frame specifier.
10807 (display-buffer-alist): Rewrite some texts in widgets.
10808 (display-buffer): Spread arguments when calling function
10809 specified by fun-with-args.
10810
ad85fe1f
DD
108112011-06-28 Deniz Dogan <deniz@dogan.se>
10812
1fa280a3
LM
10813 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10814 Unnest `let'.
da68c4c8 10815
ad85fe1f
DD
10816 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10817 selectors (Bug#5732).
ec49bd31 10818 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10819
a08cc025
JA
108202011-06-27 Jari Aalto <jari.aalto@cante.net>
10821
10822 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10823 (eshell-ls-date-format): New defcustom.
10824 (eshell-ls-file): Use it.
10825
e2b551c5
SM
108262011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10827
10828 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10829
8982b231
KY
108302011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10831
10832 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10833 (ange-ftp-make-tmp-name): New arg.
10834 (ange-ftp-file-local-copy): Use it.
10835
36c9fa27
J
108362011-06-27 Jambunathan K <kjambunathan@gmail.com>
10837
10838 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10839 no-conversion (Bug#8870).
10840
d68443dc
MR
108412011-06-27 Martin Rudalics <rudalics@gmx.at>
10842
10843 * window.el (window-right, window-left, window-child)
10844 (window-child-count, window-last-child)
10845 (window-iso-combination-p, walk-window-tree-1)
10846 (window-atom-check-1, window-tree-1, delete-window)
10847 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10848 new naming conventions - window-vchild, window-hchild,
10849 window-next and window-prev are now called window-top-child,
10850 window-left-child, window-next-sibling and window-prev-sibling
10851 respectively.
d615d6d2
MR
10852 (resize-window-reset): Rename to window-resize-reset.
10853 (resize-window-reset-1): Rename to window-resize-reset-1.
10854 (resize-window): Rename to window-resize.
10855 (window-min-height, window-min-width)
10856 (resize-mini-window, resize-this-window, resize-root-window)
10857 (resize-root-window-vertically, adjust-window-trailing-edge)
10858 (enlarge-window, shrink-window, maximize-window)
10859 (minimize-window, delete-window, quit-restore-window)
10860 (split-window, balance-windows, balance-windows-area-adjust)
10861 (balance-windows-area, window-state-put-2)
10862 (display-buffer-even-window-sizes, display-buffer-set-height)
10863 (display-buffer-set-width, set-window-text-height)
10864 (fit-window-to-buffer): Rename all "resize-window" prefixed
10865 calls to use the "window-resize" prefix convention.
10866 (display-buffer-alist): Fix symbol for label specifier.
10867 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10868 corresponding specifier.
10869 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10870
b6458526
VB
108712011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10872
10873 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10874 convention.
10875 (ses-call-printer): Does not pass an empty string to formatter when the
10876 cell is empty to keep from barking printer Calc math-format-value.
10877
d31fd9ac
RS
108782011-06-27 Richard Stallman <rms@gnu.org>
10879
43d5bf84
RS
10880 * battery.el (battery-mode-line-limit): New variable.
10881 (battery-update): Handle it.
10882
d31fd9ac
RS
10883 * mail/rmailmm.el (rmail-mime-process-multipart):
10884 Handle truncated messages.
10885
819a6054
GM
108862011-06-27 Glenn Morris <rgm@gnu.org>
10887
10888 * progmodes/flymake.el (flymake-err-line-patterns):
10889 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10890
cedc73f2
VB
108912011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10892
819a6054 10893 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10894 (ses--clean-!, ses--clean-_): New functions.
10895 (ses-range): Add configurability of readout order, and conversion
10896 to Calc vector.
10897
5e5d49b6
VB
10898 * ses.el (ses-repair-cell-reference-all): New function.
10899 (ses-cell-symbol): Set macro as safe, so that it can be used in
10900 formulas.
10901
56e6cc31 10902 * ses.el: Update cycle detection algorithm.
90ca8b49 10903 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10904 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10905 (ses-set-localvars): New function.
10906 (ses-make-cell): Add property-list as a cell element.
10907 (ses-cell-property-get-fun, ses-cell-property-get)
10908 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10909 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10910 New functions.
90ca8b49
VB
10911 (ses-cell-property-set, ses-cell-property-pop)
10912 (ses-cell-property-get-handle): New macro.
10913 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10914 New aliases, used for code readability.
10915 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10916 cycle detection.
10917 (ses-self-reference-early-detection): New defcustom.
fac916bf 10918 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10919 (ses-mode): Use ses-set-localvars.
10920 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10921 before lauching the update processing.
10922 (ses-initialize-Dijkstra-attempt): New function.
10923 (ses-recalculate-cell): Update for cycle detection based on
10924 Dijkstra algorithm.
10925
2bb63e81
VB
10926 * ses.el: Fix commenting and indenting convention.
10927
c9d29fb8
SM
109282011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10929
10930 * bs.el (bs-cycle-next): Complete last change.
10931
d8e4b68b
JB
109322011-06-27 Drew Adams <drew.adams@oracle.com>
10933
10934 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10935
40098786
LMI
109362011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10937
c9d29fb8
SM
10938 * net/network-stream.el (network-stream-open-starttls):
10939 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10940 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10941
40098786
LMI
10942 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10943 to binary to possibly avoid line encoding issues on Windows (among
10944 other things).
10945
468d09d4
LMI
109462011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10947
10948 * net/network-stream.el (open-network-stream): Return an :error
10949 saying what the problem was, if possible.
10950
10951 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10952 server.
10953
10954 * net/network-stream.el (network-stream-open-starttls): If we
10955 wanted to use STARTTLS, and the server offered it, but we weren't
10956 able to because we had no STARTTLS support, then close the connection.
10957 (open-network-stream): Return an :error element, if present.
10958
16f07dd7
CY
109592011-06-26 Chong Yidong <cyd@stupidchicken.com>
10960
88821ca0
CY
10961 * hl-line.el (hl-line-sticky-flag): Doc fix.
10962 (global-hl-line-sticky-flag): New option (Bug#8323).
10963 (global-hl-line-highlight): Obey it.
10964
16f07dd7
CY
10965 * vc/vc.el (vc-revert-show-diff): Default to t.
10966
6b5ccddf
KM
109672011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10968
c9d29fb8
SM
10969 * allout-widgets.el (allout-widgets-post-command-business):
10970 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10971 undecorated when an isearch is continued past, and isearch
10972 automatically collapses them. This leads to "widget leaks", where
10973 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10974 hidden widgets can slow down cursor travel, substantially.
10975 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10976 so we're doing without this nicety.
10977
10978 (allout-widgets-tally-string): Don't try to do a hash-table-count
10979 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10980 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10981 *Messages* when allout-widgets-maintain-tally is t.
10982
355f2e07
MR
109832011-06-26 Martin Rudalics <rudalics@gmx.at>
10984
10985 * window.el (display-buffer-normalize-argument): Rename to
10986 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10987 LABEL argument. Respect special-display-function when popping up
10988 a new frame. Fix code searching for a window showing the buffer
10989 on another frame.
c9d29fb8
SM
10990 (display-buffer-normalize-specifiers):
10991 Call display-buffer-normalize-arguments.
355f2e07
MR
10992 (display-buffer-in-window): Don't undedicate the window if its
10993 buffer remains the same.
10994 Reported by Drew Adams <drew.adams@oracle.com>.
10995 (display-buffer-alist): Add choice for same-window macro
10996 specfier.
10997 (display-buffer): Mention special meaning of LABEL argument in
10998 doc-string. Fix quoting. Don't pop up a new frame even as
10999 fallback.
11000
7ca8fc42
JB
110012011-06-26 Juanma Barranquero <lekktu@gmail.com>
11002
11003 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11004 avoid deleting the current window in some cases (bug#8911).
11005
bc312254
AS
110062011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11007
11008 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11009 (Bug#8934)
11010
2db18f3f
LMI
110112011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11012
c9d29fb8
SM
11013 * net/network-stream.el (network-stream-open-starttls):
11014 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11015 (network-stream-open-tls): Ditto.
11016
6302e0d3
LL
110172011-06-26 Leo Liu <sdl.web@gmail.com>
11018
11019 * register.el (registerv): New struct.
11020 (registerv-make): New function.
c9d29fb8
SM
11021 (jump-to-register, describe-register-1, insert-register):
11022 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11023 struct. (Bug#8415)
11024
5fdd4046
CY
110252011-06-26 Chong Yidong <cyd@stupidchicken.com>
11026
2afef60a
CY
11027 * vc/vc.el (vc-revert-show-diff): New defcustom.
11028 (vc-diff-internal): New arg specifying diff buffer.
11029 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11030 reuse an existing *vc-diff* buffer (Bug#8927).
11031
5fdd4046
CY
11032 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11033
e93db24a
GM
110342011-06-26 Glenn Morris <rgm@gnu.org>
11035
11036 * progmodes/f90.el (f90-critical-indent): New option.
11037 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11038 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11039 (f90-mode): Doc fix.
11040 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11041 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11042 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11043 (f90-match-end): Handle block, critical.
11044
eefff499
GM
110452011-06-25 Glenn Morris <rgm@gnu.org>
11046
f6ba4cc9
GM
11047 * calendar/diary-lib.el (diary-included-files): Doc fix.
11048 (diary-include-files): New function, extracted from
11049 diary-include-other-diary-files and diary-mark-included-diary-files.
11050 (diary-include-other-diary-files, diary-mark-included-diary-files):
11051 Just call diary-include-files.
11052 (diary-mark-entries): Reset diary-included-files on first call.
11053
16712304
GM
11054 * calendar/diary-lib.el (diary-mark-entries)
11055 (diary-mark-included-diary-files):
11056 Visit included diary-files in temp buffers.
11057
5d8e0d43
GM
11058 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11059 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11060 (f90-start-block-re, f90-imenu-generic-expression)
11061 (f90-looking-at-program-block-start, f90-no-block-limit):
11062 Add support for submodules.
11063
ccf7a5d5
GM
11064 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11065 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11066
11fdef7d 110672011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11068
11069 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11070 buffer-file-type before setting its value, to avoid disastrous
eefff499 11071 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11072
74f53697
JB
110732011-06-25 Juanma Barranquero <lekktu@gmail.com>
11074
11075 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11076
11077 * ses.el (ses-unload-function):
11078 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11079
11080 * proced.el (proced-unload-function):
11081 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11082
18a4ce5e
AR
110832011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11084
11085 * server.el (server-create-window-system-frame): Add parameters arg.
11086 (server-process-filter): Doc fix. Handle frame-parameters.
11087
519d22cc
JB
110882011-06-25 Juanma Barranquero <lekktu@gmail.com>
11089
11090 Fix bug#8730, bug#8781.
11091
11092 * loadhist.el (unload--set-major-mode): New function.
11093 (unload-feature): Use it.
11094
11095 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11096 (python-unload-function): New function.
11097
c206f5b0
SM
110982011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11099
11100 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11101
f9ad64f3
GS
111022011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11103
11104 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11105 the candidates list.
11106
7d0da90e
JB
111072011-06-24 Juanma Barranquero <lekktu@gmail.com>
11108
11109 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11110
14b4e83d
RS
111112011-06-23 Richard Stallman <rms@gnu.org>
11112
11113 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11114 (rmail-variables): Set next-error-move-function.
11115 (rmail-what-message): Take argument POS.
11116 (rmail-next-error-move): New function.
11117
273d2baf
SM
111182011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11119
11120 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11121 messages for adjacent non-terminals.
11122
56c2cc9a
RS
111232011-06-23 Richard Stallman <rms@gnu.org>
11124
11125 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11126 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11127 (rmail-start-mail): Don't specify use of rmail-mail-return;
11128 that's done by mail-bury now.
11129 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11130
d59eb518
MA
111312011-06-23 Michael Albinus <michael.albinus@gmx.de>
11132
11133 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11134 SIZE is a number.
11135
02cfc6d6
MR
111362011-06-23 Martin Rudalics <rudalics@gmx.at>
11137
11138 * window.el (get-lru-window, get-mru-window)
11139 (get-largest-window): Never return a minibuffer window.
11140 (display-buffer-pop-up-window): Fix a bug that could lead to
11141 reusing the minibuffer window.
11142 (display-buffer): Pass original specifier argument to
11143 display-buffer-function instead of the normalized one.
11144 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11145
4e323265
LL
111462011-06-22 Leo Liu <sdl.web@gmail.com>
11147
11148 * minibuffer.el (completing-read-function)
11149 (completing-read-default): Move from minibuf.c
11150
7a70468f
RS
111512011-06-22 Richard Stallman <rms@gnu.org>
11152
50718fc2
RS
11153 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11154 to Rmail even if not started by a special Rmail command.
11155
7a70468f
RS
11156 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11157 Copy the buffer currently showing just one message.
11158
297dde5a
RW
111592011-06-22 Roland Winkler <winkler@gnu.org>
11160
11161 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11162 (bibtex-clean-entry): First delete the old key so that a
11163 customized algorithm for generating the new key does not get
11164 confused by the old key.
11165 (bibtex-url): Obey regexp of first step.
11166 (bibtex-search-entries): Do not use add-to-list with local
11167 list-var.
11168
97bb1093
LMI
111692011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11170
11171 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11172 stored a user name, then query for the password first, instead of
11173 waiting for SMTP to give an error message and the trying again.
11174
1c0f1a19
JD
111752011-06-22 Lawrence Mitchell <wence@gmx.li>
11176
11177 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11178 BUFFER in call-process.
11179
396f7c9d
LMI
111802011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11181
11182 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11183 QUIT twice.
ddb7ffee
LMI
11184 (smtpmail-try-auth-methods): Require user name and password from
11185 auth-source.
396f7c9d 11186
8998d1b3
MR
111872011-06-22 Martin Rudalics <rudalics@gmx.at>
11188
11189 * window.el (display-buffer-default-specifiers)
11190 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11191 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11192 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11193
11194 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11195 (special-display-frame-alist, special-display-popup-frame):
11196 Remove duplicate declarations. These are now in window.el.
11197
4ea31e07
LMI
111982011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11199
c9d29fb8
SM
11200 * mail/smtpmail.el (smtpmail-via-smtp):
11201 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11202 server supports it. SMTP servers that support STARTTLS commonly
11203 require it.
11204
11205 * net/network-stream.el (network-stream-open-starttls): Support
11206 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11207 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11208
95f41d9a
LMI
11209 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11210 upgrades with `open-network-stream', and rely solely on
11211 auth-source for all credentials. Big changes throughout the file,
11212 but in particular:
c9d29fb8
SM
11213 (smtpmail-auth-credentials): Remove.
11214 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11215 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11216 MAIL FROM, too.
95f41d9a 11217
c9d29fb8
SM
11218 * net/network-stream.el (network-stream-open-starttls):
11219 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11220 STARTTLS.
11221 (auth-source): Require.
11222 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11223 (network-stream-certificate): Change cert-cert to cert and
11224 cert-key to key.
4ea31e07 11225
065ec2c7
MA
112262011-06-21 Michael Albinus <michael.albinus@gmx.de>
11227
11228 * net/tramp-cache.el (top): Don't load the persistency file when
11229 "emacs -Q" has been called.
11230
cd93b359
DR
112312011-06-21 Tim Harper <timcharper@gmail.com>
11232
d8e4b68b
JB
11233 * term/ns-win.el (ns-initialize-window-system):
11234 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11235 resource to NO as it is not yet supported by the NS port.
11236
ae9c0411
JB
112372011-06-21 Juanma Barranquero <lekktu@gmail.com>
11238
11239 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11240 (list-dynamic-libraries): ...not here.
11241
7f3f739f
LL
112422011-06-21 Leo Liu <sdl.web@gmail.com>
11243
11244 * subr.el (sha1): Implement sha1 using secure-hash.
11245
327c8fb1
MR
112462011-06-21 Martin Rudalics <rudalics@gmx.at>
11247
11248 * window.el (display-buffer-alist): In default value do not
11249 enforce searching a window on any but the selected frame.
11250 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11251 (display-buffer-select-window): Remove function.
11252 (display-buffer-in-window): When a window on another frame gets
11253 reused, do not select it any more but just raise its frame if
11254 necessary (Bug#8851) and (Bug#8856).
11255 (display-buffer-normalize-options): Handle pop-up-frames related
11256 options more faithfully.
11257 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11258 window if it is on another frame.
c9d29fb8
SM
11259 (display-buffer-alist, display-buffer-default-specifiers):
11260 Don't make new frame unsplittable by default.
9e9de014
MR
11261 (display-buffer-normalize-argument): Fix doc-string typo and use
11262 'same-frame-other-window instead of 'other-window when associating
11263 with display-buffer-macro-specifiers.
327c8fb1 11264
7cf3f556
VB
112652011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11266
11267 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11268 New functions.
11269 (5x5-mode-map, 5x5-mode-menu): Bind them.
11270 (5x5-draw-grid): Tweak the solver's rendering.
11271
60a406cf
SM
112722011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11273
11274 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11275 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11276
d8e4b68b 112772011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11278
11279 * menu-bar.el: Use function variable instead of switch-to-buffer.
11280 (menu-bar-select-buffer-function): New variable.
60a406cf 11281 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11282
478d6f95
SM
112832011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11284
11285 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11286 variable's status.
11287
ca530739
JD
112882011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11289
11290 * x-dnd.el (x-dnd-version-from-flags)
11291 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11292 and long as number (Bug#8899).
11293 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11294
bcd70d97
SM
112952011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11296
60a406cf 11297 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11298 (completion-try-completion, completion-all-completions): Compute the
11299 metadata argument if it's missing; make it optional (bug#8795).
11300
60a406cf 11301 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11302 (widget-complete): Use new :completion-function property.
11303 (widget-completions-at-point): New function.
11304 (default): Use :completion-function instead of :complete.
60a406cf
SM
11305 (widget-default-completions): Rename from widget-default-complete;
11306 Rewrite.
bcd70d97
SM
11307 (widget-string-complete, widget-file-complete, widget-color-complete):
11308 Remove functions.
11309 (file, symbol, function, variable, coding-system, color):
11310 * international/mule-cmds.el (default-input-method, charset)
11311 (language-info-custom-alist):
11312 * cus-edit.el (face): Use new property :completions.
11313
11314 * progmodes/pascal.el (pascal-completions-at-point): New function.
11315 (pascal-mode): Use it.
11316 (pascal-mode-map): Use completion-at-point.
11317 (pascal-toggle-completions): Make obsolete.
11318 (pascal-complete-word, pascal-show-completions):
11319 * progmodes/octave-mod.el (octave-complete-symbol):
11320 Redefine as obsolete alias.
11321 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11322 Signal absence of completion info for old Octave,
11323 (inferior-octave-complete): Redefine as obsolete alias.
11324 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11325 (meta-completions-at-point): Rename from meta-complete-symbol and
11326 adapt it for use on completion-at-point-functions.
11327 (meta-common-mode): Use it.
11328 (meta-looking-at-backward, meta-match-buffer): Remove.
11329 (meta-complete-symbol): Redefine as obsolete alias.
11330 (meta-common-mode-map): Use completion-at-point.
11331 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11332 (makefile-mode-map): Use completion-at-point.
11333 (makefile-completions-at-point): Rename from makefile-complete and
11334 adapt it for use on completion-at-point-functions.
11335 (makefile-mode): Use it.
11336 (makefile-complete): Redefine as obsolete alias.
11337
aebf69c8
DD
113382011-06-20 Deniz Dogan <deniz@dogan.se>
11339
11340 * net/rcirc.el: Delete trailing whitespaces once and for all.
11341
bfbbb27d
DC
113422011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11343
11344 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11345
d264a46b
CY
113462011-06-19 Chong Yidong <cyd@stupidchicken.com>
11347
4ca009e5
CY
11348 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11349
d264a46b
CY
11350 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11351
fbf5b3ce
MR
113522011-06-19 Martin Rudalics <rudalics@gmx.at>
11353
11354 * window.el (display-buffer-other-window-means-other-frame):
11355 Call display-buffer-normalize-alist.
11356 (display-buffer-normalize-specifiers-1): Rename to
11357 display-buffer-normalize-argument. New argument other-frame.
11358 Rewrite.
11359 (display-buffer-normalize-specifiers-2): Rename to
11360 display-buffer-normalize-options.
11361 (display-buffer-normalize-alist-1): New function.
11362 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11363 display-buffer-normalize-alist.
11364 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11365 (display-buffer-normalize-options-inhibit): New variable.
11366 (display-buffer-normalize-specifiers): Rewrite calling
11367 display-buffer-normalize-alist,
11368 display-buffer-normalize-argument, and
11369 display-buffer-normalize-options. Don't call the latter if
11370 display-buffer-normalize-options-inhibit is non-nil.
11371 (frame-auto-delete): New option.
11372 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11373 (window-list-no-nils, window-state-ignored-parameters)
11374 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11375 (window-state-put-1, window-state-put-2, window-state-put):
11376 New functions.
9a028c23
MR
11377 (display-buffer-normalize-options): Move special-display-p group
11378 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11379
6d10d800
CY
113802011-06-18 Chong Yidong <cyd@stupidchicken.com>
11381
6420d28b
CY
11382 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11383 groups (Bug#8776).
11384 (rx-submatch-n): New function.
11385 (rx): Document it.
11386
ddb8b596
CY
11387 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11388 (Bug#8768).
11389
11390 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11391
77080289
CY
11392 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11393
61dfb316
CY
11394 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11395 anytime existing face settings are present (Bug#8889).
11396
6d10d800
CY
11397 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11398 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11399 Remove unused argument.
11400
be3fb2b8
MR
114012011-06-18 Martin Rudalics <rudalics@gmx.at>
11402
bcd70d97
SM
11403 * window.el (display-buffer-default-specifiers):
11404 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11405 pop-up-window-min-width, and another reuse-window specifier
11406 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11407 (display-buffer-normalize-specifiers-2):
11408 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11409 pop-up-windows is unset. Add a reuse-window specifier for the
11410 case popping up a new window fails.
11411 (special-display-popup-frame): Remove double quoting.
28dec25a 11412 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11413
1c6d8c76
SM
114142011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11417 according to comint-completion-addsuffix.
11418
11419 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11420 (pcomplete-suffix-list): Mark as obsolete.
11421 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11422 pcomplete-seen in the closure.
11423 (pcomplete-comint-setup): Setup completion-at-point as well.
11424 (pcomplete--entries): New function.
11425 (pcomplete--env-regexp): New var.
11426 (pcomplete-entries): Rewrite to work with partial-completion and
11427 without relying on pcomplete-suffix-list.
11428 (pcomplete-pare-list): Remove, unused.
11429
25aef8b8
MR
114302011-06-17 Martin Rudalics <rudalics@gmx.at>
11431
11432 * window.el (display-buffer-alist): Set pop-up-window-min-height
11433 and pop-up-window-min-width in default value. Reported by
11434 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11435 other-window-means-other-frame.
11436 (display-buffer-macro-specifiers): Comment out entry for
11437 other-window specifier.
11438 (display-buffer-other-window-means-other-frame): New function.
11439 (display-buffer-normalize-specifiers-1): New arguments
11440 buffer-name and label. Treat other-window case specially.
11441 (display-buffer-normalize-specifiers-2): Treat other-window case
11442 specially.
11443 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11444 (display-buffer-normalize-specifiers):
11445 Call display-buffer-normalize-specifiers-3.
25aef8b8 11446
dbad4f69
MR
114472011-06-17 Martin Rudalics <rudalics@gmx.at>
11448
11449 * window.el (same-window-p): Fix two typos introduced when
11450 adding with-no-warnings.
d1067961
MR
11451 (display-buffer-normalize-specifiers-1): Don't check
11452 pop-up-frames for 'unset initialization.
11453 (display-buffer-normalize-specifiers-2): Major rewrite using
11454 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11455 (pop-up-frames, display-buffer-reuse-frames)
11456 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11457 Suggested by David Engster <deng@randomsample.de>.
11458 (even-window-heights): Initialize to 'unset.
11459 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11460 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11461 other window case.
dbad4f69 11462
9b9c9e3a
MR
114632011-06-16 Martin Rudalics <rudalics@gmx.at>
11464
bcd70d97
SM
11465 * window.el (display-buffer-normalize-specifiers-1):
11466 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11467 second argument of display-buffer (Bug#8865).
981d5c09
MR
11468 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11469 (switch-to-buffer-other-window-same-frame)
11470 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11471 Adams (Bug#8875).
9c2755e9
MR
11472 (display-buffer): Don't check noninteractive when calling
11473 display-buffer-pop-up-frame.
11474 (display-buffer-pop-up-frame): Never pop up a frame in
11475 noninteractive mode (Bug#8857).
67222e1d
MR
11476 (enlarge-window, shrink-window): Don't report an error when the
11477 window can't be resized as requested (Bug#8862).
9b9c9e3a 11478
2b75be67
SM
114792011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11480
9ffdd3ba
SM
11481 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11482
cb581a67
SM
11483 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11484
2b75be67
SM
11485 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11486
8c0e3589
AM
114872011-06-15 Alan Mackenzie <acm@muc.de>
11488
cb581a67
SM
11489 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11490 for declarators, disable knr checking to speed up for normal files.
11491 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11492
b96e6cde
LMI
114932011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11494
4bba86e6
LMI
11495 * net/network-stream.el (open-network-stream): Add the keyword
11496 :always-query-capabilities for the case where you want to force a
11497 `plain' network connection, but the protocol still requires the
11498 capabilitiy command (i.e., SMTP and EHLO).
11499
2b75be67 11500 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11501 consistency with other `-live-p' functions.
11502
efdcdbf8
SM
115032011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11504
11505 * window.el (same-window-buffer-names, same-window-regexps)
11506 (special-display-frame-alist, special-display-popup-frame)
11507 (special-display-function, special-display-buffer-names)
11508 (special-display-regexps, pop-up-frame-alist)
11509 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11510 (pop-up-windows, split-window-preferred-function)
11511 (split-height-threshold, split-width-threshold, even-window-heights)
11512 (display-buffer-mark-dedicated): Don't encourage the use of
11513 display-buffer-alist from Elisp code.
11514
c5cde042
DN
115152011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11516
11517 * progmodes/python.el (python-mode): Derive from prog-mode.
11518 * progmodes/ps-mode.el (ps-mode):
11519 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11520 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11521 * progmodes/ld-script.el (ld-script-mode): Likewise.
11522
baa1c9ab
MR
115232011-06-15 Martin Rudalics <rudalics@gmx.at>
11524
11525 * window.el (display-buffer-alist): Trim default value to avoid
11526 popping up a new frame (Bug#8857) or reusing an arbitrary window
11527 on another frame.
11528 (display-buffer): Do not fall back on popping up a new frame in
11529 batch mode (Bug#8857).
11530
c5dd5a51
CY
115312011-06-14 Chong Yidong <cyd@stupidchicken.com>
11532
11533 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11534 (custom-theme-summary): New function.
11535 (customize-themes): Use it.
11536
d647b7c4
GM
115372011-06-13 Glenn Morris <rgm@gnu.org>
11538
11539 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11540
9481c002
MR
115412011-06-13 Martin Rudalics <rudalics@gmx.at>
11542
357f93d2
MR
11543 * help.el (help-window): Remove variable.
11544 (help-window-point-marker, temp-buffer-max-height)
11545 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11546 (help-print-return-message): Don't set help-window.
11547 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11548 (help-window-setup-finish): Remove.
11549 (help-window-display-message, help-window-setup)
11550 (with-help-window): Major rewrite based on new
11551 display-buffer-window variable.
11552
11553 * help-mode.el (help-mode-finish): Remove help-window related
11554 code.
11555
11556 * view.el (view-exits-all-viewing-windows): Remove reference to
11557 view-return-to-alist in doc-string.
11558 (view-return-to-alist): Make obsolete.
11559 (view-buffer): Call pop-to-buffer-same-window and remove
11560 undo-window code.
11561 (view-buffer-other-window): Call pop-to-buffer-other-window and
11562 simplify code. Ignore second argument.
11563 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11564 simplify code. Ignore second argument.
11565 (view-return-to-alist-update): Make obsolete.
11566 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11567 Rewrite using quit-restore window parameters.
2b75be67
SM
11568 (view-mode-exit): Rename second argument to EXIT-ONLY.
11569 Rewrite using quit-restore-window.
357f93d2
MR
11570 (View-exit, View-exit-and-edit, View-leave, View-quit)
11571 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11572 appropriate arguments.
11573 (view-end-message): Use quit-restore window parameter.
11574
9481c002
MR
11575 * window.el (display-buffer-function): Rewrite doc-string.
11576 (display-buffer-window, display-buffer-alist): New variables.
11577 (display-buffer-split-specifiers)
11578 (display-buffer-side-specifiers)
11579 (display-buffer-macro-specifiers): New constants.
11580 (display-buffer-even-window-sizes, display-buffer-set-height)
11581 (display-buffer-set-width, display-buffer-select-window)
11582 (display-buffer-in-window, display-buffer-reuse-window)
11583 (display-buffer-split-window-1, display-buffer-split-window)
11584 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11585 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11586 (display-buffer-in-side-window, normalize-buffer-to-display)
11587 (display-buffer-normalize-specifiers-1)
11588 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11589 (display-buffer-normalize-specifiers, display-buffer-frame):
11590 New functions.
9481c002
MR
11591 (display-buffer): Major rewrite.
11592 (display-buffer-other-window, display-buffer-other-frame)
11593 (pop-to-buffer, switch-to-buffer-other-window)
11594 (switch-to-buffer-other-frame): Rewrite.
11595 (display-buffer-same-window, display-buffer-same-frame)
11596 (display-buffer-same-frame-other-window)
11597 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11598 (pop-to-buffer-other-window)
11599 (pop-to-buffer-same-frame-other-window)
11600 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11601 (switch-to-buffer-other-window-same-frame): New functions.
11602 (same-window-p, special-display-p): Rewrite disabling warnings.
11603 Make obsolete.
11604 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11605 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11606 Make obsolete
11607 (same-window-buffer-names, same-window-regexps)
11608 (special-display-frame-alist, special-display-popup-frame)
11609 (special-display-function, special-display-buffer-names)
11610 (special-display-regexps, pop-up-frame-alist)
11611 (pop-up-frame-function, split-window-preferred-function)
11612 (split-height-threshold, split-width-threshold)
11613 (even-window-heights): Make obsolete.
11614
9db51aca
GM
116152011-06-12 Glenn Morris <rgm@gnu.org>
11616
11617 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11618 Misc simplifications.
9db51aca 11619
39cffb44
MR
116202011-06-12 Martin Rudalics <rudalics@gmx.at>
11621
11622 * window.el (window-safely-shrinkable-p): Restore function which
11623 was inadvertently removed in change from 2011-06-11. Declare as
11624 obsolete.
11625
2b75be67
SM
11626 * calendar/calendar.el (calendar-generate-window):
11627 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11628 window-safely-shrinkable-p.
11629
a8955be7
GM
116302011-06-12 Glenn Morris <rgm@gnu.org>
11631
11632 * progmodes/fortran.el (fortran-mode-syntax-table):
11633 * progmodes/f90.el (f90-mode-syntax-table):
11634 Set % to punctuation. (Bug#8820)
11635 (f90-find-tag-default): Remove, no longer needed.
11636
f0d4059d
DC
116372011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11638
11639 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11640
1100a63c
CY
116412011-06-11 Chong Yidong <cyd@stupidchicken.com>
11642
11643 * image.el (image-animated-p): Return animation delay in seconds.
11644 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11645 (image-animate-timeout): Remove DELAY argument. Don't assume
11646 every subimage has the same delay; get it from image-animated-p.
11647 (image-animate): Caller changed.
11648
def722bf
MA
116492011-06-11 Michael Albinus <michael.albinus@gmx.de>
11650
11651 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11652 to ignored backtrace functions.
11653
0a2bb1a9
GM
116542011-06-11 Glenn Morris <rgm@gnu.org>
11655
11656 * calendar/appt.el (appt-disp-window-function): Doc fix.
11657 (appt-check): Handle overlapping appointments. (Bug#8337)
11658
6198ccd0
MR
116592011-06-11 Martin Rudalics <rudalics@gmx.at>
11660
11661 * window.el (window-tree-1, window-tree): New functions, moving
11662 the latter to window.el.
11663 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11664 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11665 (bw-refresh-edges): Remove.
11666 (balance-windows-1, balance-windows-2): New functions.
11667 (balance-windows): Rewrite in terms of window tree functions,
11668 balance-windows-1 and balance-windows-2.
11669 (bw-adjust-window): Remove.
11670 (balance-windows-area-adjust): New function with functionality of
11671 bw-adjust-window but using resize-window.
2b75be67
SM
11672 (set-window-text-height): Rewrite doc-string.
11673 Use normalize-live-window and resize-window.
11674 (enlarge-window-horizontally, shrink-window-horizontally):
11675 Rename argument to DELTA.
6198ccd0
MR
11676 (window-buffer-height): New function.
11677 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11678 Rewrite using new window resize routines.
2b75be67
SM
11679 (kill-buffer-and-window, mouse-autoselect-window-select):
11680 Use ignore-errors instead of condition-case.
6198ccd0
MR
11681 (quit-window): Call delete-frame instead of delete-windows-on
11682 for the only buffer on frame.
11683
9397e56f
MR
116842011-06-10 Martin Rudalics <rudalics@gmx.at>
11685
11686 * loadup.el (top-level): Load window before files for the sake
11687 of replace-buffer-in-windows.
11688
11689 * files.el (read-buffer-to-switch)
11690 (switch-to-buffer-other-window)
2b75be67
SM
11691 (switch-to-buffer-other-frame, display-buffer-other-frame):
11692 Move to window.el.
9397e56f
MR
11693
11694 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11695 (previous-buffer): Move to window.el.
11696
11697 * bindings.el (unbury-buffer): Move to window.el.
11698
11699 * window.el (delete-other-windows-vertically): Move after
11700 definition of delete-other-windows.
11701 (other-window, delete-windows-on, replace-buffer-in-windows):
11702 Move here from window.c.
11703 (record-window-buffer, unrecord-window-buffer)
11704 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11705 (switch-to-next-buffer): New functions.
11706 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11707 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11708 (previous-buffer): Move here from simple.el.
11709 Call switch-to-prev-buffer.
9397e56f
MR
11710 (bury-buffer): Move here from buffer.c. Switch to previous
11711 buffer when window cannot be deleted.
11712 (unbury-buffer): Move here from bindings.el.
11713 (ctl-x-map): Move binding for other-window from window.c to
11714 here.
11715 (read-buffer-to-switch, switch-to-buffer-other-window)
11716 (switch-to-buffer-other-frame): Move here from files.el.
11717 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11718 (switch-to-buffer): Move here from buffer.c.
11719 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11720
562dd5e9
MR
117212011-06-10 Martin Rudalics <rudalics@gmx.at>
11722
11723 * window.el (window-min-height, window-min-width): Move here
11724 from window.c. Add defcustoms and rewrite doc-strings.
11725 (resize-mini-window, resize-window): New functions.
11726 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11727 Move here from window.c.
11728 (maximize-window, minimize-window): New functions.
11729 (delete-window, delete-other-windows, split-window): Move here
11730 from window.c.
11731 (window-split-min-size): New function.
11732 (split-window-keep-point): Mention split-window-above-each-other
11733 instead of split-window-vertically.
2b75be67 11734 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11735 Rename split-window-vertically to split-window-above-each-other
11736 and provide defalias for old definition.
11737 (split-window-side-by-side, split-window-horizontally):
11738 Rename split-window-horizontally to split-window-side-by-side
11739 and provide defalias for the old definition.
562dd5e9
MR
11740 (ctl-x-map): Move bindings for delete-window,
11741 delete-other-windows and enlarge-window here from window.c.
11742 Replace bindings for split-window-vertically and
11743 split-window-horizontally by bindings for
11744 split-window-above-each-other and split-window-side-by-side.
11745
11746 * cus-start.el (all): Remove entries for window-min-height and
11747 window-min-width. Add entries for window-splits and
11748 window-nest.
11749
f0da764a
GM
117502011-06-09 Glenn Morris <rgm@gnu.org>
11751
80675c21
GM
11752 * calendar/appt.el (appt-mode-line): New function.
11753 (appt-check, appt-disp-window): Use it.
11754
f0da764a
GM
11755 * files.el (hack-one-local-variable-eval-safep):
11756 Allow minor-modes with explicit +/-1 arguments.
11757
59f623b7
TZ
117582011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11759
11760 * term/xterm.el (xterm): Add defgroup.
11761 (xterm-extra-capabilities): Add defcustom to supply known xterm
11762 capabilities, skip querying them, or query them (default).
11763 (terminal-init-xterm): Use it.
11764 (terminal-init-xterm-modify-other-keys): New function to set up
11765 modifyOtherKeys support to simplify `terminal-init-xterm'.
11766
9aab8e0d
MR
117672011-06-09 Martin Rudalics <rudalics@gmx.at>
11768
11769 * window.el (resize-window-reset, resize-window-reset-1)
11770 (resize-subwindows-skip-p, resize-subwindows-normal)
11771 (resize-subwindows, resize-other-windows, resize-this-window)
11772 (resize-root-window, resize-root-window-vertically)
11773 (window-deletable-p, window-or-subwindow-p)
11774 (frame-root-window-p): New functions.
11775
e8b08aee
GM
117762011-06-09 Glenn Morris <rgm@gnu.org>
11777
11778 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11779 (ange-ftp-get-files): Use it.
11780
254c37a5
AK
117812011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11782
11783 * mail/sendmail.el (mail-recover-1, mail-recover):
11784 * files.el (recover-file, recover-session):
11785 Handle dired-listing-switches not being just a single short option.
11786
35d7dbd3
GM
117872011-06-09 Glenn Morris <rgm@gnu.org>
11788
11789 * calendar/appt.el (appt-display-message, appt-disp-window):
11790 Handle lists of appointments.
11791
387522b2
MR
117922011-06-08 Martin Rudalics <rudalics@gmx.at>
11793
2b75be67
SM
11794 * window.el (one-window-p): Move down in code.
11795 Rewrite doc-string.
11796 (window-current-scroll-bars): Rewrite doc-string.
11797 Normalize live window argument.
387522b2
MR
11798 (walk-windows, get-window-with-predicate, count-windows):
11799 Rewrite doc-string. Use window-list-1.
11800 (window-in-direction-2, window-in-direction, get-mru-window):
11801 New functions.
11802
d8e4b68b 118032011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11804
11805 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11806 Doc fix (Bug#8713).
11807
118082011-06-08 Chong Yidong <cyd@stupidchicken.com>
11809
11810 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11811
118122011-06-08 Juanma Barranquero <lekktu@gmail.com>
11813
11814 * loadhist.el (unload-feature-special-hooks):
11815 Add `comint-output-filter-functions'.
11816
0de12c52
IK
118172011-06-08 Ivan Kanis <gnu@kanis.fr>
11818
11819 * calendar/appt.el (appt-check): Move some initializations into the let.
11820
f3d1777e
MR
118212011-06-08 Martin Rudalics <rudalics@gmx.at>
11822
11823 * window.el (window-height): Defalias to window-total-height.
11824 (window-width): Defalias to window-body-width.
11825
18af70d0
CY
118262011-06-07 Chong Yidong <cyd@stupidchicken.com>
11827
11828 * image-mode.el (image-toggle-animation): New command.
11829 (image-mode-map): Bind it to RET.
11830 (image-mode): Update message.
11831 (image-toggle-display-image): Avoid a spurious cache flush.
11832 (image-transform-rotation): Doc fix.
11833 (image-transform-properties): Return quickly in the normal case.
11834 (image-animate-loop): Rename from image-animate-max-time.
11835
2b75be67 11836 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11837 (create-animated-image): Remove unnecessary function.
11838 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11839 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11840 (image-animate-timer): Use car-safe.
11841 (image-animate-timeout): Rename argument.
11842
190b47e6
MR
118432011-06-07 Martin Rudalics <rudalics@gmx.at>
11844
11845 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11846 window.c. Rename first argument to ALL-FRAMES.
11847 Rephrase doc-strings.
11848 (get-buffer-window-list): Rewrite using window-list-1.
11849 Rephrase doc-string.
a1511caf
MR
11850 (window-safe-min-height, window-safe-min-width): New constants.
11851 (window-size-ignore, window-min-size, window-min-size-1)
11852 (window-sizable, window-sizable-p, window-size-fixed-1)
11853 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11854 (window-max-delta-1, window-max-delta, window-resizable)
11855 (window-resizable-p, window-total-height, window-total-width)
11856 (window-body-width): New functions.
11857 (window-full-height-p, window-full-width-p): Rewrite using
11858 window-total-size.
11859 (window-body-height): Rewrite using window-body-size.
190b47e6 11860
85cc1f11
MR
118612011-06-06 Martin Rudalics <rudalics@gmx.at>
11862
11863 * window.el (window-right, window-left, window-child)
11864 (window-child-count, window-last-child, window-any-p)
11865 (normalize-live-buffer, normalize-live-frame)
11866 (normalize-any-window, normalize-live-window)
11867 (window-iso-combination-p, window-iso-combined-p)
11868 (window-iso-combinations)
11869 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11870 (windows-with-parameter, window-with-parameter)
11871 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11872 (window-atom-check, window-side-check, window-check):
11873 New functions.
85cc1f11
MR
11874 (ignore-window-parameters, window-sides, window-sides-vertical)
11875 (window-sides-slots): New variables.
11876 (window-size-fixed): Move down in code. Minor doc-string fix.
11877
e7156492
AS
118782011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11879
11880 * comint.el (comint-dynamic-complete-as-filename)
11881 (comint-dynamic-complete-filename): Correctly call
11882 completion-in-region.
11883
7e821d0d
DD
118842011-06-05 Deniz Dogan <deniz@dogan.se>
11885
11886 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11887 in last change.
11888
ac09b8a1
DD
118892011-06-05 Deniz Dogan <deniz@dogan.se>
11890
11891 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11892 (rcirc): Use it to prompt for encryption.
11893
34699b85
RW
118942011-06-05 Roland Winkler <winkler@gnu.org>
11895
11896 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11897 (bibtex-search-entries): New command bound to C-c C-a.
11898 (bibtex-display-entries): New function.
11899
004dedd3
RW
119002011-06-05 Roland Winkler <winkler@gnu.org>
11901
11902 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11903 (bibtex-insert-kill): After yanking insert newline if necessary.
11904 (bibtex-initialize): Call bibtex-string-files-init only once.
11905 (bibtex-mode): Do not call easy-menu-add.
11906 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11907 (bibtex-yank): Set arg properly if nil.
11908
022fe7ce
RW
119092011-06-05 Roland Winkler <winkler@gnu.org>
11910
2b75be67
SM
11911 * textmodes/bibtex.el (bibtex-search-entry-globally):
11912 New variable.
022fe7ce
RW
11913 (bibtex-search-entry): Use it.
11914
b7c3692a
RW
119152011-06-05 Roland Winkler <winkler@gnu.org>
11916
11917 * textmodes/bibtex.el (bibtex-entry-format): New option
11918 sort-fields.
11919 (bibtex-format-entry, bibtex-reformat): Honor this option.
11920 (bibtex-parse-entry): Return fields in proper order.
11921
8eda563d
JB
119222011-06-05 Juanma Barranquero <lekktu@gmail.com>
11923
11924 * doc-view.el (doc-view-remove-if): Move computation of result out
11925 of `dolist' to silence misleading lexical-binding warning.
11926
7dbe3dbc
CY
119272011-06-04 Chong Yidong <cyd@stupidchicken.com>
11928
11929 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11930 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11931
0c33dd17
MA
119322011-06-04 Michael Albinus <michael.albinus@gmx.de>
11933
11934 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11935 "SunOS 5.10".
11936
f8f91c2b
MA
119372011-06-04 Michael Albinus <michael.albinus@gmx.de>
11938
11939 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11940 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11941 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11942 (tramp-parse-putty):
11943 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11944 (tramp-completion-function-alist-ssh)
11945 (tramp-completion-function-alist-telnet)
11946 (tramp-completion-function-alist-su)
11947 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11948 cookie.
11949
11950 * net/tramp-ftp.el:
11951 * net/tramp-sh.el:
11952 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11953 load "tramp.el" `tramp-set-completion-function'.
11954
e17d9003
SM
119552011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11956
11957 * shell.el: Require and use pcomplete.
11958 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11959 (shell-completion-vars): Set pcomplete-default-completion-function.
11960
6c4cab03
DD
119612011-06-04 Deniz Dogan <deniz@dogan.se>
11962
11963 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11964 `memq' (Bug#8799).
11965
ea9fafe0
SM
119662011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11969
b3e945d3
JB
119702011-06-02 Juanma Barranquero <lekktu@gmail.com>
11971
11972 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11973 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11974 * vc/log-view.el (log-view-beginning-of-defun):
11975 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11976 (smerge-refine-forward, smerge-refine-chopup-region):
11977 Silence warning for unused `dotimes' counter variables.
11978
7d520089
SM
119792011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11980
11981 * net/tramp.el (tramp-with-progress-reporter): Rename from
11982 with-progress-reporter. Use `declare'.
11983 * net/tramp-smb.el:
11984 * net/tramp-sh.el:
11985 * net/tramp-gvfs.el: Update all uses.
11986
a1c2400f
JB
119872011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11988
11989 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11990 buffer isn't killed before making it current.
11991
2403c841
SM
119922011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 Silence various byte-compiler warnings.
11995 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11996 `access-type' and new obsolescence format.
11997 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11998 new format.
11999 (byte-compile-check-variable): New `access-type' argument.
12000 Only warn if the access-type is obsolete.
12001 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12002 (byte-compile-variable-set): Adjust callers.
12003 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12004 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12005 setting it as obsolete.
12006 * simple.el (minibuffer-completing-symbol):
12007 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12008 access as obsolete.
12009 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12010 obsolete yet.
12011 * international/quail.el (quail-mouse-choose-completion): Remove unused
12012 code referring to obsolete var.
12013 (quail-choose-completion-string): Remove.
12014 * server.el (server-clients-with, server-kill-buffer-query-function)
12015 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12016 * proced.el (proced-send-signal):
12017 * emacs-lisp/lisp.el (lisp-complete-symbol):
12018 Replace completion-annotate-function with completion-extra-properties.
12019
2462470b
SM
120202011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12021
fb5b2591
SM
12022 * simple.el (goto-line): Use read-number.
12023 (overriding-map-is-bound): Remove.
12024 (saved-overriding-map): Change default.
12025 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12026 Take the map as argument.
12027 (universal-argument, negative-argument, digit-argument): Use it.
12028 (restore-overriding-map): Adjust.
12029 (do-auto-fill): Use fill-forward-paragraph.
12030 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12031
fd6fa53f
SM
12032 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12033 (minibuffer-inactive-mode): New major mode.
12034 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12035 the *Messages* buffer" hack.
12036 (mouse-popup-menubar): Don't burp if the event is a normal key.
12037
2462470b
SM
12038 Miscellaneous tweaks.
12039 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12040 lexical scoping as in subr.el's dolist and dotimes.
12041 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12042 Silence compiler warning.
12043 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12044 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12045 * international/ccl.el (ccl-compile): Trivial simplification.
12046 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12047 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12048 `printflag' argument.
12049 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12050 Purecopy the whole obsolescence data.
12051
108bf785
LL
120522011-06-01 Leo Liu <sdl.web@gmail.com>
12053
12054 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12055 improve doc-string as suggested by Marco Pessotto
12056 <melmothx@gmail.com>.
12057 (rcirc-print): Fix last change.
12058
30a23501
SM
120592011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * minibuffer.el (complete-with-action): Return nil for the metadata and
12062 boundaries of non-functional tables.
12063 (completion-table-dynamic): Return nil for the metadata.
12064 (completion-table-with-terminator): Add default case, using
12065 complete-with-action.
12066 (completion--metadata): New function.
12067 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12068 to try and avoid pathological performance problems.
12069 (completion--embedded-envvar-table): Return `category' metadata.
12070
bcd54f83
LMI
120712011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12072
12073 * subr.el (process-alive-p): New tiny convenience function.
12074
e227544d
SM
120752011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12076
12077 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12078 content but also its previous major mode.
12079
e8296fdc
HE
120802011-05-31 Helmut Eller <eller.helmut@gmail.com>
12081
4d61f28d 12082 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12083 *Backtrace* buffer when we exit with C-M-c.
12084
620c53a6
SM
120852011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12086
12087 * minibuffer.el: Add metadata method to completion tables.
12088 (completion-category-overrides): New defcustom.
12089 (completion-metadata, completion--field-metadata)
12090 (completion-metadata-get, completion--styles)
12091 (completion--cycle-threshold): New functions.
12092 (completion-try-completion, completion-all-completions):
12093 Add `metadata' argument to choose completion-styles.
12094 (completion--do-completion): Use metadata to choose cycling.
12095 (completion-all-sorted-completions): Use metadata for sorting.
12096 Remove :completion-cycle-penalty which is not needed any more.
12097 (completion--try-word-completion): Add `metadata' argument.
12098 (minibuffer-completion-help): Check metadata for annotation function
12099 and sorting.
12100 (completion-file-name-table): Return `category' metadata.
12101 (minibuffer-completing-file-name): Make obsolete.
12102 * simple.el (minibuffer-completing-symbol): Make obsolete.
12103 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12104 completion-try-completion.
12105
1257e755
SM
121062011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12107
12108 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12109
3767e706
LL
121102011-05-30 Leo Liu <sdl.web@gmail.com>
12111
12112 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12113 (rcirc-print): Decode all incoming messages (bug#8744).
12114 (rcirc-decode-coding-system): Allow value nil for automatic coding
12115 system detection.
3767e706 12116
d1a5d56a
GM
121172011-06-01 Glenn Morris <rgm@gnu.org>
12118
12119 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12120
e8cbec34
CY
121212011-05-29 Chong Yidong <cyd@stupidchicken.com>
12122
12123 * image.el (image-animate-max-time): Allow nil and t values.
12124 Default to nil.
12125 (create-animated-image): Doc fix.
12126 (image-animate-start): Remove second arg; just use
12127 image-animate-max-time.
12128 (image-animate-timeout): Doc fix. Args changed.
12129
12130 * image-mode.el (image-toggle-display-image): Ensure that the
12131 image spec passed to the animate timer is the same object as in
58179cce 12132 the buffer's display property (Bug#6981).
e8cbec34
CY
12133 (image-transform-properties): Doc fix.
12134
12135 * image.el (image-animate-max-time): Default to nil.
12136
159daf87
MR
121372011-05-29 Martin Rudalics <rudalics@gmx.at>
12138
12139 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12140 entire buffer list (Bug#8184).
12141
d66c4c7c
CY
121422011-05-29 Chong Yidong <cyd@stupidchicken.com>
12143
12144 * image.el (imagemagick-types-inhibit)
12145 (imagemagick-register-types): Doc fix.
12146
80aec780
DD
121472011-05-29 Deniz Dogan <deniz@dogan.se>
12148
12149 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12150 default.
12151
1dd3c2d9
CY
121522011-05-29 Chong Yidong <cyd@stupidchicken.com>
12153
12154 * select.el: Don't perform clipboard-manager saving in hooks;
12155 leave the hooks empty.
12156
60e56523
LL
121572011-05-28 Leo Liu <sdl.web@gmail.com>
12158
12159 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12160 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12161 (occur-edit-mode): New major mode (Bug#8463).
12162 (occur-after-change-function): New function.
12163 (occur-engine): Give Occur tags a read-only property.
12164
2b1e1a22
KR
121652011-05-28 Kevin Ryde <user42@zip.com.au>
12166
12167 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12168
5d344e88
CY
121692011-05-28 Chong Yidong <cyd@stupidchicken.com>
12170
8e6ca83d
CY
12171 * bindings.el (help-echo): Make the initial non-indicator dash
12172 empty on graphical terminals (Bug#7295).
12173
5d344e88
CY
12174 * files.el (auto-mode-alist): Move config rule after the
12175 in-stripping one (Bug#8547).
12176
bfbbace7
CY
12177 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12178
fbeba6e2
CY
12179 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12180 setting (Bug#8740).
12181
60ed8c72
AA
121822011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12183
4ac619f0
AA
12184 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12185 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12186 (Bug#8539).
60ed8c72 12187
23db196e
CY
121882011-05-28 Chong Yidong <cyd@stupidchicken.com>
12189
12190 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12191
5012f24c
DK
121922011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12193
12194 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12195 (hs-hide-block-at-point, hs-find-block-beginning)
12196 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12197 (Bug#8279).
12198
6a639b16
GM
121992011-05-28 Glenn Morris <rgm@gnu.org>
12200
12201 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12202
d43eaf2c
CY
122032011-05-28 Chong Yidong <cyd@stupidchicken.com>
12204
5199bde1
CY
12205 * help-fns.el (describe-function-1): If the function is a derived
12206 major mode, print the parent mode.
12207
d43eaf2c
CY
12208 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12209 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12210
423428a8
SM
122112011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12212
0ff8e1ba 12213 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12214 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12215 * progmodes/etags.el (tags-completion-at-point-function):
12216 * info-look.el (info-lookup-completions-at-point): Mark as
12217 non-exclusive.
12218 (info-complete): Adjust accordingly.
12219
423428a8
SM
12220 * info-look.el: Convert to lexical-binding and completion-at-point.
12221 (info-lookup-completions-at-point): New function.
12222 (info-complete): Use it and completion-in-region.
12223
b74aa22b
DA
122242011-05-28 Drew Adams <drew.adams@oracle.com>
12225
12226 * isearch.el: Let M-e start with point at the first mismatched char.
12227 (isearch-fail-pos): New function.
12228 (isearch-edit-string): Use it.
12229
66e2e71d
DK
122302011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12231
12232 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12233
b1890b0f 122342011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12235
12236 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12237 traversal functions for avl-trees.
12238 (avl-tree--stack): New struct.
12239 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12240 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12241 (avl-tree--do-enter): Add optional `updatefun' arg.
12242 Change return value.
eb95d01d 12243 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12244 (avl-tree--do-delete): Add `test' and `nilflag' args.
12245 Change return value.
eb95d01d
TC
12246 (avl-tree-member): Add optional `nilflag'
12247 (avl-tree-member-p): New function.
12248 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12249 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12250 (avl-tree-stack-empty-p): New functions.
12251
3769ddcf
TC
12252 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12253 avl-tree--del-balance1 and make it work both ways.
12254 (avl-tree--del-balance2): Remove.
12255 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12256 make it work both ways.
12257 (avl-tree--enter-balance2): Remove.
12258 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12259 New macros.
12260 (avl-tree--mapc, avl-tree-map): Add direction argument.
12261
eb95d01d 122622011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12263
12264 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12265
a9f737ee
CY
122662011-05-27 Chong Yidong <cyd@stupidchicken.com>
12267
12268 * select.el: Support clipboard managers with built-in function
12269 x-clipboard-manager-save, via delete-frame-functions and
12270 kill-emacs-hook.
12271 (xselect-convert-to-targets): Add MULTIPLE target to list.
12272 (xselect-convert-to-save-targets): New function.
12273
c92a1e54
KH
122742011-05-27 Kenichi Handa <handa@m17n.org>
12275
12276 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12277 let-binding rfc2047-encode-encoded-words to nil.
12278
e145f188
GM
122792011-05-27 Glenn Morris <rgm@gnu.org>
12280
5ec8a862
GM
12281 * mail/emacsbug.el: Don't require url-util.
12282
4b29d9fb
GM
12283 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12284
e145f188
GM
12285 * files.el (set-auto-mode):
12286 Also respect mode: entries at the end of the file. (Bug#8586)
12287
7d15102b
GM
122882011-05-26 Glenn Morris <rgm@gnu.org>
12289
98f593b8
GM
12290 * files.el (hack-local-variables-prop-line, hack-local-variables):
12291 Downcase mode names, as seems to be traditional.
27b48e63 12292 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12293
7d15102b
GM
12294 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12295 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12296
51d5b4ec
JD
122972011-05-25 Julien Danjou <julien@danjou.info>
12298
12299 * textmodes/rst.el (rst-define-level-faces): Do not define face
12300 symbol if it is already defined.
12301
91513f63
VB
123022011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12303
12304 * play/5x5.el (5x5-new-game, 5x5-randomize):
12305 Reset 5x5-solver-output to nil when a new grid is cast.
12306 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12307 these debugging traces, as defmacro breaks the compiled code.
12308
4d90d6d0
DK
123092011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12310
12311 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12312
e1b90ef6
LL
123132011-05-24 Leo Liu <sdl.web@gmail.com>
12314
12315 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12316 (vc-bzr-sha1): Adapt.
12317
d8e4b68b 12318 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12319
12320 * bindings.el: Provide sha1 feature.
12321
db0406bb 123222011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12323
12324 * mail/sendmail.el: Require `rfc2047'.
12325 (mail-insert-from-field): Do not perform RFC2047 encoding.
12326 (mail-encode-header): New function.
12327 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12328 buffer to the return value of select-message-coding-system.
12329 Call mail-encode-header.
b8d747b9
KH
12330
12331 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12332
db0406bb 123332011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12334
4d90d6d0
DK
12335 * mail/supercite.el (sc-default-cite-frame):
12336 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12337
eb8a5e9b
GM
123382011-05-24 Glenn Morris <rgm@gnu.org>
12339
f8630703
GM
12340 * progmodes/python.el (brm-menu): Declare.
12341
8831bbed
GM
12342 * emulation/viper.el (viper-set-hooks): Declare.
12343
eb8a5e9b
GM
12344 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12345 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12346 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12347 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12348 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12349 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12350
a2a25d24
SM
123512011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12352
12353 Add an :exit-function for completion-at-point.
12354
12355 * minibuffer.el (completion--done): New fun.
12356 (completion--do-completion): Use it. New arg `expect-exact'.
12357 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12358 since completion--do-completion does it for us now.
12359 (minibuffer-force-complete): Use completion--done and
12360 completion--replace. Handle sole-completion case with more care.
12361 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12362 (completion-extra-properties): New var.
12363 (completion-annotate-function): Make obsolete.
12364 (minibuffer-completion-help): Adjust accordingly.
12365 Use completion-list-insert-choice-function.
12366 (completion-at-point, completion-help-at-point):
12367 Bind completion-extra-properties.
12368 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12369 * simple.el (completion-list-insert-choice-function): New var.
12370 (completion-setup-function): Preserve it.
12371 (choose-completion): Pay attention to it, shuffle the code a bit.
12372 (choose-completion-string): New arg `insert-function'.
12373
12374 * textmodes/bibtex.el: Convert to lexical binding.
12375 (bibtex-mode-map): Use completion-at-point.
12376 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12377 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12378 (bibtex-complete): Define as obsolete alias.
12379 (bibtex-complete-internal): Remove.
12380 (bibtex-format-entry): Remove unused sub-group in regexp.
12381 * shell.el (shell--command-completion-data)
12382 (shell-environment-variable-completion):
12383 * pcomplete.el (pcomplete-completions-at-point):
12384 * comint.el (comint--complete-file-name-data): Use :exit-function
12385 instead of completion-table-with-terminator so it also works for
12386 choose-completion.
12387
e44e373d
SM
123882011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12389
4f91a816
SM
12390 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12391
782fc819
SM
12392 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12393 (bug#8710).
12394
e44e373d
SM
12395 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12396
381987c3
KM
123972011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12398
12399 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12400 customization variable and implement: If non-nil, auto-fill will
12401 be inhibited while on topic's header line.
12402
b776bc70
VB
124032011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12404
12405 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12406 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12407 always have a solution in grid size = 5 cases.
12408 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12409 (5x5-solver-output, 5x5-log-buffer): New vars.
12410 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12411 Make these variables buffer local to achieve 5x5 multi-session-ness.
12412 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12413 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12414 (5x5-solve-suggest): New funs.
12415 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12416 randomize a grid so that we ensure that there is always a solution.
12417 (5x5-make-random-grid): Allow other movement than flipping.
12418
7de88b6e
KR
124192011-05-23 Kevin Ryde <user42@zip.com.au>
12420
12421 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12422 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12423 advice and passes PREDICATE.
12424
b1ef1257
SM
124252011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12426
bbca48fe
SM
12427 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12428 byte-compile-lambda if it's actually a lambda.
12429
b1ef1257
SM
12430 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12431 Fix function quoting. Use backquote better.
12432
92a9cc65
YS
124332011-05-22 Yuanle Song <sylecn@gmail.com>
12434
12435 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12436 matching (Bug#8516).
12437
f0fb8059
JA
124382011-01-22 Jari Aalto <jari.aalto@cante.net>
12439
12440 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12441 different face (Bug#8178).
12442
d5b44c93
CY
124432011-05-22 Chong Yidong <cyd@stupidchicken.com>
12444
12445 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12446 defface (Bug#8144).
12447
79106a44
SM
124482011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12449
9c848d8a
SM
12450 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12451 funcall as well (bug#8712). Warn when performing those conversions.
12452 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12453
79106a44
SM
12454 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12455
88dfa756
GM
124562011-05-22 Glenn Morris <rgm@gnu.org>
12457
12458 * files.el (hack-local-variables-prop-line): Small simplifications.
12459 (hack-local-variables, hack-local-variables-prop-line):
12460 If MODE-ONLY, return the mode, rather than just `t'.
12461
b7cf2c79
SM
124622011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12463
12464 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12465
3f1a8558
GM
124662011-05-21 Glenn Morris <rgm@gnu.org>
12467
7e4ccca3
GM
12468 * files.el (hack-local-variables-prop-line, hack-local-variables):
12469 If only interested in the mode, don't bother doing the other stuff.
12470
637d46ca
GM
12471 * image-mode.el (image-after-revert-hook):
12472 Redraw all frames on which the image is visible. (Bug#8567)
12473
973d955b
GM
12474 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12475
3f1a8558
GM
12476 * wid-edit.el (widget-checklist-match-inline):
12477 Fix 2011-04-19 change. (Bug#8649)
12478
96479927
SM
124792011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12480
1dcf791f
SM
12481 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12482 Also allow singlespace after single-letter capitals followed by a dot.
12483
96479927
SM
12484 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12485 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12486
35fd0881
N
124872011-05-20 Nix <nix@esperi.org.uk>
12488
12489 * files.el (basic-save-buffer-2):
12490 Fix handling of break-hardlink-on-save with non-existent files.
12491
82745640
DD
124922011-05-19 Deniz Dogan <deniz@dogan.se>
12493
12494 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12495 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12496
4a720484
GM
124972011-05-19 Glenn Morris <rgm@gnu.org>
12498
d1f21341
GM
12499 * progmodes/f90.el (f90-type-def-re):
12500 Handle "type, bind(c)". (Bug#8691)
12501
4a720484
GM
12502 * emacs-lisp/autoload.el (batch-update-autoloads):
12503 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12504
2fb0a219
MA
125052011-05-18 Michael Albinus <michael.albinus@gmx.de>
12506
12507 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12508 property for the correct connection in case of multihops.
12509
e565dd37
GM
125102011-05-18 Glenn Morris <rgm@gnu.org>
12511
c2571358 12512 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12513 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12514
e565dd37
GM
12515 Rationalize calendar handling of day and month abbrev-arrays.
12516 * calendar/calendar.el (calendar-customized-p): New function.
12517 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12518 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12519 Add :set function.
12520 (calendar-abbrev-length, calendar-day-abbrev-array)
12521 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12522 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12523 Elements may no longer be nil.
12524 (calendar-day-name, calendar-month-name):
12525 Update for changed nature of abbrev arrays.
12526 * calendar/diary-lib.el (diary-name-pattern):
12527 Update for changed nature of abbrev arrays.
12528 (diary-mark-entries-1): Update calendar-make-alist calls.
12529 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12530 * calendar/cal-html.el (cal-html-day-abbrev-array):
12531 Simply inherit from calendar-day-abbrev-array.
12532
1d99a745
SM
125332011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12534
12535 * progmodes/grep.el (grep-mode): Disable default
12536 compilation-directory-matcher setting (bug#8684).
12537
7c1d9aa0
MA
125382011-05-17 Michael Albinus <michael.albinus@gmx.de>
12539
12540 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12541 instead of "head" and "tail". There were problems with SunOS 5.9,
12542 and it performs better.
12543
3952e9d8
GM
125442011-05-17 Glenn Morris <rgm@gnu.org>
12545
2dd12e7f
GM
12546 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12547
e4157b9c
GM
12548 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12549 Replace obsolete function.
12550
8e249bbd
GM
12551 * shell.el (pcomplete-parse-arguments-function): Declare.
12552
3952e9d8
GM
12553 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12554 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12555 (appt-check): Doc fixes.
12556 (appt-disp-window-function, appt-delete-window-function):
12557 Remove needless special case in custom :type.
12558 (appt-display-count): Default to 0, not nil.
12559 (appt-check): Reset appt-display-count to 0, not nil.
12560
c71a0d48 125612011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12562
c71a0d48
GM
12563 * progmodes/python.el (python-font-lock-keywords):
12564 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12565
31d55be9
SM
125662011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12567
12568 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12569
3bfacb2f
KR
125702011-05-16 Kevin Ryde <user42@zip.com.au>
12571
12572 * info-look.el (makefile-automake-mode): New setups, looking in
12573 automake manual, then makefile-mode.
12574 (makefile-mode): Remove automake manual, have it just in
12575 makefile-automake-mode since there's various things different or
12576 not relevant to plain make.
12577 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12578 believe a hypothetical automake-mode would go to makefile-mode,
12579 not the other way around.
12580
c8e83751
CY
125812011-05-15 Chong Yidong <cyd@stupidchicken.com>
12582
5e9e35cd
CY
12583 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12584 hunk-end tags (Bug#8672).
12585
c8e83751
CY
12586 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12587 vc-annotate-show-diff-revision-at-line (Bug#8671).
12588
50b23e5a
GM
125892011-05-14 Glenn Morris <rgm@gnu.org>
12590
7210a739
GM
12591 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12592 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12593 (change-log-font-lock-keywords): Also handle multiple author lines
12594 with leading tabs. (Bug#8644)
7210a739 12595
4691905a
GM
12596 * calendar/appt.el (appt-check): Rename some local variables.
12597 Some simplification/reordering.
12598
50b23e5a
GM
12599 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12600 (feedmail-sendmail-f-doesnt-sell-me-out)
12601 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12602 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12603 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12604 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12605 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12606 (feedmail-binmail-gnulinuxish-template):
12607 Rename from feedmail-binmail-linuxish-template.
12608 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12609 Use insert-buffer-substring.
12610
215cda7c
BC
126112011-05-14 Bill Carpenter <bill@carpenter.org>
12612
12613 * mail/feedmail.el (feedmail-patch-level): Increase.
12614 (feedmail-debug): New custom group.
12615 (feedmail-confirm-outgoing-timeout)
12616 (feedmail-sendmail-f-doesnt-sell-me-out)
12617 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12618 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12619 (feedmail-sender-line, feedmail-from-line)
12620 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12621 (feedmail-spray-this-address)
215cda7c
BC
12622 (feedmail-spray-address-fiddle-plex-list)
12623 (feedmail-queue-use-send-time-for-date)
12624 (feedmail-queue-use-send-time-for-message-id)
12625 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12626 (feedmail-buffer-eating-function):
12627 Doc fixes.
12628 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12629 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12630 (feedmail-message-action-scroll-down): New functions.
12631 (feedmail-queue-directory, feedmail-queue-draft-directory):
12632 Use expand-file-name.
12633 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12634 Remove C-v help entry.
12635 (feedmail-queue-buffer-file-name): New variable.
12636 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12637 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12638 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12639 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12640 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12641 (feedmail-message-action-toggle-spray)
12642 (feedmail-run-the-queue-no-prompts)
12643 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12644 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12645 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12646 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12647 (feedmail-envelope-deducer, feedmail-fiddle-from)
12648 (feedmail-fiddle-sender, feedmail-default-date-generator)
12649 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12650 (feedmail-fiddle-spray-address)
12651 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12652 (feedmail-fiddle-list-of-fiddle-plexes)
12653 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12654 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12655 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12656 Change default. Doc fix.
12657 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12658 (feedmail-binmail-linuxish-template): New constant.
12659 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12660 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12661 (feedmail-send-it): Add debug call.
12662 Use feedmail-queue-buffer-file-name, and
12663 feedmail-send-it-immediately-wrapper.
12664 (feedmail-message-action-send): Add debug call.
12665 Use feedmail-send-it-immediately-wrapper.
12666 (feedmail-queue-express-to-queue): Add debug call.
12667 Run feedmail-queue-express-hook.
12668 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12669 (feedmail-message-action-help-blat):
12670 Rename from feedmail-queue-send-edit-prompt-help-first.
12671 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12672 Check line-endings. Handle errors better.
12673 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12674 Doc fix. Add debug call.
12675 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12676 Use feedmail-queue-send-edit-prompt-inner.
12677 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12678 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12679 from feedmail-queue-send-edit-prompt.
12680 (feedmail-queue-send-edit-prompt-help)
12681 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12682 (feedmail-tidy-up-slug): Add debug call.
12683 Respect feedmail-queue-slug-suspect-regexp.
12684 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12685 (feedmail-dump-message-to-queue): Add debug call.
12686 Expand queue-directory.
12687 (feedmail-dump-message-to-queue): Change message slightly.
12688 Use feedmail-say-chatter.
12689 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12690 (feedmail-send-it-immediately-wrapper): New function.
12691 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12692 Insert empty string rather than newline. Handle full-frame case.
12693 Use catch/throw. Use feedmail-say-chatter.
12694 (feedmail-fiddle-from): Try mail-host-address.
12695 (feedmail-default-message-id-generator): Doc fix.
12696 Bind system-time-locale. Handle missing end.
12697 (feedmail-fiddle-x-mailer): Add debug call.
12698 Handle feedmail-x-mailer-line being nil.
12699 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12700 Add debug call. Use buffer-substring-no-properties.
12701 (feedmail-say-debug, feedmail-say-chatter): New functions.
12702 (feedmail-find-eoh): Give an explicit error.
12703
42c7e61e
UJ
127042011-05-13 Ulf Jasper <ulf.jasper@web.de>
12705
c2571358 12706 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12707 family from helvetica to sans.
c2571358 12708 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12709 etc/images/newsticker.
12710
c2571358 12711 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12712 family from helvetica to sans.
12713
12714 * net/newst-plainview.el (newsticker-new-item-face)
12715 (newsticker-old-item-face, newsticker-immortal-item-face)
12716 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12717 (newsticker-statistics-face): Change default family from
42c7e61e 12718 helvetica to sans.
c2571358 12719 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12720 etc/images/newsticker.
12721
5d3385a0
JB
12722 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12723 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12724 auto-marking.
12725
8497a297
DV
127262011-05-13 Didier Verna <didier@xemacs.org>
12727
12728 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12729 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12730 TODO entries.
8497a297
DV
12731 (lisp-lambda-list-keyword-parameter-indentation)
12732 (lisp-lambda-list-keyword-parameter-alignment)
12733 (lisp-lambda-list-keyword-alignment): New customizable user options.
12734 (lisp-indent-defun-method): Improve docstring.
12735 (extended-loop-p): Fix comment.
12736 (lisp-indent-lambda-list-keywords-regexp): New variable.
12737 (lisp-indent-lambda-list): New function.
12738 (lisp-indent-259): Use it.
12739 (lisp-indent-defmethod): Support for more than one
12740 method qualifier and properly indent methods lambda-lists.
12741 (defgeneric): Provide a missing common-lisp-indent-function property.
12742
f278f87f
SM
127432011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12746 bounds for the empty string (bug#8667).
12747
5233edd7
GM
127482011-05-13 Glenn Morris <rgm@gnu.org>
12749
5237a44f
GM
12750 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12751
8340026c 12752 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12753 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12754
5233edd7 12755 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12756 (appt-time-msg-list): Doc fix.
a5464014 12757 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12758
92d10796
AS
127592011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12760
12761 * progmodes/ld-script.el (ld-script-keywords)
12762 (ld-script-builtins): Update keywords list.
12763
914a0ae1
SM
127642011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12765
c89be45f
SM
12766 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12767
914a0ae1
SM
12768 * shell.el (shell-completion-vars): New function.
12769 (shell-mode):
12770 * simple.el (read-shell-command): Use it.
12771 (blink-matching-open): No need for " [...]" in minibuffer-message.
12772
98dc3df3
GM
127732011-05-12 Glenn Morris <rgm@gnu.org>
12774
12775 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12776 (appt-check): Simplify.
12777
d2fc7e3d 127782011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12779
4d61f28d 12780 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12781 literal "/dev/null".
12782
d2fc7e3d 127832011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12784
12785 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12786 Fix typo.
12787
d2fc7e3d 127882011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12789
3f254caa
SM
12790 * progmodes/which-func.el (which-function):
12791 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12792 which might not be defined (Bug#8260).
12793
d45885f7
GM
127942011-05-12 Glenn Morris <rgm@gnu.org>
12795
12796 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12797 Let byte-compile-initial-macro-environment always take precedence.
12798
488086f4
SM
127992011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12800
12801 * net/rcirc.el: Add support for SSL/TLS connections.
12802 (rcirc-server-alist): New field `encryption'.
12803 (rcirc): Check `encryption' settings.
12804 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12805 Merge make-local-variable into `set'.
12806 (rcirc--connection-open-p): New function.
12807 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12808 the process is not a network process (e.g. running gnutls-cli).
12809 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12810 Make rcirc-(en|de)code-coding-system local here.
12811 (rcirc-mode): Merge make-local-variable into `set'.
12812 (rcirc-parent-buffer): Make permanent buffer-local.
12813 (rcirc-multiline-minor-mode): Don't do it here.
12814 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12815 there's no server buffer.
12816
7d3b9d44
GM
128172011-05-11 Glenn Morris <rgm@gnu.org>
12818
f64049c6
GM
12819 * newcomment.el (comment-kill): Prefix "unused" local.
12820
93c9df73
GM
12821 * term/w32console.el (get-screen-color): Declare.
12822
7d3b9d44
GM
12823 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12824 Handle symbol elements of byte-compile-initial-macro-environment.
12825
9e2dd53f
LL
128262011-05-10 Leo Liu <sdl.web@gmail.com>
12827
488086f4
SM
12828 * bookmark.el (bookmark-bmenu-mode-map):
12829 Bind bookmark-bmenu-search to `/'.
8b340240 12830
9e2dd53f 12831 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12832 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12833 (Footnote-unicode): New function.
12834 (footnote-style-alist): Add unicode style to the list.
12835 (footnote-style): Doc fix.
9e2dd53f 12836
79b70037
GM
128372011-05-10 Jim Meyering <meyering@redhat.com>
12838
12839 Fix doubled-word typos.
12840 * international/quail.el (quail-insert-kbd-layout): and and -> and
12841 * kermit.el: and and -> and
12842 * net/ldap.el (ldap-search-internal): to to -> to
12843 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12844 * progmodes/js.el (js-mode): and and -> and
12845 * textmodes/artist.el (artist-move-to-xy): at at -> at
12846 (artist-draw-region-trim-line-endings): if if -> if
12847 And Safetyc -> Safety.
12848 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12849
b8f82dc1 128502011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12851 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12852
12853 * files.el (hack-one-local-variable-eval-safep):
12854 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12855
4f99f44b
GM
128562011-05-10 Glenn Morris <rgm@gnu.org>
12857
12858 * calendar/diary-lib.el (diary-list-entries-hook)
12859 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12860 (diary-nongregorian-marking-hook, diary-list-entries)
12861 (diary-include-other-diary-files, diary-mark-entries)
12862 (diary-mark-included-diary-files): Doc fixes.
12863
84f29e6b
JB
128642011-05-09 Juanma Barranquero <lekktu@gmail.com>
12865
12866 * misc.el: Require tabulated-list.el during compilation.
12867
9bedd73a
CY
128682011-05-09 Chong Yidong <cyd@stupidchicken.com>
12869
488086f4
SM
12870 * progmodes/compile.el (compilation-start):
12871 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12872 (compilation-filter-hook): Doc fix.
12873
797c735c
DD
128742011-05-09 Deniz Dogan <deniz@dogan.se>
12875
12876 * wdired.el: Remove outdated installation comment. Fix usage
12877 comment.
12878
5f4b1dfe
JB
128792011-05-09 Juanma Barranquero <lekktu@gmail.com>
12880
12881 * misc.el: Implement new command `list-dynamic-libraries'.
12882 (list-dynamic-libraries--loaded-only-p): New variable.
12883 (list-dynamic-libraries--refresh): New function.
12884 (list-dynamic-libraries): New command.
12885
4c44026c
CY
128862011-05-09 Chong Yidong <cyd@stupidchicken.com>
12887
488086f4
SM
12888 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12889 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12890 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12891 higher priority to avoid clobbering by gnu.
12892
027f966d
CY
128932011-05-08 Chong Yidong <cyd@stupidchicken.com>
12894
12895 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12896 if the face has existing theme settings (Bug#8454).
12897
085f5d7d
CY
128982011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12899
488086f4
SM
12900 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12901 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12902
2a86a00c
RS
12903 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12904 special file names `.' and `..' (Bug#8259).
12905
d9c54a06
CY
129062011-05-08 Chong Yidong <cyd@stupidchicken.com>
12907
488086f4
SM
12908 * progmodes/grep.el (grep-mode-font-lock-keywords):
12909 Remove buffer-changing entries.
d9c54a06
CY
12910 (grep-filter): New function.
12911 (grep-mode): Add it to compilation-filter-hook.
12912
12913 * progmodes/compile.el (compilation-filter-hook)
12914 (compilation-filter-start): New defvars.
12915 (compilation-filter): Call compilation-filter-hook prior to
12916 updating the process mark.
12917
c4662635
SM
129182011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12919
12920 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12921
b0512a1d
EZ
129222011-05-07 Eli Zaretskii <eliz@gnu.org>
12923
605c9376
EZ
12924 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12925 mailclient-send-it even if window-system is nil. (Bug#8595)
12926
c4662635
SM
12927 * term/w32console.el (terminal-init-w32console):
12928 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12929 background-mode. (Bug#8597)
12930
d1dc2cc2
SM
129312011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12932
12933 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12934 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12935 New functions.
12936 (defgeneric, eieio--defmethod): Use them.
12937 (eieio-defgeneric): Remove.
12938 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12939
915d1300
GM
129402011-05-07 Glenn Morris <rgm@gnu.org>
12941
a3961c3e
GM
12942 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12943 Use let rather than let*.
12944 (timeclock-find-discrep): Remove unused local.
12945
314347b9
GM
12946 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12947
915d1300
GM
12948 * calendar/appt.el (appt-time-msg-list): Doc fix.
12949
275b59b0
NF
129502011-05-06 Noah Friedman <friedman@splode.com>
12951
12952 * apropos.el (apropos-print-doc): Only use
12953 emacs-lisp-docstring-fill-column when it is bound to an integer,
12954 per that variable's documentation.
12955
6c19f744
SM
129562011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12957
12958 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12959 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12960
60f884b2
GM
129612011-05-06 Glenn Morris <rgm@gnu.org>
12962
5006e634
GM
12963 * calendar/appt.el (appt-message-warning-time): Doc fix.
12964 (appt-warning-time-regexp): New option.
12965 (appt-make-list): Respect appt-message-warning-time.
12966
548d0a63
GM
12967 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12968 New options.
12969 (diary-add-to-list): Strip comments from the displayed string.
12970 (diary-mode): Set comment-start and comment-end.
12971
60f884b2
GM
12972 * vc/diff-mode.el (smerge-refine-subst): Declare.
12973 (diff-refine-hunk): Don't require smerge-mode when compiling.
12974
989681bb
JB
129752011-05-06 Juanma Barranquero <lekktu@gmail.com>
12976
12977 * simple.el (list-processes): Return nil as the docstring says.
12978
a6bc05e1
MA
129792011-05-05 Michael Albinus <michael.albinus@gmx.de>
12980
12981 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12982 to "".
12983 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12984 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12985 determining of binary transfer. (Bug#7383)
12986
23c22e9a
MA
129872011-05-05 Michael Albinus <michael.albinus@gmx.de>
12988
c4662635
SM
12989 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12990 Fix port computation bug. (Bug#8618)
23c22e9a 12991
0bff894f
GM
129922011-05-05 Glenn Morris <rgm@gnu.org>
12993
b8296902
GM
12994 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12995
1f522ce8
GM
12996 * simple.el (shell-dynamic-complete-functions)
12997 (comint-dynamic-complete-functions): Declare.
12998
cf5bee67
GM
12999 * net/network-stream.el (gnutls-negotiate):
13000 * simple.el (tabulated-list-print): Fix declarations.
13001
13002 * progmodes/gud.el (syntax-symbol, syntax-point):
13003 Remove unnecessary and incorrect declarations.
13004
0bff894f
GM
13005 * emacs-lisp/check-declare.el (check-declare-scan):
13006 Handle byte-compile-initial-macro-environment in bytecomp.el
13007
9869b3ae
SM
130082011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13009
13010 Fix earlier half-done eieio-defmethod change (bug#8338).
13011 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13012 Streamline and change calling convention.
13013 (defmethod): Adjust accordingly and simplify.
13014 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13015 new eieio--defmethod.
13016 (slot-boundp): Minor CSE simplification.
13017
9c1d5ac5
MZ
130182011-05-05 Milan Zamazal <pdm@zamazal.org>
13019
13020 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13021 (glasses-make-readable): Use glasses-separate-capital-groups.
13022
455c834e
JB
130232011-05-05 Juanma Barranquero <lekktu@gmail.com>
13024
13025 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13026 (warning-series): Doc fix.
13027 (display-warning): Don't try to create the buffer if we just found it.
13028
9ed7c8cb
CY
130292011-05-04 Chong Yidong <cyd@stupidchicken.com>
13030
13031 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13032 (autoload-find-generated-file): New function.
13033 (generate-file-autoloads): Bind generated-autoload-file to
13034 buffer-file-name.
9869b3ae
SM
13035 (update-file-autoloads, update-directory-autoloads):
13036 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13037 output file (Bug#7989).
13038 (batch-update-autoloads): Doc fix.
13039
0898ca10
JB
130402011-05-04 Juanma Barranquero <lekktu@gmail.com>
13041
13042 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13043
31dfb76c
GM
130442011-05-04 Glenn Morris <rgm@gnu.org>
13045
f330b642
GM
13046 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13047 function, so it follows changes in calendar-date-style.
13048 (diary-fancy-date-matcher): New function.
13049 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13050 (diary-fancy-font-lock-fontify-region-function):
13051 Use diary-fancy-date-pattern as a function.
13052
31dfb76c
GM
13053 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13054 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13055
48e79d6a
TZ
130562011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13057
13058 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13059 instead of positional arguments. Allow :keylist and :crlfiles
13060 arguments.
13061 (open-gnutls-stream): Call it.
13062
13063 * net/network-stream.el (network-stream-open-starttls): Adjust to
13064 call `gnutls-negotiate' with :process and :hostname arguments.
13065
dd5a5ee0
SM
130662011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13067
ef80fc09
SM
13068 * minibuffer.el (completion--message): New function.
13069 (completion--do-completion, minibuffer-complete)
13070 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13071 (completion--do-completion): Don't ignore completion-auto-help when in
13072 icomplete-mode.
13073
dd5a5ee0
SM
13074 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13075 internal encoding (e.g. tibetan zero is not whitespace).
13076 (global-whitespace-mode): Prefer save-current-buffer.
13077 (whitespace-trailing-regexp): Remove useless save-match-data.
13078 (whitespace-empty-at-bob-regexp): Minor simplification.
13079
b7d22a83
CY
130802011-05-03 Chong Yidong <cyd@stupidchicken.com>
13081
13082 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13083
5192af46
AM
130842011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13085
13086 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13087 Use `concat' to create string for insertion.
5192af46 13088
5767d190
SM
130892011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13090
13091 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13092 Avoid open-line which runs post-self-insert-hook.
13093 (bibtex-fill-entry): Remove unused `end' var.
13094
bf242939
AM
130952011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13096
5767d190
SM
13097 * textmodes/ispell.el (ispell-add-per-file-word-list):
13098 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13099
25666126
LL
131002011-05-03 Leo Liu <sdl.web@gmail.com>
13101
13102 * isearch.el (isearch-yank-pop): New command.
5767d190 13103 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13104 (isearch-forward): Mention it.
13105
52d3c2d0
SM
131062011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13107
1bcace58
SM
13108 * simple.el (minibuffer-complete-shell-command): Remove.
13109 (minibuffer-local-shell-command-map): Use completion-at-point.
13110 (read-shell-command): Setup completion vars here instead.
13111 (read-expression-map): Bind TAB to symbol completion.
13112
52d3c2d0
SM
13113 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13114 error directly rather via storing it into `results'.
13115
35813471
LL
131162011-05-02 Leo Liu <sdl.web@gmail.com>
13117
13118 * vc/diff.el: Fix description.
13119
e793a940
LMI
131202011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13121
13122 * server.el (server-eval-at): New function.
13123
8de66e05
LMI
131242011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13125
13126 * net/network-stream.el (open-network-stream): Take a :nowait
13127 parameter and pass it on to `make-network-process'.
13128 (network-stream-open-plain): Ditto.
13129
dcb79f20
AS
131302011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13131
13132 * faces.el (face-spec-set-match-display): Don't match toolkit
13133 options on terminal frames.
13134
14a7fbd8
SM
131352011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13136
7eabc1be
SM
13137 * progmodes/pascal.el: Use lexical binding.
13138 (pascal-mode-map): Remove author preferences.
13139
14a7fbd8
SM
13140 * pcomplete.el (pcomplete-std-complete): Don't abuse
13141 completion-at-point.
13142
50f84510
JB
131432011-04-28 Juanma Barranquero <lekktu@gmail.com>
13144
6e087a44
JB
13145 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13146 removing code that has been dead since 1991 or so.
13147
50f84510
JB
13148 * startup.el (command-line): When warning about "_emacs", use a
13149 delayed warning to allow the user to filter it out.
13150
0ba690bd
DD
131512011-04-28 Deniz Dogan <deniz@dogan.se>
13152
13153 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13154 user has not joined.
13155
08abfaad
SM
131562011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13157
13158 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13159 aren't any completions at point.
13160
638f053a
JB
131612011-04-28 Juanma Barranquero <lekktu@gmail.com>
13162
13163 * subr.el (display-delayed-warnings): New function.
13164 (delayed-warnings-hook): New variable.
13165
8fff8daa
SM
131662011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13167
08abfaad
SM
13168 * minibuffer.el (completion-at-point, completion-help-at-point):
13169 Don't presume that a given completion-at-point-function will always
13170 use the same calling convention.
13171
8fff8daa
SM
13172 * pcomplete.el (pcomplete-completions-at-point):
13173 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13174 pcomplete-seen is non-nil.
13175 (pcomplete-comint-setup): Also recognize the new comint/shell
13176 completion functions.
13177 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13178 pcomplete-seen is non-nil.
13179
841a1577 131802011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13181
841a1577 13182 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13183 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13184 the first character in the entry. This allows for code to add its
211ec907
UJ
13185 own uid to the entry.
13186 (icalendar--convert-float-to-ical): Add export of
13187 `diary-float'-entries save for those with the optional DAY
13188 argument.
13189
2a782793
DC
131902011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13191
13192 * subr.el (shell-quote-argument): Use alternate escaping strategy
13193 when we spot a variable reference in a string.
13194
0438ce91
DC
131952011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13196
13197 * cus-start.el (all): Define customization for debug-on-event.
13198
841a1577 131992011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13200
13201 * subr.el (shell-quote-argument): Escape correctly under Windows.
13202
d090ed6c
SM
132032011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13204
13205 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13206
bfd31217
MA
132072011-04-25 Michael Albinus <michael.albinus@gmx.de>
13208
d090ed6c
SM
13209 * net/tramp.el (tramp-process-actions): Add POS argument.
13210 Delete region between POS and (pos).
bfd31217 13211
d090ed6c
SM
13212 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13213 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13214 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13215
13216 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13217 position in `tramp-process-actions' call.
13218
13219 * net/trampver.el: Update release number.
13220
e92f3bd3
SM
132212011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13222
850256b5
SM
13223 * custom.el (defcustom): Obey lexical-binding.
13224
e92f3bd3
SM
13225 Fix octave-inf completion problems reported by Alexander Klimov.
13226 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13227 Inherit from octave-mode-syntax-table.
13228 (inferior-octave-mode): Set info-lookup-mode.
13229 (inferior-octave-completion-at-point): New function.
13230 (inferior-octave-complete): Use it and completion-in-region.
13231 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13232 comint-filename-completion.
13233 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13234 symbol elements which shouldn't be word elements.
13235 (octave-font-lock-keywords, octave-beginning-of-defun)
13236 (octave-function-header-regexp): Adjust regexps accordingly.
13237 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13238
cd22b309
JB
132392011-04-25 Juanma Barranquero <lekktu@gmail.com>
13240
13241 * net/gnutls.el (gnutls-errorp): Declare before first use.
13242
8b492194
TZ
132432011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13244
13245 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13246 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13247 default trustfile exists before going to use it. Add missing
5a5fa834 13248 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13249 Reported by Claudio Bley <claudio.bley@gmail.com>.
13250 (open-gnutls-stream): Add usage example.
13251
13252 * net/network-stream.el (network-stream-open-starttls): Give host
13253 parameter to `gnutls-negotiate'.
13254 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13255 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13256
841a1577 132572011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13258
cd22b309
JB
13259 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13260 Use correct match group (bug#8438).
05842630 13261
3ba7869c
CY
132622011-04-24 Chong Yidong <cyd@stupidchicken.com>
13263
512e3ae1
CY
13264 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13265 (package-menu--generate): New arg specifying packages to show.
13266 (package-menu-refresh, package-menu-execute, list-packages):
13267 Callers changed.
13268 (package-show-package-list): New function, replacing deleted
13269 package--list-packages (renamed because it is non-internal).
13270
13271 * finder.el (finder-list-matches): Use package-show-package-list
13272 instead of deleted package--list-packages.
13273
e92f3bd3
SM
13274 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13275 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13276 (vc-annotate-mode-map): Bind it to RET.
13277
7031be6d
UR
132782011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13279
13280 * progmodes/etags.el (next-file): Don't use set-buffer to change
13281 buffers (Bug#8478).
13282
4ef177aa
CY
132832011-04-24 Chong Yidong <cyd@stupidchicken.com>
13284
c8d173eb
CY
13285 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13286
4ef177aa
CY
13287 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13288 (apropos-accumulator): Doc fix.
13289 (apropos-function, apropos-macro, apropos-command)
13290 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13291 (apropos-plist): Add face property.
13292 (apropos-symbols-internal): Fix indentation.
13293 (apropos-print): Simplify help, and recognize apropos-multi-type.
13294 (apropos-print-doc): Use button-type-get to extract the button's
13295 face property. Fill docstring (Bug#8352).
13296
4ffd0d6b 132972011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13298
13299 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13300
c6c32125 13301 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13302 (mpuz-mode-map): Use mapc.
c6c32125
JB
13303 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13304 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13305 Fix typos in docstrings.
13306
58d468b4
JB
13307 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13308 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13309
6470c3c6
JB
13310 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13311
4ffd0d6b 133122011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13313
13314 * minibuffer.el (completion--do-completion): Avoid the "Next char
13315 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13316
3ad8bad0
CY
13317 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13318 mouse-2 into unread-command-events, it is interpreted correctly.
13319
71d73c9c 13320 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13321 (image-toggle-display): Doc fix.
71d73c9c 13322
841a1577 133232011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13324
4ffd0d6b
GM
13325 * textmodes/page.el (what-page): Use line-number-at-pos to
13326 calculate line number (Bug#6825).
6e1dbaa9 13327
c2fb1b60
JB
133282011-04-22 Juanma Barranquero <lekktu@gmail.com>
13329
13330 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13331 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13332 Pass argument NO-DEFAULT to `find-tag-interactive'.
13333
e02f48d7
JB
133342011-04-22 Juanma Barranquero <lekktu@gmail.com>
13335
13336 Lexical-binding cleanup.
13337
13338 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13339 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13340 * progmodes/ada-prj.el (ada-prj-initialize-values)
13341 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13342 (ada-prj-show-value):
13343 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13344 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13345 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13346 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13347 * progmodes/bug-reference.el (bug-reference-push-button):
13348 * progmodes/fortran.el (fortran-line-length):
13349 * progmodes/glasses.el (glasses-change):
13350 * progmodes/octave-mod.el (octave-fill-paragraph):
13351 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13352 (python-pdbtrack-grub-for-buffer, python-sentinel):
13353 * progmodes/sql.el (sql-save-connection):
13354 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13355 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13356 Mark unused parameters.
13357
13358 * progmodes/compile.el (compilation--flush-directory-cache)
13359 (compilation--flush-parse, compile-internal): Mark unused parameters.
13360 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13361 (compilation-next-error-function): Remove unused variable `timestamp'.
13362
13363 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13364 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13365
13366 * progmodes/dcl-mode.el (dcl-end-of-command):
13367 Remove unused variable `start'.
13368 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13369 (dcl-option-value-basic, dcl-option-value-offset)
13370 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13371 Mark unused parameters.
13372 (dcl-save-local-variable): Remove unused variable `val'.
13373 (mode): Declare.
13374
13375 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13376 Mark unused parameters.
13377 (delphi-ignore-changes): Move before first use.
13378 (delphi-charset-token-at): Remove unused variable `start'.
13379 (delphi-else-start): Remove unused variable `if-count'.
13380 (delphi-comment-block-start, delphi-comment-block-end):
13381 Remove unused variable `kind'.
13382 (delphi-indent-line): Remove unused variable `new-point'.
13383
13384 * progmodes/ebrowse.el (ebrowse-files-list)
13385 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13386 Mark unused parameters. Don't quote `lambda'.
13387 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13388 Don't quote `lambda'.
13389 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13390 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13391 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13392 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13393 Use `ignore-errors'.
13394 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13395 (ebrowse-view/find-file-and-search-pattern)
13396 (ebrowse-view/find-member-declaration/definition):
13397 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13398 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13399 Rename parameter PREFIX-ARG to PREFIX.
13400 (ebrowse-tags-read-name): Remove unused variables `start' and
13401 `member-info'.
13402 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13403 to `tags-file'.
13404
13405 * progmodes/etags.el (local-find-tag-hook): Declare.
13406 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13407 Mark unused parameters.
13408
13409 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13410 (executable-interpret): Mark unused parameter.
13411
13412 * progmodes/flymake.el (flymake-process-sentinel)
13413 (flymake-after-change-function)
13414 (flymake-create-temp-with-folder-structure)
13415 (flymake-get-include-dirs-dot): Mark unused parameters.
13416 (flymake-safe-delete-directory): Remove unused variable `err'.
13417
13418 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13419 (speedbar-timer-fn, speedbar-line-text)
13420 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13421 (speedbar-center-buffer-smartly): Declare functions.
13422 (gdb-find-watch-expression): Remove unused variable `array'.
13423 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13424 (gdb-starting): Mark unused parameters.
13425 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13426 (gdb-table-string): Remove unused variable `res'.
13427 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13428 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13429 (gdb-display-buffer): Remove unused variable `cur-size'.
13430
13431 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13432 allow lexical-binding compilation.
13433 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13434 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13435 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13436 Mark unused parameters.
13437 (gud-gdb-marker-filter): Remove unused variable `match'.
13438 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13439 lambda expressions and funcall them, instead of using `fset'.
13440
13441 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13442 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13443
13444 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13445 variable `header-beg'; use `let'.
13446
13447 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13448 `restart', `last-sexp' and `at-do'.
13449
13450 * progmodes/js.el (js--debug): Mark unused parameter.
13451 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13452 (js--splice-into-items): Remove unused variable `item'.
13453 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13454
13455 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13456 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13457 (makefile-complete): Remove unused variable `try'.
13458 (makefile-fill-paragraph, makefile-match-function-end):
13459 Mark unused parameters.
13460
13461 * progmodes/octave-inf.el (inferior-octave-complete):
13462 Remove unused variable `proc'.
13463 (inferior-octave-output-digest): Mark unused parameter.
13464
13465 * progmodes/perl-mode.el (perl-calculate-indent):
13466 Remove unused variable `err'.
13467
13468 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13469 (prolog-indent-line): Mark unused parameters.
13470 (prolog-indent-line): Remove unused variable `beg'.
13471
13472 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13473 (reporter-dont-compact-list): Declare.
13474
13475 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13476 Remove unused variable `char'.
13477 (sh-debug): Mark unused parameter.
13478 (sh-get-indent-info): Remove unused variable `start'.
13479 (sh-calculate-indent): Remove unused variable `var'.
13480
13481 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13482 (simula-electric-keyword): Remove unused variable `null'.
13483 (simula-search-backward, simula-search-forward): Remove unused
13484 variables `begin' and `end'.
13485
13486 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13487 Remove unused variable `pos'.
13488 (vera-electric-tab, vera-comment-uncomment-region):
13489 Mark unused parameters.
13490 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13491
7ede3b65
CY
134922011-04-22 Chong Yidong <cyd@stupidchicken.com>
13493
13494 * emacs-lisp/package.el (package--builtins, package-alist)
13495 (package-load-descriptor, package-built-in-p, package-activate)
13496 (define-package, package-installed-p)
13497 (package-compute-transaction, package-buffer-info)
13498 (package--push): Doc fix. Distinguish more clearly between
13499 version strings and version lists.
13500
121656e9
JB
135012011-04-21 Juanma Barranquero <lekktu@gmail.com>
13502
13503 Lexical-binding cleanup.
13504
13505 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13506 (5x5-make-mutate-best):
13507 * play/fortune.el (fortune-in-buffer):
13508 * play/gomoku.el (gomoku-init-display):
13509 * play/solitaire.el (solitaire, solitaire-do-check):
13510 * play/tetris.el (tetris-default-update-speed-function):
13511 Mark unused parameters.
13512
13513 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13514 (bubbles--shift): Remove unused variable `char-org'.
13515 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13516 (bubbles--show-images): Remove unused variable `char'.
13517
13518 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13519 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13520 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13521 (decipher-analyze-buffer): Use ?\s.
13522 (decipher-make-checkpoint): Remove unused variable `mapping'.
13523
13524 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13525
13526 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13527 Remove unused variable `result'; use `let'.
13528
13529 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13530 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13531 (gametree-children-shown-p, gametree-compute-reduced-score):
13532 Use `ignore-errors'.
13533
13534 * play/handwrite.el (ps-lpr-switches): Declare.
13535 (handwrite): Remove unused variables `pmin' and `lastp'.
13536
13537 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13538
13539 * play/landmark.el (landmark-init-display)
13540 (landmark-update-naught-weights): Mark unused parameters.
13541 (landmark-y): Remove unused variable `noise'. Simplify.
13542 (landmark-human-plays): Remove unused variable `score'.
13543
13544 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13545 (mpuz-try-proposal): Remove unused variable `game'.
13546
13547 * play/zone.el (life-patterns): Declare.
13548
80f499c7
JB
135492011-04-20 Juanma Barranquero <lekktu@gmail.com>
13550
13551 * vc/vc.el (ediff-vc-internal): Declare function.
13552
024ff170
SM
135532011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13554
c0a193ea
SM
13555 * shell.el: Use lexical-binding and std completion UI.
13556 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13557 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13558 comint-preoutput-filter-functions rather than on
13559 comint-output-filter-functions.
13560 (shell-command-completion, shell--command-completion-data)
13561 (shell-filename-completion, shell-environment-variable-completion)
13562 (shell-c-a-p-replace-by-expanded-directory): New functions.
13563 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13564 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13565 (shell-dynamic-complete-environment-variable): Use them.
13566 (shell-dynamic-complete-as-environment-variable)
13567 (shell-dynamic-complete-as-command): Remove.
13568 (shell-match-partial-variable): Match past point.
13569 * comint.el: Clean up use of completion-at-point-functions.
13570 (comint-completion-at-point): New function.
13571 (comint-mode): Use it completion-at-point-functions.
13572 (comint-dynamic-complete): Make it obsolete.
13573 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13574 (comint-c-a-p-replace-by-expanded-history): New function.
13575 (comint-dynamic-complete-functions)
13576 (comint-replace-by-expanded-history): Use it.
13577 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13578 termination strings. Try harder to avoid second try-completion.
13579 (completion-in-region-mode-map): Disable bindings that don't work yet.
13580
2dbaa080
SM
13581 * comint.el: Use lexical-binding. Require CL.
13582 (comint-dynamic-complete-functions): Use comint-filename-completion.
13583 (comint-completion-addsuffix): Tweak custom type.
13584 (comint-filename-completion, comint--common-suffix)
13585 (comint--common-quoted-suffix, comint--table-subvert)
13586 (comint--complete-file-name-data): New functions.
13587 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13588 (comint-dynamic-list-filename-completions): Use them.
13589 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13590
2dbaa080
SM
13591 * minibuffer.el (completion-in-region-mode):
13592 Keep completion-in-region-mode--predicate global.
13593 (completion-in-region--postch):
13594 Assume completion-in-region-mode--predicate is not null.
13595
c79a6f38
SM
13596 * progmodes/flymake.el (flymake-start-syntax-check-process):
13597 Obey `dir'. Simplify.
13598
024ff170
SM
13599 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13600 we're in VC after all.
13601
1c6c854e
CS
136022011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13603
13604 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13605 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13606 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13607
bed7f140
SM
136082011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13609
332e62ab
SM
13610 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13611 add sanity check.
13612
bed7f140
SM
13613 * obsolete/erc-hecomplete.el: Make obsolete.
13614 * obsolete/: Standardize obsolescence info in the header.
13615
f195c582
GM
136162011-04-20 Glenn Morris <rgm@gnu.org>
13617
13618 * calendar/solar.el (solar-horizontal-coordinates):
13619 Use the longitude argument rather than `calendar-longitude'.
13620 (solar-date-next-longitude): Remove unused locals.
13621
cb79b8c0
VJL
136222011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13623
13624 * whitespace.el: New version 13.2.1.
13625
136262011-04-20 felix <EmacsWiki> (tiny change)
13627
d8e4b68b 13628 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13629 switching between major modes on a file.
13630
602ea69d
SM
136312011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13632
13633 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13634 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13635 multi-line comments as well.
13636
06b60517
JB
136372011-04-19 Juanma Barranquero <lekktu@gmail.com>
13638
13639 Lexical-binding cleanup.
13640
13641 * arc-mode.el (archive-mode-revert):
13642 * cmuscheme.el (scheme-interactively-start-process):
13643 * custom.el (custom-initialize-delay):
13644 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13645 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13646 * emacs-lock.el (emacs-lock-clear-sentinel):
13647 * ezimage.el (defezimage):
13648 * follow.el (follow-avoid-tail-recenter):
13649 * fringe.el (set-fringe-mode-1):
13650 * generic-x.el (bat-generic-mode-compile):
13651 * help-mode.el (help-info-variable, help-do-xref)
13652 (help-mode-revert-buffer):
13653 * help.el (view-emacs-todo):
13654 * iswitchb.el (iswitchb-completion-help):
13655 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13656 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13657 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13658 * locate.el (locate-update):
13659 * longlines.el (longlines-encode-region)
13660 (longlines-after-change-function):
13661 * outline.el (outline-isearch-open-invisible):
13662 * ps-def.el (declare-function, charset-dimension, char-width)
13663 (encode-char):
13664 * ps-mule.el (ps-mule-plot-string):
13665 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13666 (recentf-edit-list-select, recentf-edit-list-validate)
13667 (recentf-open-files-action):
13668 * rect.el (delete-whitespace-rectangle-line)
13669 (rectangle-number-line-callback):
13670 * register.el (window-configuration-to-register)
13671 (frame-configuration-to-register):
13672 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13673 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13674 (xselect-convert-to-targets, xselect-convert-to-delete)
13675 (xselect-convert-to-filename, xselect-convert-to-charpos)
13676 (xselect-convert-to-lineno, xselect-convert-to-colno)
13677 (xselect-convert-to-os, xselect-convert-to-host)
13678 (xselect-convert-to-user, xselect-convert-to-class)
13679 (xselect-convert-to-name, xselect-convert-to-integer)
13680 (xselect-convert-to-atom, xselect-convert-to-identity):
13681 * subr.el (declare, ignore, process-kill-without-query)
13682 (text-clone-maintain):
13683 * terminal.el (te-get-char, te-tic-sentinel):
13684 * tool-bar.el (tool-bar-make-keymap):
13685 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13686 * type-break.el (type-break-mode, type-break-noninteractive-query):
13687 * view.el (View-back-to-mark):
13688 * wid-browse.el (widget-browse-action, widget-browse-widget)
13689 (widget-browse-widgets, widget-browse-sexp):
13690 * widget.el (define-widget-keywords):
13691 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13692 Mark unused parameters.
13693
13694 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13695 (align-areas): Remove unused variable `look'.
13696 (align-region): Remove unused variables `real-end' and `pos-list'.
13697
13698 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13699
13700 * bindings.el (mode-line-modified, mode-line-remote):
13701 Mark unused parameters.
13702 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13703
13704 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13705 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13706
13707 * comint.el (comint-history-isearch-pop-state)
13708 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13709 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13710 (comint-substitute-in-file-name): Doc fix.
13711
13712 * completion.el (cmpl-statistics-block): Mark unused parameter.
13713 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13714 (save-completions-to-file, load-completions-from-file):
13715 Remove unused local variable `e'.
13716
13717 * composite.el (compose-chars): Remove unused variable `len'.
13718 (lgstring-insert-glyph): Remove unused variable `g'.
13719 (compose-glyph-string): Remove unused variables `ascent',
13720 `descent', `lbearing' and `rbearing'.
13721 (compose-glyph-string-relative): Remove unused variables
13722 `lbearing', `rbearing' and `wadjust'.
13723 (compose-gstring-for-graphic): Remove unused variables `header',
13724 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13725 (compose-gstring-for-terminal): Remove unused variables `header'
13726 and `nchars'. Use `let', not `let*'.
13727
13728 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13729 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13730 (Custom-buffer-done, custom-buffer-create-internal)
13731 (custom-browse-visibility-action, custom-browse-group-tag-action)
13732 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13733 (widget-magic-mouse-down-action, custom-toggle-parent)
13734 (custom-add-parent-links, custom-toggle-hide-variable)
13735 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13736 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13737 (custom-face-menu-create, custom-variable-menu-create, get)
13738 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13739 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13740 (customize-apropos): Remove unused variable `tests'.
13741 (custom-group-value-create): Remove unused variable `hidden-p'.
13742 (sort-fold-case): Declare.
13743
13744 * cus-theme.el (custom-reset-standard-faces-list)
13745 (custom-reset-standard-variables-list): Declare.
13746 (customize-create-theme, custom-theme-revert, custom-theme-write)
13747 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13748 Mark unused parameters.
13749
13750 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13751
13752 * delim-col.el (delimit-columns-max): Move defvar before first use.
13753
13754 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13755 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13756
13757 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13758 (auto-insert): Declare.
13759 (desktop-restore-file-buffer): Rename desktop-* parameters;
13760 mark unused ones.
13761 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13762 (desktop-buffer): Rename desktop-* parameters.
13763
13764 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13765 (dframe-reposition-frame-xemacs, dframe-help-echo)
13766 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13767 Mark unused parameters.
13768
13769 * dired-aux.el (backup-extract-version-start, overwrite-query)
13770 (overwrite-backup-query, rename-regexp-query)
13771 (rename-non-directory-query): Declare.
13772 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13773 (dired-add-entry): Remove unused variable `orig-file-name'.
13774 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13775 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13776 `dired-copy-preserve-time' directly.
13777 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13778 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13779
13780 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13781 (dired-virtual-revert, dired-make-relative-symlink):
13782 Mark unused parameters.
13783 (manual-program): Declare.
13784 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13785 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13786 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13787
13788 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13789
13790 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13791
13792 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13793 Declare.
13794
13795 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13796
13797 * electric.el (Electric-command-loop): Rename parameter
13798 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13799
13800 * expand.el (expand-in-literal): Remove unused variable `here'.
13801
13802 * facemenu.el (facemenu-add-new-color):
13803 Remove unused variable `docstring'.
13804
13805 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13806 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13807 (face-attr-construct): Mark unused parameter. Doc fix.
13808 (read-color): Remove unused variable `hex-string'.
13809
13810 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13811 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13812 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13813 (display-buffer-other-frame): Remove unused variable `old-window'.
13814 (kill-buffer-hook): Declare.
13815 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13816 Mark unused parameters.
13817 (after-find-file): Pass 1 to `auto-save-mode', not t.
13818
13819 * files-x.el (auto-insert): Declare.
13820 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13821
13822 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13823 variable `buf'. Mark unused parameter.
06b60517
JB
13824 (find-lisp-insert-directory): Mark unused parameter.
13825
13826 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13827 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13828 (format-common-tail): Remove, unused.
13829 (format-deannotate-region): Remove unused variable `loc'.
13830 (format-annotate-region): Remove unused variable `p'.
13831 (format-annotate-single-property-change): Remove unused variables
13832 `default' and `tail'.
13833
13834 * forms.el (read-file-filter): Declare.
13835 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13836
13837 * frame.el (frame-creation-function-alist): Mark unused parameter.
13838 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13839
13840 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13841 Remove unused parameters.
13842 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13843 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13844
13845 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13846 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13847 (hfy-prepare-tag-map): Mark unused parameters.
13848 (htmlfontify-buffer): Use `called-interactively-p'.
13849
13850 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13851 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13852 (ibuffer-do-occur): Mark unused parameters.
13853 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13854 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13855
13856 * ibuffer.el: Don't quote `lambda'.
13857 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13858 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13859 Mark unused parameters.
13860
13861 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13862 (ido-completing-read): Mark unused parameters.
13863 (ido-copy-current-word): Mark unused parameters;
13864 remove unused variable `name'.
13865 (ido-sort-merged-list): Remove unused parameter `dirs'.
13866
13867 * ielm.el (ielm-input-sender): Mark unused parameter.
13868 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13869 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13870 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13871 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13872 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13873
13874 * image-dired.el (image-dired-display-thumbs): Remove unused
13875 variables `curr-file' and `count'.
13876 (image-dired-remove-tag): Remove unused variable `start'.
13877 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13878 variable `curr-file'
13879 (image-dired-rotate-original): Remove unused variable `temp-file'.
13880 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13881 Remove unused variable `file'.
13882 (image-dired-gallery-generate): Remove unused variable `curr'.
13883 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13884
13885 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13886
13887 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13888
13889 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13890
13891 * isearch.el (minibuffer-history-symbol): Declare.
13892 (isearch-edit-string): Remove unused variable `err'.
13893 (isearch-message-prefix, isearch-message-suffix):
13894 Mark unused parameters.
13895
13896 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13897
13898 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13899
13900 * makesum.el (double-column): Remove unused variable `cnt'.
13901
13902 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13903 (ido-ignore-item-temp-list): Declare.
13904
13905 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13906 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13907 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13908 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13909 `mouse-col-delta'.
13910
13911 * mouse-sel.el (mouse-extend-internal):
13912 Remove unused variable `orig-window-frame'.
13913
13914 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13915 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13916 Move declarations before first use.
13917 (pcomplete-opt): Mark unused parameters; doc fix.
13918
13919 * proced.el (proced-revert): Mark unused parameter.
13920 (proced-send-signal): Remove unused variable `err'.
13921
13922 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13923 Rename parameter PREFIX-ARG to ARG.
13924 (ps-basic-plot-string, ps-basic-plot-whitespace):
13925 Mark unused parameters.
13926
13927 * replace.el (replace-count): Define.
13928 (occur-revert-function): Mark unused parameters.
13929 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13930 (isearch-case-fold-search, isearch-string): Declare.
13931 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13932 bind `case-fold-search'. Remove unused variables `beg' and `end',
13933 and simplify.
13934 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13935 COUNT and bind `replace-count'.
13936 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13937 to COUNT.
13938
13939 * savehist.el (print-readably, print-string-length): Declare.
13940
13941 * shadowfile.el (shadow-expand-cluster-in-file-name):
13942 Remove unused variable `cluster'.
13943 (shadow-copy-file): Remove unused variable `i'.
13944 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13945 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13946 (shadow-define-literal-group, shadow-define-regexp-group)
13947 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13948
13949 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13950 (shell): Use `called-interactively-p'.
13951 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13952
13953 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13954 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13955 (delete-backward-char): Remove unused variable `ocol'.
13956 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13957 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13958 (event-apply-hyper-modifier, event-apply-shift-modifier)
13959 (event-apply-control-modifier, event-apply-meta-modifier):
13960 Mark unused parameters.
13961 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13962 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13963
13964 * speedbar.el (speedbar-ignored-directory-expressions)
13965 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13966 (speedbar-find-file, speedbar-dir-follow)
13967 (speedbar-directory-buttons-follow, speedbar-tag-find)
13968 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13969 (speedbar-buffers-line-directory, speedbar-buffer-click):
13970 Mark unused parameters.
13971 (speedbar-tag-file): Remove unused variable `mode'.
13972 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13973
13974 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13975
13976 * talk.el (talk): Remove unused variable `display'.
13977
13978 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13979 (tar-write-region-annotate): Mark unused parameter.
13980
13981 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13982 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13983 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13984 warning by another.
13985
13986 * time-stamp.el (time-stamp-string-preprocess):
13987 Remove unused variable `require-padding'.
13988
13989 * tree-widget.el (widget-glyph-enable): Declare.
13990 (tree-widget-action): Mark unused parameter.
13991
13992 * w32-fns.el (x-get-selection): Mark unused parameter.
13993 (autoload-make-program, generated-autoload-file): Declare.
13994
13995 * wdired.el (wdired-revert): Mark unused parameters.
13996 (wdired-xcase-word): Remove unused variable `err'.
13997
13998 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13999 (whitespace-help-scroll): Remove unused variable `data-help'.
14000
14001 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14002 (widget-image-insert, widget-after-change, default)
14003 (widget-default-format-handler, widget-default-notify)
14004 (widget-default-prompt-value, widget-info-link-action)
14005 (widget-url-link-action, widget-function-link-action)
14006 (widget-variable-link-action, widget-file-link-action)
14007 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14008 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14009 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14010 (widget-insert-button-action, widget-delete-button-action, visibility)
14011 (widget-documentation-link-action, widget-documentation-string-action)
14012 (widget-const-prompt-value, widget-regexp-match, symbol)
14013 (widget-coding-system-prompt-value)
14014 (widget-key-sequence-value-to-external, sexp)
14015 (widget-sexp-value-to-internal, character, vector, cons)
14016 (widget-choice-prompt-value, widget-boolean-prompt-value)
14017 (widget-color--choose-action): Mark unused parameters.
14018 (widget-item-match-inline, widget-choice-match-inline)
14019 (widget-checklist-match, widget-checklist-match-inline)
14020 (widget-group-match): Rename parameter VALUES to VALS.
14021 (widget-field-value-set): Remove unused variable `size'.
14022 (widget-color-action): Remove unused variables `value' and `start'.
14023
14024 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14025 variable `dir'. Doc fix.
06b60517
JB
14026 (windmove-find-other-window): Don't pass it.
14027
14028 * window.el (count-windows): Mark unused parameter.
14029 (bw-adjust-window): Remove unused variable `err'.
14030
14031 * woman.el (woman-file-name): Remove unused variable `default'.
14032 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14033 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14034 (global-font-lock-mode): Declare.
14035 (woman-decode-region): Mark unused parameter.
14036 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14037
14038 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14039 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14040 (x-dnd-handle-moz-url): Remove unused variable `title'.
14041 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14042
14043 * xml.el (xml-parse-tag, xml-parse-attlist):
14044 Remove unused variable `pos'.
14045
bc4f7f3d
GM
140462011-04-19 Glenn Morris <rgm@gnu.org>
14047
14048 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14049 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14050 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14051 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14052 * calendar/cal-html.el (cal-html-insert-minical):
14053 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14054 (calendar-mark-date-pattern):
14055 Prefix "unused" locals.
14056
14057 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14058 optional argument `style'.
14059
14060 * calendar/appt.el (appt-make-list):
14061 * calendar/cal-china.el (calendar-chinese-date-string):
14062 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14063 (diary-hebrew-yahrzeit):
14064 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14065 * calendar/calendar.el (calendar-generate-window):
14066 * calendar/time-date.el (time-to-days):
14067 Remove unused local variables.
14068
16a43933
CY
140692011-04-18 Chong Yidong <cyd@stupidchicken.com>
14070
14071 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14072 glyphless-char-display table.
14073 (tabulated-list-glyphless-char-display): New var.
14074
7eed1860
SS
140752011-04-18 Sam Steingold <sds@gnu.org>
14076
14077 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14078 to acknowledgments.
14079
4d2d1ccd
GM
140802011-04-17 Glenn Morris <rgm@gnu.org>
14081
14082 * calendar/diary-lib.el (diary-sexp-entry):
14083 * calendar/holidays.el (holiday-sexp):
14084 Set debug-on-error rather than the removed stack-trace-on-error.
14085
239da61d
GM
140862011-04-16 Glenn Morris <rgm@gnu.org>
14087
14088 * progmodes/f90.el: Use lexical-binding.
14089 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14090
8b05752a
SM
140912011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14092
daca8ba5
SM
14093 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14094 (mail-mode): Setup mailalias completion here instead.
14095 * mail/mailalias.el: Use lexical-binding.
14096 (pattern, mailalias-done): Declare dynamic.
14097 (mail-completion-at-point-function): New function, from mail-complete.
14098 (mail-complete): Use it.
14099 (mail-completion-expand): New function.
14100 (mail-get-names): Use it.
14101 (mail-directory, mail-directory-process, mail-directory-stream):
14102 Don't use `pattern' for lexically bound arg.
14103
6f542485
SM
14104 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14105
037e7c3f
SM
14106 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14107 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14108 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14109
8b05752a
SM
14110 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14111 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14112 (byte-interactive-p): Define them again, for use when inlining
14113 old code.
14114
49093f60
JB
141152011-04-15 Juanma Barranquero <lekktu@gmail.com>
14116
14117 * loadup.el: Use `string-to-number', not `string-to-int'.
14118
b5b8e7de
SM
141192011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14120
14121 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14122 gud-gdb-complete-command.
14123 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14124 (gud-gdb-completion-at-point): New function.
14125 (gud-gdb-completions): Remove.
14126
f42efeb5
MA
141272011-04-14 Michael Albinus <michael.albinus@gmx.de>
14128
49093f60
JB
14129 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14130 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14131 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14132 whether `executable-find' is bound.
f42efeb5
MA
14133
14134 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14135
e240cc21
SM
141362011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14137
14138 * minibuffer.el (completion-in-region-mode-predicate)
14139 (completion-in-region-mode--predicate): New vars.
14140 (completion-in-region, completion-in-region--postch)
14141 (completion-in-region-mode): Use them.
14142 (completion--capf-wrapper): Also return the hook function.
14143 (completion-at-point, completion-help-at-point):
14144 Adjust and provide a predicate.
c2bd2ab0
SM
14145
14146 Preserve arg names for advice of subr and lexical functions (bug#8457).
14147 * help-fns.el (help-function-arglist): Consolidate the subr and
14148 new-byte-code cases. Add argument `preserve-names' to extract names
14149 from the docstring when needed.
14150 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14151 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14152 (ad-arglist): Use help-function-arglist's new arg.
14153 (ad-definition-type): Use cond.
14154
c183f693
JB
141552011-04-13 Juanma Barranquero <lekktu@gmail.com>
14156
06641a47
JB
14157 * autorevert.el (auto-revert-handler):
14158 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14159 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14160 Don't quote lambda.
14161
c183f693
JB
14162 * image-mode.el (image-transform-set-scale):
14163 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14164
1e3b6001
G
141652011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14166
14167 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14168 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14169 Upgrades via gnutls-cli are too slow to be done opportunistically.
14170
2d6af8dd
JB
141712011-04-12 Juanma Barranquero <lekktu@gmail.com>
14172
14173 * dframe.el (dframe-current-frame): Remove spurious quote.
14174
c0749a51
GM
141752011-04-12 Glenn Morris <rgm@gnu.org>
14176
088d0d61
GM
14177 * calendar/cal-tex.el (cal-tex-end-document):
14178 Try to automatically use latin1 input if needed.
14179
c0749a51
GM
14180 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14181 Don't try to cons a mark onto an empty element.
14182
5c90fde0
LL
141832011-04-11 Leo Liu <sdl.web@gmail.com>
14184
14185 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14186 buffers.
14187 (ido-kill-buffer-at-head): Support killing virtual buffers.
14188
369e974d
CY
141892011-04-10 Chong Yidong <cyd@stupidchicken.com>
14190
14191 * minibuffer.el (completion-show-inline-help): New var.
14192 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14193 (minibuffer-force-complete, minibuffer-complete-word):
14194 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14195
14196 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14197 to avoid interference from inline help (Bug#5849).
14198
37f1c930
LL
141992011-04-10 Leo Liu <sdl.web@gmail.com>
14200
099c39a4
JB
14201 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14202 Fix typo.
37f1c930 14203
a32d4040
CY
142042011-04-09 Chong Yidong <cyd@stupidchicken.com>
14205
14206 * image-mode.el (image-toggle-display-image): Signal an error if
14207 not in Image mode.
14208 (image-transform-mode, image-transform-resize)
14209 (image-transform-set-rotation): Doc fix.
daca8ba5 14210 (image-transform-set-resize): Delete.
a32d4040
CY
14211 (image-transform-set-scale, image-transform-fit-to-height)
14212 (image-transform-fit-to-width): Handle image-toggle-display-image
14213 and image-transform-resize directly.
14214
099c39a4 142152011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14216
14217 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14218 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14219 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14220 (doc-view-mode-map): Add bindings for the new functions.
14221
099c39a4 142222011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14223
4d61f28d 14224 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14225 Fix typo in docstring.
14226
3726838a
EZ
142272011-04-08 Eli Zaretskii <eliz@gnu.org>
14228
04f33f1e
EZ
14229 * files.el (file-size-human-readable): Produce one digit after
14230 decimal, like "ls -lh" does.
14231
14232 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14233 the file size representation.
14234
3726838a
EZ
14235 * simple.el (list-processes): If async subprocesses are not
14236 available, error out with a clear error message.
14237
cbb59342
CY
142382011-04-08 Chong Yidong <cyd@stupidchicken.com>
14239
14240 * help.el (help-form-show): New function, to be called from C.
14241 Put help-form output in a buffer named differently than *Help*.
14242
e3971c44
EZ
142432011-04-08 Eli Zaretskii <eliz@gnu.org>
14244
14245 * files.el (file-size-human-readable): New function.
14246
14247 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14248 computing the representation inline. Don't require `cl'.
14249
12544bbe
GM
142502011-04-08 Glenn Morris <rgm@gnu.org>
14251
a1de6c6a
GM
14252 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14253
3c4671f4
GM
14254 * net/browse-url.el (browse-url-firefox):
14255 Test system-type, not system-configuration.
14256
b605679c
GM
14257 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14258 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14259 Use log-edit-empty-buffer-p. (Bug#7598)
14260
56442f0c
GM
14261 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14262 (rlogin-mode-map): Initialize in the defvar.
14263 (rlogin): Use ignore-errors.
14264
12544bbe
GM
14265 * replace.el (occur-mode-map): Some fixes for menu items.
14266
eb237b0f
AH
142672011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14268
14269 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14270
7d668f2c
CY
142712011-04-06 Chong Yidong <cyd@stupidchicken.com>
14272
e67a13ab
CY
14273 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14274 issuing unused warnings.
14275
14276 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14277 macro directly.
14278
7d668f2c
CY
14279 * simple.el: Lisp reimplement of list-processes. Based on an
14280 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14281 (process-menu-mode): New major mode.
14282 (list-processes--refresh, list-processes):
14283 (process-menu-visit-buffer): New functions.
14284
14285 * files.el (save-buffers-kill-emacs): Don't assume any return
14286 value of list-processes, which is undocumented anyway.
14287
a83ec3c9
CY
142882011-04-06 Chong Yidong <cyd@stupidchicken.com>
14289
14290 * emacs-lisp/tabulated-list.el: New file.
14291
e91a96fe
CY
14292 * emacs-lisp/package.el: Use Tabulated List mode.
14293 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14294 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14295 table format using Tabulated List mode variables.
14296 (package--push): New macro, replacing package-list-maybe-add.
14297 (package-menu--generate): Use package--push. Renamed from
14298 package--generate-package-list.
14299 (package-menu-refresh, list-packages): Use it.
daca8ba5 14300 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14301 Return insertion data instead of inserting it directly.
099c39a4
JB
14302 (package-menu-describe-package, package-menu-execute):
14303 Use tabulated-list-get-id.
e91a96fe
CY
14304 (package-menu-mark-delete, package-menu-mark-install)
14305 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14306 (package-menu-mark-obsolete-for-deletion):
14307 Use tabulated-list-put-tag.
e91a96fe
CY
14308 (package--list-packages, package-menu-revert)
14309 (package-menu-get-package, package-menu-get-version)
14310 (package-menu-sort-by-column): Functions deleted.
14311 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14312 (package-menu--status-predicate, package-menu--version-predicate)
14313 (package-menu--name-predicate)
14314 (package-menu--description-predicate): Handle arguments in the
14315 Tabulated List format.
14316 (package-list-packages-no-fetch): Call list-packages.
14317
3e214b50
JB
143182011-04-06 Juanma Barranquero <lekktu@gmail.com>
14319
14320 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14321 (after-find-file): Don't bind it.
3e214b50
JB
14322 (revert-buffer-in-progress-p): New variable.
14323 (revert-buffer): Bind it.
14324 Pass nil for `after-find-file-from-revert-buffer'.
14325
14326 * saveplace.el (save-place-find-file-hook): Use new variable
14327 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14328
3f0f1700
GM
143292011-04-06 Glenn Morris <rgm@gnu.org>
14330
c0274801
GM
14331 * Makefile.in (AUTOGEN_VCS): New variable.
14332 (autoloads): Use $AUTOGEN_VCS.
14333
3f0f1700
GM
14334 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14335 * calendar/calendar.el (calendar-mode-map):
14336 Check for toolkit scroll bars. (Bug#8305)
14337
41ea9e48
CY
143382011-04-05 Chong Yidong <cyd@stupidchicken.com>
14339
14340 * minibuffer.el (completion-in-region--postch)
14341 (completion-in-region-mode): Remove unnecessary messages.
14342
6194c800
JB
143432011-04-05 Juanma Barranquero <lekktu@gmail.com>
14344
33256f14
JB
14345 * font-lock.el (font-lock-refresh-defaults):
14346 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14347 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14348
6194c800
JB
14349 * info.el (Info-directory-list, Info-read-node-name-2)
14350 (Info-split-parameter-string): Doc fixes.
14351 (Info-virtual-nodes): Reflow docstring.
14352 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14353 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14354 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14355 Fix typos in docstrings.
14356 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14357 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14358 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14359 (Info-restore-desktop-buffer): Mark unused parameters.
14360 (Info-directory-find-file, Info-directory-find-node)
14361 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14362 (Info-virtual-index-find-node, Info-apropos-find-file)
14363 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14364 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14365 (Info-virtual-index): Remove unused local variable `nodename'.
14366
b87a8200 143672011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14368
b87a8200
DD
14369 * net/rcirc.el: Update my e-mail address.
14370 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14371
3b2ff876
CY
143722011-04-05 Chong Yidong <cyd@stupidchicken.com>
14373
14374 * startup.el (command-line): Save the cursor's theme-face
14375 directly, instead of using face-override-spec.
14376
14377 * custom.el (load-theme): Minor optimization in assigning faces.
14378
8d17e7ca
JB
143792011-04-04 Juanma Barranquero <lekktu@gmail.com>
14380
14381 * help-fns.el (describe-variable): Complete all variables having
14382 documentation, including keywords.
14383 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14384
2fbc1934
JB
143852011-04-04 Juanma Barranquero <lekktu@gmail.com>
14386
14387 Convert to lexical-binding.
14388
14389 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14390 (bs--get-marked-string, bs--get-modified-string)
14391 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14392 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14393 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14394
14395 * ehelp.el (electric-help-execute-extended)
14396 (electric-help-ctrl-x-prefix):
14397 * hexl.el (hexl-revert-buffer-function):
14398 * linum.el (linum-after-change, linum-after-scroll):
14399 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14400
14401 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14402
74f50695
DU
144032011-04-04 Daiki Ueno <ueno@unixuser.org>
14404
14405 * epa-dired.el:
14406 * epa-mail.el:
14407 * epa-hook.el:
14408 * epa-file.el:
14409 * epa.el:
14410 * epg.el: Use lexical binding.
14411
c11325f7
CY
144122011-04-03 Chong Yidong <cyd@stupidchicken.com>
14413
0d9e9a12
CY
14414 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14415
c11325f7 14416 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14417 dictionary case for flyspell-mark-duplications-exceptions.
14418 Use regexp matching for languages.
c11325f7
CY
14419 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14420 default dictionary (Bug#7926).
14421
da91b5f2
CY
144222011-04-02 Chong Yidong <cyd@stupidchicken.com>
14423
099c39a4
JB
14424 * emacs-lisp/package.el (package--with-work-buffer):
14425 Recognize https URLs.
da91b5f2 14426
099c39a4
JB
14427 * net/network-stream.el: Move from gnus/proto-stream.el.
14428 Change prefix to network-stream throughout.
da91b5f2
CY
14429 (open-protocol-stream): Merge into open-network-stream, leaving
14430 open-protocol-stream as an alias. Handle nil BUFFER args.
14431
14432 * subr.el (open-network-stream): Move to net/network-stream.el.
14433
afa8e9f6
GM
144342011-04-02 Glenn Morris <rgm@gnu.org>
14435
1d2e369d
GM
14436 * find-dired.el (find-exec-terminator): New option.
14437 (find-ls-option): Test for -ls support.
14438 (find-ls-subdir-switches): Test for -b in find-ls-option.
14439 (find-dired, find-grep-dired): Doc fixes.
14440 (find-dired): Use find-exec-terminator.
14441
8abb7da8 14442 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14443 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14444 (find-name-arg): Remove purecopy.
8abb7da8 14445
f3ca7378
GM
14446 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14447 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14448 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14449 accordingly. Don't add the null-device if not needed.
14450
afa8e9f6
GM
14451 * files.el (save-some-buffers): Doc fix.
14452
35eae264
EZ
144532011-04-02 Eli Zaretskii <eliz@gnu.org>
14454
14455 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14456
26b51db5
JB
144572011-04-01 Juanma Barranquero <lekktu@gmail.com>
14458
14459 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14460 Use `dolist' rather than `mapcar'.
14461
7200d79c
SM
144622011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14463
03408648 14464 Add lexical binding.
7200d79c 14465
03408648
SM
14466 * subr.el (apply-partially): Use new closures rather than CL.
14467 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14468 (dolist, dotimes): Use slightly different expansion for lexical code.
14469 (functionp): Move to C.
14470 (letrec): New macro.
14471 (with-wrapper-hook): Use it and apply-partially instead of CL.
14472 (eval-after-load): Preserve lexical-binding.
14473 (save-window-excursion, with-output-to-temp-buffer): Turn them
14474 into macros.
7200d79c 14475
03408648
SM
14476 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14477
14478 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14479 than the arglist.
14480 (help-add-fundoc-usage): Don't add `Not documented'.
14481 (help-function-arglist): Handle closures, subroutines, and new
14482 byte-code-functions.
14483 (help-make-usage): Remove leading underscores.
14484 (describe-function-1): Handle closures.
14485 (describe-variable): Use special-variable-p for completion.
14486
14487 * files.el (lexical-binding): Declare safe.
f488fb65 14488
03408648
SM
14489 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14490 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14491 (pcase): Add `let' pattern.
14492 Change memoization so it actually works.
14493 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14494 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14495 <let>: New case.
f488fb65 14496
03408648
SM
14497 * emacs-lisp/macroexp.el: Use lexical binding.
14498 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14499 Don't convert ' to #' without checking that it's indeed quoting
14500 a lambda.
14501
14502 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14503 Use eval-sexp-add-defvars.
03408648
SM
14504 (eval-sexp-add-defvars): New fun.
14505
14506 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14507
14508 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14509 Don't autoload.
14510 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14511 than the internal `byte-compile-lambda'.
14512 (defmethod): Don't hide code under quotes.
14513 (eieio-defmethod): New `code' argument.
14514
14515 * emacs-lisp/eieio-comp.el: Remove.
14516
14517 * emacs-lisp/edebug.el (edebug-eval-defun)
14518 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14519 (edebug-toggle): Avoid `eval'.
14520
14521 * emacs-lisp/disass.el (disassemble-internal): Handle new
14522 `closure' objects.
14523 (disassemble-1): Handle new byte codes.
14524
14525 * emacs-lisp/cl.el (pushnew): Silence warning.
14526
14527 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14528 (cl-byte-compile-throw): Remove.
14529 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14530
14531 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14532 closures.
14533
14534 * emacs-lisp/cconv.el: New file.
14535
14536 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14537 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14538 (byte-compile-initial-macro-environment):
14539 Handle declare-function here.
14540 (byte-compile--lexical-environment): New var.
14541 (byte-stack-ref, byte-stack-set, byte-discardN)
14542 (byte-discardN-preserve-tos): New lap codes.
14543 (byte-interactive-p): Don't use any more.
14544 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14545 New macros.
14546 (byte-compile-lapcode): Use them and handle new lap codes.
14547 (byte-compile-obsolete): Remove.
14548 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14549 (byte-compile-arglist-warn): Check late def of inlinable funs.
14550 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14551 since they should have been expanded by now.
14552 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14553 (byte-compile-from-buffer): Remove unused second arg.
14554 (byte-compile-preprocess): New function.
14555 (byte-compile-toplevel-file-form): New function to distinguish
14556 file-form calls from outside from file-form calls from hunk-handlers.
14557 (byte-compile-file-form): Simplify.
14558 (byte-compile-file-form-defsubst): Remove.
14559 (byte-compile-file-form-defmumble): Simplify now that
14560 byte-compile-lambda always returns a byte-code-function.
14561 (byte-compile): Preprocess.
14562 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14563 Remove, not used any more.
14564 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14565 (byte-compile-make-args-desc): New funs.
14566 (byte-compile-lambda): Handle lexical functions. Always return
14567 a byte-code-function.
14568 (byte-compile-reserved-constants): New var, to make up room for
14569 closed-over variables.
14570 (byte-compile-constants-vector): Obey it.
14571 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14572 (byte-compile-macroexpand-declare-function): New function.
14573 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14574 byte-code-functions.
14575 (byte-compile-form): Check obsolescence here.
14576 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14577 (byte-compile-variable-ref): Remove.
14578 (byte-compile-dynamic-variable-op): New fun.
14579 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14580 (byte-compile-variable-set): New funs.
14581 (byte-compile-discard): Add 2 args.
14582 (byte-compile-stack-ref, byte-compile-stack-set)
14583 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14584 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14585 macroexpand-all instead.
14586 (byte-compile-quote-form): Remove.
14587 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14588 (byte-compile-bind, byte-compile-unbind): New funs.
14589 (byte-compile-let): Handle let* and lexical binding.
14590 (byte-compile-let*): Remove.
14591 (byte-compile-catch, byte-compile-unwind-protect)
14592 (byte-compile-track-mouse, byte-compile-condition-case):
14593 Handle a new :fun-body form, used for lexical scoping.
14594 (byte-compile-save-window-excursion)
14595 (byte-compile-with-output-to-temp-buffer): Remove.
14596 (byte-compile-defun): Simplify.
14597 (byte-compile-stack-adjustment): New fun.
14598 (byte-compile-out): Use it.
14599 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14600
14601 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14602 handler any more.
14603
14604 * emacs-lisp/byte-opt.el: Use lexical binding.
14605 (byte-inline-lapcode): Remove (to bytecomp).
14606 (byte-compile-inline-expand): Pay attention to inlining to/from
14607 lexically bound code.
14608 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14609 any more.
14610 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14611 any more and don't call compiler-macros.
14612 (byte-compile-splice-in-already-compiled-code): Remove.
14613 (byte-code): Don't inline any more.
14614 (disassemble-offset): Receive `bytes' as argument rather than via
14615 dynamic scoping.
14616 (byte-compile-tag-number): Declare before first use.
14617 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14618 `return' even if make-spliceable.
14619 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14620 obsolete interactive-p.
14621 (byte-optimize-lapcode): Optimize new lap-codes.
14622 Don't trip up on new form of `byte-constant' lap code.
14623
14624 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14625
14626 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14627
14628 * custom.el (custom-initialize-default, custom-declare-variable):
14629 Use `defvar'.
14630
14631 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14632 New variables.
14633 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14634 (COMPILE_FIRST): Add macroexp and cconv.
14635 * makefile.w32-in: Mirror changes in Makefile.in.
14636
14637 * vc/cvs-status.el:
14638 * vc/diff-mode.el:
14639 * vc/log-edit.el:
14640 * vc/log-view.el:
14641 * vc/smerge-mode.el:
14642 * textmodes/bibtex-style.el:
14643 * textmodes/css.el:
14644 * startup.el:
14645 * uniquify.el:
da91b5f2
CY
14646 * minibuffer.el:
14647 * newcomment.el:
14648 * reveal.el:
14649 * server.el:
14650 * mpc.el:
14651 * emacs-lisp/smie.el:
14652 * doc-view.el:
14653 * dired.el:
03408648
SM
14654 * abbrev.el: Use lexical binding.
14655
0f0c1f27
EZ
146562011-04-01 Eli Zaretskii <eliz@gnu.org>
14657
14658 * info.el (info-display-manual): New function.
14659
c82b2579
SM
146602011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14661
14662 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14663
221ddf68
TH
146642011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14665
14666 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14667 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14668
cba6e77e
GM
146692011-03-31 Glenn Morris <rgm@gnu.org>
14670
e040639f
GM
14671 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14672
cba6e77e
GM
14673 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14674
6d0f1c9e
CS
146752011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14676
14677 * progmodes/python.el (python-default-interpreter)
14678 (python-python-command-args, python-jython-command-args)
14679 (python-which-shell, python-which-args, python-which-bufname)
14680 (python-file-queue, python-comint-output-filter-function)
14681 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14682 variables and functions.
14683
3e2d70fd
SM
146842011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14685
14686 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14687 (completion-in-region-mode): New minor mode.
14688 (completion-in-region): Use it.
14689 (completion-in-region--data, completion-in-region-mode-map): New vars.
14690 (completion-in-region--postch): New function.
14691 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14692 New vars.
14693 (completion--capf-wrapper): New function.
14694 (completion-at-point): Use it to track well-behavedness of
14695 hook functions.
14696 (completion-help-at-point): New command.
14697
f3e4086c
JM
146982011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14699
14700 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14701 syntax class to search for whitespace on a single line
14702 (Message-ID: <4D938140.4030905@redhat.com>).
14703
eb7ffc14
LL
147042011-03-30 Leo Liu <sdl.web@gmail.com>
14705
14706 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14707 New commands.
14708 (edit-abbrevs-map): Bind them here.
14709 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14710
d806ab68
KM
147112011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14712
14713 * allout.el (allout-hide-by-annotation, allout-flag-region):
14714 Reduce possibility of overlay leakage by making them volatile.
14715
14716 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14717 hash is not shared between buffers. Mode initialization is
14718 responsible for giving it a useful starting value.
14719 (allout-item-span): Reduce possibility of overlay leakage by
14720 making them volatile.
14721 (allout-widgets-count-buttons-in-region): Add diagnostic function
14722 for tracking down button overlay leaks.
14723
ea622834
LL
147242011-03-29 Leo Liu <sdl.web@gmail.com>
14725
14726 * ido.el (ido-read-internal): Use the default history var
14727 minibuffer-history if no HISTORY is specified.
14728
b62f8267
G
147292011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14730
03408648
SM
14731 * net/imap.el (imap-shell-open, imap-process-connection-type):
14732 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14733 Kerberos, SSL, other subprocesses.
14734
947b6566
LL
147352011-03-28 Leo Liu <sdl.web@gmail.com>
14736
14737 * abbrev.el (abbrev-table-empty-p): New function.
14738 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14739 nonempty ones. (Bug#5937)
14740
5ffb62aa
JD
147412011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14742
14743 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14744
7a097943
LL
147452011-03-27 Leo Liu <sdl.web@gmail.com>
14746
14747 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14748 for foreground and background colors.
14749 (ansi-color-make-color-map): Adapt.
14750
c5b40130
LL
147512011-03-25 Leo Liu <sdl.web@gmail.com>
14752
1f48f7d2
LL
14753 * midnight.el (midnight-time-float): Remove. Note it calculates
14754 the microsecond component incorrectly and seconds-to-time does the
14755 same job.
625897ec 14756 Remove redundant (require 'timer).
1f48f7d2 14757
c5b40130
LL
14758 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14759 (ido-completions): Remove unused arguments. (Bug#8329)
14760
d86d2721
SM
147612011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14762
14763 * minibuffer.el (completion--flush-all-sorted-completions):
14764 Remove itself from hook.
14765 (completion-at-point): Let the functions perform the completion
14766 immediately and return nil or t.
14767 * comint.el (comint-dynamic-complete-functions): Now identical to
14768 completion-at-point-functions.
14769 (comint-dynamic-list-input-ring): Remove unused var `index'.
14770 (comint--match-partial-filename, comint--unquote&expand-filename):
14771 New funs, split from comint-match-partial-filename.
14772 (comint-dynamic-complete): Use completion-at-point.
14773 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14774
e8974c48
DA
147752011-03-24 Drew Adams <drew.adams@oracle.com>
14776
14777 * thingatpt.el: Support `defun'.
14778
def71b5e
LL
147792011-03-23 Leo Liu <sdl.web@gmail.com>
14780
cb5af48e
LL
14781 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14782
def71b5e
LL
14783 * help-mode.el (help-mode-finish): Tweak regexp.
14784
927c53e7
GM
147852011-03-23 Glenn Morris <rgm@gnu.org>
14786
18d05bed
GM
14787 * eshell/esh-opt.el (eshell-eval-using-options):
14788 Do not bind unused local variable `eshell-option-stub'.
14789
927c53e7
GM
14790 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14791
9d0da923
JB
147922011-03-22 Juanma Barranquero <lekktu@gmail.com>
14793
14794 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14795 keymap variable in `with-no-warnings' to avoid a warning when the
14796 keymap has been already `defconst'ed.
14797
4b978a67
LL
147982011-03-22 Leo Liu <sdl.web@gmail.com>
14799
14800 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14801 encode all chars in abbrevs; otherwise use emacs-mule or
14802 utf-8-emacs. (Bug#8308)
14803
5fd62452
JB
148042011-03-22 Juanma Barranquero <lekktu@gmail.com>
14805
0b1596c6
JB
14806 * simple.el (backward-delete-char-untabify):
14807 Avoid warning about using `delete-backward-char'.
14808
5fd62452
JB
14809 * image.el (image-type-file-name-regexps): Make it variable.
14810 `imagemagick-register-types' modifies it, and the user may want
14811 to add new extensions for known image types.
14812 (imagemagick-register-types): Throw error if not using ImageMagick.
14813
0b4e93f1
LL
148142011-03-22 Leo Liu <sdl.web@gmail.com>
14815
14816 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14817 located before rcirc-prompt-end-marker.
14818 (rcirc-complete): Error if point is not after rcirc prompt.
14819 Handle the case when table is nil.
9882e214 14820 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14821
fccee4ab
CY
148222011-03-22 Chong Yidong <cyd@stupidchicken.com>
14823
14824 * custom.el (custom--inhibit-theme-enable): Make it affect only
14825 custom-theme-set-variables and custom-theme-set-faces.
14826 (provide-theme): Ignore custom--inhibit-theme-enable.
14827 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14828 (custom-enabling-themes): Delete variable.
d86d2721
SM
14829 (enable-theme): Accept only loaded themes as arguments.
14830 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14831 (custom-enabled-themes): Forbid themes from setting this.
14832 Eliminate use of custom-enabling-themes.
14833 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14834
af896da6
LL
148352011-03-21 Leo Liu <sdl.web@gmail.com>
14836
14837 * ido.el (ido-read-internal): Add ido-selected to history instead
14838 of user input.
14839
78f64af0
SM
148402011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14841
14842 * subr.el (deferred-action-list, deferred-action-function):
14843 Mark obsolete.
14844
b16ac1ec
LL
148452011-03-21 Leo Liu <sdl.web@gmail.com>
14846
810f7698
LL
14847 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14848 change on 2011-02-13 (bug#8309).
14849
b16ac1ec
LL
14850 * minibuffer.el (read-file-name-function): Change default value.
14851 (read-file-name--defaults): Rename from read-file-name-defaults.
14852 (read-file-name-default): Rename from read-file-name.
14853 (read-file-name): Call read-file-name-function.
14854
4e05e67e
GM
148552011-03-21 Glenn Morris <rgm@gnu.org>
14856
14857 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14858 Doc fixes.
14859
4359915b
CY
148602011-03-21 Chong Yidong <cyd@stupidchicken.com>
14861
14862 * cus-theme.el: Add missing provide statement.
14863 (customize-create-theme): Extract theme value correctly.
14864 (custom-theme-visit-theme): Autoload.
14865 (customize-create-theme): Prompt before inserting default faces.
14866
1fe275ee
JB
148672011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14868
14869 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14870 units and musical notes.
14871
cd394be1 148722011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14873
14874 * ido.el (ido-read-internal): Use completing-read-default.
14875 (ido-completing-read): Fix compatibility with completing-read.
14876
7d476bde
CO
148772011-03-20 Christian Ohler <ohler@gnu.org>
14878
14879 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14880 (ert-delete-all-tests): Use `called-interactively-p' rather than
14881 `interactive-p'.
14882 (ert--make-xrefs-region): Respect END.
14883
fe0fb33e
CY
148842011-03-19 Chong Yidong <cyd@stupidchicken.com>
14885
ff854b0b
CY
14886 * dired-aux.el (dired-create-directory): Signal an error if the
14887 directory already exists (Bug#8246).
14888
fe0fb33e
CY
14889 * facemenu.el (list-colors-display): Call list-faces-display
14890 inside with-help-window.
14891 (list-colors-print): Use display property to align the final
14892 column, instead of checking window-width.
14893
576bce32
EZ
148942011-03-19 Eli Zaretskii <eliz@gnu.org>
14895
4d61f28d 14896 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14897 windows-nt systems.
14898 (emerge-protect-metachars): Quote correctly for ms-dos and
14899 windows-nt systems.
14900
89c41d68 149012011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14902
14903 * info.el (info-initialize): Replace all uses of `:' with
14904 path-separator for compatibility with non-Unix systems.
14905 Cache quoting of path-separator. (Bug#8258)
14906
b14e3e21 149072011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14908
14909 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14910 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14911 (mouse-avoidance-mode): Fix typos in docstrings.
14912
4525ce3e
CY
149132011-03-19 Chong Yidong <cyd@stupidchicken.com>
14914
14915 * startup.el (package-subdirectory-regexp): Move from package.el.
14916 Omit \\` and \\', and let callers add them.
14917
14918 * emacs-lisp/package.el (package-strip-version)
14919 (package-load-all-descriptors): Add \\` and \\' to
14920 package-subdirectory-regexp before using it.
14921 (package-untar-buffer): New arg DIR; ensure that file untars only
14922 into this expected directory. Remove superfluous delete-region.
14923 (package-unpack): Caller changed.
14924 (package-tar-file-info): Use package-subdirectory-regexp.
14925
a904a09a 149262011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14927
a904a09a
SM
14928 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14929 diff-mode-shared-map (bug#8284).
14930 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14931
149322011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14933
14934 * calendar/time-date.el (format-seconds): Use assoc instead of
14935 assoc-string, since assoc-string doesn't exist in XEmacs.
14936
171fc304
JB
149372011-03-17 Juanma Barranquero <lekktu@gmail.com>
14938
14939 * custom.el (custom-known-themes): Reflow docstring.
14940 (custom-theme-load-path): Fix typo in docstring.
14941 (load-theme): Fix typo in error message.
14942 (custom-available-themes, custom-variable-theme-value):
14943 Use `let', not `let*'.
14944
d71990a1
JB
149452011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14946
14947 * calc/README: Mention inclusion of musical notes.
14948
14949 * calc/calc-units.el (calc-lu-quant): Rename from
14950 `calc-logunits-quantity'.
14951 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14952 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14953 (calc-db): Rename from `calc-dblevel'.
14954 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14955 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14956 (calc-np): Rename from `calc-nplevel'.
14957 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14958 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14959 (calc-lu-plus): Rename from `calc-logunits-add'.
14960 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14961 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14962 (calc-lu-minus): Rename from `calc-logunits-sub'.
14963 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14964 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14965 (calc-lu-times): Rename from `calc-logunits-mul'.
14966 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14967 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14968 (calc-lu-divide): Rename from `calc-logunits-div'.
14969 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14970 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14971
14972 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14973 functions being autoloaded.
14974
14975 * calc/calc.el (calc-lu-power-reference): Rename from
14976 `calc-logunits-power-reference'.
14977 (calc-lu-field-reference): Rename from
14978 `calc-logunits-field-reference'.
14979
7a71b18d
GM
14980 * calc/calc-help.el (calc-l-prefix-help):
14981 Mention musical note functions.
d71990a1 14982
40c2934b
SM
149832011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14984
14985 * minibuffer.el (completion-all-sorted-completions):
14986 Use :completion-cycle-penalty text property if present.
14987
b0911414
KM
149882011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14989
14990 * allout.el (allout-yank-processing): Adjust for new rebulleting
14991 regime so bullet being yanked is used without prompting the user
14992 for a choice.
14993
8a05b668
JB
149942011-03-16 Juanma Barranquero <lekktu@gmail.com>
14995
14996 * startup.el (command-line): Warn the user that _emacs is deprecated.
14997
5ba5fb81
JB
149982011-03-16 Juanma Barranquero <lekktu@gmail.com>
14999
15000 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15001 (delphi-verbose, delphi-comment-face, delphi-string-face)
15002 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15003 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15004 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15005 (delphi-new-comment-line, delphi-font-lock-defaults)
15006 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15007 Fix typos in docstrings.
15008
2dab465b
KM
150092011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15010
5ba5fb81 15011 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15012 Invert the roles of character and string values for INSTEAD, so a
15013 string is used for the more common case of a defaulting prompt.
15014
0adf5618
SM
150152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15016
15017 * progmodes/ruby-mode.el (ruby-backward-sexp):
15018 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15019 * play/gamegrid.el (gamegrid-make-face):
15020 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15021 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15022 * notifications.el (notifications-notify):
15023 * net/xesam.el (xesam-search-engines):
15024 * net/quickurl.el (quickurl-list-insert):
15025 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15026
d72700e5
CY
150272011-03-15 Chong Yidong <cyd@stupidchicken.com>
15028
15029 * startup.el (command-line): Update package subdirectory regexp.
15030
49c5410a
SM
150312011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15032
c6eee9aa
SM
15033 * allout.el (allout-abbreviate-flattened-numbering)
15034 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15035
49c5410a
SM
15036 * subr.el (read-char-choice): Only show the cursor after the prompt,
15037 not after the answer.
15038
047b2bb9
KR
150392011-03-15 Kevin Ryde <user42@zip.com.au>
15040
15041 * help-fns.el (variable-at-point): Skip leading quotes, if any
15042 (bug#8253).
15043
0a57d256
SM
150442011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15045
15046 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15047 warning message.
15048
77c992bc
MA
150492011-03-14 Michael Albinus <michael.albinus@gmx.de>
15050
15051 * shell.el (shell): When called interactively, offer to change the
15052 shell file name on remote hosts.
15053
eebc475d
TZ
150542011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15055
15056 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15057 integration for LDAP parameters. The host, base, user or binddn,
15058 and secret tokens can be specified in a netrc file, for instance.
15059 This is optional because an `auth-source' parameter must be
15060 specified in the search attributes.
15061
9d05d1ba
JB
150622011-03-13 Juanma Barranquero <lekktu@gmail.com>
15063
15064 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15065
09d9db2c
GM
150662011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15067
15068 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15069 into declaration. Remove redundant and harmful binding.
15070
150712011-03-12 Eli Zaretskii <eliz@gnu.org>
15072
15073 * files.el (file-ownership-preserved-p): Pass `integer' as an
15074 explicit 2nd argument to `file-attributes'. If the file's owner
15075 is the Administrators group on Windows, and the current user is
15076 Administrator, consider that a match.
15077
15078 * server.el (server-ensure-safe-dir): Consider server directory
15079 safe on MS-Windows if its owner is the Administrators group while
15080 the current Emacs user is Administrator. Use `=' to compare
15081 numerical UIDs, since they could be integers or floats.
15082
219bd536
JB
150832011-03-12 Juanma Barranquero <lekktu@gmail.com>
15084
15085 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15086
f3afd36b
MA
150872011-03-12 Michael Albinus <michael.albinus@gmx.de>
15088
15089 Sync with Tramp 2.2.1.
15090
15091 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15092
15093 * net/trampver.el: Update release number.
15094
3aaaa6f1
SM
150952011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15096
94642599
SM
15097 * progmodes/compile.el (compilation--previous-directory): Fix up
15098 various nil/dead-marker mismatches (bug#8014).
15099 (compilation-directory-properties, compilation-error-properties):
15100 Don't call it at a position past the one we're about to change.
15101
3aaaa6f1
SM
15102 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15103 Disable obsolescence warnings in the file that declares it.
15104
14239447
KM
151052011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15106
099c39a4
JB
15107 * allout-widgets.el (allout-widgets-tally):
15108 Initialize allout-widgets-tally as a hash table rather than nil to
15109 prevent mode-line redisplay warnings. Also, clarify the module
15110 description and fix a comment typo.
14239447 15111
135e287c
JB
151122011-03-11 Juanma Barranquero <lekktu@gmail.com>
15113
15114 * help-fns.el (describe-variable): Don't complete keywords.
15115 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15116
ffbf300e
CY
151172011-03-10 Chong Yidong <cyd@stupidchicken.com>
15118
ba08b241
CY
15119 * emacs-lisp/package.el (package-version-join): Impose a standard
15120 string representation for pre/alpha/beta version lists.
15121 (package-unpack-single): Standardize the directory name by passing
15122 it through package-version-join.
15123 (package-strip-rcs-id): Accept any version string that does not
15124 signal an error in version-to-list.
ffbf300e 15125
f346fd6b
MA
151262011-03-10 Michael Albinus <michael.albinus@gmx.de>
15127
15128 * simple.el (delete-trailing-whitespace): Return nil for the
15129 benefit of `write-file-functions'.
15130
ccb55d27
GM
151312011-03-10 Glenn Morris <rgm@gnu.org>
15132
5ceaac0c
GM
15133 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15134
02da65ff
GM
15135 * vc/vc-git.el (vc-git-program): New option.
15136 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15137 (vc-git--call): Use it.
15138
b2f603cc
GM
15139 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15140
5772caab
GM
15141 * cus-edit.el (Custom-newline): If no button at point, look
15142 for a subgroup button at start-of-line. (Bug#2298)
15143
ccb55d27
GM
15144 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15145
ec6ecaed
JD
151462011-03-10 Julien Danjou <julien@danjou.info>
15147
15148 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15149 `cursor-type' is nil.
15150
9d5aa01d
JB
151512011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15152
15153 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15154
b6a5875b
KM
151552011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15156
7a71b18d 15157 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15158 preserves the existing header prefix, rebulleting it if necessary,
15159 rather than replacing it. This is necessary for proper operation
15160 of cooperative addons like allout-widgets.
1154d12e
JB
15161 (allout-make-topic-prefix, allout-rebullet-heading):
15162 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15163 value as alternate bullet to be used, instead of prompting the user
15164 for a bullet character.
b6a5875b 15165
ee545c35
MA
151662011-03-09 Michael Albinus <michael.albinus@gmx.de>
15167
d86d2721
SM
15168 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15169 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15170 `tramp-default-port'.
15171
c47971d7
DD
151722011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15173
15174 * net/rcirc.el (rcirc-handler-001): Remove useless
15175 with-rcirc-process-buffer.
15176 (rcirc-check-auth-status): Swap arguments to string-match.
15177
13522cb4
GM
151782011-03-09 Glenn Morris <rgm@gnu.org>
15179
0be6f4f1
GM
15180 * shell.el (shell-mode):
15181 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15182
13522cb4
GM
15183 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15184 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15185
515de2e3
CY
151862011-03-08 Chong Yidong <cyd@stupidchicken.com>
15187
15188 * emacs-lisp/package.el (package-refresh-contents)
15189 (package-menu-execute): Use condition-case-no-debug.
15190
b511b994
MA
151912011-03-08 Michael Albinus <michael.albinus@gmx.de>
15192
15193 * simple.el (shell-command-to-string): Use `process-file'.
15194
15195 * emacs-lisp/package.el (package-tar-file-info): Handle also
15196 remote files.
15197
d86d2721
SM
15198 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15199 Use `equal' for upload base check.
b511b994 15200
25bbfb31
AM
152012011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15202
15203 * textmodes/texinfo.el (texinfo-environments):
15204 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15205
be996521
GM
152062011-03-08 Glenn Morris <rgm@gnu.org>
15207
e9c8529f
GM
15208 * cus-start.el (cursor-in-non-selected-windows):
15209 Fix :set quoting oddness. (Bug#8192)
15210
be996521
GM
15211 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15212 in some setf expressions. (Bug#2159)
15213
2bb5649e
CY
152142011-03-08 Chong Yidong <cyd@stupidchicken.com>
15215
15216 * custom.el (custom-available-themes): Return themes in
15217 alphabetical order.
15218
33383987 15219See ChangeLog.15 for earlier changes.
e3d51b27
MR
15220
15221;; Local Variables:
15222;; coding: utf-8
e3d51b27
MR
15223;; End:
15224
acaf905b 15225 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15226
15227 This file is part of GNU Emacs.
15228
15229 GNU Emacs is free software: you can redistribute it and/or modify
15230 it under the terms of the GNU General Public License as published by
15231 the Free Software Foundation, either version 3 of the License, or
15232 (at your option) any later version.
15233
15234 GNU Emacs is distributed in the hope that it will be useful,
15235 but WITHOUT ANY WARRANTY; without even the implied warranty of
15236 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15237 GNU General Public License for more details.
15238
15239 You should have received a copy of the GNU General Public License
15240 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.