* lisp/files.el (abort-if-file-too-large): Use `file-size-human-readable'.
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12012-06-14 Sam Steingold <sds@gnu.org>
2
3 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4
52012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6
7 * play/doctor.el (doctor-doc): Remove parameter and use
8 doctor-sent instead of sent.
9 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10
112012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * files.el: Require cl-lib.
14 (file-name-non-special): Replace case -> cl-case.
15
16 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
17
18 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
19 mapping from #' to function*.
20
212012-06-13 Chong Yidong <cyd@gnu.org>
22
23 * mouse.el (mouse-drag-track): Do not set the mark if the user
24 releases the mouse without selecting anything (Bug#11588).
25
262012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
29 as well (bug#11646).
30
31 * loadup.el: Count byte-code functions as well.
32
33 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
34 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
35
36 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
37 (bug#11649). Add cl-defun and cl-defmacro.
38
392012-06-13 Drew Adams <drew.adams@oracle.com>
40
41 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
42 Fix last change.
43
442012-06-13 Michael Albinus <michael.albinus@gmx.de>
45
46 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
47 Otherwise, it blocks in batch mode.
48
492012-06-13 Juanma Barranquero <lekktu@gmail.com>
50
51 * help-mode.el (bookmark-make-record-default): Declare.
52
532012-06-13 Chong Yidong <cyd@gnu.org>
54
55 * emacs-lisp/package.el (list-packages): Compute a list of
56 packages that are newly-available since the last list-packages
57 invocation.
58 (package-menu--new-package-list): New var.
59 (package-menu--generate, package-menu--print-info)
60 (package-menu--status-predicate, package-menu-mark-install):
61 Handle new status label "new".
62
632012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
64
65 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
66 conversion to backquotes.
67
682012-06-12 Chong Yidong <cyd@gnu.org>
69
70 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
71 Rename from gud-inhibit-global-bindings.
72
73 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
74
75 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
76 hook from nxml-glyph-set-hook.
77
78 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
79 declaration.
80
81 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
82
83 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
84 Convert to defcustom.
85
862012-06-12 Drew Adams <drew.adams@oracle.com>
87
88 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
89 New functions.
90 (help-mode): Use them.
91
922012-06-11 Glenn Morris <rgm@gnu.org>
93
94 * progmodes/fortran.el (fortran-font-lock-keywords-3):
95 Use preprocessor face for directives.
96 (fortran-directive-re): Doc fix.
97
982012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
101 conversion to backquotes (bug#11652).
102
103 Fix compiler-expansion of CL's cXXr functions (bug#11673).
104 * emacs-lisp/cl-lib.el (cl--defalias): New function.
105 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
106 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
107 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
108 (cl-ninth, cl-tenth): Mark them as inlinable.
109 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
110 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
111 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
112 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
113 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
114 (cl-list*, cl-adjoin): Don't put an autoload manually.
115 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
116 (cl--compiler-macro-list*): Add autoload cookie.
117 (cl--compiler-macro-cXXr): New function.
118
119 * help-fns.el (help-fns--compiler-macro): New function extracted from
120 describe-function-1; follow aliases and use `compiler-macro' property.
121 (describe-function-1): Use it.
122
1232012-06-11 Chong Yidong <cyd@gnu.org>
124
125 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
126 is uninstalled, if imagemagick is installed.
127
1282012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * emacs-lisp/cl-lib.el: Use lexical-binding.
131 (cl-map-extents, cl-maclisp-member): Remove.
132 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
133 (cl--set-substring, cl--block-wrapper, cl--block-throw)
134 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
135 * emacs-lisp/cl-extra.el: Use lexical-binding.
136 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
137 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
138 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
139 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
140 * emacs-lisp/cl-seq.el: Use lexical-binding.
141 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
142 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
143 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
144 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
145 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
146 CL's internals.
147
1482012-06-11 Michael Albinus <michael.albinus@gmx.de>
149
150 Sync with Tramp 2.2.6-pre.
151
152 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
153 `print-length' and `print-level' to nil, in order to avoid
154 truncation. Reported by Christopher Schmidt
155 <christopher@ristopher.com>.
156
157 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
158
159 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
160 New defmacro.
161 (tramp-compat-copy-directory): Add optional argument
162 COPY-CONTENTS. It is not handled yet.
163
164 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
165 (tramp-ftp-file-name-p): Simplify.
166
167 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
168 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
169 connection vector.
170
171 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
172 (tramp-methods): Do not use `tramp-password-end-of-line'.
173 (tramp-completion-function-alist-putty): Handle UNIX case.
174 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
175 (tramp-do-file-attributes-with-stat)
176 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
177 gid as real numbers. They could run out of integer range on cygwin.
178 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
179 (tramp-sh-handle-expand-file-name): Handle hops.
180 (tramp-open-connection-setup-interactive-shell):
181 Use `tramp-cleanup'. Move check for busyboxes ...
182 (tramp-find-shell): ... here. Simplify implementation.
183 Set "remote-shell" property also for alternative shells.
184 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
185 If failing, a regular file would be written otherwise.
186 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
187 (tramp-find-inline-encoding): Cache the coding commands in the
188 process cache. Apply test command on the remote side, if defined.
189 (tramp-find-inline-compress): Cache the compress commands in the
190 process cache.
191 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
192 when requested. Handle hops.
193 (tramp-current-connection): New defvar.
194 (tramp-maybe-open-connection): Use `tramp-cleanup'.
195 Throw `suppress', if there was a failed connection shortly before.
196 Handle user interrupt. (Bug#10187)
197 (tramp-get-inline-compress, tramp-get-inline-coding):
198 Read connection properties from the process cache.
199
200 * net/tramp-smb.el (tramp-smb-server-version)
201 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
202 New defconsts.
203 (tramp-smb-prompt): Extend for powershell prompt.
204 (tramp-smb-file-name-handler-alist): Add handlers for
205 `process-file', `shell-command' and `start-file-process'.
206 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
207 (tramp-smb-winexe-shell-command-switch): New defcustoms.
208 (tramp-smb-file-name-p): Simplify.
209 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
210 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
211 (tramp-smb-shell-quote-argument): New defuns.
212 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
213 Implement using "tar". By this, time-stamps are preserved.
214 (tramp-smb-handle-copy-file): Handle also the case of directories.
215 (tramp-smb-do-file-attributes-with-stat)
216 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
217 Use `tramp-get-connection-buffer').
218 (tramp-smb-handle-rename-file): Use "rename", when source and
219 target are on the same share.
220 (tramp-smb-maybe-open-connection): Handle wrong passwords.
221 Use `tramp-smb-server-version'.
222 (tramp-smb-wait-for-output): Remove prompt.
223
224 * net/tramp.el (top): Require 'cl.
225 (tramp-methods, tramp-rsh-end-of-line):
226 Remove `tramp-password-end-of-line' from docstring.
227 (tramp-save-ad-hoc-proxies): New defcustom.
228 (tramp-completion-function-alist): Adapt docstring.
229 (tramp-default-password-end-of-line): Remove defcustom.
230 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
231 (tramp-user-regexp, tramp-file-name-regexp-unified)
232 (tramp-file-name-regexp-url): Extend regexp by hop separator.
233 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
234 (tramp-remote-file-name-spec-regexp): New defconst.
235 (tramp-file-name-structure): Extend structure for hops.
236 (tramp-get-method-parameter): Move up.
237 (tramp-file-name-p, tramp-dissect-file-name)
238 (with-parsed-tramp-file-name): Handle hops.
239 (tramp-file-name-hop): New defun.
240 (tramp-make-tramp-file-name): New optional arg HOP.
241 (tramp-message-show-progress-reporter-message): New defvar.
242 (tramp-with-progress-reporter): Use it. We cannot use
243 `tramp-message-show-message' here, because this suppresses also
244 error buffers.
245 (tramp-error-with-buffer): Suppress buffer view, if
246 `tramp-message-show-message' is nil.
247 Use `tramp-get-connection-buffer'.
248 (tramp-cleanup): New defun.
249 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
250 (tramp-file-name-handler): If `debug-on-error' is set, propagate
251 an error unchanged.
252 (tramp-completion-handle-file-name-all-completions): Handle hops.
253 Fix an error when called from ido.
254 (tramp-completion-dissect-file-name): Use better local variable
255 name. Add hop to the vector.
256 (tramp-handle-insert-file-contents): Use progress-reporter for the
257 whole scenario.
258 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
259 to `t'.
260 (tramp-check-for-regexp): Simplify search.
261 (tramp-enter-password): Remove it. Move implementation ...
262 (tramp-action-password): ... here.
263 (tramp-mode-string-to-int, tramp-local-host-p)
264 (tramp-make-tramp-temp-file, tramp-read-passwd)
265 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
266 Set tramp-autoload cookie.
267
268 * net/trampver.el: Update release number.
269
2702012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
271 Michael Albinus <michael.albinus@gmx.de>
272
273 * net/tramp.el (tramp-set-completion-function): Fix docstring.
274 (tramp-parse-group, tramp-parse-file)
275 (tramp-parse-shostkeys-sknownhosts): New defuns.
276 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
277 (tramp-parse-shosts-group, tramp-parse-sconfig)
278 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
279 (tramp-parse-sknownhosts, tramp-parse-hosts)
280 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
281 Use them.
282 (tramp-parse-passwd-group, tramp-parse-netrc-group)
283 (tramp-parse-putty-group): Don't narrow.
284 (tramp-parse-putty): Make a loop.
285 (tramp-file-name-handler): Catch the `suppress' signal.
286
2872012-06-11 Chong Yidong <cyd@gnu.org>
288
289 * image.el (imagemagick-register-types): Put the ImageMagick entry
290 at the end of image-type-file-name-regexps.
291
2922012-06-11 Johan Bockgård <bojohan@gnu.org>
293
294 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
295 (pcase, pcase-let*, pcase-dolist): Use them.
296
2972012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
298
299 * emacs-lisp/pcase.el (pcase--let*): New function.
300 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
301 (pcase--expand): Use macroexp-let².
302
3032012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
304
305 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
306 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
307 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
308 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
309 * emacs-lisp/derived.el: Use pcase instead of `cl'.
310 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
311
3122012-06-10 Glenn Morris <rgm@gnu.org>
313
314 * mail/rmail.el (rmail-yank-current-message): Leave point at
315 correct position. (Bug#11660)
316
3172012-06-10 Chong Yidong <cyd@gnu.org>
318
319 * allout-widgets.el: Fix code header.
320
3212012-06-10 Chong Yidong <cyd@gnu.org>
322
323 * cus-edit.el (customize-changed-options-previous-release):
324 Bump to 24.1.
325
3262012-06-09 Andreas Schwab <schwab@linux-m68k.org>
327
328 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
329
3302012-06-09 Chong Yidong <cyd@gnu.org>
331
332 * ebuff-menu.el (electric-buffer-list): Preserve header line.
333
3342012-06-09 Martin Rudalics <rudalics@gmx.at>
335
336 * window.el (special-display-popup-frame): Don't use
337 window--display-buffer (Bug#11651).
338
3392012-06-09 Eli Zaretskii <eliz@gnu.org>
340
341 Fix parallel builds: make sure loaddefs.el is not being written
342 while Lisp files are compiled.
343 (compile): Don't depend on 'mh-autoloads'.
344 (compile-CMD, compile-SH): Depend on 'autoloads'.
345 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
346
347 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
348
3492012-06-09 Chong Yidong <cyd@gnu.org>
350
351 * face-remap.el (face-remap-add-relative, face-remap-set-base)
352 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
353 Doc fixes (Bug#11225).
354
3552012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
356
357 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
358 a function if there's a clear indication that it has a compiler-macro.
359 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
360 (macro-declarations-alist): Add arglist to declaration functions.
361 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
362 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
363 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
364 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
365 Also add autoload to find the compiler macro.
366 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
367 (cl--compiler-macro-member, cl--compiler-macro-assoc)
368 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
369 (cl--compiler-macro-get): New functions, replacing calls to
370 cl-define-compiler-macro.
371 (cl-typep) [compiler-macro]: Use macroexp-let².
372
3732012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
374
375 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
376 string properly, fixes Bug#11473.
377
3782012-06-08 Chong Yidong <cyd@gnu.org>
379
380 * faces.el (set-face-attribute): Doc fix.
381 (modify-face): Don't use :bold and :italic.
382 (error, warning, success): Tweak definitions.
383
384 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
385 (custom-modified, custom-set, custom-changed, custom-themed)
386 (custom-saved, custom-button, custom-button-mouse)
387 (custom-button-pressed, custom-state, custom-comment-tag)
388 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
389 (custom-group-subtitle): Use new-style face specs.
390 (custom-invalid-face, custom-rogue-face, custom-modified-face)
391 (custom-set-face, custom-changed-face, custom-saved-face)
392 (custom-button-face, custom-button-pressed-face)
393 (custom-documentation-face, custom-state-face)
394 (custom-comment-face, custom-comment-tag-face)
395 (custom-variable-tag-face, custom-variable-button-face)
396 (custom-face-tag-face, custom-group-tag-face-1)
397 (custom-group-tag-face): Remove obsolete face alias.
398
399 * epa.el (epa-validity-high, epa-validity-medium)
400 (epa-validity-low, epa-mark, epa-field-name, epa-string)
401 (epa-field-name, epa-field-body):
402 * font-lock.el (font-lock-comment-face, font-lock-string-face)
403 (font-lock-keyword-face, font-lock-builtin-face)
404 (font-lock-function-name-face, font-lock-variable-name-face)
405 (font-lock-type-face, font-lock-constant-face):
406 * ido.el (ido-first-match, ido-only-match, ido-subdir)
407 (ido-virtual, ido-indicator, ido-incomplete-regexp):
408 * speedbar.el (speedbar-button-face, speedbar-file-face)
409 (speedbar-directory-face, speedbar-tag-face)
410 (speedbar-selected-face, speedbar-highlight-face)
411 (speedbar-separator-face):
412 * whitespace.el (whitespace-newline, whitespace-space)
413 (whitespace-hspace, whitespace-tab, whitespace-trailing)
414 (whitespace-line, whitespace-space-before-tab)
415 (whitespace-space-after-tab, whitespace-indentation)
416 (whitespace-empty):
417 * emulation/cua-base.el (cua-global-mark):
418 * eshell/em-prompt.el (eshell-prompt):
419 * net/newst-plainview.el (newsticker-new-item-face)
420 (newsticker-old-item-face, newsticker-immortal-item-face)
421 (newsticker-obsolete-item-face, newsticker-date-face)
422 (newsticker-statistics-face, newsticker-default-face):
423 * net/newst-reader.el (newsticker-feed-face)
424 (newsticker-extra-face, newsticker-enclosure-face):
425 * net/newst-treeview.el (newsticker-treeview-face)
426 (newsticker-treeview-new-face, newsticker-treeview-old-face)
427 (newsticker-treeview-immortal-face)
428 (newsticker-treeview-obsolete-face)
429 (newsticker-treeview-selection-face):
430 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
431 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
432 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
433 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
434 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
435 (nxml-outline-active-indicator, nxml-outline-ellipsis):
436 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
437 (mpuz-text):
438 * progmodes/vera-mode.el (vera-font-lock-number)
439 (vera-font-lock-function, vera-font-lock-interface):
440 * textmodes/table.el (table-cell): Use new-style face specs, and
441 don't use the old :bold and :italic attributes.
442
443 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
444 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
445 (ebrowse-member-class, ebrowse-progress): Likewise.
446 (ebrowse-tree-mark-face, ebrowse-root-class-face)
447 (ebrowse-file-name-face, ebrowse-default-face)
448 (ebrowse-member-attribute-face, ebrowse-member-class-face)
449 (ebrowse-progress-face): Remove obsolete faces.
450
451 * progmodes/flymake.el (flymake-errline, flymake-warnline):
452 Inherit from error and warning faces respectively.
453
454 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
455 Likewise.
456 (flyspell-incorrect-face, flyspell-duplicate-face):
457 Remove obsolete aliases.
458
4592012-06-08 Michael Albinus <michael.albinus@gmx.de>
460
461 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
462 Avoid infloop.
463
4642012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
465
466 * startup.el (argv, argi): Make lexically scoped.
467 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
468 * emacs-lisp/cl-macs.el: Use lexical-binding.
469 Rename cl-bind-* to cl--bind-*.
470 * files.el: Don't require `cl' since it doesn't use it.
471 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
472
4732012-06-08 Juanma Barranquero <lekktu@gmail.com>
474
475 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
476 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
477 instead of calling external sort utility.
478 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
479
4802012-06-08 Eli Zaretskii <eliz@gnu.org>
481
482 * descr-text.el (describe-char): Mention how to insert the
483 character, if the current input method doesn't support it.
484 See the discussion in this thread for the details:
485 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
486
4872012-06-08 Sam Steingold <sds@gnu.org>
488
489 * bindings.el (global-map): Bind XF86Forward to next-buffer and
490 XF86Back to previous-buffer.
491 (minibuffer-local-map): Bind them to next-history-element and
492 previous-history-element respectively.
493 * help-mode.el (help-mode-map): Bind them to help-go-forward and
494 help-go-back respectively.
495 * info.el (Info-mode-map): Bind them to Info-history-forward and
496 Info-history-back respectively.
497 These are the keys next to Up on the ThinkPad keyboard.
498
4992012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
500
501 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
502 * emacs-lisp/cl-macs.el: Provide itself.
503 (cl--labels-convert-cache): New var.
504 (cl--labels-convert): New function.
505 (cl-flet, cl-labels): New implementation with new semantics, relying on
506 lexical-binding.
507 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
508 (cl-closure-vars, cl--function-convert-cache)
509 (cl--function-convert): Move from cl-macs.el.
510 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
511 rename by removing the "cl-" prefix.
512 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
513
5142012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
517 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
518 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
519 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
520 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
521 (cl-hash-table-count): Add old compatibility aliases.
522
523 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
524 Use macroexpand-all-environment instead.
525 (cl--old-macroexpand): New var.
526 (cl--sm-macroexpand): New function.
527 (cl-symbol-macrolet): Use it during macro expansion.
528 (cl--function-convert-cache): New var.
529 (cl--function-convert): New function, extracted from
530 cl-macroexpand-all.
531 (cl-lexical-let): Use it.
532
533 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
534 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
535 (cl-member): Remove old alias.
536
537 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
538 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
539 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
540 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
541 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
542 (cl-macroexpand-cmacs): Remove var.
543 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
544 Use macroexpand-all instead.
545
5462012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
549 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
550 (macroexp-copyable-p): New functions and macros.
551 * emacs-lisp/edebug.el (edebug-unwrap):
552 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
553 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
554 (pcase--let*): Remove.
555 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
556 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
557 macroexp-const-p instead.
558 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
559
560 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
561 instead of "cl-" for internal definitions. Use macroexp-const-p.
562 (cl-old-bc-file-form): Remove var.
563 (cl-const-exprs-p): Remove fun.
564 (cl-labels, cl-macrolet): Use backquote.
565 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
566 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
567 (cl-define-setf-expander): Rename from cl-define-setf-method.
568 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
569
570 * international/mule-cmds.el: Don't require CL.
571 (view-hello-file): Don't use `letf'.
572
5732012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * tmm.el (tmm-prompt): Use string-prefix-p.
576 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
577 (tmm-add-prompt): Use minibuffer-completion-help.
578 (tmm-delete-map): Remove.
579
580 * subr.el (kbd): Make it its own function.
581
5822012-06-07 Stefan Merten <smerten@oekonux.de>
583
584 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
585 Silence compiler warnings. Fix versions.
586 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
587 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
588 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
589 (rst-package-emacs-version-alist): Correct Emacs version to
590 represent major merge with upstream.
591 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
592
5932012-06-06 Glenn Morris <rgm@gnu.org>
594
595 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
596 Only print environment variables if set.
597
5982012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
599
600 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
601 (macroexp--cons): Rename from maybe-cons.
602 (macroexp--accumulate): Rename from macroexp-accumulate.
603 (macroexp--all-forms): Rename from macroexpand-all-forms.
604 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
605 (macroexp--expand-all): Rename from macroexpand-all-1.
606
6072012-06-06 Sam Steingold <sds@gnu.org>
608
609 * calendar/calendar.el (calendar-in-read-only-buffer):
610 Call `special-mode' to enable the standard read-only keybindings.
611
6122012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
615 with "loading" messages (bug#11635).
616
6172012-06-06 Michael Albinus <michael.albinus@gmx.de>
618
619 * files.el (enable-remote-dir-locals): New option.
620 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
621
622 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
623 Ensure, that the temp directory is local.
624
625 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
626 `temporary-file-directory'.
627
628 * progmodes/python.el (python-send-region): Ensure, that the
629 temporary file is created also in the remote case.
630
6312012-06-06 Glenn Morris <rgm@gnu.org>
632
633 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
634 (vc-rcs-update-changelog): Use it.
635
636 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
637
638 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
639 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
640 (vc-sccs-diff): Replace use of the external vcdiff script.
641
6422012-06-05 Glenn Morris <rgm@gnu.org>
643
644 * ledit.el: Move to obsolete/.
645
6462012-06-05 Sam Steingold <sds@gnu.org>
647
648 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
649 patch (Bug#11140).
650
6512012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * emacs-list/cust-print.el: Move to obsolete.
654
655 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
656 compiler-macro expansion.
657
658 Add native compiler-macro support.
659 * emacs-lisp/macroexp.el (macroexpand-all-1):
660 Support compiler-macros directly. Properly follow aliases and apply
661 the compiler macros more thoroughly.
662 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
663 macroexpand now properly follows aliases.
664 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
665 (cl-compiler-macroexpand): Use new prop.
666 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
667
668 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
669
6702012-06-05 Martin Rudalics <rudalics@gmx.at>
671
672 * window.el (get-lru-window, get-mru-window, get-largest-window):
673 New argument NOT-SELECTED to avoid picking the selected window.
674 (window--display-buffer-1, window--display-buffer-2): Replace by
675 new function window--display-buffer
676 (display-buffer-same-window, display-buffer-reuse-window)
677 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
678 Use window--display-buffer.
679 (display-buffer-use-some-window): Remove temporary dedication
680 hack by calling get-lru-window and get-largest-window with
681 NOT-SELECTED argument non-nil. Call window--display-buffer.
682
6832012-06-05 Glenn Morris <rgm@gnu.org>
684
685 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
686 Replace external vcdiff script.
687
6882012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
691
6922012-06-04 Chong Yidong <cyd@gnu.org>
693
694 * image.el (imagemagick-types-inhibit): Revert last change.
695 Add INFO and M.
696 (imagemagick-enabled-types): Remove CIN and EPS*.
697
6982012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
699
700 * emacs-lisp/cl-lib.el: Rename from cl.el.
701 * emacs-lisp/cl.el: New compatibility file.
702 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
703 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
704 to obey the "cl-" prefix.
705 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
706
7072012-06-03 Glenn Morris <rgm@gnu.org>
708
709 * emacs-lisp/authors.el (authors-aliases): Addition.
710
711 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
712 Fix :version.
713
7142012-06-03 Stefan Merten <smerten@oekonux.de>
715
716 * textmodes/rst.el: Add comments.
717 (rst-transition, rst-adornment): New faces.
718 (rst-adornment-faces-alist): Make default safe to reevaluate.
719 Fixes
720 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
721 Improve customization tags.
722 (rst-define-level-faces): Clarify meaning.
723
7242012-06-03 Chong Yidong <cyd@gnu.org>
725
726 * progmodes/compile.el (compilation-mode-line-fail)
727 (compilation-mode-line-run, compilation-mode-line-exit):
728 New faces.
729 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
730
7312012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
732
733 * progmodes/which-func.el (which-func-update-ediff-windows):
734 New function. Use it in ediff-select-hook (Bug#11478).
735
7362012-06-03 Chong Yidong <cyd@gnu.org>
737
738 * bindings.el: Remove explicit help text from format-mode-line.
739 It is now supplied by mode-line-default-help-echo.
740 (mode-line-front-space, mode-line-end-spaces)
741 (mode-line-misc-info): New variables.
742 (mode-line-modes, mode-line-position): Move the default value to
743 the variable definition.
744 (mode-line-default-help-echo): New defcustom.
745 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
746 (mode-line-modified-help-echo): New functions.
747 (mode-line-mule-info, mode-line-modified): Use them.
748 (mode-line-eol-desc, propertized-buffer-identification):
749 Consistency fixes for help text.
750 (mode-line-coding-system-map): Allow using mouse-3 to invoke
751 set-buffer-file-coding-system (Bug#289).
752 (mode-line-mule-info-help-echo): Update help text.
753
7542012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * simple.el (execute-extended-command): Set real-this-command
757 (bug#11506).
758
7592012-06-02 Chong Yidong <cyd@gnu.org>
760
761 Remove incorrect uses of "modeline" in comments, docstrings, and
762 function/variable names (Bug#10329).
763
764 * cus-edit.el (mode-line):
765 * dframe.el (dframe-mouse-hscroll):
766 * emacs-lisp/re-builder.el:
767 * emacs-lisp/easy-mmode.el (define-minor-mode):
768 * frame.el (set-frame-name):
769 * help.el (lookup-minor-mode-from-indicator):
770 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
771 * progmodes/cc-cmds.el (c-toggle-auto-newline)
772 (c-toggle-hungry-state):
773 * progmodes/antlr-mode.el (antlr-language-alist):
774 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
775 * progmodes/vhdl-mode.el (vhdl-mode):
776 * progmodes/which-func.el (which-func, which-func-cleanup-function):
777 * term/ns-win.el (ns-face-at-pos):
778 * term/sup-mouse.el (sup-mouse-report):
779 * textmodes/flyspell.el (flyspell-mode-line-string):
780 * textmodes/ispell.el (ispell-highlight-face):
781 * textmodes/reftex-global.el:
782 * vc/vc-arch.el (vc-arch-mode-line-string):
783 * vc/vc-cvs.el (vc-cvs-mode-line-string):
784 * vc/vc-git.el (vc-git-mode-line-string):
785 * vc/vc-hooks.el (vc-display-status)
786 (vc-default-mode-line-string):
787 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
788
789 * ansi-color.el (ansi-color-faces-vector): Change default faces.
790
791 * dired.el (dired-sort-set-mode-line): Rename from
792 dired-sort-set-modeline. All callers changed.
793
794 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
795 eshell-status-in-modeline.
796
797 * foldout.el (foldout-mode-line-string): Rename from
798 foldout-modeline-string. All callers changed.
799 (foldout-update-mode-line): Rename from foldout-update-modeline.
800
801 * subr.el (redraw-modeline): Make into obsolete alias.
802
803 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
804 timeclock-modeline-display. Make old name an alias.
805 (timeclock-update-mode-line): Likewise. All callers changed.
806 (timeclock-mode-line-display): No need to check before using
807 add-hook.
808 (timeclock-relative, timeclock-day-over-hook)
809 (timeclock-use-elapsed, timeclock-mode-string)
810 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
811
812 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
813 crisp-mode-modeline-string.
814
815 * play/solitaire.el (solitaire-build-mode-line): Rename from
816 solitaire-build-modeline. All callers changed.
817
818 * play/zone.el (zone-hiding-mode-line): Rename from
819 zone-hiding-modeline. All callers changed.
820 (zone): Remove unusued `modeline-hidden-level' property.
821
822 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
823 xscheme-modeline-initialize. All callers changed.
824
825 * strokes.el (strokes-lighter): Rename from
826 strokes-modeline-string.
827
828 * textmodes/sgml-mode.el (html-face-tag-alist)
829 (html-tag-face-alist): Use mode-line face instead of obsolete
830 alias modeline.
831
8322012-06-02 Stefan Merten <smerten@oekonux.de>
833
834 * textmodes/rst.el: Always require `cl'.
835 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
836
8372012-06-02 Chong Yidong <cyd@gnu.org>
838
839 * image.el (imagemagick-enabled-types): Rename from
840 imagemagick-types-enable. Add many more types.
841 (imagemagick-types-inhibit): Change default to nil.
842 (imagemagick-filter-types): Caller changed.
843
8442012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
845
846 * emacs-lisp/cl-macs.el: Use backquotes.
847 (cl-transform-function-property): Use eval-and-compile rather than
848 abusing `require'.
849 (defstruct): Use declare-function instead of with-no-warnings.
850
851 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
852 (byte-compile-output-docform): Re-add the print-circle bindings.
853 (byte-compile-fix-header): Use #$ just because it's shorter.
854 (byte-compile-output-file-form): Remove defun/defmacro.
855
8562012-06-01 Martin Rudalics <rudalics@gmx.at>
857
858 * simple.el (choose-completion): Remove now obsolete binding for
859 owindow.
860
8612012-06-01 Michael Albinus <michael.albinus@gmx.de>
862
863 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
864 in order to avoid "Stack overflow in regexp matcher".
865
8662012-05-31 Glenn Morris <rgm@gnu.org>
867
868 * image.el: For clarity, call imagemagick-register-types at
869 top-level, rather than relying on a custom :initialize.
870 (imagemagick-types-enable): New option. (Bug#11557)
871 (imagemagick-filter-types): New function. (Bug#7406)
872 (imagemagick-register-types): Use imagemagick-filter-types.
873 If disabling support, remove elements altogether rather
874 than using an impossible regexp.
875 (imagemagick-types-inhibit): Give it the default init function.
876
8772012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
880 Handle arbitrary file name lengths (Bug#11585).
881
8822012-05-31 Martin Rudalics <rudalics@gmx.at>
883
884 * desktop.el (desktop-read): Clear previous and next buffers for
885 all windows and bury *Messages* buffer (bug#11556).
886
8872012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
888
889 Add `declare' for `defun'. Align `defmacro's with it.
890 * emacs-lisp/easy-mmode.el (define-minor-mode)
891 (define-globalized-minor-mode): Don't autoload the var definitions.
892 * emacs-lisp/byte-run.el: Use lexical-binding.
893 (defun-declarations-alist, macro-declarations-alist): New vars.
894 (defmacro, defun): Use them.
895 (make-obsolete, define-obsolete-function-alias)
896 (make-obsolete-variable, define-obsolete-variable-alias):
897 Use `declare'.
898 (macro-declaration-function): Mark obsolete.
899 * emacs-lisp/autoload.el: Use lexical-binding.
900 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
901
9022012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
903
904 * textmodes/ispell.el (ispell-with-no-warnings):
905 Define as a macro.
906 (ispell-kill-ispell, ispell-change-dictionary):
907 Use `called-interactively-p' for Emacs instead of obsolete
908 `interactive-p'.
909
9102012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
911
912 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
913 (macro-declaration-function): Move var from C code.
914 (macro-declaration-function): Define function with defalias.
915 * emacs-lisp/macroexp.el (macroexpand-all-1):
916 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
917 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
918 defun/defmacro any more.
919 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
920 Provide fallback for unknown arglist.
921 (byte-compile-arglist-warn): Change calling convention.
922 (byte-compile-output-file-form): Move print-vars binding.
923 (byte-compile-output-docform): Simplify accordingly.
924 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
925 (byte-compile-defmacro-declaration): Remove.
926 (byte-compile-file-form-defmumble): Generalize to defalias.
927 (byte-compile-output-as-comment): Return byte-positions.
928 Simplify callers accordingly.
929 (byte-compile-lambda): Use `assert'.
930 (byte-compile-defun, byte-compile-defmacro): Remove.
931 (byte-compile-file-form-defalias):
932 Use byte-compile-file-form-defmumble.
933 (byte-compile-defalias-warn): Remove.
934
9352012-05-29 Stefan Merten <smerten@oekonux.de>
936
937 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
938 possible. Fix authors. Improve comments. Improve loading of `cl'.
939
940 (rst-mode-abbrev-table): Merge definition.
941 (rst-mode): Make sure `font-lock-defaults' is buffer local.
942 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
943
9442012-05-29 Ulf Jasper <ulf.jasper@web.de>
945
946 * calendar/icalendar.el
947 (icalendar-export-region): Export UID properly.
948
9492012-05-29 Leo <sdl.web@gmail.com>
950 * calendar/icalendar.el (icalendar-import-format):
951 Add `icalendar-import-format-uid' (Bug#11525).
952 (icalendar-import-format-uid): New.
953 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
954 Export UID.
955
9562012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
959 different alternative patterns.
960 (pcase-codegen): Be more careful to preserve identity.
961 (pcase--u1): Don't forget to mark vars as used.
962
963 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
964 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
965 (byte-compile-from-buffer): ...rather than here.
966
967 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
968 functions from byte-compile-function-environment.
969
9702012-05-29 Troels Nielsen <bn.troels@gmail.com>
971
972 * window.el (window-deletable-p): Avoid deleting the root window
973 of a frame with an active minibuffer.
974
9752012-05-29 Martin Rudalics <rudalics@gmx.at>
976
977 * simple.el (choose-completion): Use quit-window (Bug#11567).
978
9792012-05-29 Chong Yidong <cyd@gnu.org>
980
981 * whitespace.el (whitespace-cleanup): Fix usage of
982 whitespace-empty-at-bob-regexp (Bug#11492).
983
9842012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
985
986 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
987 revert (Bug#11488).
988
9892012-05-29 Juri Linkov <juri@jurta.org>
990
991 * isearch.el (isearch-mode-map): Bind `M-s _' to
992 `isearch-toggle-symbol'. Bind `M-s c' to
993 `isearch-toggle-case-fold'.
994 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
995 (isearch-forward): Add `M-s _' to the docstring.
996 (isearch-forward-symbol, isearch-toggle-case-fold)
997 (isearch-symbol-regexp): New functions. (Bug#11381)
998
9992012-05-29 Juri Linkov <juri@jurta.org>
1000
1001 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1002 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1003 a function, call it to get the regexp.
1004 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1005 property `isearch-message-prefix' instead of the string "word ".
1006 (isearch-search-fun-default): For the case of `isearch-word',
1007 return a lambda that calls re-search-forward/re-search-backward
1008 with a regexp returned by `word-search-regexp' or by the function
1009 in `isearch-word'.
1010
10112012-05-29 Juri Linkov <juri@jurta.org>
1012
1013 * isearch.el (isearch-search-fun-default): New function.
1014 (isearch-search-fun): Move default part to the new function
1015 `isearch-search-fun-default'.
1016 (isearch-search-fun-function): Set the default value to
1017 `isearch-search-fun-default'. (Bug#11381)
1018
1019 * comint.el (comint-history-isearch-end):
1020 Use `isearch-search-fun-default'.
1021 (comint-history-isearch-search): Use `isearch-search-fun-default'
1022 and remove spacial case for `isearch-word'.
1023 (comint-history-isearch-wrap): Remove spacial case for
1024 `isearch-word'.
1025
1026 * hexl.el (hexl-isearch-search-function):
1027 Use `isearch-search-fun-default'.
1028
1029 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1030 Use `word-search-regexp' for `isearch-word'.
1031
1032 * misearch.el (multi-isearch-search-fun):
1033 Use `isearch-search-fun-default'.
1034
1035 * simple.el (minibuffer-history-isearch-search):
1036 Use `isearch-search-fun-default' and remove spacial case for
1037 `isearch-word'.
1038 (minibuffer-history-isearch-wrap): Remove spacial case for
1039 `isearch-word'.
1040
1041 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1042 Remove spacial case for `isearch-word'.
1043 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1044
10452012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1046
1047 Decrease XEmacs incompatibilities.
1048 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1049 Use `string-match'.
1050 (flyspell-delete-region-overlays): Use alternative definition for
1051 XEmacs.
1052 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1053 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1054 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1055 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1056 `define-obsolete-face-alias' under XEmacs, but old method.
1057
1058 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1059 `with-no-warnings' definition or Emacs alias.
1060 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1061 (ispell-word): Do not use `region-p' if XEmacs.
1062
10632012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1064
1065 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1066 Check for `ispell-dictionary-base-alist' instead of full
1067 `ispell-dictionary-alist'.
1068 (ispell-init-process): Show spellchecker when starting new Ispell
1069 process.
1070
10712012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1072
1073 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1074 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1075
10762012-05-27 Juanma Barranquero <lekktu@gmail.com>
1077
1078 * version.el (motif-version-string, gtk-version-string)
1079 (ns-version-string): Declare.
1080
10812012-05-27 Juri Linkov <juri@jurta.org>
1082
1083 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1084 after the `eval-defun-1' specialcaseing
1085 like in `edebug-eval-defun' (bug#10181).
1086
1087 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1088 like in `eval-defun-1'.
1089
10902012-05-27 Eli Zaretskii <eliz@gnu.org>
1091
1092 * mail/sendmail.el (mail-yank-region):
1093 Recognize rmail-yank-current-message in addition to insert-buffer.
1094 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1095 a *mail* buffer created through rmail-start-mail with sendmail as
1096 mail-user-agent.
1097
10982012-05-27 Chong Yidong <cyd@gnu.org>
1099
1100 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1101 Default to 256 (Bug#11267).
1102
1103 * help.el (describe-mode): Doc fix.
1104
11052012-05-26 Glenn Morris <rgm@gnu.org>
1106
1107 * w32-fns.el (w32-init-info): Remove.
1108 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1109
1110 * info.el (info-initialize): For self-contained NS builds, put the
1111 included info/ directory at the front. (Bug#2791)
1112
1113 * paths.el (Info-default-directory-list): Make it a defcustom,
1114 mainly so that we can use custom-initialize-delay.
1115
11162012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * subr.el (buffer-has-markers-at): Mark obsolete.
1119
1120 * subr.el (lambda): Use declare.
1121
1122 * emacs-lisp/lisp-mode.el (lambda):
1123 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1124
11252012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1126
1127 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1128
11292012-05-26 Glenn Morris <rgm@gnu.org>
1130
1131 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1132
11332012-05-25 Glenn Morris <rgm@gnu.org>
1134
1135 * paths.el: Remove no-byte-compile.
1136 * loadup.el: No need to load paths.el uncompiled.
1137
1138 * image.el (imagemagick-types-inhibit): Doc fix.
1139
1140 * version.el: Remove no-byte-compile and associated formatting.
1141 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1142 is ancient code from when there was an "inc-vers.el".
1143
11442012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1145
1146 * progmodes/gdb-mi.el: Minor style changes.
1147 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1148 Turn into minor modes.
1149 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1150 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1151 (gdb-shell): Remove unneeded let-binding.
1152 (gdb-get-many-fields): Eliminate O(n²) behavior.
1153
11542012-05-25 Eli Zaretskii <eliz@gnu.org>
1155
1156 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1157 platforms that don't link in fontset.c.
1158
11592012-05-25 Juri Linkov <juri@jurta.org>
1160
1161 Use the same diff color scheme as in modern VCSes (bug#10181).
1162
1163 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1164 to avoid confusion with `diff-added' that now uses green colors.
1165 (diff-removed): Use shades of red.
1166 (diff-added): Use shades of green.
1167 (diff-changed): Leave just the yellow color.
1168 (diff-use-changed-face): New variable.
1169 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1170 how to highlight context diff changes.
1171 (diff-refine-change): Use shades of yellow.
1172 (diff-refine-removed): New face that uses shades of red.
1173 (diff-refine-added): New face that uses shades of green.
1174 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1175 `diff-refine-removed' in the call to `smerge-refine-subst'
1176 depending on the value of `diff-use-changed-face'.
1177
1178 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1179 (smerge-other): Use shades of green.
1180 (smerge-base): Use shades of yellow.
1181 (smerge-refined-change): Empty face.
1182 (smerge-refined-removed): New face that uses shades of red.
1183 (smerge-refined-added): New face that uses shades of green.
1184 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1185 args `props-r' and `props-a', and use them. Doc fix.
1186 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1187 on its value use different faces `smerge-refined-change',
1188 `smerge-refined-removed', `smerge-refined-added' in the call to
1189 `smerge-refine-subst'.
1190
1191 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1192 Add face condition `min-colors 88' with shades of red.
1193 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1194 `min-colors 88' with shades of green.
1195 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1196 `min-colors 88' with shades of yellow.
1197
11982012-05-24 Glenn Morris <rgm@gnu.org>
1199
1200 * paths.el (prune-directory-list, remote-shell-program): Move to...
1201 * files.el (prune-directory-list, remote-shell-program): ...here.
1202 For the latter, delay initialization, prefer ssh, just search PATH.
1203
1204 * paths.el (term-file-prefix): Move to faces.el (the only user).
1205 * faces.el (term-file-prefix): Move here, make it a defcustom.
1206
1207 * paths.el (news-directory, news-path, news-inews-program):
1208 Move to gnus/nnspool.el.
1209
1210 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1211
1212 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1213 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1214 Make the latter a defcustom, with a delayed initialization.
1215
1216 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1217 These were deleted from Gnus itself late 2010.
1218
12192012-05-22 Juanma Barranquero <lekktu@gmail.com>
1220
1221 * progmodes/which-func.el (which-func-ff-hook):
1222 Check against user-error, not error.
1223
1224 * emacs-lisp/edebug.el (top): Do not load or set up loading of
1225 cl-specs.el, which no longer exists.
1226
12272012-05-22 Glenn Morris <rgm@gnu.org>
1228
1229 * info.el (info-emacs-bug): New command.
1230 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1231 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1232
12332012-05-21 Glenn Morris <rgm@gnu.org>
1234
1235 * makefile.w32-in (update-subdirs-SH):
1236 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1237
12382012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1239
1240 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1241
1242 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1243 Simplify Maven regexp, and make sure the file can't start with a space
1244 (bug#11517).
1245
12462012-05-21 Glenn Morris <rgm@gnu.org>
1247
1248 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1249 Scrap superfluous subshells.
1250
12512012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1252
1253 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1254 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1255
12562012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1257
1258 * calc/calc.el (calc-ensure-consistent-units): New variable.
1259
1260 * calc/calc-units.el (math-consistent-units-p)
1261 (math-check-unit-consistency): New functions.
1262 (calc-quick-units, calc-convert-units):
1263 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1264 is non-nil.
1265 (calc-extract-units): Fix typo.
1266
12672012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1270
1271 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1272 (flyspell-default-deplacement-commands): Don't spell check after
1273 repeated window/frame switches (e.g. triggered by mouse-movement).
1274 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1275 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1276 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1277 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1278 Remove unused vars.
1279 (flyspell-get-casechars, flyspell-get-not-casechars):
1280 Simplify; Don't bother removing a ] just to add it back.
1281 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1282
12832012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1284
1285 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1286 New functions.
1287 (math-function-table): Add support for more C functions.
1288
12892012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1290
1291 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1292 (flyspell-debug-signal-word-checked): Protect delay handling for
1293 otherchars against empty otherchars.
1294
12952012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1298 their respective macro declarations.
1299 * skeleton.el (define-skeleton):
1300 * progmodes/compile.el (define-compilation-mode):
1301 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1302 (define-ibuffer-filter):
1303 * emacs-lisp/generic.el (define-generic-mode):
1304 * emacs-lisp/easy-mmode.el (define-minor-mode)
1305 (define-globalized-minor-mode):
1306 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1307 * emacs-lisp/byte-run.el (defsubst):
1308 * custom.el (deftheme): Add doc-string metadata.
1309
13102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1313
13142012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1315
1316 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1317
1318 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1319 * emacs-lisp/cl-macs.el: Idem.
1320 * emacs-lisp/cl-specs.el: Remove.
1321
13222012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 Minor renaming of internal CL functions and variables.
1325 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1326 (cl--position): Rename from cl-position.
1327 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1328 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1329 (cl--random-state): Rename from *random-state*.
1330
13312012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1332
1333 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1334 parens around the arg list (bug#11499).
1335
13362012-05-17 Juri Linkov <juri@jurta.org>
1337
1338 * isearch.el (word-search-regexp, word-search-backward)
1339 (word-search-forward, word-search-backward-lax)
1340 (word-search-forward-lax): Move functions from search.c
1341 (bug#10145, bug#11381).
1342
13432012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1344
1345 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1346 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1347 normal word components.
1348
13492012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1350
1351 * minibuffer.el (completion--sifn-requote): Fix last change.
1352 (minibuffer-local-must-match-filename-map):
1353 Move define-obsolete-variable-alias before its var.
1354
13552012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1358
1359 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1360 behavior.
1361 (completion--string-equal-p): New function.
1362 (completion--twq-all): Use it to get better assertion failure data.
1363
1364 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1365 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1366 (shell--requote-argument): New functions.
1367 (shell-completion-vars): Use them.
1368 (shell--parse-pcomplete-arguments): Rename from
1369 shell-parse-pcomplete-arguments.
1370 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1371 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1372 Obey comint-file-name-quote-list.
1373
1374 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1375 (smie-indent-keyword): Use it.
1376
13772012-05-14 Stefan Merten <smerten@oekonux.de>
1378
1379 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1380
13812012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1382
1383 * net/rlogin.el (rlogin-mode-map): Fix last change.
1384
13852012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1386
1387 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1388 the following \r\n using a single `process-send-string', since the
1389 Lotus SMTP server refuses to accept any commands if they are sent
1390 with two `process-send-string's (Bug#11444).
1391
13922012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * shell.el (shell-parse-pcomplete-arguments):
1395 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1396
13972012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1398
1399 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1400 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1401 (image-transform-width, image-transform-fit-width): New functions.
1402 (image-transform-properties): Use them.
1403 (image-transform-check-size): New function.
1404 (image-toggle-display-image): Use it (for testing).
1405 (image-transform-set-rotation): Reduce angle mod 360.
1406 Delete obsolete comment.
1407
14082012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1409
1410 * image-mode.el: Fix scaling (bug#11399).
1411 (image-transform-resize): Doc fix.
1412 (image-transform-properties): Default scale is 1 and height should
1413 be an integer.
1414
14152012-05-13 Johan Bockgård <bojohan@gnu.org>
1416
1417 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1418 than hard-coding `car', to fix misbehavior when moving forward.
1419
14202012-05-13 Chong Yidong <cyd@gnu.org>
1421
1422 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1423 (tabulated-list-entries, tabulated-list-padding)
1424 (tabulated-list-sort-key): Make permanent-local.
1425
1426 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1427 (electric-buffer-list): Put electric buffer menu
1428 command descriptions in this docstring, instead of the docstring
1429 of electric-buffer-menu-mode. Code cleanups.
1430 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1431 Electric-buffer-menu-mode.
1432 (electric-buffer-update-highlight): Minor code cleanup.
1433
14342012-05-13 Michael Albinus <michael.albinus@gmx.de>
1435
1436 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1437 (Bug#11447)
1438
14392012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1440
1441 Move define-obsolete-variable-alias before the var's definition.
1442 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1443 * tooltip.el (tooltip-hook):
1444 * textmodes/reftex-toc.el (reftex-toc-map):
1445 * textmodes/reftex-sel.el (reftex-select-label-map)
1446 (reftex-select-bib-map):
1447 * textmodes/reftex-index.el (reftex-index-map)
1448 (reftex-index-phrases-map):
1449 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1450 * progmodes/meta-mode.el (meta-mode-map):
1451 * novice.el (disabled-command-hook):
1452 * loadhist.el (unload-hook-features-list):
1453 * frame.el (blink-cursor):
1454 * files.el (find-file-not-found-hooks, write-file-hooks)
1455 (write-contents-hooks):
1456 * emulation/tpu-edt.el (GOLD-map):
1457 * emacs-lock.el (emacs-lock-from-exiting):
1458 * emacs-lisp/generic.el (generic-font-lock-defaults):
1459 * emacs-lisp/chart.el (chart-map):
1460 * dos-fns.el (register-name-alist):
1461 * dired-x.el (dired-omit-files-p):
1462 * desktop.el (desktop-enable):
1463 * cus-edit.el (custom-mode-hook):
1464 * buff-menu.el (buffer-menu-mode-hook):
1465 * bookmark.el (bookmark-read-annotation-text-func)
1466 (bookmark-exit-hooks):
1467 * allout.el (allout-mode-deactivate-hook)
1468 (allout-exposure-change-hook, allout-structure-added-hook)
1469 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1470 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1471 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1472 comes before the corresponding variable's definition.
1473
14742012-05-12 Chong Yidong <cyd@gnu.org>
1475
1476 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1477 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1478 (Buffer-menu-mode-map): Bind it.
1479 (Buffer-menu--pretty-name): Add a mouse-face property.
1480
14812012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1482
1483 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1484 (prolog-upper-case-string, prolog-lower-case-string)
1485 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1486 (prolog-use-smie, prolog-smie-grammar): New vars.
1487 (prolog-smie-forward-token, prolog-smie-backward-token)
1488 (prolog-smie-rules): New funs.
1489 (prolog-comment-indent): Remove.
1490 (prolog-mode-variables): Use default comment indentation instead.
1491 Setup SMIE.
1492 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1493 (prolog-mode): Don't call them any more.
1494 (prolog-electric-colon, prolog-electric-dash)
1495 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1496
1497 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1498
1499 * minibuffer.el (completion--twq-all): Again, allow case differences.
1500
1501 * term.el: Move keymap initialization code to be more idiomatic.
1502 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1503 (term-terminal-menu): Move initialization into declaration.
1504 (term-escape-char): Let the user set it in her .emacs.
1505
1506 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1507 Provide SMIE-based indentation (not enabled by default yet).
1508 (sh-mode-map): Don't bind electric keys.
1509 Use electric-pair-mode instead of skeleton-pair.
1510 (sh-assignment-regexp): Fit within 80 columns.
1511 (sh-indent-supported): Specify actual shell name instead of boolean.
1512 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1513 (sh-maybe-here-document): Use it. Make obsolete.
1514 (sh-electric-here-document-mode) New minor mode.
1515 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1516 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1517 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1518 (sh-smie-rc-grammar, sh-use-smie): New vars.
1519 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1520 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1521 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1522 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1523 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1524 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1525 (sh-set-shell): Use smie-setup if requested.
1526
1527 * term.el (term-set-escape-char): Properly set term-escape-char.
1528 See http://stackoverflow.com/questions/10524656.
1529
15302012-05-10 Chong Yidong <cyd@gnu.org>
1531
1532 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1533 Use url-generic-parse-url, and handle host names and Windows
1534 filenames properly.
1535 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1536 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1537 URL schemes to work on.
1538 (ffap--toggle-read-only): New function.
1539 (ffap-read-only, ffap-read-only-other-window)
1540 (ffap-read-only-other-frame): Use it.
1541 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1542 necessary for ffap-url-unwrap-remote.
1543
15442012-05-10 Dave Abrahams <dave@boostpro.com>
1545
1546 * cus-start.el (create-lockfiles): Add it.
1547
15482012-05-09 Chong Yidong <cyd@gnu.org>
1549
1550 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1551 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1552
15532012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1554
1555 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1556
15572012-05-09 Chong Yidong <cyd@gnu.org>
1558
1559 * ansi-color.el (ansi-color-process-output): Check for validity of
1560 comint-last-output-start before using it. This avoids a bad
1561 interaction with gdb-mi's input/output buffer.
1562
15632012-05-09 Glenn Morris <rgm@gnu.org>
1564
1565 * files.el (dir-locals-read-from-file):
1566 Mention dir-locals in any error message.
1567
15682012-05-09 Chong Yidong <cyd@gnu.org>
1569
1570 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1571 package (Bug#11410).
1572
1573 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1574 variables into description.
1575
15762012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1577
1578 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1579 shell-delimiter-argument-list (bug#11348).
1580 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1581
15822012-05-09 Juanma Barranquero <lekktu@gmail.com>
1583
1584 * textmodes/rst.el: Silence byte-compiler warnings.
1585 (rst-re-alist, rst-reset-section-caches): Move around.
1586 (rst-re): Use `characterp', not `char-valid-p'.
1587 (font-lock-beg, font-lock-end): Declare.
1588
1589 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1590 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1591
1592 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1593
15942012-05-08 Glenn Morris <rgm@gnu.org>
1595
1596 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1597
15982012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1599
1600 * vc/log-edit.el: Add GNU coding standards highlighting.
1601 (log-edit-font-lock-gnu-style)
1602 (log-edit-font-lock-gnu-keywords): New vars.
1603 (log-edit-font-lock-keywords): New fun.
1604 (log-edit-mode): Don't fold case in font-lock.
1605 (log-edit-font-lock-keywords): Do not assume case-folding.
1606
1607 * imenu.el: Misc cleanup. Make docstrings out of comments.
1608 Use lexical-binding.
1609 (imenu--index-alist, imenu--last-menubar-index-alist)
1610 (imenu-menubar-modified-tick): Use defvar-local.
1611 (imenu--split-menu): Remove unused var.
1612 (imenu--cleanup-seen): Declare as global.
1613 (imenu--cleanup): Use dolist.
1614
1615 * subr.el (defvar-local): Add debug spec and doc-string position.
1616
16172012-05-08 Glenn Morris <rgm@gnu.org>
1618
1619 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1620 * language/english.el, language/georgian.el, language/greek.el:
1621 * language/japanese.el, language/khmer.el, language/korean.el:
1622 * language/lao.el, language/misc-lang.el, language/romanian.el:
1623 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1624 * language/thai.el, language/utf-8-lang.el:
1625 Remove no-byte-compile setting.
1626
1627 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1628
16292012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1630
1631 * progmodes/make-mode.el (makefile-browse):
1632 Remove unnecessary interactive. (Bug#11324)
1633
16342012-05-07 Glenn Morris <rgm@gnu.org>
1635
1636 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1637
1638 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1639
16402012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1641
1642 * loadup.el: Preload newcomment.el.
1643 * newcomment.el: Move autoload-only code to toplevel.
1644
1645 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1646 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1647 Handle new :right-align column property.
1648 (tabulated-list-print-col): Idem, plus use `display' text-property to
1649 try and preserve alignment for variable pitch fonts.
1650
16512012-05-07 Chong Yidong <cyd@gnu.org>
1652
1653 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1654 (tabulated-list-use-header-line): New var.
1655 (tabulated-list-init-header): Use it.
1656 (tabulated-list-print-fake-header): New function.
1657 (tabulated-list-print): Use it.
1658 (tabulated-list-sort-button-map): Add non-header-line commands.
1659 (tabulated-list-init-header): Add column name property to basic
1660 labels as well.
1661 (tabulated-list-col-sort): Handle non-header-line button case.
1662 (tabulated-list--sort-by-column-name): Fix a corner case.
1663
1664 * buff-menu.el (list-buffers--refresh):
1665 Handle Buffer-menu-use-header-line.
1666
16672012-05-06 Chong Yidong <cyd@gnu.org>
1668
1669 * buff-menu.el: Convert to Tabulated List mode.
1670 (Buffer-menu-buffer+size-width): Make obsolete.
1671 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1672 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1673 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1674 documentation into docstring of buffer-menu.
1675 (Buffer-menu-toggle-files-only): Add an informative message.
1676 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1677 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1678 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1679 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1680 (Buffer-menu-execute, Buffer-menu-select)
1681 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1682 (Buffer-menu-bury): Use Tabulated List machinery.
1683 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1684 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1685 Delete.
1686 (list-buffers--refresh): New function.
1687 (list-buffers-noselect): Use it.
1688 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1689 (Buffer-menu--pretty-file-name): New helper functions.
1690
1691 * loadup.el: Preload tabulated-list.
1692
1693 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1694 tabulated-list-sort-column.
1695 (tabulated-list-init-header): Add the initial aligning space even
1696 if tabulated-list-padding is zero.
1697
16982012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1699
1700 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1701 whose cdr is not a cons cell correctly (bug#11038).
1702
17032012-05-06 Chong Yidong <cyd@gnu.org>
1704
1705 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1706 Accept additional plist in column descriptors.
1707 (tabulated-list-init-header): Obey it.
1708 (tabulated-list-get-entry): New function.
1709 (tabulated-list-put-tag): Use it. Use string-width instead of
1710 length.
1711 (tabulated-list--column-number): New function.
1712 (tabulated-list-print): Use it.
1713 (tabulated-list-print-col): New function.
1714 Set `tabulated-list-column-name' property on each column's text.
1715 (tabulated-list-print-entry): Use it.
1716 (tabulated-list-delete-entry, tabulated-list-set-col):
1717 New functions.
1718 (tabulated-list-sort-column): New command (Bug#11337).
1719
1720 * buff-menu.el (list-buffers): Move C-x C-b binding from
1721 buff-menu.el to bindings.el.
1722
1723 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1724 :advertised-binding feature.
1725
17262012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1727
1728 * progmodes/compile.el (compilation-internal-error-properties):
1729 Calculate start position correctly when end-col is set but
1730 end-line is not (Bug#11382).
1731
17322012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1733
1734 * man.el (Man-unindent): Use text-property-default-nonsticky to
1735 prevent untabify from inheriting face properties (Bug#11408).
1736
17372012-05-05 Stefan Merten <smerten@oekonux.de>
1738
1739 * textmodes/rst.el: Major merge with upstream development up to
1740 Docutils SVN r7399 / rst.el V1.2.1.
1741
1742 Clarify maintainership and authors.
1743
1744 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1745 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1746 (rst-official-version, rst-official-cvs-rev, rst-version)
1747 (rst-package-emacs-version-alist): New functions and variables
1748 for version information.
1749
1750 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1751 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1752 (rst-mode-syntax-table, rst-mode): New and corrected functions
1753 and variables representing reStructuredText features.
1754
1755 (rst-re): New function for reStructuredText regexes. Use in
1756 many places.
1757
1758 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1759 (rst-mode-map): Rebind keys.
1760
1761 (rst-mode-lazy, rst-font-lock-keywords)
1762 (rst-font-lock-extend-region)
1763 (rst-font-lock-extend-region-internal)
1764 (rst-font-lock-extend-region-extend)
1765 (rst-font-lock-find-unindented-line-limit)
1766 (rst-font-lock-find-unindented-line-match)
1767 (rst-adornment-level, rst-font-lock-adornment-level)
1768 (rst-font-lock-adornment-match)
1769 (rst-font-lock-handle-adornment-pre-match-form)
1770 (rst-font-lock-handle-adornment-matcher): Major revision of
1771 font-locking. Integrate with other code. Use `jit-lock-mode'.
1772
1773 (rst-preferred-adornments, rst-adjust-hook)
1774 (rst-new-adornment-down, rst-preferred-bullets)
1775 (rst-preferred-bullets, rst-indent, rst-indent-width)
1776 (rst-indent-field, rst-indent-literal-normal)
1777 (rst-indent-literal-minimized, rst-indent-comment): Change,
1778 extend and improve customization.
1779
1780 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1781 (rst-normalize-cursor-position, rst-get-decoration)
1782 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1783 (rst-rstrip, rst-toc-insert-find-delete-contents)
1784 (rst-shift-fill-region, rst-compute-bullet-tabs)
1785 (rst-debug-print-tabs, rst-debug-mark-found)
1786 (rst-shift-region-guts, rst-shift-region-right)
1787 (rst-shift-region-left, rst-use-char-classes)
1788 (rst-font-lock-keywords-function)
1789 (rst-font-lock-indentation-point)
1790 (rst-font-lock-find-unindented-line-begin)
1791 (rst-font-lock-find-unindented-line-end)
1792 (rst-font-lock-find-unindented-line)
1793 (rst-font-lock-adornment-point, rst-font-lock-level)
1794 (rst-adornment-level-alist): Remove functions and variables.
1795
1796 (rst-compare-adornments, rst-get-adornment-match)
1797 (rst-suggest-new-adornment, rst-get-adornments-around)
1798 (rst-adornment-complete-p, rst-get-next-adornment)
1799 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1800 (rst-straighten-adornments): Standardize function names to
1801 use "adornment" instead of "decoration". Correct callers.
1802 Similar standardizing in many places.
1803
1804 (rst-update-section, rst-adjust, rst-promote-region)
1805 (rst-enumerate-region, rst-bullet-list-region)
1806 (rst-repeat-last-character): Correct use of `interactive'.
1807
1808 (rst-classify-adornment, rst-find-all-adornments)
1809 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1810 (rst-find-leftmost-column, rst-repeat-last-character):
1811 Refactor functions.
1812
1813 (rst-find-title-line, rst-reset-section-caches)
1814 (rst-get-adornments-around, rst-adjust-adornment-work)
1815 (rst-arabic-to-roman, rst-roman-to-arabic)
1816 (rst-insert-list-pos, rst-insert-list-new-item)
1817 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1818 New functions.
1819
1820 (rst-all-sections, rst-section-hierarchy)
1821 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1822 New variables.
1823
1824 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1825 configuration instead of only buffer. Change where necessary.
1826
1827 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1828 (rst-shift-region, rst-adaptive-fill): New functions for
1829 indentation and filling.
1830
1831 (rst-comment-line-break, rst-comment-indent)
1832 (rst-comment-insert-comment, rst-comment-region)
1833 (rst-uncomment-region): New functions for handling comments.
1834
1835 (rst-compile): Quote shell arguments.
1836
1837 (rst-compile-pdf-preview, rst-compile-slides-preview):
1838 Delete temporary files after use.
1839
18402012-05-05 Glenn Morris <rgm@gnu.org>
1841
1842 * calendar/cal-html.el: Optionally include holidays in the output.
1843 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1844 (cal-html-holidays): New option.
1845 (cal-html-css-default): Add holiday entry.
1846 (holiday-in-range): Autoload it.
1847 (cal-html-htmlify-entry): Add optional class argument.
1848 (cal-html-htmlify-list): Add optional holidays argument.
1849 (cal-html-insert-agenda-days): Include holidays in the output.
1850 (cal-html-one-month): Maybe include holidays.
1851
1852 * calendar/holidays.el (holiday-in-range):
1853 Move here from cal-tex-list-holidays.
1854 * calendar/cal-tex.el (cal-tex-list-holidays):
1855 Make it an obsolete alias for holiday-in-range. Update all callers.
1856
18572012-05-05 Chong Yidong <cyd@gnu.org>
1858
1859 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1860 Nextstep.
1861
18622012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1863
1864 * files.el (file-auto-mode-skip): New var.
1865 (set-auto-mode-1): Use it.
1866
18672012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * repeat.el: Use lexical-binding.
1870 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1871 (repeat-undo-count): Remove.
1872 (repeat):
1873 * progmodes/octave-mod.el (octave-abbrev-start):
1874 * progmodes/f90.el (f90-abbrev-start):
1875 * face-remap.el (text-scale-adjust):
1876 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1877
1878 * emacs-lisp/pcase.el (pcase--let*): New function.
1879 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1880 a bit more.
1881 (pcase--split-pred): Be more clever about ruling out overlap between
1882 a predicate and some constant pattern.
1883 (pcase--q1): Use `null' instead of (eq foo nil).
1884
1885 * subr.el (setq-local, defvar-local): New macros.
1886 (kbd): Redefine as an alias.
1887 (with-selected-window): Leave unrelated frames alone.
1888 (set-temporary-overlay-map): New function.
1889
18902012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * subr.el (user-error): New function.
1893 * window.el (switch-to-buffer):
1894 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1895 (smerge-match-conflict):
1896 * simple.el (previous-matching-history-element)
1897 (next-matching-history-element, goto-history-element, undo-more)
1898 (undo-start):
1899 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1900 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1901 (next-file, tags-loop-scan, list-tags, complete-tag):
1902 * progmodes/compile.el (compilation-loop):
1903 * mouse.el (mouse-minibuffer-check):
1904 * man.el (Man-bgproc-sentinel, Man-goto-page):
1905 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1906 (Info-history-forward, Info-follow-reference, Info-menu)
1907 (Info-extract-menu-item, Info-extract-menu-counting)
1908 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1909 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1910 (Info-next-reference, Info-prev-reference, Info-index)
1911 (Info-index-next, Info-follow-nearest-node)
1912 (Info-copy-current-node-name):
1913 * imenu.el (imenu--make-index-alist)
1914 (imenu-default-create-index-function, imenu-add-to-menubar):
1915 * files.el (basic-save-buffer, recover-file):
1916 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1917 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1918 (checkdoc-message-text, checkdoc-defun):
1919 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1920 * cus-edit.el (customize-changed-options, customize-rogue)
1921 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1922 (custom-variable-mark-to-reset-standard)
1923 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1924 (custom-file):
1925 * completion.el (check-completion-length):
1926 * comint.el (comint-search-arg)
1927 (comint-previous-matching-input-string-position)
1928 (comint-previous-matching-input)
1929 (comint-replace-by-expanded-history-before-point, comint-send-input)
1930 (comint-copy-old-input, comint-backward-matching-input)
1931 (comint-goto-process-mark, comint-set-process-mark):
1932 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1933 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1934
19352012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * dabbrev.el (dabbrev--ignore-case-p): New function.
1938 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1939 Use it.
1940
1941 * files.el (automount-dir-prefix): Mark as obsolete.
1942
19432012-05-04 Glenn Morris <rgm@gnu.org>
1944
1945 * patcomp.el, play/bruce.el: Move to obsolete/.
1946
19472012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1948
1949 Fix minor Y10k bugs.
1950 * arc-mode.el (archive-unixdate):
1951 * autoinsert.el (auto-insert-alist):
1952 * calc/calc-forms.el (math-this-year):
1953 * emacs-lisp/copyright.el (copyright-current-year)
1954 (copyright-update-year, copyright):
1955 * tar-mode.el (tar-clip-time-string):
1956 * time.el (display-time-update):
1957 Don't assume years have 4 digits.
1958
19592012-05-04 Chong Yidong <cyd@gnu.org>
1960
1961 * dos-w32.el (file-name-buffer-file-type-alist)
1962 (direct-print-region-use-command-dot-com):
1963 * ffap.el (ffap-menu-regexp):
1964 * find-file.el (ff-special-constructs):
1965 * follow.el (follow-debug):
1966 * forms.el (forms--debug):
1967 * iswitchb.el (iswitchb-all-frames):
1968 * ido.el (ido-all-frames):
1969 * emacs-lisp/timer.el (timer-max-repeats):
1970 * mail/feedmail.el (feedmail-mail-send-hook)
1971 (feedmail-mail-send-hook-queued):
1972 * mail/footnote.el (footnote-signature-separator):
1973 * mail/mailabbrev.el (mail-alias-separator-string)
1974 (mail-abbrev-mode-regexp):
1975 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1976 * progmodes/idlwave.el (idlwave-libinfo-file)
1977 (idlwave-default-completion-case-is-down)
1978 (idlwave-library-routines): Convert defvars to defcustoms.
1979
1980 * mail/rmail.el (rmail-decode-mime-charset):
1981 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1982 (idlwave-shell-fix-inserted-breaks)
1983 (idlwave-shell-activate-alt-keybindings)
1984 (idlwave-shell-use-breakpoint-glyph):
1985 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1986
19872012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1990
19912012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1992
1993 * progmodes/verilog-mode.el (font-lock-keywords):
1994 Fix mis-highligting auto. Reported by Craig Barner.
1995 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1996 defines from global name space. Reported by Dan Dever.
1997 (verilog-auto-reset, verilog-auto-reset-widths)
1998 (verilog-auto-tieoff): Support using unbased numbers for
1999 AUTORESET and AUTOTIEOFF.
2000 (verilog-submit-bug-report): Update variable list.
2001 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2002 parenthesis from not matching. Reported by Michael Rytting.
2003 (verilog-auto-template-lint): Fix hash error when linting modules
2004 with no used templates.
2005 (verilog-warn, verilog-warn-error)
2006 (verilog-warn-fatal): When non-interactive report multiple
2007 warnings before exiting. Suggested by Brad Dobbie.
2008 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2009 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2010 to report unused template errors. Reported by Brad Dobbie.
2011 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2012 nets, bug438. Reported by Vns Blore.
2013 (verilog-auto-inout-module, verilog-auto-reg)
2014 (verilog-read-decls, verilog-read-sub-decls-sig)
2015 (verilog-signals-edit-wire-reg, verilog-signals-with):
2016 Fix passing of Verilog data types in ANSI input/output ports
2017 such as "output logic" into the AUTOs. Special case "wire" and
2018 "reg" for backwards compatibility presuming Verilog 2001.
2019 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2020 (verilog-preprocess): Fix replication of preprocess output.
2021 Reported by Brad Dobbie.
2022 (verilog-auto-inst-interfaced-ports):
2023 Create verilog-auto-inst-interfaced-ports, bug429.
2024 Reported by Julian Gorfajn.
2025 (verilog-after-save-font-hook)
2026 (verilog-before-save-font-hook): New variable.
2027 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2028 (verilog-save-font-mods): Wrap disabling fontification, reported
2029 by David Rogoff.
2030 (verilog-do-indent, verilog-pretty-declarations-auto)
2031 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2032 Reported by Pierre-David Pfister.
2033 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2034 of class declarations, bug292. Reported by Kevin Heilman.
2035 (verilog-read-decls): Fix 'parameter type' not appearing in
2036 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2037 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2038 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2039 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2040 Reported by David Kravitz.
2041
20422012-05-03 Michael McNamara <mac@mail.brushroad.com>
2043
2044 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2045 assignment with tests in ifs and for loops.
2046 (verilog-extended-complete-re, verilog-complete-reg): Change so
2047 that DPI inport functions don't look like fuction declarations.
2048 (verilog-pretty-expr): Don't line up assignment
2049 operations to the test and increment in if and for loops
2050 (verilog-extended-complete-re, verilog-complete-reg): Change so
2051 that DPI inport functions don't look like fuction declarations
2052
20532012-05-03 Kenichi Handa <handa@m17n.org>
2054
2055 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2056 decoding, and show a warning message without signaling an error
2057 (Bug#11282).
2058
20592012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2060
2061 * emacs-lisp/bytecomp.el
2062 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2063 since cconv.el might have introduced :fun-body, internal-make-closure,
2064 and friends for bytecomp to handle (bug#11391).
2065 * custom.el (defcustom): Avoid ((λ ..) ..).
2066
20672012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2068
2069 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2070
20712012-05-02 Juanma Barranquero <lekktu@gmail.com>
2072
2073 * notifications.el (dbus-debug):
2074 * term/linux.el (gpm-mouse-enable):
2075 * term/screen.el (xterm-register-default-colors): Declare.
2076
20772012-05-02 Chong Yidong <cyd@gnu.org>
2078
2079 * cus-start.el (gc-cons-percentage, exec-suffixes)
2080 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2081 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2082 (make-cursor-line-fully-visible, void-text-area-pointer)
2083 (font-list-limit): Add customization data.
2084
2085 * allout.el (allout-exposure-change-functions)
2086 (allout-structure-added-functions)
2087 (allout-structure-deleted-functions)
2088 (allout-structure-shifted-functions): Rename abnormal hooks from
2089 *-hook, and convert to defcustoms.
2090 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2091 Convert to defcustoms.
2092 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2093
2094 * allout-widgets.el: Hook callers changed.
2095
20962012-05-02 Eli Zaretskii <eliz@gnu.org>
2097
2098 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2099 the yanked message in preference to the default value of
2100 buffer-file-coding-system.
2101
21022012-05-02 Martin Rudalics <rudalics@gmx.at>
2103
2104 * window.el (display-buffer--action-function-custom-type):
2105 Fix entry.
2106
21072012-05-02 Alan Mackenzie <acm@muc.de>
2108
2109 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2110
21112012-05-01 Glenn Morris <rgm@gnu.org>
2112
2113 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2114
2115 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2116
2117 * cus-edit.el (custom-variable-documentation): Simplify with format.
2118
21192012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2120 Stefan Monnier <monnier@iro.umontreal.ca>
2121
2122 * simple.el (suggest-key-bindings, execute-extended-command):
2123 Move from keyboard.c.
2124
21252012-05-01 Chong Yidong <cyd@gnu.org>
2126
2127 * follow.el: Eliminate advice.
2128 (set-process-filter, process-filter, sit-for): Advice deleted.
2129 (follow-mode-off-hook): Obsolete hook removed.
2130 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2131 Vars deleted.
2132 (follow-auto): Use a :set function.
2133 (follow-mode): Rewritten. Don't advise process filters.
2134 (follow-switch-to-current-buffer-all, follow-scroll-up)
2135 (follow-scroll-down): Assume follow-mode is bound.
2136 (follow-comint-scroll-to-bottom)
2137 (follow-align-compilation-windows): New functions.
2138 (follow--window-sorter): New function.
2139 (follow-all-followers): Use it to explicitly sort windows by their
2140 positions; don't make assumptions about next-window order.
2141 (follow-windows-start-end, follow-delete-other-windows-and-split)
2142 (follow-calc-win-start): Doc fix.
2143 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2144 vertical-motion unnecessarily.
2145 (follow-adjust-window): New function.
2146 (follow-post-command-hook): Use it.
2147 (follow-call-set-process-filter, follow-call-process-filter)
2148 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2149 (follow-stop-intercept-process-output, follow-generic-filter):
2150 Functions deleted.
2151 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2152 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2153 New functions, replacing advice on scroll-bar-* commands.
2154 (follow-mwheel-scroll): New function (Bug#4112).
2155
2156 * comint.el (comint-adjust-point): New function.
2157 (comint-postoutput-scroll-to-bottom): Use it.
2158 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2159
21602012-05-01 Glenn Morris <rgm@gnu.org>
2161
2162 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2163 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2164 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2165 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2166 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2167 Remove no-byte-compile setting.
2168
21692012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2172 all-completions code to not return a number in the last cdr.
2173
21742012-04-30 Leo Liu <sdl.web@gmail.com>
2175
2176 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2177 read-only error.
2178
21792012-04-29 Chong Yidong <cyd@gnu.org>
2180
2181 * follow.el (follow-calc-win-end): Rewrite to handle partial
2182 screen lines correctly (Bug#8390).
2183 (follow-avoid-tail-recenter): Minor cleanup.
2184
21852012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 Avoid the obsolete `assoc' package.
2188 * speedbar.el (speedbar-refresh): Avoid adelete.
2189 (speedbar-file-lists): Simplify and avoid aput.
2190 * man.el (Man--sections, Man--refpages): New vars, replacing
2191 Man-sections-alist and Man-refpages-alist.
2192 (Man-build-section-alist, Man-build-references-alist):
2193 Use them; avoid aput.
2194 (Man--last-section, Man--last-refpage): New vars.
2195 (Man-follow-manual-reference): Use them.
2196 Use the `default' arg of completing-read.
2197 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2198
21992012-04-27 Chong Yidong <cyd@gnu.org>
2200
2201 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2202
2203 * startup.el (x-apply-session-resources): New function.
2204
2205 * term/ns-win.el (ns-initialize-window-system):
2206 * term/w32-win.el (w32-initialize-window-system):
2207 * term/x-win.el (x-initialize-window-system): Use it to properly
2208 set menu-bar-mode and other vars from X resources, even if the
2209 initial frame is not a window-system frame (Bug#2299).
2210
2211 * subr.el (read-key): Avoid running filter function when setting
2212 up temporary tool bar entries (Bug#9922).
2213
22142012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2215
2216 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2217 (Bug#11344)
2218
22192012-04-27 Chong Yidong <cyd@gnu.org>
2220
2221 * select.el (xselect--encode-string): New function, split from
2222 xselect-convert-to-string.
2223 (xselect-convert-to-string): Use it.
2224 (xselect-convert-to-filename, xselect-convert-to-os)
2225 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2226 returned strings are properly encoded (Bug#11315).
2227
22282012-04-27 Chong Yidong <cyd@gnu.org>
2229
2230 * simple.el (delete-active-region): Move to killing custom group.
2231
22322012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2233
2234 * progmodes/which-func.el (which-func-current): Quote %
2235 characters for mode-line processing.
2236
22372012-04-27 Chong Yidong <cyd@gnu.org>
2238
2239 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2240 reaching eob (Bug#11286).
2241
22422012-04-27 Eli Zaretskii <eliz@gnu.org>
2243
2244 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2245 (gdb): Make it buffer-local and init to zero.
2246 (gdb-control-commands-regexp): New variable.
2247 (gdb-send): Don't wrap in "-interpreter-exec console" if
2248 gdb-control-level is positive. Increment gdb-control-level
2249 whenever the command matches gdb-control-commands-regexp, and
2250 decrement it each time the command is "end". (Bug#11279)
2251
22522012-04-27 Martin Rudalics <rudalics@gmx.at>
2253
2254 * window.el (adjust-window-trailing-edge, enlarge-window)
2255 (shrink-window, window-resize):
2256 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2257 windows (Bug#11276).
2258
22592012-04-27 Chong Yidong <cyd@gnu.org>
2260
2261 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2262 fix "missing prefix" warning. All callers changed.
2263
22642012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * emacs-lisp/assoc.el: Move to obsolete/.
2267
22682012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2271
2272 * term/ns-win.el (ns-define-service):
2273 * progmodes/pascal.el (pascal-goto-defun):
2274 * progmodes/js.el (js--read-tab):
2275 * progmodes/etags.el (tags-lazy-completion-table):
2276 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2277 * emacs-lisp/ewoc.el (ewoc--wrap):
2278 * emacs-lisp/assoc.el (aput, adelete, amake):
2279 * doc-view.el (doc-view-convert-current-doc):
2280 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2281
22822012-04-26 Chong Yidong <cyd@gnu.org>
2283
2284 * image.el (image-type-from-buffer): Only return supported image
2285 type (Bug#9045).
2286
2287 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2288 value, for symmetry with diff-end-of-hunk.
2289 (diff-split-hunk, diff-find-source-location)
2290 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2291 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2292 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2293 compute the relevant hunk or file properly (Bug#6005).
2294 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2295
22962012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2297
2298 * vc/vc-mtn.el:
2299 * vc/vc-hg.el:
2300 * vc/vc-git.el:
2301 * vc/vc-dir.el:
2302 * vc/vc-cvs.el:
2303 * vc/vc-bzr.el:
2304 * vc/vc-arch.el:
2305 * vc/vc.el: Replace lexical-let by lexical-binding.
2306 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2307 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2308 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2309
23102012-04-26 Chong Yidong <cyd@gnu.org>
2311
2312 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2313 (diff-mode-shared-map): Bind it to / and [remap undo].
2314
2315 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2316 (ediff-window-setup-function): Use it as the default, to set up
2317 windows based on whether the current frame is graphical (Bug#2138).
2318 (ediff-choose-window-setup-function-automatically): Make obsolete.
2319
2320 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2321
23222012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2323
2324 * ffap.el: Remove old code for obsolete package.
2325 (ffap-complete-as-file-p): Remove.
2326
2327 Use completion-table-with-quoting for comint and pcomplete.
2328 * comint.el (comint--unquote&requote-argument)
2329 (comint--unquote-argument, comint--requote-argument): New functions.
2330 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2331 (comint-quote-filename): Use regexp-opt-charset.
2332 (comint--common-suffix, comint--common-quoted-suffix)
2333 (comint--table-subvert): Remove.
2334 (comint-unquote-function, comint-requote-function): New vars.
2335 (comint--complete-file-name-data): Use them with
2336 completion-table-with-quoting.
2337 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2338 * pcomplete.el (pcomplete-arg-quote-list)
2339 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2340 (pcomplete-unquote-argument-function): Default to non-nil.
2341 (pcomplete-unquote-argument): Simplify.
2342 (pcomplete--common-quoted-suffix): Remove.
2343 (pcomplete-requote-argument-function): New var.
2344 (pcomplete--common-suffix): New function.
2345 (pcomplete-completions-at-point): Use completion-table-with-quoting
2346 and completion-table-subvert.
2347
2348 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2349 (minibuffer--double-dollars): Preserve properties.
2350 (completion--sifn-requote): New function.
2351 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2352
2353 * minibuffer.el: Add support for completion of quoted/escaped data.
2354 (completion-table-with-quoting, completion-table-subvert): New funs.
2355 (completion--twq-try, completion--twq-all): New functions.
2356 (completion--nth-completion): New function.
2357 (completion-try-completion, completion-all-completions): Use it.
2358
23592012-04-25 Leo Liu <sdl.web@gmail.com>
2360
2361 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2362 Use compilation-message if available to find real filename.
2363
23642012-04-25 Chong Yidong <cyd@gnu.org>
2365
2366 * vc/diff-mode.el (diff-setup-whitespace): New function.
2367 (diff-mode): Use it.
2368
2369 * vc/diff.el (diff-sentinel):
2370 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2371 Whitespace mode variables based on diff style (Bug#8612).
2372
23732012-04-25 Leo Liu <sdl.web@gmail.com>
2374
2375 * progmodes/python.el (python-send-region): Add suffix .py to the
2376 temp file.
2377
2378 * files.el (auto-mode-alist): Use javascript-mode instead.
2379
23802012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2381
2382 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2383
2384 * soap-client.el (soap-resolve-references-for-sequence-type)
2385 (soap-resolve-references-for-array-type): Hack to prevent self
2386 references, see Bug#9.
2387 (soap-parse-envelope): Report the contents of the 'detail' node
2388 when receiving a fault reply.
2389 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2390
2391 * soap-inspect.el (soap-sample-value-for-simple-type)
2392 (soap-inspect-simple-type): New function.
2393
2394 * soap-client.el (soap-simple-type): New struct.
2395 (soap-default-xsd-types, soap-default-soapenc-types)
2396 (soap-decode-basic-type, soap-encode-basic-type):
2397 support unsignedInt and double basic types.
2398 (soap-resolve-references-for-simple-type)
2399 (soap-parse-simple-type, soap-encode-simple-type): New function.
2400 (soap-parse-schema): Parse xsd:simpleType declarations.
2401
2402 * soap-client.el (soap-default-xsd-types)
2403 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2404 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2405 the local name of "soapenc:Array".
2406 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2407 decoding integer, byte and anyURI xsd types.
2408
24092012-04-25 Chong Yidong <cyd@gnu.org>
2410
2411 * cus-edit.el (custom-buffer-create-internal): Update header text.
2412
24132012-04-25 Eli Zaretskii <eliz@gnu.org>
2414
2415 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2416 settings on 'system-type', not on 'window-system'. On MS-Windows,
2417 set interactive-mode on in GDB.
2418
24192012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2422 (ruby-syntax-propertize-regexp): Remove.
2423 (ruby-syntax-propertize-function): Split regexp into chunks.
2424 Match following code directly.
2425
24262012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2427
2428 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2429 (ruby-syntax-propertize-regexp): New function.
2430 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2431 by a special keyword.
2432
2433 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2434 (ruby-syntax-general-delimiters-goto-beg)
2435 (ruby-syntax-propertize-general-delimiters): New functions.
2436 (ruby-syntax-propertize-function): Use them to handle GDL.
2437 (ruby-font-lock-keywords): Move old handling of GDL...
2438 (ruby-font-lock-syntactic-keywords): .. to here.
2439 (ruby-calculate-indent): Adjust indentation for GDL.
2440
24412012-04-24 Michael Albinus <michael.albinus@gmx.de>
2442
2443 * notifications.el (top): Remove unneeded declarations.
2444 (notifications-specification-version): Change to "1.2".
2445 (notifications-interface, notifications-notify-method)
2446 (notifications-close-notification-method): Fix docstring.
2447 (notifications-get-capabilities-method): New defconst.
2448 (notifications-notify): Add :action-items, :resident and
2449 :transient hints. Change "image_data" to "image-data" and
2450 "image_path" to "image-path".
2451 (notifications-get-capabilities): New defun.
2452
24532012-04-24 Leo Liu <sdl.web@gmail.com>
2454
2455 * progmodes/python.el: Move hideshow setup to the end.
2456
24572012-04-24 Martin Rudalics <rudalics@gmx.at>
2458
2459 * window.el (handle-select-window): Clear echo area since this is
2460 no more done by read_char (Bug#11304).
2461
24622012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2463
2464 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2465 and `/ M' to filter-derived-mode.
2466 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2467 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2468 (ibuffer-mark-by-mode): Use default rather than initial-input.
2469 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2470
24712012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2472
2473 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2474 (ibuffer-filter-by-derived-mode): New filter.
2475 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2476
24772012-04-23 Andreas Politz <politza@fh-trier.de>
2478
2479 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2480
24812012-04-23 Chong Yidong <cyd@gnu.org>
2482
2483 * cus-edit.el (customize-apropos, customize-apropos-options):
2484 Disable matching of non-option variables (Bug#11176).
2485 (customize-option, customize-option-other-window)
2486 (customize-changed-options): Doc fix.
2487 (customize-apropos-options, customize-apropos-faces)
2488 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2489
2490 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2491 Fix word list splitting (Bug#11132).
2492 (apropos-symbol, apropos-keybinding, apropos-label)
2493 (apropos-property, apropos-function-button)
2494 (apropos-variable-button, apropos-misc-button): New faces.
2495 (apropos-symbol-face, apropos-keybinding-face)
2496 (apropos-label-face, apropos-property-face, apropos-match-face):
2497 Variables removed (Bug#8396).
2498 (apropos-library-button, apropos-format-plist, apropos-print)
2499 (apropos-print-doc, apropos-describe-plist): Callers changed.
2500
25012012-04-23 Michael Albinus <michael.albinus@gmx.de>
2502
2503 * net/xesam.el (xesam-mode-map): Use let-bound map in
2504 initialization. (Bug#11292)
2505
25062012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2507
2508 Preserve ispell session localwords when switching back to
2509 original buffer.
2510
2511 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2512 variable to hold buffer session localwords.
2513 (ispell-kill-ispell): add option 'clear to delete session
2514 localwords.
2515 (ispell-command-loop, ispell-change-dictionary)
2516 (ispell-buffer-local-words): Preserve session localwords when
2517 needed.
2518
2519 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2520 Preserve session localwords when needed.
2521
25222012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2523
2524 * ispell.el (ispell-insert-word) Remove unneeded function using
2525 obsolete `translation-table-for-input'.
2526 (ispell-word, ispell-process-line, ispell-complete-word):
2527 Use plain `insert' instead of removed `ispell-insert-word'.
2528
25292012-04-22 Chong Yidong <cyd@gnu.org>
2530
2531 * cus-edit.el (custom-variable-menu)
2532 (custom-variable-reset-saved, custom-face-menu)
2533 (custom-face-reset-saved): If there is no saved value, make the
2534 "reset-saved" operation bring back the default (Bug#9509).
2535 (custom-face-state): Properly detect themed faces.
2536
2537 * faces.el (face-spec-set): Stop supporting deprecated form of
2538 third arg.
2539
25402012-04-22 Michael Albinus <michael.albinus@gmx.de>
2541
2542 Move functions from C to Lisp. Make non-blocking method calls
2543 the default. Implement further D-Bus standard interfaces.
2544
2545 * net/dbus.el (dbus-message-internal): Declare function.
2546 Remove unneeded function declarations.
2547 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2548 (dbus-message-type-method-return, dbus-message-type-error)
2549 (dbus-message-type-signal): Declare variables. Remove local
2550 definitions.
2551 (dbus-interface-dbus, dbus-interface-peer)
2552 (dbus-interface-introspectable, dbus-interface-properties)
2553 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2554 Adapt docstring.
2555 (dbus-interface-objectmanager): New defconst.
2556 (dbus-call-method, dbus-call-method-asynchronously)
2557 (dbus-send-signal, dbus-method-return-internal)
2558 (dbus-method-error-internal, dbus-register-service)
2559 (dbus-register-signal, dbus-register-method): New defuns, moved
2560 from dbusbind.c
2561 (dbus-call-method-handler, dbus-setenv)
2562 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2563 New defuns.
2564 (dbus-call-method-non-blocking): Make it an obsolete function.
2565 (dbus-unregister-object, dbus-unregister-service)
2566 (dbus-handle-event, dbus-register-property)
2567 (dbus-property-handler): Obey the new structure of
2568 `bus-registered-objects'.
2569 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2570 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2571 Use `dbus-call-method'.
2572
25732012-04-22 Chong Yidong <cyd@gnu.org>
2574
2575 * cus-edit.el (custom-commands, custom-reset-menu)
2576 (Custom-reset-standard): Tweak labels.
2577 (custom-reset-button-menu): Change default to t.
2578 (custom-buffer-create-internal): For the custom-reset-button-menu
2579 case, put the revert button first.
2580 (custom-group-subtitle): New face.
2581 (custom-group-value-create): Align docstring to a specific column.
2582
2583 * wid-edit.el (widget-documentation-link-add): Don't handle
2584 indentation in this function.
2585 (widget-documentation-string-indent-to): New function.
2586 (widget-documentation-string-value-create): Use it.
2587
2588 * autorevert.el (auto-revert):
2589 * epg-config.el (epg):
2590 * ibuffer.el (ibuffer):
2591 * mpc.el (mpc):
2592 * ses.el (ses):
2593 * eshell/eshell.el (eshell):
2594 * net/ange-ftp.el (ange-ftp):
2595 * progmodes/ebnf2ps.el (postscript):
2596 * progmodes/flymake.el (flymake):
2597 * progmodes/prolog.el (prolog):
2598 * progmodes/verilog-mode.el (verilog-mode):
2599 * progmodes/which-func.el (which-func):
2600 * term/xterm.el (xterm):
2601 * textmodes/picture.el (picture):
2602 * textmodes/tildify.el (tildify):
2603 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2604 customization buffers.
2605
26062012-04-22 Alan Mackenzie <acm@muc.de>
2607
2608 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2609 Adding a ) can hide the resulting (..) from searches. Fix it.
2610 Bound the backward search to the position of the existing (.
2611
26122012-04-21 Juanma Barranquero <lekktu@gmail.com>
2613
2614 * progmodes/verilog-mode.el (verilog-mode): Check whether
2615 which-func-modes is t before adding verilog-mode.
2616 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2617
26182012-04-21 Leo Liu <sdl.web@gmail.com>
2619
2620 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2621
26222012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2623
2624 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2625 filling of the last column of a table (Bug#5635).
2626 (woman-find-next-control-line): New arg, specifying an additional
2627 regexp component for the control line.
2628 (woman2-roff-buffer): Use it.
2629 (woman-break-table): New function.
2630 (woman2-TS): Use it.
2631
26322012-04-21 Chong Yidong <cyd@gnu.org>
2633
2634 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2635 (woman-horizontal-escapes, woman-negative-vertical-space)
2636 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2637 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2638
26392012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2640
2641 * minibuffer.el (completion-file-name-table): Complete user names.
2642
26432012-04-20 Leo Liu <sdl.web@gmail.com>
2644
2645 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2646 and pcase-let*.
2647
26482012-04-20 Chong Yidong <cyd@gnu.org>
2649
2650 * server.el (server-execute): Respect initial-buffer-choice if it
2651 is a string and there are no files to open (Bug#2825).
2652 (server-create-window-system-frame, server-create-tty-frame):
2653 Don't switch buffers here.
2654 (server-process-filter): Only try to open a window system frame if
2655 compiled with graphical support (Bug#8314).
2656
26572012-04-20 Dan Nicolaescu <dann@gnu.org>
2658
2659 * battery.el (battery-echo-area-format): Display remaining time
2660 for sysfs backend too (Bug#11269).
2661 (battery-linux-sysfs): Fix conditional for the charge.
2662
26632012-04-20 Chong Yidong <cyd@gnu.org>
2664
2665 * progmodes/gdb-mi.el (gdb): Revert previous change.
2666 (gdb-inferior-io--init-proc): New function.
2667 (gdb-init-1): Use it.
2668 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2669 responsible for allocating a new pty and hooking it to gdb when
2670 the old pty gets an EIO due to process exit.
2671 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2672 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2673 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2674
26752012-04-20 Eli Zaretskii <eliz@gnu.org>
2676
2677 * window.el (window-min-size, window-sizable, window-min-delta)
2678 (window-max-delta, window--resizable, window-resizable)
2679 (window-total-size, window-full-height-p, window-full-width-p)
2680 (window-in-direction, window--resize-mini-window, window-resize)
2681 (window--resize-child-windows-normal)
2682 (window--resize-child-windows, window--resize-siblings)
2683 (window--resize-this-window, adjust-window-trailing-edge)
2684 (enlarge-window, shrink-window): Doc fixes.
2685
26862012-04-20 Chong Yidong <cyd@gnu.org>
2687
2688 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2689 New function to call delete-process on the gdb-inferior buffer's pty.
2690 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2691 pty process (Bug#11273).
2692 (gdb-update): New arg to suppress talking to the gdb process.
2693 (gdb-done-or-error): Use it.
2694 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2695 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2696 sentinel not being called.
2697
2698 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2699
2700 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2701
27022012-04-20 Glenn Morris <rgm@gnu.org>
2703
2704 * net/network-stream.el (open-network-stream): Doc fix.
2705
27062012-04-20 Chong Yidong <cyd@gnu.org>
2707
2708 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2709
27102012-04-20 Alan Mackenzie <acm@muc.de>
2711
2712 Ensure searching for keywords is case sensitive.
2713
2714 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2715 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2716 (c-defun-name, c-mark-function, c-cpp-define-name)
2717 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2718 (c-context-line-break): Bind case-fold-search to nil.
2719
2720 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2721 Bind case-fold-search to nil.
2722
27232012-04-20 Chong Yidong <cyd@gnu.org>
2724
2725 * mail/sendmail.el (mail-bury): Call return action with the right
2726 Rmail buffer (Bug#11242).
2727
2728 * server.el (server-process-filter): Handle corner case where both
2729 tty and nowait options are present (Bug#11102).
2730
27312012-04-20 Eli Zaretskii <eliz@gnu.org>
2732
2733 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2734 (top level): Put into the executable the ident-style '$Id:' tag on
2735 windows-nt as well.
2736
27372012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * electric.el (electric-indent-post-self-insert-function): Check that
2740 electric-indent-mode is enabled in current buffer.
2741
27422012-04-19 Juanma Barranquero <lekktu@gmail.com>
2743
2744 * imenu.el (imenu-progress-message): Restore; it is "used" in
2745 erc/erc-imenu.el and net/snmp-mode.el.
2746
27472012-04-19 Juanma Barranquero <lekktu@gmail.com>
2748
2749 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2750 (mouse-avoidance-nudge-mouse): Remove unused binding.
2751
2752 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2753
2754 * descr-text.el (describe-char):
2755 * progmodes/python.el (python-describe-symbol):
2756 Don't call `toggle-read-only', set `buffer-read-only'.
2757
2758 * imenu.el (imenu-default-goto-function): Mark unused args.
2759 (imenu-progress-message): Remove obsolete macro; all callers changed.
2760
2761 * subr.el (keymap-canonicalize): Remove unused binding.
2762 (read-passwd): Mark unused arg.
2763
2764 * tutorial.el (tutorial--display-changes): Remove unused binding.
2765 (tutorial--save-tutorial-to): Remove unused variable.
2766
2767 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2768 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2769 (package-generate-autoloads, package-menu--generate)
2770 (package-menu--find-upgrades): Remove unused bindings.
2771
2772 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2773 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2774 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2775 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2776 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2777 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2778 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2779 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2780 (cua-delete-char-rectangle): Mark unused args.
2781 (cua-align-rectangle): Remove unused binding.
2782
2783 * mail/rmail.el (compilation--message->loc)
2784 (epa--find-coding-system-for-mime-charset): Declare.
2785
2786 * net/dbus.el (dbus-register-service): Declare.
2787 (dbus-name-owner-changed-handler): Remove unused binding.
2788
2789 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2790 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2791 (nxml-scan-backward-within): Mark unused arg.
2792 (nxml-dynamic-markup-word): Remove unused binding.
2793
2794 * mouse.el (mouse-menu-major-mode-map):
2795 * emacs-lisp/authors.el (authors-scan-change-log)
2796 (authors-add-to-author-list):
2797 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2798 * emacs-lisp/smie.el (smie-auto-fill):
2799 * mail/sendmail.el (mail-bury):
2800 * mail/unrmail.el (unrmail):
2801 * net/tls.el (open-tls-stream):
2802 * textmodes/picture.el (picture-mouse-set-point):
2803 Remove unused bindings.
2804
28052012-04-19 Michael Albinus <michael.albinus@gmx.de>
2806
2807 * net/tramp.el (tramp-action-password): Let-bind
2808 `enable-recursive-minibuffers' to t.
2809
28102012-04-18 Sam Steingold <sds@gnu.org>
2811
2812 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2813 instead of 'string to accommodate values like [f11].
2814 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2815 * progmodes/gdb-mi.el: Likewise.
2816
28172012-04-18 Leo Liu <sdl.web@gmail.com>
2818
2819 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2820 current buffer.
2821 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2822 LOCAL is nil.
2823
28242012-04-18 Chong Yidong <cyd@gnu.org>
2825
2826 * simple.el (line-move): Use forward-line if in batch mode
2827 (Bug#11053).
2828
28292012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2830
2831 * files.el (after-find-file): Do not try to add a final newline if
2832 the buffer is read-only (Bug#11156).
2833
28342012-04-17 Richard Stallman <rms@gnu.org>
2835
2836 * mail/rmail.el (rmail-start-mail):
2837 Pass (rmail-mail-return...) for the return-action.
2838 Pass (rmail-yank-current-message...) for the yank-action.
2839 (rmail-yank-current-message): New function.
2840 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2841 (rmail-reply): Likewise.
2842 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2843
2844 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2845 buffer, not the last. Reject temp buffers. Use the rmail-mode
2846 buffer, not newbuf.
2847
28482012-04-17 Juanma Barranquero <lekktu@gmail.com>
2849
2850 * server.el (server-ensure-safe-dir): Simplify.
2851
28522012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2853
2854 * emacs-lisp/smie.el: Provide smarter auto-filling.
2855 (smie-auto-fill): New function.
2856 (smie-setup): Use it.
2857
2858 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2859
28602012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2861
2862 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2863 (comment-indent): Use it.
2864
28652012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
2866
2867 * ses.el: The overall change is to add cell renaming, that is
2868 setting fancy names for cell symbols other than name matching
2869 "\\`[A-Z]+[0-9]+\\'" regexp .
2870 (ses-localvars): Add ses--renamed-cell-symb-list.
2871 (ses-create-cell-variable): New defun.
2872 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2873 (ses-relocate-formula): Relocate formulas only for cells the
2874 symbols of which are not renamed, i.e. symbols whose names do not
2875 match regexp "\\`[A-Z]+[0-9]+\\'".
2876 (ses-relocate-all): Relocate values only for cells the symbols of
2877 which are not renamed.
2878 (ses-load): Create cells variables as the (ses-cell ...) are read,
2879 in order to check row col consistency with cell symbol name only
2880 for cells that are not renamed.
2881 (ses-replace-name-in-formula): New defun.
2882 (ses-rename-cell): New defun.
2883
28842012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2885
2886 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2887 New option (bug#11118).
2888 (perl-calculate-indent): Respect it.
2889
28902012-04-17 Glenn Morris <rgm@gnu.org>
2891
2892 * dired-aux.el (dired-mark-read-string): Doc fix.
2893
28942012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2895
2896 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2897 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2898
28992012-04-17 Glenn Morris <rgm@gnu.org>
2900
2901 * mouse.el (mouse-drag-track):
2902 * speedbar.el (speedbar-frame-mode):
2903 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2904
29052012-04-16 Leo Liu <sdl.web@gmail.com>
2906
2907 * progmodes/python.el: Trivial cleanup.
2908
29092012-04-16 Glenn Morris <rgm@gnu.org>
2910
2911 * vc/vc.el (vc-string-prefix-p):
2912 * vc/pcvs-util.el (cvs-string-prefix-p):
2913 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2914 * mpc.el (mpc-string-prefix-p):
2915 Make all of these into obsolete aliases for string-prefix-p.
2916 Update callers.
2917 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2918
2919 * textmodes/two-column.el: Move custom options to the start.
2920 (frame-width): Remove compat definition.
2921 (2C-associate-buffer, 2C-dissociate):
2922 Use with-current-buffer rather than save-excursion.
2923 (2C-dissociate): Force a mode-line update.
2924 (2C-autoscroll): Use ignore-errors.
2925
2926 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2927 Autoload trivia.
2928
2929 * emacs-lisp/cl-extra.el (*random-state*):
2930 Remove unnecessary declaration.
2931
2932 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2933
2934 * play/cookie1.el (cookie-snarf):
2935 Give an explicit error if input file cannot be read.
2936
2937 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2938
2939 * progmodes/perl-mode.el (c-macro-expand):
2940 Remove unnecessary autoload (it is in loaddefs.el).
2941
2942 * textmodes/picture.el (picture-desired-column)
2943 (picture-update-desired-column): Convert comments to doc-strings.
2944 (picture-substitute): Remove function.
2945 (picture-mode-map): Initialize in the defvar.
2946
2947 * woman.el: Remove eval-after-load for tar-mode.
2948 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2949 (woman-tar-extract-file): Autoload it.
2950
2951 * frame.el (automatic-hscrolling): Make this alias obsolete.
2952
29532012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2954
2955 * ispell.el (ispell-set-spellchecker-params): Post-process
2956 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2957 (ispell-dictionary-base-alist): Revert to original XEmacs
2958 friendly version for default. [:alpha:] will be added in
2959 `ispell-set-spellchecker-params' if needed
2960
29612012-04-16 Chong Yidong <cyd@gnu.org>
2962
2963 * image.el (imagemagick--extension-regexp): New variable.
2964 (imagemagick-register-types): Use it.
2965 (imagemagick-types-inhibit): Add :set function. Allow new value
2966 of t to inhibit all types.
2967
2968 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2969 so we can preload it.
2970
2971 * loadup.el (fboundp): Preload regexp-opt, needed by
2972 imagemagick-register-types.
2973
29742012-04-15 Chong Yidong <cyd@gnu.org>
2975
2976 * frame.el (scrolling): Remove nearly unused customization group.
2977
2978 * scroll-all.el (scroll-all-mode): Move to windows group.
2979
29802012-04-15 Chong Yidong <cyd@gnu.org>
2981
2982 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2983
29842012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2985
2986 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2987 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2988
29892012-04-15 Glenn Morris <rgm@gnu.org>
2990
2991 * simple.el (process-file-side-effects): Doc fix.
2992
29932012-04-15 Glenn Morris <rgm@gnu.org>
2994
2995 * international/mule-cmds.el (set-language-environment): Doc fix.
2996
29972012-04-14 Juanma Barranquero <lekktu@gmail.com>
2998
2999 * server.el (server-auth-key, server-generate-key): Doc fixes.
3000 (server-get-auth-key): Doc fix. Use `string-match-p'.
3001 (server-start): Reflow docstring.
3002
30032012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3004
3005 * server.el (server-generate-key): `called-interactively-p'
3006 requires a parameter.
3007
30082012-04-14 Michal Nazarewicz <mina86@mina86.com>
3009
3010 * server.el (server-auth-key): New variable.
3011 (server-generate-key, server-get-auth-key): New function.
3012 (server-start): Use the new variable and functions to allow
3013 setting a permanent server key (bug#9423).
3014
30152012-04-14 Leo Liu <sdl.web@gmail.com>
3016
3017 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3018
30192012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3020
3021 Spelling fixes.
3022 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3023 Emacs uses American spelling.
3024
30252012-04-14 Juanma Barranquero <lekktu@gmail.com>
3026
3027 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3028 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3029 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3030 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3031
30322012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3033
3034 * progmodes/which-func.el (which-func-modes): Change default.
3035
30362012-04-14 Kim F. Storm <storm@cua.dk>
3037
3038 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3039 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3040
30412012-04-14 Chong Yidong <cyd@gnu.org>
3042
3043 * custom.el (custom-theme-set-variables): Doc fix.
3044
30452012-04-14 Glenn Morris <rgm@gnu.org>
3046
3047 * international/mule.el (set-auto-coding-for-load): Doc fix.
3048
30492012-04-14 Alan Mackenzie <acm@muc.de>
3050
3051 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3052 imenu work again for Objective C Mode. Correct the *-index values,
3053 these having been disturbed by a previous change in 2011-08.
3054
3055 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3056 Correct two search limits.
3057
30582012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3061
30622012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3063
3064 * international/characters.el: Fix sorting.
3065
30662012-04-14 Eli Zaretskii <eliz@gnu.org>
3067
3068 * international/characters.el: Add more missing Latin case pairs.
3069
30702012-04-14 Glenn Morris <rgm@gnu.org>
3071
3072 * files.el (dir-locals-set-class-variables): Doc fix.
3073
30742012-04-14 Eli Zaretskii <eliz@gnu.org>
3075
3076 * international/characters.el: Add set-case-syntax-pair call for
3077 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3078 counterpart. (Bug#11209)
3079
3080 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3081
30822012-04-14 Glenn Morris <rgm@gnu.org>
3083
3084 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3085
30862012-04-14 Eli Zaretskii <eliz@gnu.org>
3087
3088 * textmodes/ispell.el (ispell-dictionary-base-alist):
3089 Add data for Hebrew.
3090
30912012-04-14 Chong Yidong <cyd@gnu.org>
3092
3093 * net/rcirc.el (rcirc-cmd-quit):
3094 Revert 2012-03-18 change (Bug#11192).
3095
30962012-04-14 Glenn Morris <rgm@gnu.org>
3097
3098 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3099
31002012-04-14 Eli Zaretskii <eliz@gnu.org>
3101
3102 * minibuffer.el (completion-in-region-mode-map):
3103 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3104
31052012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3106
3107 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3108
31092012-04-13 Masatake YAMATO <yamato@redhat.com>
3110
3111 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3112 to allow `C-M-f' and `C-M-b' to move to the nearest path
3113 separator (bug#9511).
3114
31152012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3116
3117 * avoid.el: Require cl when compiling. And also move the
3118 `provide' to the end.
3119
31202012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3121
3122 * avoid.el (mouse-avoidance-banish-position): New variable.
3123 (mouse-avoidance-banish-destination): Use it (bug#10165).
3124
31252012-04-13 Leo Liu <sdl.web@gmail.com>
3126
3127 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3128
31292012-04-13 Ken Brown <kbrown@cornell.edu>
3130
3131 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3132 this is no longer needed now that cygstart understands file:// URLs.
3133 (browse-url-filename-alist): For the same reason, don't modify
3134 file:// URLs on Cygwin.
3135
31362012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3139 the region on shift if the binding is already shifted (bug#11221).
3140
31412012-04-12 Glenn Morris <rgm@gnu.org>
3142
3143 * mail/mailpost.el: Move to obsolete/.
3144
31452012-04-12 Drew Adams <drew.adams@oracle.com>
3146
3147 * imenu.el (imenu--generic-function): Ignore invisible definitions
3148 (bug#10123).
3149
31502012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3151
3152 * hexl.el (hexl-bits): New variable.
3153 (hexl-options): Mention the variable in the doc string.
3154 (hexl-rulerise, hexl-line-displen): New functions.
3155 (hexl-mode): Mention the new variable.
3156 (hexl-mode, hexl-current-address, hexl-current-address):
3157 Use the displen.
3158 (hexl-ascii-start-column): New function.
3159 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3160 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3161
31622012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3163
3164 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3165 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3166 the encoding, as expected by hunspell.
3167
31682012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3169
3170 * battery.el (battery--linux-sysfs-regexp): New const.
3171 (battery-status-function): Use it. Remove yeeloong special case.
3172 (battery-yeeloong-sysfs): Remove.
3173 (battery-echo-area-format): Remove yeeloong special case.
3174
31752012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3176
3177 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3178 Reported by Noah Friedman.
3179
3180 * subr.el (read-passwd): Use read-string.
3181
31822012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3183
3184 * vcursor.el (vcursor-move): Increase the priority of the overlay
3185 (bug#9663).
3186
31872012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3188
3189 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3190 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3191
31922012-04-11 William Stevenson <yhvh2000@gmail.com>
3193
3194 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3195 define-minor-mode (bug#10760).
3196
31972012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3198
3199 * progmodes/grep.el (rgrep): Tweak the find command line so
3200 that directories matching `grep-find-ignored-files' won't be
3201 pruned (bug#10351).
3202
32032012-04-11 Chong Yidong <cyd@gnu.org>
3204
3205 * startup.el (command-line): Remove support for long-obsolete
3206 variable font-lock-face-attributes.
3207
32082012-04-11 Glenn Morris <rgm@gnu.org>
3209
3210 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3211
32122012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * window.el (window--state-get-1): Obey window-point-insertion-type.
3215
32162012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3217
3218 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3219 to previous function when point is on the first character of a
3220 function. Take care of that in `narrow-to-defun' (bug#6157).
3221
32222012-04-11 Glenn Morris <rgm@gnu.org>
3223
3224 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3225 not just file-errors.
3226
3227 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3228 (vc-bzr-sha1): Use internal sha1.
3229
32302012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3233
32342012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3235
3236 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3237 that start in the middle of the line (bug#10496).
3238
32392012-04-10 Dan Nicolaescu <dann@gnu.org>
3240
3241 * battery.el (battery-linux-proc-acpi): Only one battery is
3242 discharged at a time, but that seems to confuse battery.el when
3243 computing `rate-type' for the battery not being discharged
3244 (bug#10332).
3245
32462012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3247
3248 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3249
3250 * international/quail.el: Use dolist and simplify.
3251 (quail-define-package, quail-update-keyboard-layout)
3252 (quail-define-rules): Use dolist.
3253 (quail-insert-kbd-layout, quail-get-translation): CSE.
3254
3255 * tmm.el: Use dolist, remove left over hook.
3256 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3257 Use dolist.
3258 (calendar-load-hook): Don't mess with it.
3259
3260 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3261 Use derived-mode-p. Run the diff asynchronously.
3262
32632012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3264
3265 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3266
32672012-04-10 Juanma Barranquero <lekktu@gmail.com>
3268
3269 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3270 (list-dynamic-libraries--loaded): New function.
3271 (list-dynamic-libraries--refresh): Use it.
3272
32732012-04-10 Nathan Weizenbaum <nweiz@google.com>
3274
3275 * progmodes/python.el (python-fill-paragraph):
3276 Make python-fill-region in a multiline string work when font-lock is
3277 disabled (bug#7018).
3278
32792012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3280
3281 * language/european.el (cp775): Add oem/legacy (en)coding on
3282 DOS/MS Windows for the Baltic languages. There are still plenty
3283 of texts written in this encoding/codepage (bug#6519).
3284
32852012-04-10 Glenn Morris <rgm@gnu.org>
3286
3287 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3288 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3289
32902012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3291
3292 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3293 next-line "n" and previous-line "p" in order to make recentf more
3294 consistent with ibuffer, dired or org-mode (bug#9387).
3295
32962012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3297
3298 * image.el (put-image): Return the overlay created instead of the
3299 optional input string (bug#7834). Note that this may break code
3300 that is (for some reason or other) depending on `put-image'
3301 returning the string.
3302
3303 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3304
3305 * simple.el (zap-to-char): Allow zapping using input methods
3306 (bug#1580).
3307
3308 * textmodes/fill.el (fill-region): Leave point and mark where they
3309 were before filling (bug#5399).
3310
33112012-04-09 Glenn Morris <rgm@gnu.org>
3312
3313 * version.el (emacs-bzr-get-version):
3314 Handle lightweight checkouts of local branches.
3315
33162012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3317
3318 * international/characters.el: Recover lost case pairs. (Bug#11209)
3319
33202012-04-09 Chong Yidong <cyd@gnu.org>
3321
3322 * custom.el (custom-variable-p): Return nil for non-symbol
3323 arguments instead of signaling an error.
3324 (user-variable-p): Obsolete alias for custom-variable-p.
3325
3326 * apropos.el (apropos-variable):
3327 * files-x.el (read-file-local-variable):
3328 * simple.el (set-variable):
3329 * woman.el (woman-mini-help):
3330 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3331
33322012-04-09 Glenn Morris <rgm@gnu.org>
3333
3334 * startup.el (normal-top-level): Don't look for leim-list.el
3335 in places where it will not be found. (Bug#910)
3336
3337 * international/mule-cmds.el (set-default-coding-systems):
3338 * files.el (normal-mode):
3339 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3340 This function was removed with ucs-tables.el in 2008.
3341
33422012-04-08 Eli Zaretskii <eliz@gnu.org>
3343
3344 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3345 ispell-encoding8-command to "-i", without a trailing space.
3346 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3347 separate command-line arguments, to specify the encoding, since
3348 that's how hunspell expects it.
3349
33502012-04-08 Glenn Morris <rgm@gnu.org>
3351
3352 * loadup.el: Load bindings before cus-start.
3353 This reduces somewhat the number of "rogue" settings in emacs -Q.
3354
33552012-04-07 Glenn Morris <rgm@gnu.org>
3356
3357 * version.el (emacs-bzr-get-version): New function.
3358 (emacs-bzr-version): New variable.
3359 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3360 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3361
33622012-04-07 Eli Zaretskii <eliz@gnu.org>
3363
3364 * international/uni-bidi.el, international/uni-category.el:
3365 * international/uni-combining.el, international/uni-decimal.el:
3366 * international/uni-decomposition.el, international/uni-digit.el:
3367 * international/uni-lowercase.el, international/uni-mirrored.el:
3368 * international/uni-name.el, international/uni-numeric.el:
3369 * international/uni-titlecase.el, international/uni-uppercase.el:
3370 Update for Unicode 6.1.
3371
33722012-04-07 Eli Zaretskii <eliz@gnu.org>
3373
3374 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3375
33762012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3377
3378 * window.el (shrink-window): Mention the `window-min-height'
3379 variable in the doc string.
3380
33812012-04-05 Bastien Guerry <bzg@altern.org>
3382
3383 * color.el (color-lighten-name): Fix typo.
3384
33852012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * server.el (server--on-display-p): New function.
3388 (server--on-display-p): Use it.
3389
33902012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3391
3392 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3393 (bug#11145).
3394
33952012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * comint.el (comint--common-quoted-suffix): Check string boundary
3398 before comparing (bug#11158).
3399 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3400
34012012-04-04 Chong Yidong <cyd@gnu.org>
3402
3403 * minibuffer.el (completion-extra-properties): Doc fix.
3404
3405 * subr.el (delayed-warnings-hook): Doc fix.
3406
34072012-04-04 Daiki Ueno <ueno@unixuser.org>
3408
3409 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3410 selection (Bug#11159).
3411 (epa-insert-keys): Inform that the default public key will be
3412 exported if no key is selected.
3413
34142012-04-04 Richard Stallman <rms@gnu.org>
3415
3416 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3417
34182012-04-03 Chong Yidong <cyd@gnu.org>
3419
3420 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3421 mail-insert-file, not its obsolete alias mail-attach-file.
3422
34232012-04-03 Michael Albinus <michael.albinus@gmx.de>
3424
3425 * notifications.el (notifications-notify): Fix docstring.
3426
34272012-04-02 Glenn Morris <rgm@gnu.org>
3428
3429 * emacs-lisp/authors.el (authors-aliases): Another addition.
3430
34312012-04-02 Michael Albinus <michael.albinus@gmx.de>
3432
3433 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3434 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3435 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3436
34372012-04-01 Chong Yidong <cyd@gnu.org>
3438
3439 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3440 Handle root directory properly.
3441 (copy-directory): Caller changed.
3442
3443 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3444 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3445
34462012-03-31 Glenn Morris <rgm@gnu.org>
3447
3448 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3449
3450 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3451
3452 * calendar/calendar.el (calendar-window-list)
3453 (calendar-hide-window): Restore. (Bug#11140)
3454 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3455
3456 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3457
34582012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3459
3460 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3461 Check if file is a symlink (Bug#10489).
3462
3463 * files.el (copy-directory): Likewise.
3464
34652012-03-30 Chong Yidong <cyd@gnu.org>
3466
3467 * image.el (imagemagick-types-inhibit)
3468 (imagemagick-register-types): Doc fix.
3469
34702012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3471
3472 * ispell.el (ispell-get-extended-character-mode):
3473 Disable extended-char-mode for hunspell. hunspell does not support it
3474 and treats ~word as ordinary words in pipe mode.
3475
34762012-03-30 Glenn Morris <rgm@gnu.org>
3477
3478 * tutorial.el (help-with-tutorial): Ensure local variables don't
3479 happen to make the buffer read-only. (Bug#11127)
3480
34812012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3482
3483 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3484 (perl-calculate-indent): Return `noindent' in strings.
3485
34862012-03-28 Sam Steingold <sds@gnu.org>
3487
3488 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3489 instead of the broken adhockery which does not prevent calendar
3490 buffers from being displayed at random after exit.
3491 (calendar-window-list, calendar-hide-window): Remove the broken
3492 adhockery.
3493
34942012-03-28 Glenn Morris <rgm@gnu.org>
3495
3496 * replace.el (query-replace-map): Doc fix.
3497
34982012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3499
3500 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3501 contents. (Bug#11109)
3502
35032012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3504
3505 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3506 (bug#11077).
3507 (avl-tree--check, avl-tree--check-node): New funs.
3508
35092012-03-27 Martin Rudalics <rudalics@gmx.at>
3510
3511 * window.el (switch-to-visible-buffer): New option.
3512 (switch-to-prev-buffer, switch-to-next-buffer):
3513 Observe switch-to-visible-buffer. Make sure that checking for a window
3514 showing a buffer already is done on the same frame.
3515
35162012-03-27 Glenn Morris <rgm@gnu.org>
3517
3518 * startup.el (mail-host-address): Doc fix.
3519
35202012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3521
3522 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3523 than 197 variables.
3524
35252012-03-26 Ami Fischman <ami@fischman.org>
3526
3527 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3528
35292012-03-26 Glenn Morris <rgm@gnu.org>
3530
3531 * files.el (save-buffers-kill-emacs): Doc fix.
3532
3533 * startup.el (normal-top-level, command-line, command-line-1):
3534 Give them doc strings.
3535
35362012-03-25 Eli Zaretskii <eliz@gnu.org>
3537
3538 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3539 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3540
35412012-03-25 Chong Yidong <cyd@gnu.org>
3542
3543 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3544 theme if it was previously enabled before (Bug#11031).
3545
3546 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3547 spec with custom-face-get-current-spec if its :shown-value is not
3548 determined yet (Bug#9337).
3549 (customize-create-theme, custom-theme-revert): Doc fixes.
3550
3551 * button.el (button-at): Minor addition to docstring.
3552
35532012-03-24 Simon Leinen <simon.leinen@gmail.com>
3554
3555 * vc/vc.el (vc-merge): Fix a prompt.
3556
35572012-03-24 Chong Yidong <cyd@gnu.org>
3558
3559 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3560 point (Bug#9623).
3561
3562 * button.el (button-at): Minor addition to docstring.
3563
35642012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3565
3566 * newcomment.el (comment-choose-indent): No space after BOL.
3567
35682012-03-22 Sam Steingold <sds@gnu.org>
3569
3570 * window.el (switch-to-prev-buffer): Revert last patch because the
3571 bug turned out to be an advertised feature (Elisp manual 28.14).
3572
35732012-03-22 Glenn Morris <rgm@gnu.org>
3574
3575 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3576 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3577
35782012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3579
3580 * net/network-stream.el (network-stream-open-starttls): Make error
3581 message under Windows be less misleading.
3582
35832012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3584
3585 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3586 understands (bug#9942).
3587
35882012-03-22 Chong Yidong <cyd@gnu.org>
3589
3590 * simple.el (end-of-visible-line): Handle return value of
3591 next-single-property-change properly (Bug#9371).
3592
35932012-03-22 Kenichi Handa <handa@m17n.org>
3594
3595 * international/quail.el (quail-insert-kbd-layout): Fix previous
3596 change. To avoid unwanted bidi reordering, use
3597 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3598
35992012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3600
3601 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3602 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3603 (ruby-beginning-of-indent): Be more careful with the difference
3604 between word-boundary and symbol boundary.
3605 (ruby-mode-syntax-table): Make : a symbol constituent.
3606
36072012-03-21 Andreas Politz <politza@fh-trier.de>
3608
3609 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3610
36112012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3612
3613 * progmodes/etags.el (tags-completion-at-point-function):
3614 Improve last fix.
3615
3616 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3617
36182012-03-21 Sam Steingold <sds@gnu.org>
3619
3620 * progmodes/etags.el (tags-completion-at-point-function):
3621 Avoid the error when point is inside the pattern.
3622
36232012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3624
3625 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3626 line (Bug#10855).
3627
36282012-03-21 Drew Adams <drew.adams@oracle.com>
3629
3630 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3631
36322012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3633
3634 * ido.el (ido-set-current-directory, ido-read-internal)
3635 (ido-choose-completion-string, ido-completion-help): Handle nil
3636 value of ido-completion-buffer (Bug#11008).
3637
36382012-03-21 Sam Steingold <sds@gnu.org>
3639
3640 * window.el (switch-to-prev-buffer): Do not switch to a visible
3641 window previous buffer, just like with the frame previous buffers.
3642
36432012-03-21 Chong Yidong <cyd@gnu.org>
3644
3645 * faces.el (make-face, make-empty-face, copy-face):
3646 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3647 Doc fixes.
3648
36492012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3652 (widget-complete): Remove broken use of it.
3653
36542012-03-20 Chong Yidong <cyd@gnu.org>
3655
3656 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3657 Use string-width and truncate-string-width to handle arbitrary
3658 characters.
3659
36602012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3661
3662 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3663 to draw rectangles, not squares. (Regression introduced by revno
3664 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3665
36662012-03-18 Chong Yidong <cyd@gnu.org>
3667
3668 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3669 it is not yet defined (for temacs).
3670
36712012-03-18 Leo Liu <sdl.web@gmail.com>
3672
3673 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3674
36752012-03-17 Eli Zaretskii <eliz@gnu.org>
3676
3677 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3678 (ispell-choices-win-default-height, ispell-silently-savep)
3679 (ispell-dictionary-alist, ispell-encoding8-command)
3680 (ispell-check-version, ispell-aspell-find-dictionary)
3681 (ispell-valid-dictionary-list, ispell-words-keyword)
3682 (ispell-get-word, ispell-internal-change-dictionary)
3683 (ispell-region, ispell-skip-region-list)
3684 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3685 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3686 (ispell-message-text-end, ispell-message)
3687 (ispell-buffer-local-parsing): Doc fix.
3688
36892012-03-13 Jambunathan K <kjambunathan@gmail.com>
3690
3691 * htmlfontify.el: Add support for code block fontification for ODT
3692 export (Bug #9914).
3693 (hfy-optimisations): Define new option
3694 `body-text-only'
3695 (hfy-fontify-buffer): Honor above setting.
3696 (hfy-begin-span, hfy-end-span): New routines factored out form
3697 `hfy-fontify-buffer'.
3698 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3699 that permit insertion of custom tags.
3700 (hfy-fontify-buffer): Use above handlers.
3701 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3702 (hfy-face-to-css): Re-defined to be a variable.
3703 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3704 over multiple runs. This is made possible by having the caller let
3705 bind a special variable `hfy-user-sheet-assoc'.
3706 (htmlfontify-string): New defun.
3707 (hfy-compile-face-map): Make sure that the last char in the
3708 buffer is correctly fontified.
3709 (hfy-face-resolve-face): Whitespace only change.
3710
37112012-03-17 Eli Zaretskii <eliz@gnu.org>
3712
3713 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3714 message more clear.
3715
37162012-03-16 Leo Liu <sdl.web@gmail.com>
3717
3718 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3719
37202012-03-16 Alan Mackenzie <acm@muc.de>
3721
3722 Further optimise the handling of large macros.
3723
3724 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3725 limit to a call of `c-literal-limits'.
3726 (c-determine-+ve-limit): New function.
3727 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3728 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3729 In CASE 5B, restrict a search limit to 500.
3730 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3731
3732 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3733 Restrict macro bounds to +-500 from after-change's BEG END.
3734
37352012-03-16 Leo Liu <sdl.web@gmail.com>
3736
3737 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3738
37392012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3740
3741 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3742 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3743
37442012-03-16 Glenn Morris <rgm@gnu.org>
3745
3746 * view.el (view-buffer, view-buffer-other-window)
3747 (view-buffer-other-frame): Doc fixes re special mode-class.
3748
3749 * subr.el (eval-after-load): If named feature is provided not from
3750 a file, run after-load forms. (Bug#10946)
3751
3752 * calendar/calendar.el (calendar-insert-at-column):
3753 Handle non-unit-width characters a bit better. (Bug#10978)
3754
37552012-03-15 Chong Yidong <cyd@gnu.org>
3756
3757 * emacs-lisp/ring.el (ring-extend): New function.
3758 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3759
3760 * comint.el (comint-read-input-ring)
3761 (comint-add-to-input-history): Grow comint-input-ring lazily.
3762
37632012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3766 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3767
3768 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3769 (imenu-add-to-menubar): Don't add a redundant index.
3770 (imenu-update-menubar): Handle a dynamically composed keymap.
3771
37722012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3773
3774 * mail/sendmail.el (mail-encode-header):
3775 Bind rfc2047-encode-encoded-words to nil.
3776
37772012-03-13 Glenn Morris <rgm@gnu.org>
3778
3779 * calendar/calendar.el (calendar-string-spread):
3780 Handle non-unit-width characters a bit better. (Bug#10978)
3781
37822012-03-13 Leo Liu <sdl.web@gmail.com>
3783
3784 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3785 directory and file as argument (Bug#10822).
3786
37872012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3788
3789 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3790 For dynamically generated code, follow $PC.
3791 (gdb-disassembly-handler-custom): Handle no function name case.
3792
37932012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3794
3795 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3796 * emulation/ws-mode.el (ws-query-replace):
3797 * sort.el (sort-regexp-fields):
3798 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3799
38002012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3801
3802 * dabbrev.el: Fix cycle completion order (bug#10963).
3803 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3804 (dabbrev-completion): Don't use an obarray; provide
3805 a cycle-sort-function.
3806
38072012-03-12 Leo Liu <sdl.web@gmail.com>
3808
3809 * simple.el (kill-new): Use equal-including-properties for comparison.
3810 (kill-do-not-save-duplicates): Doc fix.
3811
38122012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * dabbrev.el: Fix cycle completion (bug#10963).
3815 Use lexical binding and wrap to 80 columns.
3816 (dabbrev-completion): Delay computing the list of completions.
3817
38182012-03-12 Kenichi Handa <handa@m17n.org>
3819
3820 * international/quail.el (quail-insert-kbd-layout): Surround each
3821 row by LRO and PDF instead of inserting many LRMs. Pad the left
3822 and right of each non-spacing marks. Insert invisible space
3823 between lower and upper characters to prevent composition.
3824
38252012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * minibuffer.el (minibuffer-complete): Don't get confused when the
3828 function is run twice via different commands (bug#10958).
3829 (complete-with-action): Fix docstring.
3830
38312012-03-12 Chong Yidong <cyd@gnu.org>
3832
3833 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3834 (nxml-completion-at-point-function): New function.
3835 (nxml-mode): Use it.
3836 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3837
3838 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3839 Load generated autoloads file before byte compiling (Bug#10970).
3840 (package--make-autoloads-and-compile): New helper fun.
3841
38422012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3843
3844 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3845
38462012-03-11 Michael Albinus <michael.albinus@gmx.de>
3847
3848 * autorevert.el (auto-revert-handler): Ensure, that
3849 file-readable-p is applied only for local files or in
3850 auto-revert-tail-mode.
3851
38522012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3853
3854 * server.el (server-eval-at): Handle non-tcp connections.
3855 Decode result string.
3856
3857 * server.el (server-msg-size): New constant.
3858 (server-reply-print): New function.
3859 (server-eval-and-print): Use it.
3860 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3861 Handle -print-nonl.
3862
38632012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3864
3865 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3866 (Bug#10987).
3867
38682012-03-11 Chong Yidong <cyd@gnu.org>
3869
3870 * simple.el (goto-line): Doc fix (Bug#9938).
3871
3872 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3873
3874 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3875 when finished (Bug#10963).
3876
38772012-03-11 Martin Rudalics <rudalics@gmx.at>
3878
3879 * window.el (split-window-below): Fix bug in case where
3880 split-window-keep-point is nil (Bug#10971).
3881
38822012-03-11 Juri Linkov <juri@jurta.org>
3883
3884 * replace.el (replace-highlight): Set isearch-word to nil
3885 unconditionally. (Bug#10887)
3886
38872012-03-10 Eli Zaretskii <eliz@gnu.org>
3888
3889 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3890 mairix-replace-illegal-chars; all callers changed. Don't remove
3891 ^, ~, and = characters: they are meaningful in mairix search specs.
3892 (mairix-widget-create-query): Add usage information about mairix
3893 search forms: negating words, searching for substrings, etc.
3894
38952012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3896
3897 * international/fontset.el (font-encoding-alist): Add an entry for
3898 ksx1001 (Bug#5667).
3899
39002012-03-10 Richard Stallman <rms@gnu.org>
3901
3902 * mail/sendmail.el (mail-encode-header):
3903 Set rfc2047-encode-encoded-words.
3904
3905 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3906
3907 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3908 view buffer means not swapped.
3909 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3910 (rmail-write-region-annotate): Error if real text has disappeared.
3911
3912 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3913
39142012-03-10 Chong Yidong <cyd@gnu.org>
3915
3916 * emulation/cua-rect.el (cua--init-rectangles):
3917 * emulation/cua-base.el (cua--init-keymaps):
3918 Add delete-forward-char to remappings (Bug#9666).
3919
39202012-03-10 Martin Rudalics <rudalics@gmx.at>
3921
3922 * speedbar.el (speedbar-unhighlight-one-tag-line):
3923 Avoid unhighlighting due to frame switching (Bug#10275).
3924
39252012-03-10 Chong Yidong <cyd@gnu.org>
3926
3927 * minibuffer.el (completion-in-region, completion-help-at-point):
3928 Give the completion field overlay a high priority (Bug#6830).
3929
3930 * dired.el (dired-goto-file): Recognize absolute file name
3931 listings (Bug#7126).
3932 (dired-goto-file-1): New helper function.
3933 (dired-toggle-read-only): Inhibit warnings.
3934
39352012-03-09 Michael Albinus <michael.albinus@gmx.de>
3936
3937 * net/dbus.el (dbus-property-handler): Return empty array if
3938 there are no properties.
3939
39402012-03-09 Leo Liu <sdl.web@gmail.com>
3941
3942 * savehist.el (savehist-printable): Stricter check for string
3943 value (Bug#10937).
3944
39452012-03-09 Eli Zaretskii <eliz@gnu.org>
3946
3947 * mail/smtpmail.el (smtpmail-send-it):
3948 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3949 valid mbox format.
3950
39512012-03-09 Glenn Morris <rgm@gnu.org>
3952
3953 * files.el (dir-locals-find-file):
3954 Don't check result is regular, readable.
3955 (dir-locals-read-from-file): Demote errors.
3956
39572012-03-08 Eli Zaretskii <eliz@gnu.org>
3958
3959 * international/quail.el (quail-insert-kbd-layout):
3960 Insert invisible LRM characters before each character in a keyboard
3961 layout cell, to prevent their reordering by bidi display engine.
3962 For details, see the discussion in
3963 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3964
39652012-03-08 Alan Mackenzie <acm@muc.de>
3966
3967 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3968 the starting position; make it extend the marked region when
3969 invoked repeatedly - all under appropriate circumstances.
3970 Fixes bugs #5525, #10906.
3971
39722012-03-08 Glenn Morris <rgm@gnu.org>
3973
3974 * files.el (locate-dominating-file, dir-locals-find-file):
3975 Undo 2012-03-06 change.
3976
39772012-03-07 Eli Zaretskii <eliz@gnu.org>
3978
3979 * international/quail.el (quail-help):
3980 Force bidi-paragraph-direction be left-to-right. See discussion in
3981 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3982 for the reason.
3983
39842012-03-07 Michael Albinus <michael.albinus@gmx.de>
3985
3986 Avoid superfluous registering of signals. (Bug#10807)
3987
3988 * notifications.el (notifications-on-action-object)
3989 (notifications-on-close-object): New defvars.
3990 (notifications-on-action-signal, notifications-on-closed-signal):
3991 Unregister the signal if not needed any longer.
3992 (notifications-notify): Register `notifications-action-signal' or
3993 `notifications-closed-signal', if :on-action or :on-close has been
3994 passed as argument.
3995
39962012-03-07 Chong Yidong <cyd@gnu.org>
3997
3998 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3999 non-X platforms.
4000
40012012-03-06 Glenn Morris <rgm@gnu.org>
4002
4003 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4004 (x-disown-selection-internal, x-get-selection-internal):
4005 Doc fix (add arglist signatures). (Bug#10783)
4006
40072012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4008
4009 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4010 Handle breakpoints with no "type".
4011
40122012-03-06 Glenn Morris <rgm@gnu.org>
4013
4014 * files.el (locate-dominating-file): Add optional predicate argument.
4015 (dir-locals-find-file): Make use of above change.
4016
40172012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4018
4019 * info.el (Info-insert-dir): Also try "dir.gz".
4020
40212012-03-06 Glenn Morris <rgm@gnu.org>
4022
4023 * files.el (dir-locals-find-file):
4024 Ignore non-readable or non-regular files. (Bug#10928)
4025
4026 * files.el (locate-dominating-file): Doc fix.
4027
40282012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4029
4030 * calendar/calendar.el (calendar-set-mode-line):
4031 `getenv' returns a string. (Bug#10951)
4032
40332012-03-05 Leo Liu <sdl.web@gmail.com>
4034
4035 * simple.el (backward-delete-char-untabify): Constrain point to
4036 field (Bug#10939).
4037
4038 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4039
40402012-03-05 Chong Yidong <cyd@gnu.org>
4041
4042 * simple.el (count-words): If called from Lisp, return the word
4043 count, for symmetry with `count-lines'. Arglist changed.
4044 (count-words--message): Args changed. Consolidate counting code
4045 from count-words and count-words-region.
4046 (count-words-region): Caller changed.
4047 (count-lines-region): Make it an obsolete alias.
4048
40492012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4050
4051 * saveplace.el (save-place-to-alist)
4052 (save-place-ignore-files-regexp): Allow value nil to disable this
4053 feature.
4054
40552012-03-04 Chong Yidong <cyd@gnu.org>
4056
4057 * faces.el (face-spec-reset-face): For the default face, reset the
4058 attributes to default values (Bug#10748).
4059
40602012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4061
4062 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4063 previous patch: Check `message-send-mail-function', and not the
4064 default function (bug#10897).
4065
40662012-03-04 Michael Albinus <michael.albinus@gmx.de>
4067
4068 * notifications.el (notifications-on-action-signal)
4069 (notifications-on-closed-signal): Check for unique service name of
4070 incoming event. Fix error in removing entry.
4071 (top): Register for signals with wildcard service name.
4072 (notifications-notify): Use daemon unique service name for map entries.
4073
40742012-03-04 Chong Yidong <cyd@gnu.org>
4075
4076 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4077
40782012-03-04 Glenn Morris <rgm@gnu.org>
4079
4080 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4081 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4082 (expand-abbrev, define-abbrev-table): Doc fixes.
4083
40842012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4085
4086 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4087 `message-default-send-mail-function' and not `send-mail-function'
4088 when doing the prompting for `sendmail-query-once' before sending
4089 in Message buffers (bug#10897).
4090
4091 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4092 This is inconsistent with all the other stream functions, which leave
4093 the setting up to the higher levels (if so wanted) (bug#10931).
4094
40952012-03-02 Alan Mackenzie <acm@muc.de>
4096
4097 Depessimize the handling of very large macros.
4098
4099 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4100 (c-macro-cache-syntactic): New variables to implement a one
4101 element macro cache.
4102 (c-invalidate-macro-cache): New function.
4103 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4104 Adapt to use the new cache.
4105 (c-state-safe-place): Use better the cache of safe positions.
4106 (c-state-semi-nonlit-pos-cache)
4107 (c-state-semi-nonlit-pos-cache-limit):
4108 New variables for...
4109 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4110 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4111 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4112 Use c-state-semi-safe-place.
4113
4114 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4115 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4116
41172012-03-02 Michael Albinus <michael.albinus@gmx.de>
4118
4119 * jka-compr.el (jka-compr-call-process):
4120 Apply `file-accessible-directory-p' only when the default directory is
4121 not remote.
4122
41232012-03-01 Michael Albinus <michael.albinus@gmx.de>
4124
4125 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4126 access of FILE2, if FILE1 does not exist.
4127
4128 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4129 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4130
4131 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4132 Add "PAGER=" to `process-environment'.
4133
41342012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4135
4136 * progmodes/sql.el: Bug fix
4137 (sql-get-login-ext): Save login values in globals.
4138 (sql-get-login): Use new version of `sql-get-login-ext'.
4139 (sql-interactive-mode): Set global `sql-connection' to nil.
4140 (sql-connect): Set global values for connection.
4141 (sql-product-interactive): Save global values as buffer local.
4142
41432012-02-29 Leo Liu <sdl.web@gmail.com>
4144
4145 * abbrev.el (define-abbrevs): Reset sys to nil.
4146
41472012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4148
4149 * files.el (file-equal-p): Rename from `files-equal-p'.
4150 Return nil when one or both files don't exist.
4151 (file-subdir-of-p): Now only top directory must exists,
4152 return nil if it doesn't.
4153 (copy-directory): No need to test with `file-subdir-of-p' after
4154 creating dir.
4155 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4156 to `file-equal-p'.
4157
41582012-02-28 Glenn Morris <rgm@gnu.org>
4159
4160 * shell.el (shell-mode):
4161 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4162 * play/landmark.el (landmark-font-lock-face-O):
4163 * play/handwrite.el (handwrite):
4164 * play/gomoku.el (gomoku-O):
4165 * net/browse-url.el (browse-url-browser-display):
4166 * international/mule.el (define-charset):
4167 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4168 * filesets.el (filesets-find-file-delay):
4169 * eshell/em-xtra.el (eshell-xtra):
4170 * eshell/em-unix.el (eshell-grep):
4171 * emulation/viper.el (viper-mode):
4172 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4173 * emacs-lisp/easymenu.el (easy-menu-define):
4174 * calendar/timeclock.el (timeclock-use-display-time):
4175 * bs.el (bs-mode):
4176 * bookmark.el (bookmark-save-flag):
4177 Doc fix (standardize possessive apostrophe usage).
4178
41792012-02-27 Chong Yidong <cyd@gnu.org>
4180
4181 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4182 Fix key-binding lookup for ESC key (Bug#9146).
4183
4184 * font-lock.el (font-lock-specified-p): Rename from
4185 font-lock-spec-present. Callers changed.
4186
41872012-02-27 Daniel Hackney <dan@haxney.org>
4188
4189 * emacs-lisp/package.el (package-compute-transaction):
4190 Handle holding a package version to t in package-load-list.
4191
41922012-02-26 Michael Albinus <michael.albinus@gmx.de>
4193
4194 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4195 (tramp-get-inode, tramp-get-device): Use cached values.
4196
41972012-02-26 Alan Mackenzie <acm@muc.de>
4198
4199 Check there is a font-lock specification before doing initial
4200 fontification.
4201
4202 * font-core.el (font-lock-mode): Move the conditional from
4203 :after-hook to font-lock-initial-fontify.
4204 (font-lock-default-function): Move the check for a specification
4205 to font-lock-spec-present.
4206
4207 * font-lock.el (font-lock-initial-fontify): Call ...
4208 (font-lock-spec-present): New function.
4209
42102012-02-26 Jim Blandy <jimb@red-bean.com>
4211
4212 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4213 (gdb-send): Apply it to the operand of the '-interpreter-exec
4214 console' command, so that we can pass arguments with (say) quotes
4215 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4216
42172012-02-26 Chong Yidong <cyd@gnu.org>
4218
4219 * help-fns.el (describe-function-1): Clarify description of
4220 remapping (Bug#10844).
4221
4222 * files.el (files-equal-p): Doc fix.
4223 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4224 and quit the loop once a mismatch is found.
4225
42262012-02-25 Juanma Barranquero <lekktu@gmail.com>
4227
4228 * bs.el (bs--show-with-configuration): Don't throw an error
4229 if the window cannot be split; otherwise, subsequent calls to
4230 bs-show fail, restoring a stale window config. (Bug#10882)
4231
42322012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4233
4234 * term/ns-win.el (global-map): Bind ns-drag-file to
4235 ns-find-file (Bug#5855, Bug#10050).
4236
42372012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4238
4239 * calendar/parse-time.el (parse-time-string): Allow extractor to
4240 return nil.
4241
42422012-02-25 Michael Albinus <michael.albinus@gmx.de>
4243
4244 * net/tramp.el (tramp-file-name-for-operation):
4245 Add `files-equal-p' and `file-subdir-of-p'.
4246
4247 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4248 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4249 Add COPY-CONTENTS argument.
4250
42512012-02-25 Chong Yidong <cyd@gnu.org>
4252
4253 Add custom groups for VC backends, for consistency with vc-bzr.
4254
4255 * vc/vc-arch.el (vc-arch):
4256 * vc/vc-cvs.el (vc-cvs):
4257 * vc/vc-git.el (vc-git):
4258 * vc/vc-hg.el (vc-hg):
4259 * vc/vc-mtn.el (vc-mtn):
4260 * vc/vc-rcs.el (vc-rcs):
4261 * vc/vc-sccs.el (vc-sccs):
4262 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4263 All relevant defcustoms reassigned.
4264
42652012-02-25 Chong Yidong <cyd@gnu.org>
4266
4267 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4268
4269 * term/x-win.el (x-initialize-window-system): Reduce default for
4270 x-selection-timeout to 5 seconds (Bug#8869).
4271
42722012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4273
4274 * files.el (files-equal-p, file-subdir-of-p): New functions.
4275 (copy-directory): Error when trying to copy a directory on itself.
4276 Add missing copy-contents arg to tramp handler.
4277 * dired-aux.el (dired-copy-file-recursive): Same.
4278 (dired-create-files): Modify destination when source is equal to
4279 dest when copying files.
4280 Return also when dest is a subdir of source. (Bug#10489)
4281
42822012-02-24 Michael Albinus <michael.albinus@gmx.de>
4283
4284 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4285 (Bug#10874)
4286
42872012-02-23 Alan Mackenzie <acm@muc.de>
4288
4289 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4290 parameter "after-hook:" to allow the expansion to run code after
4291 the execution of the mode hooks.
4292
4293 * font-lock.el (font-lock-initial-fontify): New function extracted
4294 from font-lock-mode-internal.
4295
4296 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4297 :after-hook.
4298
42992012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4302 (completion--cache-all-sorted-completions): New function.
4303 (completion-all-sorted-completions): Use it.
4304 (completion--do-completion, minibuffer-force-complete):
4305 Use it to re-instate the flush hook.
4306
4307 * icomplete.el (icomplete-completions): Replace last fix with a better
4308 one (bug#10850).
4309
43102012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4311
4312 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4313 when it might call us back infinitely (bug#10797).
4314
43152012-02-23 Glenn Morris <rgm@gnu.org>
4316
4317 * minibuffer.el (completion-category-overrides): Doc fix.
4318
43192012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4322 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4323
43242012-02-23 Glenn Morris <rgm@gnu.org>
4325
4326 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4327 (authors-obsolete-files-regexps, authors-ignored-files)
4328 (authors-ambiguous-files, authors-renamed-files-alist):
4329 Add more entries.
4330
43312012-02-23 Juri Linkov <juri@jurta.org>
4332
4333 * isearch.el (isearch-occur): Sync interactive spec with occur's
4334 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4335
4336 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4337
43382012-02-22 Juri Linkov <juri@jurta.org>
4339
4340 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4341 (ucs-insert): Doc fix. Check for hex digits in the string.
4342 Don't display `nil' in the error message. (Bug#10857)
4343
43442012-02-22 Alan Mackenzie <acm@muc.de>
4345
4346 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4347
43482012-02-22 Glenn Morris <rgm@gnu.org>
4349
4350 * ffap.el (ffap-c-path):
4351 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4352
43532012-02-22 Chong Yidong <cyd@gnu.org>
4354
4355 * custom.el (load-theme): Doc fix.
4356
43572012-02-22 Glenn Morris <rgm@gnu.org>
4358
4359 * dired-x.el (dired-guess-shell-alist-default):
4360 Remove escape sequences from nroff output. (Bug#172)
4361
43622012-02-21 Glenn Morris <rgm@gnu.org>
4363
4364 * vc/emerge.el (emerge-defvar-local):
4365 Set `permanent-local' property rather than unused `preserved'.
4366
4367 * textmodes/picture.el (picture-delete-char): New alias.
4368 (picture-mode-map): Use it. (Bug#10860)
4369 (picture-mode): Doc fix.
4370
43712012-02-21 Juanma Barranquero <lekktu@gmail.com>
4372
4373 * newcomment.el (uncomment-region-default): Remove unused binding.
4374
43752012-02-21 Glenn Morris <rgm@gnu.org>
4376
4377 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4378 (picture-self-insert, picture-tab-chars): Doc fix.
4379 (picture-mode-map): Fix C-a, C-e.
4380
43812012-02-20 Glenn Morris <rgm@gnu.org>
4382
4383 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4384
43852012-02-20 Leo Liu <sdl.web@gmail.com>
4386
4387 * icomplete.el (icomplete-completions): Check FROM arg before
4388 passing to substring (Bug#10850).
4389
43902012-02-19 Chong Yidong <cyd@gnu.org>
4391
4392 * comint.el: Require ansi-color.
4393 (comint-output-filter-functions): Add ansi-color-process-output.
4394
4395 * ansi-color.el: Don't set comint-output-filter-functions; it is
4396 now in the initial value defined in comint.el.
4397 (ansi-color-apply-face-function): New variable.
4398 (ansi-color-apply-on-region): Use it.
4399 (ansi-color-apply-overlay-face): New function.
4400
4401 * shell.el (shell): No need to require ansi-color.
4402 (shell-mode): Use ansi-color-apply-face-function to highlight
4403 color escapes using font-lock-face property (Bug#10835).
4404
44052012-02-19 Chong Yidong <cyd@gnu.org>
4406
4407 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4408 mode-line formats (Bug#10839).
4409
44102012-02-18 Glenn Morris <rgm@gnu.org>
4411
4412 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4413
4414 * mail/undigest.el (unforward-rmail-message): Doc fix.
4415
4416 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4417
44182012-02-18 Eli Zaretskii <eliz@gnu.org>
4419
4420 * international/characters.el (script-list): Sync with the latest
4421 Unicode Character Database.
4422
44232012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4424
4425 * international/titdic-cnv.el: Remove duplicate coding tag.
4426 * language/cham.el: Likewise.
4427 * language/tai-viet.el: Likewise.
4428
44292012-02-18 Glenn Morris <rgm@gnu.org>
4430
4431 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4432 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4433 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4434 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4435 * calendar/holidays.el (holiday-bahai-holidays)
4436 (calendar-holidays, list-holidays):
4437 Use utf-8 Bahá'í in doc-strings, menus, etc.
4438
44392012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4440
4441 * saveplace.el (save-place-ignore-files-regexp): New variable
4442 allowing for excluding files from saving their location of point.
4443 The default value matches the temporary commit message editing
4444 files from Git, SVN, Bazaar, and Mercurial.
4445 (save-place-to-alist): Use it.
4446
44472012-02-17 Lawrence Mitchell <wence@gmx.li>
4448 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 * newcomment.el (uncomment-region-default): Don't leave extra space
4451 when an arg is provided (bug#8150).
4452
44532012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4454
4455 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4456
44572012-02-17 Glenn Morris <rgm@gnu.org>
4458
4459 * net/socks.el: Require network-stream. (Bug#10599)
4460
44612012-02-17 Kenichi Handa <handa@m17n.org>
4462
4463 * international/charprop.el:
4464 * international/uni-name.el:
4465 * international/uni-old-name.el:
4466 * international/uni-comment.el: Regenerate.
4467
44682012-02-16 Glenn Morris <rgm@gnu.org>
4469
4470 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4471 Interactively in calendar buffer, give an error if not on a date.
4472
44732012-02-15 Glenn Morris <rgm@gnu.org>
4474
4475 * shell.el (shell-delimiter-argument-list):
4476 Revert 2011-02-17 change. (Bug#8027)
4477
44782012-02-15 Chong Yidong <cyd@gnu.org>
4479
4480 * minibuffer.el (completion-at-point-functions): Doc fix.
4481
4482 * custom.el (defcustom): Doc fix; note use of defvar.
4483
44842012-02-15 Glenn Morris <rgm@gnu.org>
4485
4486 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4487 Doc fixes.
4488
44892012-02-14 Glenn Morris <rgm@gnu.org>
4490
4491 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4492
44932012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4494
4495 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4496 way the ports list is computed.
4497 (smtpmail-query-smtp-server): Prompt the user for a port number if
4498 we can't connect to any of the standard ports (bug#10810).
4499
45002012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4501
4502 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4503
45042012-02-13 Glenn Morris <rgm@gnu.org>
4505
4506 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4507
45082012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4509
4510 * net/gnutls.el (gnutls-trustfiles): New variable.
4511 (gnutls-negotiate): Use it.
4512
45132012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4514
4515 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4516 does its stuff if Gnus is running.
4517
45182012-02-13 Alan Mackenzie <acm@muc.de>
4519
4520 Fix a loop in c-set-fl-decl-start.
4521
4522 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4523 c-backward-syntactic-ws actually moves backwards.
4524
45252012-02-13 Leo Liu <sdl.web@gmail.com>
4526
4527 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4528 beginning so that all \C-o chars are removed.
4529
45302012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4531
4532 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4533
45342012-02-12 Alan Mackenzie <acm@muc.de>
4535
4536 Fix infinite loop with long macros.
4537 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4538
45392012-02-12 Chong Yidong <cyd@gnu.org>
4540
4541 * window.el (display-buffer): Doc fix (Bug#10785).
4542
45432012-02-12 Glenn Morris <rgm@gnu.org>
4544
4545 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4546 (x-disown-selection-internal, x-get-selection-internal):
4547 Sync docs with the xselect.c versions.
4548
4549 * allout-widgets.el: Add missing license notice.
4550
45512012-02-11 Glenn Morris <rgm@gnu.org>
4552
4553 * select.el (x-get-selection-internal, x-own-selection-internal)
4554 (x-disown-selection-internal):
4555 * x-dnd.el (x-get-selection-internal): Update declarations.
4556
4557 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4558
4559 * window.el (window-sides-slots):
4560 * tool-bar.el (tool-bar-position):
4561 * term/xterm.el (xterm-extra-capabilities):
4562 * ses.el (ses-self-reference-early-detection):
4563 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4564 (verilog-auto-wire-type)
4565 (verilog-auto-delete-trailing-whitespace)
4566 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4567 (verilog-auto-tieoff-declaration):
4568 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4569 (sql-oracle-statement-starters, sql-oracle-scan-on):
4570 * progmodes/prolog.el (prolog-align-comments-flag)
4571 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4572 (prolog-left-indent-regexp, prolog-paren-indent-p)
4573 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4574 (prolog-types, prolog-mode-specificators)
4575 (prolog-determinism-specificators, prolog-directives)
4576 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4577 (prolog-electric-dot-flag)
4578 (prolog-electric-dot-full-predicate-template)
4579 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4580 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4581 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4582 (prolog-program-switches, prolog-prompt-regexp)
4583 (prolog-debug-on-string, prolog-debug-off-string)
4584 (prolog-trace-on-string, prolog-trace-off-string)
4585 (prolog-zip-on-string, prolog-zip-off-string)
4586 (prolog-use-standard-consult-compile-method-flag)
4587 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4588 (prolog-imenu-max-lines, prolog-info-predicate-index)
4589 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4590 (prolog-char-quote-workaround):
4591 * progmodes/cc-vars.el (c-defun-tactic):
4592 * net/tramp.el (tramp-encoding-command-interactive)
4593 (tramp-local-end-of-line):
4594 * net/soap-client.el (soap-client):
4595 * net/netrc.el (netrc-file):
4596 * net/gnutls.el (gnutls):
4597 * minibuffer.el (completion-category-overrides)
4598 (completion-cycle-threshold)
4599 (completion-pcm-complete-word-inserts-delimiters):
4600 * man.el (Man-name-local-regexp):
4601 * mail/feedmail.el (feedmail-display-full-frame):
4602 * international/characters.el (glyphless-char-display-control):
4603 * eshell/em-ls.el (eshell-ls-date-format):
4604 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4605 (lisp-lambda-list-keyword-parameter-indentation)
4606 (lisp-lambda-list-keyword-parameter-alignment):
4607 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4608 * dired-x.el (dired-omit-verbose):
4609 * cus-theme.el (custom-theme-allow-multiple-selections):
4610 * calc/calc.el (calc-highlight-selections-with-faces)
4611 (calc-lu-field-reference, calc-lu-power-reference)
4612 (calc-note-threshold):
4613 * battery.el (battery-mode-line-limit):
4614 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4615 (archive-7z-update):
4616 * allout.el (allout-prefixed-keybindings)
4617 (allout-unprefixed-keybindings)
4618 (allout-inhibit-auto-fill-on-headline)
4619 (allout-flattened-numbering-abbreviation):
4620 * allout-widgets.el (allout-widgets-auto-activation)
4621 (allout-widgets-icons-dark-subdir)
4622 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4623 (allout-widgets-theme-dark-background)
4624 (allout-widgets-theme-light-background)
4625 (allout-widgets-item-image-properties-emacs)
4626 (allout-widgets-item-image-properties-xemacs)
4627 (allout-widgets-run-unit-tests-on-load)
4628 (allout-widgets-time-decoration-activity)
4629 (allout-widgets-hook-error-post-time)
4630 (allout-widgets-track-decoration):
4631 Add missing :version tags to new defcustoms and defgroups.
4632
4633 * progmodes/sql.el (sql-ansi-statement-starters)
4634 (sql-oracle-statement-starters): Add custom type.
4635
4636 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4637 (prolog-system-version): Give it a type.
4638
46392012-02-11 Eli Zaretskii <eliz@gnu.org>
4640
4641 * term/pc-win.el (x-select-text, x-selection-owner-p)
4642 (x-own-selection-internal, x-disown-selection-internal)
4643 (x-get-selection-internal): Sync doc strings and argument lists
4644 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4645
46462012-02-11 Leo Liu <sdl.web@gmail.com>
4647
4648 * progmodes/python.el (python-end-of-statement): Fix infinite
4649 loop. (Bug#10788)
4650
46512012-02-10 Glenn Morris <rgm@gnu.org>
4652
4653 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4654 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4655
46562012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4657
4658 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4659 about SMTP before checking the From header.
4660
4661 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4662 into own function for reuse by emacsbug.el.
4663
46642012-02-10 Leo Liu <sdl.web@gmail.com>
4665
4666 * subr.el (condition-case-unless-debug): Rename from
4667 condition-case-no-debug. All callers changed.
4668 (with-demoted-errors): Fix caller.
4669
4670 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4671 * nxml/rng-valid.el (rng-do-some-validation):
4672 * emacs-lisp/package.el (package-refresh-contents)
4673 (package-menu-execute):
4674 * desktop.el (desktop-create-buffer):
4675 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4676
46772012-02-10 Glenn Morris <rgm@gnu.org>
4678
4679 * textmodes/bibtex.el:
4680 Add missing :version tags for new/changed defcustoms.
4681
4682 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4683
46842012-02-09 Lars Ingebrigtsen <larsi@rusty>
4685
4686 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4687 (smtpmail-via-smtp): Use it, or fall back on the From address.
4688 (smtpmail-send-it): Ditto.
4689
46902012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4693 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4694 (byte-compile-tmp-var): New const.
4695 (byte-compile-defvar): Use it to minimize .elc size.
4696 Just use `defvar' rather than simulate it (bug#10761).
4697
46982012-02-09 Glenn Morris <rgm@gnu.org>
4699
4700 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4701
4702 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4703 Add :version tags.
4704
4705 * progmodes/compile.el (compilation-error-screen-columns)
4706 (compilation-first-column, compilation-filter-start): Doc fixes.
4707
4708 * vc/log-view.el (log-view-toggle-entry-display):
4709 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4710
4711 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4712 (report-emacs-bug-can-use-xdg-email):
4713 (report-emacs-bug-insert-to-mailer): Doc fixes.
4714 (report-emacs-bug): Message fix.
4715
4716 * net/browse-url.el (browse-url-can-use-xdg-open)
4717 (browse-url-xdg-open): Doc fixes.
4718
4719 * electric.el (electric-indent-mode, electric-pair-mode)
4720 (electric-layout-rules, electric-layout-mode): Doc fixes.
4721 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4722
47232012-02-08 Martin Rudalics <rudalics@gmx.at>
4724
4725 * server.el (server-unselect-display): Don't inadvertently kill
4726 the current buffer. (Bug#10729)
4727
47282012-02-08 Glenn Morris <rgm@gnu.org>
4729
4730 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4731 (sql-list-table): Doc fixes.
4732
4733 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4734 Comment out (does nothing).
4735
4736 * completion.el (dynamic-completion-mode):
4737 * dirtrack.el (dirtrack-debug-mode):
4738 * electric.el (electric-layout-mode):
4739 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4740 * face-remap.el (text-scale-mode, buffer-face-mode):
4741 * iimage.el (iimage-mode):
4742 * image-mode.el (image-transform-mode):
4743 * minibuffer.el (completion-in-region-mode):
4744 * scroll-lock.el (scroll-lock-mode):
4745 * simple.el (next-error-follow-minor-mode):
4746 * tar-mode.el (tar-subfile-mode):
4747 * tooltip.el (tooltip-mode):
4748 * vcursor.el (vcursor-use-vcursor-map):
4749 * wid-browse.el (widget-minor-mode):
4750 * emulation/tpu-edt.el (tpu-edt-mode):
4751 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4752 * international/iso-ascii.el (iso-ascii-mode):
4753 * language/thai-util.el (thai-word-mode):
4754 * mail/supercite.el (sc-minor-mode):
4755 * net/goto-addr.el (goto-address-mode):
4756 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4757 * progmodes/cwarn.el (cwarn-mode):
4758 * progmodes/flymake.el (flymake-mode):
4759 * progmodes/glasses.el (glasses-mode):
4760 * progmodes/hideshow.el (hs-minor-mode):
4761 * progmodes/pascal.el (pascal-outline-mode):
4762 * textmodes/enriched.el (enriched-mode):
4763 * vc/smerge-mode.el (smerge-mode):
4764 Doc fixes (minor mode argument).
4765
47662012-02-07 Eli Zaretskii <eliz@gnu.org>
4767
4768 * ls-lisp.el (ls-lisp-sanitize): New function.
4769 (ls-lisp-insert-directory): Use it to fix or remove any elements
4770 in file-alist with missing attributes. (Bug#4673)
4771
47722012-02-07 Alan Mackenzie <acm@muc.de>
4773
4774 Fix spurious recognition of c-in-knr-argdecl.
4775
4776 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4777 putative K&R region.
4778
47792012-02-07 Alan Mackenzie <acm@muc.de>
4780
4781 * progmodes/cc-engine.el (c-forward-objc-directive):
4782 Prevent looping in "#pragma mark @implementation".
4783
47842012-02-07 Michael Albinus <michael.albinus@gmx.de>
4785
4786 * notifications.el (notifications-on-closed-signal): Make `reason'
4787 optional. (Bug#10744)
4788
47892012-02-07 Glenn Morris <rgm@gnu.org>
4790
4791 * emacs-lisp/easy-mmode.el (define-minor-mode):
4792 Doc fixes for the macro and the mode it defines.
4793
4794 * image.el (imagemagick-types-inhibit): Doc fix.
4795
4796 * cus-start.el (imagemagick-render-type): Add it.
4797
47982012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4799
4800 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4801 Set the default at load time, too, so that `font-lock-fontify-buffer'
4802 can be called without setting up the entire mode first. This fixes
4803 a bug in `mm-inline-text' with C MIME parts.
4804
48052012-02-06 Chong Yidong <cyd@gnu.org>
4806
4807 * simple.el (list-processes--refresh): Delete exited processes
4808 (Bug#8094).
4809
4810 * comint.el (comint-next-prompt): next-single-char-property-change
4811 and prev-single-char-property-change never return nil (Bug#8657).
4812
4813 * custom.el (defcustom): Doc fix (Bug#9711).
4814
48152012-02-05 Chong Yidong <cyd@gnu.org>
4816
4817 * cus-edit.el (custom-variable-reset-backup): Quote the value
4818 before storing it in the customized-value property (Bug#6712).
4819 (custom-display): Add a customization type tag.
4820 (custom-buffer-create-internal): Improve tooltip message.
4821
4822 * wid-edit.el (widget-field-value-get): New optional arg to
4823 suppress trailing whitespace truncation.
4824 (character): Use it (Bug#2689).
4825
48262012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4827
4828 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4829 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4830
48312012-02-05 Chong Yidong <cyd@gnu.org>
4832
4833 * cus-edit.el (custom-variable-value-create): For mismatched
4834 types, show the current value (Bug#7600).
4835
4836 * custom.el (defcustom): Doc fix.
4837
48382012-02-05 Glenn Morris <rgm@gnu.org>
4839
4840 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4841
48422012-02-05 Juanma Barranquero <lekktu@gmail.com>
4843
4844 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4845 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4846 (pp-last-sexp): Use `looking-at-p'.
4847
48482012-02-04 Glenn Morris <rgm@gnu.org>
4849
4850 * files.el (revert-buffer):
4851 Doc fix (mention revert-buffer-in-progress-p).
4852
4853 * emacs-lisp/ert-x.el (ert-simulate-command):
4854 Check deferred-action-list (which is obsolete) is bound.
4855
4856 * subr.el (with-wrapper-hook): Doc fixes.
4857
4858 * simple.el (filter-buffer-substring-functions)
4859 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4860
48612012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4862
4863 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4864 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4865
48662012-02-04 Leo Liu <sdl.web@gmail.com>
4867
4868 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4869
48702012-02-04 Glenn Morris <rgm@gnu.org>
4871
4872 * image.el (image-extension-data): Add obsolete alias.
4873
4874 * isearch.el (isearch-update): Doc fix.
4875
4876 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4877
4878 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4879
48802012-02-03 Glenn Morris <rgm@gnu.org>
4881
4882 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4883 (image-animate-timeout): Doc fix.
4884
4885 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4886
48872012-02-02 Glenn Morris <rgm@gnu.org>
4888
4889 * server.el (server-auth-dir): Doc fix.
4890 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4891
4892 * subr.el (run-mode-hooks): Doc fix.
4893
48942012-02-02 Juri Linkov <juri@jurta.org>
4895
4896 * image-mode.el (image-toggle-display-image): Remove tautological
4897 `major-mode' from the `derived-mode-p' test.
4898
48992012-02-02 Kenichi Handa <handa@m17n.org>
4900
4901 * composite.el (compose-region): Cancel previous change.
4902
49032012-02-02 Kenichi Handa <handa@m17n.org>
4904
4905 * composite.el (compose-region, compose-string): Signal error for
4906 a null string component (Bug#6988).
4907
49082012-02-01 Chong Yidong <cyd@gnu.org>
4909
4910 * view.el (view-buffer-other-window, view-buffer-other-frame):
4911 Handle special modes like view-buffer (Bug#10650).
4912 (view-buffer): Simplify.
4913
4914 * frame.el (set-frame-font): Tweak meaning of third argument.
4915
4916 * dynamic-setting.el (font-setting-change-default-font):
4917 Use set-frame-font (Bug#9982).
4918
49192012-02-01 Glenn Morris <rgm@gnu.org>
4920
4921 * progmodes/compile.el (compilation-internal-error-properties):
4922 Respect compilation-first-column in the "*compilation*" buffer.
4923
4924 * emacs-lisp/easy-mmode.el (define-minor-mode):
4925 Relax :variable's test for a named function.
4926
49272012-01-31 Alan Mackenzie <acm@muc.de>
4928
4929 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4930 off by one error.
4931
49322012-01-31 Chong Yidong <cyd@gnu.org>
4933
4934 * frame.el (set-frame-font): New arg ALL-FRAMES.
4935
4936 * menu-bar.el (menu-set-font): Use set-frame-font.
4937
4938 * faces.el (face-spec-reset-face): Don't apply unspecified
4939 attribute values to the default face.
4940
49412012-01-31 Juanma Barranquero <lekktu@gmail.com>
4942
4943 * progmodes/cwarn.el (cwarn): Remove dead link.
4944 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4945 Remove * from defcustom docstrings.
4946 (turn-on-cwarn-mode): Make obsolete.
4947 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4948 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4949
49502012-01-31 Glenn Morris <rgm@gnu.org>
4951
4952 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4953 Fix :variable handling of mode a symbol not equal to modefun.
4954 Allow named functions to be used as the cdr of :variable.
4955
49562012-01-30 Glenn Morris <rgm@gnu.org>
4957
4958 * emacs-lisp/authors.el (authors-fixed-entries):
4959 Remove reference to deleted file rnewspost.el.
4960
49612012-01-29 Juanma Barranquero <lekktu@gmail.com>
4962
4963 * window.el (window-with-parameter): Remove unused variable `windows'.
4964 (window--side-check): Remove unused variable `code'.
4965 (window--resize-siblings): Remove unused variable `first'.
4966 (adjust-window-trailing-edge): Remove unused variable `failed'.
4967 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4968 Use `let', not `let*'.
4969 (balance-windows-2): Remove unused variable `found'.
4970 (window--state-put-2): Remove unused variable `splits'.
4971 (window-state-put): Remove unused variable `selected'.
4972 (same-window-p): Use `string-match-p'.
4973 (display-buffer-assq-regexp): Remove unused variable `value'.
4974 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4975 Mark argument ALIST as ignored.
4976 (pop-to-buffer): Remove unused variable `old-window'.
4977
49782012-01-29 Eli Zaretskii <eliz@gnu.org>
4979
4980 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4981 and .lzma compressed files.
4982
49832012-01-29 Chong Yidong <cyd@gnu.org>
4984
4985 * frame.el (window-system-default-frame-alist): Doc fix.
4986
4987 * dynamic-setting.el (font-setting-change-default-font): Don't
4988 change the default face if SET-FONT argument is non-nil (Bug#9982).
4989
49902012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4991
4992 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4993
49942012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4995
4996 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4997 breakpoints in files outside current directory (Bug#6098).
4998
49992012-01-29 Chong Yidong <cyd@gnu.org>
5000
5001 * progmodes/python.el: Require ansi-color at top-level.
5002
5003 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5004 Define and use in Emacs Lisp mode (Bug#9360).
5005 (lisp-mode-abbrev-table): Add doc.
5006 (lisp-mode-variables): Don't set local-abbrev-table.
5007 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5008
50092012-01-28 Roland Winkler <winkler@gnu.org>
5010
5011 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5012
50132012-01-28 Roland Winkler <winkler@gnu.org>
5014
5015 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5016 (bibtex-set-dialect): Use it. Either set global values of
5017 dialect-dependent variables or bind these variables buffer-locally
5018 (Bug#10254).
5019 (bibtex-mode): Call bibtex-set-dialect via
5020 hack-local-variables-hook.
5021 (bibtex-dialect): Update docstring.
5022 Add safe-local-variable predicate.
5023 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5024 bibtex-set-dialect.
5025 (bibtex-mode-map): Define menu for each dialect.
5026 (bibtex-entry): Fix docstring.
5027
50282012-01-28 Chong Yidong <cyd@gnu.org>
5029
5030 * eshell/esh-arg.el (eshell-quote-argument): New function.
5031
5032 * eshell/esh-ext.el (eshell-invoke-batch-file):
5033 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5034 first arg to eshell-parse-command (Bug#10523).
5035
50362012-01-28 Drew Adams <drew.adams@oracle.com>
5037
5038 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5039 `default-directory' is non-nil.
5040
50412012-01-28 Eli Zaretskii <eliz@gnu.org>
5042
5043 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5044 line that displays system-configuration-options. (Bug#9924)
5045
50462012-01-28 Drew Adams <drew.adams@oracle.com>
5047
5048 * descr-text.el (describe-char): Show information about POS, in
5049 addition to information about the character at POS. Improve and
5050 update the doc string. Change "code point" to "code point in
5051 charset", to avoid confusion with the character's Unicode code
5052 point shown above that. (Bug#10129)
5053
50542012-01-28 Eli Zaretskii <eliz@gnu.org>
5055
5056 * descr-text.el (describe-char): Show the raw character, not only
5057 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5058 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5059 for the reasons.
5060
50612012-01-28 Phil Hagelberg <phil@hagelb.org>
5062
5063 * emacs-lisp/package.el (package-install):
5064 Run package-refresh-contents if there is no archive yet (Bug#9798).
5065
50662012-01-28 Chong Yidong <cyd@gnu.org>
5067
5068 * emacs-lisp/package.el (package-maybe-load-descriptor):
5069 New function, split from package-maybe-load-descriptor.
5070 (package-maybe-load-descriptor): Use it.
5071 (package-download-transaction): Fully load required packages
5072 inside the loop, so that `require' calls work (Bug#10593).
5073 (package-install): No need to call package-initialize now.
5074
50752012-01-28 Chong Yidong <cyd@gnu.org>
5076
5077 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5078
5079 * tooltip.el (tooltip-mode): Doc fix.
5080 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5081
5082 * frame.el (set-cursor-color): Doc fix (Bug#352).
5083
5084 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5085 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5086
5087 * cus-edit.el (custom-buffer-create-internal): Fix search button
5088 action (Bug#10542).
5089 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5090
50912012-01-27 Eduard Wiebe <usenet@pusto.de>
5092
5093 * dired.el (dired-mark-files-regexp):
5094 Include any subdirectory components. (Bug#10445)
5095
50962012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5097
5098 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5099 Handle [host]:port syntax. (Bug#10533)
5100
51012012-01-27 Alex Harsanyi <harsanyi@mac.com>
5102
5103 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5104
51052012-01-26 Glenn Morris <rgm@gnu.org>
5106
5107 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5108 * term.el (term-raw-escape-map): Use Control-X-prefix.
5109 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5110
51112012-01-25 Martin Rudalics <rudalics@gmx.at>
5112
5113 * window.el (window-state-get, window--state-get-1): Don't deal
5114 with fixed-sizeness of windows. Simplify code.
5115
51162012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5117
5118 * window.el (window--state-get-1, window--state-put-2):
5119 Don't save and restore the mark.
5120
51212012-01-25 Chong Yidong <cyd@gnu.org>
5122
5123 * custom.el (custom-variable-p): Doc fix.
5124
51252012-01-25 Glenn Morris <rgm@gnu.org>
5126
5127 * dired.el (dired-goto-file): Handle some of the more common
5128 characters that `ls -b' escapes. (Bug#10596)
5129
5130 * progmodes/compile.el (compilation-next-error-function):
5131 Respect compilation-first-column in the "*compilation*" buffer.
5132 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5133
5134 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5135
51362012-01-24 Glenn Morris <rgm@gnu.org>
5137
5138 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5139
51402012-01-24 Julien Danjou <julien@danjou.info>
5141
5142 * color.el (color-rgb-to-hsl): Fix value computing.
5143 (color-hue-to-rgb): New function.
5144 (color-hsl-to-rgb): New function.
5145 (color-clamp, color-saturate-hsl, color-saturate-name)
5146 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5147 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5148
51492012-01-24 Glenn Morris <rgm@gnu.org>
5150
5151 * vc/vc-rcs.el (vc-rcs-create-tag):
5152 * vc/vc-sccs.el (vc-sccs-create-tag):
5153 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5154
51552012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5156
5157 * eshell/esh-util.el (eshell-read-hosts-file):
5158 Skip comment lines. (Bug#10549)
5159
5160 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5161
51622012-01-23 Juanma Barranquero <lekktu@gmail.com>
5163
5164 * subr.el (display-delayed-warnings): Doc fix.
5165 (collapse-delayed-warnings): New function to collapse identical
5166 adjacent warnings.
5167 (delayed-warnings-hook): Add it.
5168
51692012-01-22 Michael Albinus <michael.albinus@gmx.de>
5170
5171 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5172
5173 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5174 (tramp-default-user-alist): Don't add "pscp".
5175 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5176 property "login-as", if set. (Bug#10530)
5177
51782012-01-21 Michael Albinus <michael.albinus@gmx.de>
5179
5180 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5181 "plink1" and "psftp". (Bug#10530)
5182
51832012-01-21 Kenichi Handa <handa@m17n.org>
5184
5185 * international/mule-cmds.el (prefer-coding-system): Show a
5186 warning message if the default value of file-name-coding-system
5187 was not changed.
5188
51892012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5190
5191 * windmove.el (windmove-reference-loc):
5192 Fix windmove-reference-loc miscalculation.
5193
51942012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5195
5196 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5197 default unit.
5198
51992012-01-21 Glenn Morris <rgm@gnu.org>
5200
5201 * international/mule.el (auto-coding-alist): Add .tbz.
5202
5203 * files.el (local-enable-local-variables): Doc fix.
5204 (inhibit-local-variables-regexps): Rename from
5205 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5206 Doc fix. Add some extensions from auto-coding-alist.
5207 (inhibit-local-variables-suffixes):
5208 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5209 (inhibit-local-variables-p):
5210 New function, extracted from set-auto-mode-1.
5211 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5212 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5213 (hack-local-variables): Doc fix. Make the mode-only case
5214 respect enable-local-variables and friends.
5215 Respect inhibit-local-variables-regexps for file-locals, but
5216 not for directory-locals.
5217 (set-visited-file-name):
5218 Take account of inhibit-local-variables-regexps.
5219 Whether it applies may change as the file name is changed.
5220 * jka-cmpr-hook.el (jka-compr-install):
5221 * jka-compr.el (jka-compr-uninstall):
5222 Update for inhibit-first-line-modes-suffixes name change.
5223
52242012-01-20 Martin Rudalics <rudalics@gmx.at>
5225
5226 * help-macro.el (make-help-screen): Temporarily restore original
5227 binding for minor-mode-map-alist (Bug#10454).
5228
52292012-01-19 Julien Danjou <julien@danjou.info>
5230
5231 * color.el (color-name-to-rgb): Use the white color to find the max
5232 color component value and return correctly computed values.
5233 (color-name-to-rgb): Add missing float conversion for max value.
5234
52352012-01-19 Martin Rudalics <rudalics@gmx.at>
5236
5237 * window.el (window--state-get-1, window-state-get): Do not use
5238 special state value for window-persistent-parameters.
5239 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
5240 (window--state-put-2): Reset all window parameters to nil before
5241 assigning values of persistent parameters.
5242
52432012-01-18 Alan Mackenzie <acm@muc.de>
5244
5245 Eliminate sluggishness and hangs in fontification of "semicolon
5246 deserts".
5247
5248 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5249 Change value 10000 -> 3000.
5250 (c-state-safe-place): Reformulate so it doesn't stack up an
5251 infinite number of wrong entries in c-state-nonlit-pos-cache.
5252 (c-determine-limit-get-base, c-determine-limit): New functions to
5253 determine backward search limits disregarding literals.
5254 (c-find-decl-spots): Amend commenting.
5255 (c-cheap-inside-bracelist-p): New function which detects "={".
5256
5257 * progmodes/cc-fonts.el
5258 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5259 backward search.
5260 (c-font-lock-declarations): Fix an occurrence of point being
5261 undefined. Check additionally for point being in a bracelist or
5262 near a macro invocation without a semicolon so as to avoid a
5263 fruitless time consuming search for a declarator. Give a more
5264 precise search limit for declarators using the new
5265 c-determine-limit.
5266
52672012-01-18 Glenn Morris <rgm@gnu.org>
5268
5269 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5270 (set-auto-mode): Doc fixes.
5271
52722012-01-17 Glenn Morris <rgm@gnu.org>
5273
5274 * isearch.el (search-nonincremental-instead): Fix doc typo.
5275
5276 * dired.el (dired-insert-directory): Handle newlines in directory name.
5277 (dired-build-subdir-alist): Unescape newlines in directory name.
5278
52792012-01-17 Michael Albinus <michael.albinus@gmx.de>
5280
5281 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5282 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5283 (tramp-action-terminal): Use it. (Bug#10530)
5284
52852012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5288
52892012-01-16 Martin Rudalics <rudalics@gmx.at>
5290
5291 * window.el (window-state-ignored-parameters): Remove variable.
5292 (window--state-get-1): Rename argument MARKERS to IGNORE.
5293 Handle persistent window parameters. Make copy of clone-of
5294 parameter only if requested. (Bug#10348)
5295 (window--state-put-2): Install a window parameter only if it has
5296 a non-nil value or an existing parameter shall be overwritten.
5297
52982012-01-15 Michael Albinus <michael.albinus@gmx.de>
5299
5300 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5301
53022012-01-14 Eli Zaretskii <eliz@gnu.org>
5303
5304 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5305 don't pass the (nil) value of `upnode' to string-match.
5306
53072012-01-14 Chong Yidong <cyd@gnu.org>
5308
5309 * startup.el (command-line): Fix X resource class for cursorColor.
5310 Fix values recognized by the cursorBlink resource.
5311
53122012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5313
5314 * epg.el (epg--make-temp-file): Avoid permission race condition
5315 when running on old Emacs versions (bug#10403).
5316
53172012-01-14 Glenn Morris <rgm@gnu.org>
5318
5319 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5320
53212012-01-13 Alan Mackenzie <acm@muc.de>
5322
5323 Fix filling for when filladapt mode is enabled.
5324
5325 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5326 c-mask-paragraph, pass in `fill-paragraph' rather than
5327 `fill-region-as-paragraph'. (This is a reversion of a previous
5328 change.)
5329 * progmodes/cc-mode.el (c-basic-common-init):
5330 Make fill-paragraph-handle-comment buffer local and set it to nil.
5331
53322012-01-13 Glenn Morris <rgm@gnu.org>
5333
5334 * dired.el (dired-switches-escape-p): New function.
5335 (dired-insert-directory): Use dired-switches-escape-p.
5336 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5337
5338 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5339
53402012-01-12 Glenn Morris <rgm@gnu.org>
5341
5342 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5343 changes in adaptive-fill-regexp. (Bug#10276)
5344
53452012-01-11 Alan Mackenzie <acm@muc.de>
5346
5347 Fix Emacs bug #10463 - put `widen's around the critical spots.
5348
5349 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5350 widen around each invocation of c-state-pp-to-literal. Remove an
5351 unused let variable.
5352
53532012-01-11 Glenn Morris <rgm@gnu.org>
5354
5355 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5356 Doc fix.
5357
53582012-01-10 Chong Yidong <cyd@gnu.org>
5359
5360 * net/network-stream.el (network-stream-open-starttls):
5361 Avoid emitting a confusing error message when the server gives a bad
5362 response to the capability command.
5363
53642012-01-10 Glenn Morris <rgm@gnu.org>
5365
5366 * mail/unrmail.el (unrmail): Tweak previous change.
5367
53682012-01-09 Chong Yidong <cyd@gnu.org>
5369
5370 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5371
53722012-01-08 Alan Mackenzie <acm@muc.de>
5373
5374 Optimise font locking in long enum definitions.
5375
5376 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5377 arm to a cond form to handle enums.
5378 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5379 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5380
53812012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5382
5383 * files.el (move-file-to-trash): Preserve default file modes on error.
5384 (Bug#10401)
5385
53862012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5387
5388 * faces.el (set-face-attribute): Clarify the meaning of the nil
5389 frame (bug#10294).
5390
5391 * subr.el (with-selected-frame): Mention that the selected frame
5392 is restored (bug#9980).
5393
5394 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5395 (bug#9759).
5396
5397 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5398 (password-read): Don't autoload unused function.
5399
54002012-01-07 Juanma Barranquero <lekktu@gmail.com>
5401
5402 * progmodes/which-func.el (which-func-mode): Turn into a
5403 non-interactive function and mark as obsolete (bug#10428).
5404
54052012-01-06 Chong Yidong <cyd@gnu.org>
5406
5407 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5408 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5409 functions, along with 1 and -1.
5410
54112012-01-06 Eli Zaretskii <eliz@gnu.org>
5412
5413 * time.el (display-time-load-average)
5414 (display-time-default-load-average): Doc fixes. See the thread
5415 starting at
5416 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5417 for the details.
5418
54192012-01-06 Glenn Morris <rgm@gnu.org>
5420
5421 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5422 has no messages. (Bug#10377)
5423
5424 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5425 than Info-edit. (Bug#10385)
5426
5427 * time.el (display-time-load-average, display-time-next-load-average):
5428 Doc fixes.
5429
5430 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5431 local setting of buffer-read-only to the input buffer. (Bug#10419)
5432
5433 * calendar/calendar.el (calendar-mode):
5434 Locally set scroll-margin to 0. (Bug#10379)
5435
54362012-01-06 Ulrich Mueller <ulm@gentoo.org>
5437
5438 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5439
54402012-01-05 Glenn Morris <rgm@gnu.org>
5441
5442 * eshell/em-unix.el (diff-no-select): Autoload it.
5443 (eshell/diff): Use diff-no-select. (Bug#10420)
5444
54452012-01-05 Chong Yidong <cyd@gnu.org>
5446
5447 * shell.el (shell-dynamic-complete-functions): Revert last change.
5448 (shell-command-completion-function): New function.
5449 (shell-completion-vars): Use it to implement
5450 shell-completion-execonly (Bug#10417).
5451
5452 * custom.el (enable-theme): Don't set custom-safe-themes.
5453
5454 * cus-theme.el (custom-theme-merge-theme):
5455 Ignore custom-enabled-themes and custom-safe-themes.
5456
54572012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5458
5459 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5460 first prompt in `sql-interacive-mode'.
5461 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5462 keywords.
5463 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5464 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5465 context of original buffer. Invoke `sql-login-hook'.
5466
54672012-01-04 Eli Zaretskii <eliz@gnu.org>
5468
5469 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5470 letters in cite-prefix.
5471
54722012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5473
5474 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5475
54762012-01-03 Chong Yidong <cyd@gnu.org>
5477
5478 * shell.el (shell-dynamic-complete-functions):
5479 Put pcomplete-completions-at-point, so as to try
5480 comint-filename-completion first (Bug#10417).
5481
54822012-01-02 Richard Stallman <rms@gnu.org>
5483
5484 * battery.el (battery-status-function):
5485 Detect when to use battery-yeeloong-sysfs.
5486 (battery-echo-area-format): Add string for Yeeloong.
5487 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5488 (battery-yeeloong-sysfs): New function.
5489
54902012-01-02 Chong Yidong <cyd@gnu.org>
5491
5492 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5493 (dirtrack): Merge code for handling relative filenames in prompt
5494 from shell-dir-cookie-watcher.
5495 (dirtrack-debug-message): New arg to avoid excess format calls.
5496
5497 * shell.el (shell-dir-cookie-re): Variable deleted.
5498 (shell-dir-cookie-watcher): Function deleted.
5499 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5500 with dirtrack-mode.
5501
55022012-01-01 Eli Zaretskii <eliz@gnu.org>
5503
5504 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5505 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5506 libgnutls-26.dll.
5507
55082011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5509
5510 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5511
55122011-12-31 Eli Zaretskii <eliz@gnu.org>
5513
5514 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5515 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5516
55172011-12-29 Michael Albinus <michael.albinus@gmx.de>
5518
5519 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5520 also for alternative shells.
5521 (tramp-open-connection-setup-interactive-shell): Check, whether
5522 the shell is a busybox.
5523 (tramp-send-command): Don't suppress multiple prompts for
5524 busyboxes, it hurts.
5525
55262011-12-28 Chong Yidong <cyd@gnu.org>
5527
5528 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5529 (gdb-get-source-file): Move mode line update to
5530 gdb-get-source-file (Bug#10087).
5531
55322011-12-25 Chong Yidong <cyd@gnu.org>
5533
5534 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5535 gud-gdb-marker-filter without taking it as an argument.
5536 (gud-gdb-run-command-fetch-lines): Caller changed.
5537 (gud-gdb-completion-function): New variable.
5538 (gud-gdb-completion-at-point): Use it.
5539 (gud-gdb-completions-1): Split from gud-gdb-completions.
5540
5541 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5542 function as separate arguments.
5543 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5544 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5545 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5546 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5547 (gdb-stopped, def-gdb-auto-update-trigger)
5548 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5549 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5550 Callers changed.
5551 (gud-gdbmi-completions): New function.
5552 (gdb): Use it for generating the completion table.
5553
55542011-12-24 Alan Mackenzie <acm@muc.de>
5555
5556 Introduce a mechanism to widen the region used in context font
5557 locking. Use this to protect declarations from losing their contexts.
5558
5559 * progmodes/cc-langs.el (c-before-font-lock-functions):
5560 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5561 (c-before-context-fontification-functions): New defvar, a list of
5562 functions to be run just before context (etc.) font locking.
5563
5564 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5565 New, functionality extracted from
5566 c-neutralize-syntax-in-and-mark-CPP.
5567 (c-in-after-change-fontification): New variable.
5568 (c-after-change): Set c-in-after-change-fontification.
5569 (c-set-fl-decl-start): Rejig its interface, so it can be called
5570 from both after-change and context fontifying.
5571 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5572 New functions.
5573 (c-standard-font-lock-fontify-region-function): New variable.
5574 (c-font-lock-fontify-region): New function.
5575
55762011-12-24 Juri Linkov <juri@jurta.org>
5577
5578 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5579 (Bug#10348)
5580
55812011-12-23 Michael Albinus <michael.albinus@gmx.de>
5582
5583 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5584 existence of source file. (Bug#10325)
5585
55862011-12-23 Alan Mackenzie <acm@muc.de>
5587
5588 Fix unstable fontification inside templates.
5589
5590 * progmodes/cc-langs.el (c-before-font-lock-functions):
5591 Newly created from the singular version. The (c c++ objc) entry now
5592 additionally has c-set-fl-decl-start. The other languages (apart
5593 from AWK) have that as a single entry.
5594
5595 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5596 The functionality for "local" declarations has been extracted to
5597 c-set-fl-decl-start.
5598
5599 * progmodes/cc-mode.el (c-common-init, c-after-change):
5600 Changes due to pluralisation of c-before-font-lock-functions.
5601 (c-set-fl-decl-start): New function, extracted from
5602 c-font-lock-enclosing-decls and enhanced.
5603
56042011-12-23 Juanma Barranquero <lekktu@gmail.com>
5605
5606 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5607
56082011-12-22 Juri Linkov <juri@jurta.org>
5609
5610 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5611
56122011-12-22 Chong Yidong <cyd@gnu.org>
5613
5614 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5615
56162011-12-21 Drew Adams <drew.adams@oracle.com>
5617
5618 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5619
56202011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5621
5622 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5623
56242011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5625
5626 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5627 highlighting and support. Fix up comments for capitalization.
5628 (cfengine-mode-debug): New var.
5629 (cfengine3-mode): Change the modeline indicator to "CFE3".
5630 (cfengine3-font-lock-keywords): Improve defun highlighting.
5631 (cfengine2-actions): Rename from `cfengine-actions'.
5632 (cfengine2-font-lock-keywords): Rename from
5633 `cfengine-font-lock-keywords'.
5634 (cfengine2-imenu-expression): Rename from
5635 `cfengine-imenu-expression'.
5636 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5637 (cfengine2-beginning-of-defun): Rename from
5638 `cfengine-beginning-of-defun'.
5639 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5640 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5641 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5642 modeline indicator to "CFE2".
5643 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5644 (cfengine-mode-abbrevs): Mark obsolete.
5645
56462011-12-21 Chong Yidong <cyd@gnu.org>
5647
5648 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5649 filename argument.
5650
56512011-12-20 Martin Rudalics <rudalics@gmx.at>
5652
5653 * window.el (window-normalize-buffer-to-display): Remove.
5654 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5655
56562011-12-19 Chong Yidong <cyd@gnu.org>
5657
5658 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5659 Don't signal an error in a predicate function; return non-nil.
5660 (vc-dir-mark-file): Move the error here.
5661 (vc-dir-mark-unmark): If acting on the region, keep going if one
5662 of the entries cannot be marked/unmarked.
5663 (vc-dir-mark-all-files): If current entry is a directory, mark
5664 only child files, as documented.
5665
56662011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5667
5668 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5669 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5670 addition.
5671
56722011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5673
5674 * term/ns-win.el (ns-get-selection-internal)
5675 (ns-store-selection-internal): Declare.
5676 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5677 Declare as obsolete.
5678 (ns-get-pasteboard, ns-paste-secondary):
5679 Use ns-get-selection-internal.
5680 (ns-set-pasteboard, ns-copy-including-secondary):
5681 Use ns-store-selection-internal.
5682
56832011-12-17 Chong Yidong <cyd@gnu.org>
5684
5685 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5686 (vc-deduce-fileset): Doc fix.
5687
56882011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5689
5690 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5691
56922011-12-13 Sam Steingold <sds@gnu.org>
5693
5694 * man.el (Man-getpage-in-background): When running under a
5695 window-system, ignore $MANWIDTH and $COLUMNS.
5696
56972011-12-15 Kenichi Handa <handa@m17n.org>
5698
5699 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5700 (setup-ethiopic-environment-internal): Comment out key-binding for
5701 ethio-toggle-punctuation.
5702
57032011-12-13 Alan Mackenzie <acm@muc.de>
5704
5705 Add the switch statement to AWK Mode.
5706
5707 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5708 "default" to the keywords regexp.
5709
5710 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5711 expression as the rest.
5712 (c-nonlabel-token-key): Allow string literals for AWK.
5713 Refactor for the other modes.
5714
5715 Large brace-block initialisation makes CC Mode slow: Fix.
5716 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5717 routines. Limit backward searching in c-font-lock-enclosing.decl.
5718
5719 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5720 pp-state and literal type in addition to the limits.
5721 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5722 (c-state-literal-at): Use the above new defun.
5723 (c-slow-in-literal, c-fast-in-literal): Remove.
5724 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5725
5726 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5727 being in a literal. Add a limit for backward searching.
5728
5729 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5730 c-slow-in-literal.
5731
57322011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5733
5734 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5735
57362011-12-13 Martin Rudalics <rudalics@gmx.at>
5737
5738 * window.el (delete-other-windows): Use correct frame in call to
5739 window-with-parameter.
5740
57412011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5742
5743 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5744 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5745 (makefile-gmake-statements, makefile-makepp-statements):
5746 Use it and add new makepp keywords.
5747 (makefile-makepp-font-lock-keywords): Add new patterns.
5748 (makefile-match-function-end): Match new [...] and [[...]].
5749
57502011-12-11 Juanma Barranquero <lekktu@gmail.com>
5751
5752 * ses.el (ses-call-printer-return, ses-cell-property-get)
5753 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5754 (ses-create-cell-variable, ses-reset-header-string)
5755 (ses-cell-set-formula, ses-repair-cell-reference-all)
5756 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5757 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5758 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5759 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5760 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5761 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5762 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5763 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5764 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5765 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5766 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5767 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5768
57692011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5770
5771 * ses.el: The overall change is to add cell renaming, that is
5772 setting fancy names for cell symbols other than name matching
5773 "\\`[A-Z]+[0-9]+\\'" regexp .
5774 (ses-create-cell-variable): New defun.
5775 (ses-relocate-formula): Relocate formulas only for cells the
5776 symbols of which are not renamed, i.e. symbols whose names do not
5777 match regexp "\\`[A-Z]+[0-9]+\\'".
5778 (ses-relocate-all): Relocate values only for cells the symbols of
5779 which are not renamed.
5780 (ses-load): Create cells variables as the (ses-cell ...) are read,
5781 in order to check row col consistency with cell symbol name only
5782 for cells that are not renamed.
5783 (ses-replace-name-in-formula): New defun.
5784 (ses-rename-cell): New defun.
5785
57862011-12-11 Chong Yidong <cyd@gnu.org>
5787
5788 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5789 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5790
57912011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5792
5793 * window.el (other-window): Fix docstring.
5794
57952011-12-10 Eli Zaretskii <eliz@gnu.org>
5796
5797 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5798 `from' or `to' address before taking its substring.
5799 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5800 encoded name is chopped in the middle of the encoded string, and
5801 thus displayed encoded.
5802
58032011-12-10 Juanma Barranquero <lekktu@gmail.com>
5804
5805 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5806
58072011-12-10 Eli Zaretskii <eliz@gnu.org>
5808
5809 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5810 to use texinfo-update-node and commands that call it if the
5811 Texinfo file uses @node lines without next/prev/up pointers.
5812 Correct outdated description about texinfo-master-menu.
5813 (texinfo-all-menus-update, texinfo-master-menu)
5814 (texinfo-update-node, texinfo-every-node-update)
5815 (texinfo-multiple-files-update): Doc fix. Warn against updating
5816 all the @node lines.
5817 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5818 argument is numeric. Explain better in the doc string what the
5819 function really does.
5820 (texinfo-insert-master-menu-list): Improve the error message
5821 displayed if there's no menu in the Top node.
5822 (Bug#2975) See also this thread:
5823 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5824
58252011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5826
5827 * speedbar.el (speedbar-supported-extension-expressions):
5828 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5829
58302011-12-09 Juanma Barranquero <lekktu@gmail.com>
5831
5832 * printing.el (pr-mode-alist):
5833 * simple.el (filter-buffer-substring-functions)
5834 (completion-list-insert-choice-function):
5835 * window.el (window-with-parameter, window-atom-root)
5836 (window-sides-slots, window-size-fixed, window-min-delta)
5837 (window-max-delta, window--resize-mini-window)
5838 (window--resize-child-windows-normal, window-tree)
5839 (delete-other-windows, quit-window, split-window)
5840 (display-buffer-record-window, special-display-buffer-names)
5841 (special-display-regexps, special-display-popup-frame)
5842 (same-window-p, split-window-sensibly)
5843 (display-buffer-overriding-action, display-buffer-alist)
5844 (display-buffer-base-action, display-buffer, switch-to-buffer)
5845 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5846 (fit-window-to-buffer, recenter-positions)
5847 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5848 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5849 and remove unneeded backslashes in docstrings.
5850
58512011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5852
5853 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5854
5855 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5856 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5857 end in ".mk".
5858 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5859 when reading the makefile (bug#10116).
5860
58612011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5862
5863 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5864 (bug#10116).
5865
58662011-12-06 Glenn Morris <rgm@gnu.org>
5867
5868 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5869
58702011-12-06 Chong Yidong <cyd@gnu.org>
5871
5872 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5873
58742011-12-06 Juanma Barranquero <lekktu@gmail.com>
5875
5876 * textmodes/table.el (table-shorten-cell): Fix typo.
5877
58782011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5879
5880 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5881
58822011-12-05 Eli Zaretskii <eliz@gnu.org>
5883
5884 * descr-text.el (describe-char): Fix display of strong
5885 right-to-left characters and directional embeddings and overrides.
5886
5887 * simple.el (what-cursor-position): Fix display of codepoints of
5888 strong right-to-left characters.
5889
58902011-12-05 Chong Yidong <cyd@gnu.org>
5891
5892 * faces.el (read-color): Doc fix.
5893
58942011-12-05 Glenn Morris <rgm@gnu.org>
5895
5896 * align.el (align--set-marker): Add doc-string.
5897 Don't try to move something that is not a marker. (Bug#10216)
5898
58992011-12-04 Glenn Morris <rgm@gnu.org>
5900
5901 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5902 overly zealous deletion of trailing whitespace.
5903
59042011-12-04 Juanma Barranquero <lekktu@gmail.com>
5905
5906 * server.el (server-delete-client): On Windows, do not try to delete
5907 the only terminal.
5908 (server-process-filter): On Windows, treat requests for a tty frame as
5909 if they were for a GUI frame if the running server is in GUI mode.
5910
59112011-12-03 Glenn Morris <rgm@gnu.org>
5912
5913 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5914
59152011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 * electric.el: Streamline electric-indent's hook.
5918 (electric-indent-chars): Revert to simple list.
5919 (electric-indent-functions): New var.
5920 (electric-indent-post-self-insert-function): Use it.
5921
5922 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5923 there's no inferior buffer (bug#10196).
5924 (prolog-consult-compile): Don't use toggle-read-only.
5925
59262011-12-02 Michael Albinus <michael.albinus@gmx.de>
5927
5928 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5929 interrupt. (Bug#10187)
5930
59312011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5934 (bug#9160).
5935
5936 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5937 (bug#10191).
5938
59392011-12-02 Juri Linkov <juri@jurta.org>
5940
5941 * info.el (Info-search): Display "end of manual" when Isearch
5942 reaches the end of single-file Info manual. (Bug#9918)
5943
59442011-12-02 Eli Zaretskii <eliz@gnu.org>
5945
5946 * isearch.el (isearch-message-prefix): Run the input method part
5947 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5948
59492011-12-02 Juri Linkov <juri@jurta.org>
5950
5951 * isearch.el (isearch-occur): Use `word-search-regexp' for
5952 `isearch-word'.
5953 (isearch-search-and-update): Add condition for `isearch-word' and
5954 call `word-search-regexp'. (Bug#10145)
5955
59562011-12-01 Glenn Morris <rgm@gnu.org>
5957
5958 * eshell/em-hist.el (eshell-hist-initialize):
5959 Handle eshell-history-size nil and HISTSIZE set or unset.
5960 (eshell-history-file-name, eshell-history-size): Fix custom type.
5961
59622011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5963
5964 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5965
59662011-12-01 Michael McNamara <mac@mail.brushroad.com>
5967
5968 * progmodes/verilog-mode.el (verilog-pretty-expr):
5969 Rework verilog-pretty-expr to handle new assignment operators in system
5970 verilog, such as += *= and the like.
5971 (verilog-assignment-operator-re): Regular expression to find the
5972 assigment operator in a verilog assignment.
5973 (verilog-assignment-operation-re): Regular expression to find an
5974 assignment statement for pretty-expr.
5975 (verilog-in-attribute-p): Query returns true if point is in an
5976 attribute context; used to skip these for expression line up from
5977 pretty-expr.
5978 (verilog-in-parameter-p): Query returns true if point is in an
5979 parameter definition context; used to skip these for expression
5980 line up from pretty-expr.
5981 (verilog-in-parenthesis-p): Query returns true if point is in a
5982 parenthetical expression, specifically ( ) but not [ ] or { };
5983 used by pretty-expr.
5984 (verilog-just-one-space): If there is no space, don't add one.
5985 (verilog-get-lineup-indent-2): Specifically skip just attribute
5986 contexts for expression lineup, rather than skipping all
5987 parenthetical expressions.
5988 (verilog-calculate-indent): Fix comment, and fix indent.
5989 (verilog-do-indent): Indent declarations in lists (suggested by
5990 Joachim Lechner).
5991 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5992 skeleton items.
5993 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5994 by Alain Mellan).
5995
59962011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5997
5998 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5999 parameters with embedded comments. Reported by Ray Stevens.
6000 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6001 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6002 Reported by Tim Holt.
6003 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6004 instantiated by upper module causing wrong expansion until AUTOed a
6005 second time. Reported by K C Buckenmaier.
6006 (verilog-diff-auto): Fix showing .* as a difference when
6007 `verilog-auto-star-save' off. Reported by Dan Dever.
6008 (verilog-auto-reset, verilog-read-always-signals)
6009 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6010 temporary signals in reset list if
6011 verilog-auto-reset-blocking-in-non is nil, and match assignment
6012 style to each signal's assignment type, bug381.
6013 Reported by Thomas Esposito.
6014 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6015 (verilog-uvm-statement-re): Support UVM indentation and
6016 highlighting, with old OVM keywords only.
6017 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6018 Support AUTOTIEOFF creating non-wire data types.
6019 Suggested by Jonathan Greenlaw.
6020 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6021 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6022 (verilog-inject-sense, verilog-read-inst-pins)
6023 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6024 Fix mismatching parenthesis inside commented out code when deleting
6025 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6026 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6027 non-numeric vector width. Reported by Alex Reed.
6028 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6029 detecting signals with parameter widths. Reported by Alex Reed.
6030 (verilog-auto-delete-trailing-whitespace):
6031 With `verilog-auto-delete-trailing-whitespace' remove trailing
6032 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6033 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6034 Fix verilog-scan-cache corruption when running user AUTO expansion
6035 hooks that call indentation routines.
6036 (verilog-simplify-range-expression): Fix typo ignoring lower case
6037 identifiers.
6038 (verilog-delete-auto): Fix delete-autos to also remove user created
6039 automatics, as long as they start with AUTO.
6040 (verilog-batch-diff-auto, verilog-diff-auto)
6041 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6042 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6043 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6044 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6045 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6046 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6047 is disabled and its cache will get corrupt, causing AUTOS not to
6048 expand. Instead use only -quick functions.
6049 (verilog-scan-region): Fix scanning over escaped quotes.
6050 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6051 (verilog-re-search-backward-quick)
6052 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6053 related functions now ignore strings, to fix misparsing of strings
6054 with magic comments embedded in them.
6055 (verilog-read-auto-template):
6056 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6057 Reported by Brad Dobbie.
6058 (verilog-read-auto-template):
6059 Fix 'verilog-auto-inst-template-numbers' with comments.
6060 Reported by Brad Dobbie.
6061 (verilog-auto-inst, verilog-auto-inst-param)
6062 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6063 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6064 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6065 debugging templates without merge conflicts, bug357.
6066 Reported by Brad Dobbie.
6067 (verilog-read-auto-template):
6068 Fix verilog-auto-inst-template-numbers with multiple templates.
6069 Reported by Brad Dobbie.
6070 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6071 abbrevs so user won't be asked to save.
6072 (verilog-read-auto-lisp-present): Fix to start at beginning of
6073 buffer in case called outside of verilog-auto.
6074 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6075 to "X-2". Reported by Matthew Myers.
6076 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6077 all inputs from module templates. Reported by Leith Johnson.
6078 (verilog-module-inside-filename-p): Fix locating programs as with
6079 modules.
6080 (verilog-auto-inst-port): Fix vl-width expressions when using
6081 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6082 (verilog-decls-get-regs, verilog-decls-get-signals,
6083 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6084 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6085 verilog-read-decls): Combine reg and wire structures into one var
6086 structure to represent SystemVerilog concepts.
6087 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6088 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6089 (verilog-auto-wire-type, verilog-insert-definition):
6090 Add verilog-auto-wire-type and AUTOLOGIC to support using
6091 SystemVerilog "logic" keyword instead of "wire"/"reg".
6092 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6093 to declares outputs that also have assignments (presumably in an
6094 ifdef or generate if so there's not a driver conflict).
6095 Reported by Matthew Myers.
6096 (verilog-auto-declare-nettype, verilog-insert-definition):
6097 Add verilog-auto-declare-nettype to fix declarations using
6098 `default_nettype none. Reported by Julian Gorfajn.
6099 (verilog-read-always-signals-recurse, verilog-read-decls)
6100 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6101 malformed end statement, bug325. Reported by Joshua Wise and
6102 Andrew Drake.
6103 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6104 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6105 when expanding .* in interfaces, bug320.
6106 Reported by Pierre-David Pfister.
6107 (verilog-read-module-name): Fix import statements between module
6108 name and open parenthesis, bug317.
6109 Reported by Pierre-David Pfister.
6110 (verilog-simplify-range-expression): Fix simplification of
6111 multiplications inside AUTOWIRE connections, bug303.
6112 (verilog-auto-inst-port): Support parameter expansion in
6113 multidimensional arrays.
6114 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6115 after "assert property". Reported by Julian Gorfajn.
6116 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6117 with multiplication, bug303.
6118 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6119 Reported by Jan Frode Lonnum.
6120
61212011-11-30 Juanma Barranquero <lekktu@gmail.com>
6122
6123 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6124 (hfy-shell-file-name, hfy-shell):
6125 * international/fontset.el (x-decompose-font-name): Fix typos.
6126
61272011-11-29 Ken Brown <kbrown@cornell.edu>
6128
6129 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6130 (gdb-version): Remove defvar.
6131 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6132 (gdb-gud-context-command, gdb-non-stop-handler)
6133 (gdb-current-context-command, gdb-stopped): Use it.
6134 (gdb-init-1): Enable pretty printing here.
6135 (gdb-non-stop-handler): Don't enable pretty-printing here.
6136 Check to see if the target supports non-stop mode; if not, turn off
6137 non-stop mode. Use the following.
6138 (gdb-check-target-async): New defun.
6139 (gud-watch, gdb-stopped): Fix whitespace.
6140 (gdb-get-source-file): Don't try to display the source file if
6141 `gdb-main-file' is nil.
6142
61432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6144
6145 * align.el: Try to generate fewer markers (bug#10047).
6146 (align--set-marker): New macro.
6147 (align-region): Use it.
6148
61492011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6150
6151 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6152
61532011-11-29 Chong Yidong <cyd@gnu.org>
6154
6155 * indent.el (indent-for-tab-command, indent-according-to-mode):
6156 Doc fix.
6157 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6158
61592011-11-29 Michael Albinus <michael.albinus@gmx.de>
6160
6161 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6162 aware of remote file names. (Bug#10124)
6163
61642011-11-29 Chong Yidong <cyd@gnu.org>
6165
6166 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6167
61682011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * files.el (find-file): Don't use force-same-window (bug#10144).
6171 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6172 use pop-to-buffer if the selected window can't be used.
6173 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6174
61752011-11-28 Eli Zaretskii <eliz@gnu.org>
6176
6177 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6178 special-mode-map.
6179
61802011-11-28 Chong Yidong <cyd@gnu.org>
6181
6182 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6183
61842011-11-27 Nick Roberts <nickrob@snap.net.nz>
6185
6186 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6187 gdb-get-source-file-list on gdb-create-source-file-list.
6188
61892011-11-26 Eli Zaretskii <eliz@gnu.org>
6190
6191 * whitespace.el (whitespace-newline): Use a different foreground
6192 color for 16-color light-background displays.
6193
61942011-11-24 Chong Yidong <cyd@gnu.org>
6195
6196 * window.el (display-buffer--special-action): Doc fix.
6197
61982011-11-25 Juanma Barranquero <lekktu@gmail.com>
6199
6200 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6201 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6202 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6203 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6204 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6205 (avl-tree-stack-first):
6206 * emacs-lisp/cconv.el (cconv--analyse-use):
6207 * net/gnutls.el (gnutls-negotiate): Fix typos.
6208
62092011-11-24 Glenn Morris <rgm@gnu.org>
6210
6211 * lpr.el (lpr-windows-system, lpr-lp-system):
6212 * mail/binhex.el (binhex-begin-line):
6213 * progmodes/grep.el (grep-history, grep-find-history):
6214 * textmodes/flyspell.el:
6215 * vc/pcvs-defs.el (cvs-global-menu):
6216 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6217 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6218 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6219
6220 * net/tls.el: Fix case of "GnuTLS".
6221
6222 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6223
6224 * version.el (emacs-build-system): Give it a doc-string.
6225
62262011-11-24 Juri Linkov <juri@jurta.org>
6227
6228 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6229
62302011-11-24 Glenn Morris <rgm@gnu.org>
6231
6232 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6233 if called on a non-mime message just toggle the headers. (Bug#8006)
6234
62352011-11-24 Juanma Barranquero <lekktu@gmail.com>
6236
6237 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6238 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6239 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6240 (allout-rebullet-heading, allout-open-sibtopic)
6241 (allout-toggle-current-subtree-encryption)
6242 (allout-toggle-subtree-encryption, allout-encrypt-string)
6243 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6244 (allout-distinctive-bullets-string, allout-auto-activation):
6245 * window.el (window-normalize-buffer-to-display):
6246 * progmodes/verilog-mode.el (verilog-batch-indent):
6247 * textmodes/bibtex.el (bibtex-field-braces-opt)
6248 (bibtex-field-strings-opt):
6249 * vc/cvs-status.el (cvs-tree-merge):
6250 Fix typos.
6251
62522011-11-23 Michael Albinus <michael.albinus@gmx.de>
6253
6254 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6255 `non-essential' to t, in order to avoid remote connections.
6256
62572011-11-23 Eli Zaretskii <eliz@gnu.org>
6258
6259 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6260 On MS-DOS and MS-Windows, compare with loaddefs.el
6261 case-insensitively.
6262
62632011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6264
6265 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6266
62672011-11-23 Glenn Morris <rgm@gnu.org>
6268
6269 * paths.el (rmail-file-name): Reformat the doc-string so that it
6270 is picked up.
6271
6272 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6273 (rmail-auto-file): Ignore case in the "special" field names,
6274 as mail-fetch-field does for all others.
6275
6276 * mail/rmail.el (rmail-forward):
6277 * mail/rmailkwd.el (rmail-set-label):
6278 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6279 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6280
6281 * mail/rmail.el (rmail-current-message): Doc fix.
6282
6283 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6284
62852011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6286
6287 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6288
62892011-11-22 Glenn Morris <rgm@gnu.org>
6290
6291 * mail/rmailmm.el (test-rmail-mime-handler)
6292 (test-rmail-mime-bulk-handler)
6293 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6294
62952011-11-21 Juri Linkov <juri@jurta.org>
6296
6297 * calc/calc.el (calc-read-key-sequence):
6298 Let-bind `input-method-function' to nil. (Bug#10018)
6299
63002011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6301
6302 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6303 Tell the caller that the next line needs recomputation, even
6304 though it doesn't start a sexp (bug#10094).
6305
63062011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6307
6308 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6309
63102011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6311
6312 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6313 Use force-same-window.
6314
63152011-11-20 Juanma Barranquero <lekktu@gmail.com>
6316
6317 * descr-text.el (describe-char-unicode-data):
6318 * json.el (json-string-escape):
6319 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6320 (Footnote-unicode, Footnote-style-p):
6321 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6322
63232011-11-20 Chong Yidong <cyd@gnu.org>
6324
6325 * window.el (replace-buffer-in-windows): Restore interactive spec.
6326
63272011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6328
6329 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6330
6331 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6332 (byte-compile-global-not-obsolete-vars): New var.
6333 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6334 Use it.
6335 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6336
63372011-11-20 Juanma Barranquero <lekktu@gmail.com>
6338
6339 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6340 * progmodes/pascal.el (electric-pascal-equal):
6341 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6342 * xml.el (xml-substitute-special): Fix typos.
6343
63442011-11-20 Glenn Morris <rgm@gnu.org>
6345
6346 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6347 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6348 Doc fixes.
6349 (rmail-decode-mime-charset): Mark as obsolete.
6350
6351 * mail/rmailsum.el (rmail-message-regexp-p-1):
6352 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6353 Before using mime functions, check they are set. (Bug#10077)
6354
63552011-11-19 Juri Linkov <juri@jurta.org>
6356
6357 * info.el (Info-finder-find-node): Use `package--builtins' instead
6358 of `package-alist'. Use node names formed by the pattern "Keyword "
6359 and the keyword name.
6360
63612011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6362
6363 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6364
63652011-11-19 Juri Linkov <juri@jurta.org>
6366
6367 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6368 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6369 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6370 `old-history', `old-history-forward'. Add let-binding
6371 `window-selected'. Remove calls to `kill-buffer',
6372 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6373 before calling `Info-find-node', so `Info-find-node-2' will reread
6374 the Info file. Restore window positions only when `window-selected'
6375 is non-nil.
6376
63772011-11-19 Juri Linkov <juri@jurta.org>
6378
6379 * isearch.el (isearch-lazy-highlight-new-loop):
6380 Remove condition `(not isearch-error)'. (Bug#9918)
6381
6382 * misearch.el (multi-isearch-search-fun): Add condition
6383 `(not bound)' to ignore lazy-highlighting search.
6384 Add the search-failed message "end of multi" when the end of
6385 multi-sequence is reached. Uncapitalize the search-failed
6386 message "Repeat for next buffer".
6387
6388 * info.el (Info-search): Add the search-failed message
6389 "end of the manual" when the end of the manual is reached
6390 in Isearch mode.
6391
63922011-11-19 Juri Linkov <juri@jurta.org>
6393
6394 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6395 Use non-destructive `remove' instead of `delete' because
6396 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6397 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6398
63992011-11-19 Juri Linkov <juri@jurta.org>
6400
6401 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6402 to nil instead of binding `search-ring' and `regexp-search-ring'.
6403 (Bug#9185)
6404
64052011-11-19 Eli Zaretskii <eliz@gnu.org>
6406
6407 * simple.el (line-move): Force movement by logical lines for any
6408 hscrolled window, not only when auto-hscroll-mode is on.
6409 (line-move-visual): Update doc string to that effect. (Bug#10076)
6410
64112011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6412
6413 * language/european.el (macintosh): Define as alias for mac-roman.
6414
64152011-11-19 Eli Zaretskii <eliz@gnu.org>
6416
6417 * mail/rmailmm.el (rmail-mime-display-header)
6418 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6419 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6420 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6421 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6422 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6423 of a raw aref.
6424 (rmail-mime-entity-segment): To get past the tagline, move forward
6425 2 more lines, to account for the 2 empty lines that precede and
6426 follow the line with the buttons.
6427 (rmail-mime-update-tagline): Move one more line, to get past the
6428 empty line that follows the buttons in the tagline. (Bug#9520)
6429
64302011-11-19 Martin Rudalics <rudalics@gmx.at>
6431
6432 * window.el (window-max-delta-1, window-min-delta-1)
6433 (window-min-size-1, window-state-get-1, window-state-put-1)
6434 (window-state-put-2): Use "window--" prefix.
6435
64362011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6437
6438 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6439 (smie-warning-count): New var.
6440 (smie-set-prec2tab): Use it.
6441 (smie-bnf->prec2): Improve warnings. Add docstring.
6442 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6443 (smie-bnf--set-class): New function.
6444 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6445 corner case.
6446
6447 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6448 (compilation-error-properties, compilation-move-to-column):
6449 Handle compilation-first-column while in the target buffer.
6450
6451 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6452 Don't hardcode point-min==1.
6453
6454 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6455 (eshell-rewrite-for-command): Remove workaround.
6456 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6457 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6458 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6459
6460 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6461
64622011-11-17 Glenn Morris <rgm@gnu.org>
6463
6464 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6465 Ignore buffer-local generated-autoload-file if it is the same
6466 as the global value. (Bug#10049)
6467
64682011-11-17 Juanma Barranquero <lekktu@gmail.com>
6469
6470 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6471 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6472 (reftex-toc-previous-heading, reftex-toc-max-level)
6473 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6474 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6475 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6476 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6477 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6478 (reftex-toc-rename-label, reftex-toc-visit-location)
6479 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6480 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6481 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6482 leaving "*toc*" only for references to the buffer.
6483
64842011-11-17 Martin Rudalics <rudalics@gmx.at>
6485
6486 * window.el (window-resize, delete-window, split-window):
6487 Replace window-splits by window-combination-resize.
6488 * cus-start.el (window-splits): Replace by window-combination-resize.
6489
64902011-11-17 Glenn Morris <rgm@gnu.org>
6491
6492 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6493 Make bash entry derive from sh entry, not shell entry.
6494
64952011-11-16 Michael Albinus <michael.albinus@gmx.de>
6496
6497 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6498 local file name.
6499
65002011-11-16 Juanma Barranquero <lekktu@gmail.com>
6501
6502 * menu-bar.el (menu-bar-file-menu):
6503 * printing.el (pr-ps-utility):
6504 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6505 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6506 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6507 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6508 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6509 (icalendar--convert-cyclic-to-ical)
6510 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6511 (icalendar--convert-ical-to-diary)
6512 (icalendar--convert-recurring-to-diary)
6513 (icalendar--convert-non-recurring-all-day-to-diary)
6514 (icalendar-import-format-sample):
6515 * progmodes/idlw-shell.el (idlwave-shell-mode):
6516 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6517 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6518 (vhdl-ps-print-init): Fix typos.
6519
65202011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6521
6522 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6523 FSF and collapse date sequence, obscure author/maintainer email address
6524 better, remove extra version line, track relocation of author's webpage.
6525
6526 * progmodes/python.el (python-pdbtrack-input-prompt)
6527 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6528 regular python pdb prompts. Adjustments shamelessly taken exactly as
6529 suggested in EmacsWiki page (tiny change):
6530 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6531
65322011-11-16 Juanma Barranquero <lekktu@gmail.com>
6533
6534 * expand.el (expand-pos, expand-index, expand-point):
6535 Remove redundant info from docstring.
6536 (expand-add-abbrevs): Doc fix.
6537 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6538 (expand-sample-perl-mode-expand-list): Fix typos.
6539
6540 * net/dbus.el (dbus-event-member-name):
6541 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6542 * term/pc-win.el (msdos-create-frame-with-faces):
6543 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6544
65452011-11-16 Martin Rudalics <rudalics@gmx.at>
6546
6547 * window.el (split-window, window-state-get-1)
6548 (window-state-put-1, window-state-put-2): Rename occurrences of
6549 window-nest to window-combination-limit.
6550 * cus-start.el (window-nest): Rename to window-combination-limit.
6551
65522011-11-16 Chong Yidong <cyd@gnu.org>
6553
6554 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6555 regexp (Bug#10033).
6556
65572011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6558
6559 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6560 `completing-read' will remove *Completions* and will preserve
6561 current-buffer for us.
6562 (tmm-add-prompt): Users of *Completions* will always (re)set its
6563 major mode.
6564 (tmm-old-comp-map): Remove.
6565
65662011-11-16 Glenn Morris <rgm@gnu.org>
6567
6568 * mail/rmailedit.el: Require rmailmm when compiling.
6569 (rmail-old-mime-state): New declaration.
6570 (rmail-edit-current-message): If editing a mime message,
6571 edit the "raw" message from the mbox buffer.
6572 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6573
65742011-11-15 Glenn Morris <rgm@gnu.org>
6575
6576 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6577 which wasn't being used. Add optional arg to force given state.
6578 (rmail-mime): Add optional arg to force given state.
6579
65802011-11-15 Juanma Barranquero <lekktu@gmail.com>
6581
6582 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6583 * frame.el (display-mm-dimensions-alist):
6584 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6585 (outline-move-subtree-down):
6586 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6587 (newsticker--treeview-do-get-node):
6588 * net/quickurl.el (quickurl-list-buffer-name):
6589 * progmodes/dcl-mode.el (dcl-mode):
6590 * progmodes/gdb-mi.el (gdb-mapcar*):
6591 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6592
65932011-11-15 Glenn Morris <rgm@gnu.org>
6594
6595 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6596 in a boolean sense, so just make it a boolean, and fix the doc.
6597 (rmail-show-mime-function, rmail-mime-feature)
6598 (rmail-require-mime-maybe): Doc fixes.
6599 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6600
6601 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6602
66032011-11-15 Juanma Barranquero <lekktu@gmail.com>
6604
6605 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6606 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6607 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6608 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6609
66102011-11-15 Glenn Morris <rgm@gnu.org>
6611
6612 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6613 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6614 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6615 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6616 (rmail-mime, rmail-show-mime): Doc fixes.
6617
6618 * term/ns-win.el (mode-line-frame-identification):
6619 Leave it alone. (Bug#10051)
6620
6621 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6622
6623 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6624 Handle empty buffers. (Bug#9978)
6625
66262011-11-14 Juanma Barranquero <lekktu@gmail.com>
6627
6628 * international/mule.el (define-charset):
6629 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6630 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6631 * progmodes/verilog-mode.el (verilog-backward-token):
6632 * textmodes/ispell.el (lookup-words):
6633 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6634
66352011-11-14 Glenn Morris <rgm@gnu.org>
6636
6637 * progmodes/executable.el
6638 (executable-make-buffer-file-executable-if-script-p):
6639 Handle file-modes returning nil.
6640
6641 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6642 message - not necessary, and causes problems. (Bug#9831)
6643
6644 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6645
6646 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6647
6648 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6649 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6650 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6651
66522011-11-12 Martin Rudalics <rudalics@gmx.at>
6653
6654 * window.el (window-resize, delete-window): Use window-splits
6655 variable instead of function.
6656 (window-state-get-1, window-state-put-2, window-state-put):
6657 Don't deal with windows' splits status.
6658
66592011-11-12 Glenn Morris <rgm@gnu.org>
6660
6661 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6662 (apropos-documentation): Doc fixes.
6663
66642011-11-11 Juanma Barranquero <lekktu@gmail.com>
6665
6666 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6667 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6668
66692011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6670
6671 * electric.el (electric-indent-post-self-insert-function): Make it
6672 possible for a char to only indent in some circumstances.
6673 (electric-indent-mode): Simplify.
6674
66752011-11-11 Martin Rudalics <rudalics@gmx.at>
6676
6677 * window.el (windows-with-parameter): Remove unused function.
6678 (windows-at-side): Rename to window-at-side-list.
6679 (window-check, window-atom-check, window-atom-check-1)
6680 (window-side-check, window-size-ignore, window-size-fixed-1)
6681 (window-in-direction-2): Prefix with "window--".
6682 (window-tree-1): Rename to window--subtree, fix doc-string.
6683
66842011-11-11 Glenn Morris <rgm@gnu.org>
6685
6686 * subr.el (eval-after-load): If FILE is already loaded,
6687 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6688
66892011-11-10 Glenn Morris <rgm@gnu.org>
6690
6691 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6692 Call svn via vc-svn-command rather than vc-do-command.
6693 (vc-svn-command): Add --non-interactive. (Bug#9993)
6694 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6695
6696 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6697 Add toggle-read-only. (Bug#7292)
6698 * files.el (toggle-read-only): Mention that it should only
6699 be used interactively. (Bug#10006)
6700
67012011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6702
6703 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6704 Adjust regexp for OCaml warnings.
6705
6706 * electric.el (electric-pair-post-self-insert-function): Let user
6707 turn it off buffer-locally (bug#9932).
6708
6709 * progmodes/python.el (python-beginning-of-statement):
6710 Rewrite (bug#2703).
6711
6712 * progmodes/compile.el: Better handle TABs (bug#9749).
6713 (compilation-internal-error-properties)
6714 (compilation-next-error-function): Obey the target buffer's
6715 compilation-error-screen-columns.
6716
67172011-11-09 Juanma Barranquero <lekktu@gmail.com>
6718
6719 * progmodes/meta-mode.el: Remove obsolete comments.
6720 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6721 Fix typos in docstrings.
6722
67232011-11-09 Martin Rudalics <rudalics@gmx.at>
6724
6725 * window.el (window-size-fixed-p): Rewrite doc-string.
6726 (window-resizable-p): Rename to window--resizable-p. Update callers.
6727 (window--resizable): New function. Make all callers of
6728 window-resizable call window--resizable instead.
6729 (window-resizable): Rewrite in terms of window--resizable.
6730
67312011-11-08 Glenn Morris <rgm@gnu.org>
6732
6733 * progmodes/delphi.el (delphi-mode-syntax-table):
6734 Let define-derived-mode define a proper syntax table. (Bug#9994)
6735
67362011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6737
6738 * window.el: Stay away from defsubst.
6739 (window-list-no-nils): Remove.
6740 (window-state-get-1, window-state-get): Use backquote instead.
6741
67422011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6743
6744 * emacs-lisp/find-func.el (find-function-read):
6745 Fix incorrect use of default argument in `completing-read'.
6746
67472011-11-08 Martin Rudalics <rudalics@gmx.at>
6748
6749 * window.el (display-buffer-function, special-display-function):
6750 Mention display-buffer-record-window but do not mention
6751 help-setup parameter in doc-strings.
6752 (window-min-delta): Fix doc-string typo.
6753
67542011-11-08 Chong Yidong <cyd@gnu.org>
6755
6756 * window.el (window-total-height, window-total-width): Doc fix.
6757 (window-body-size): Move from C.
6758 (window-body-height, window-body-width): Move to C.
6759
67602011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6761
6762 * window.el: Make special-display like display-buffer-alist (bug#9532).
6763 (display-buffer--special-action): New function, morphed
6764 from display-buffer--special.
6765 (display-buffer): Use it to handle special-display-buffers at higher
6766 priority (just after display-buffer-alist).
6767 (display-buffer-fallback-action, display-buffer--other-frame-action)
6768 (pop-to-buffer-same-window): Remove display-buffer--special.
6769
67702011-11-07 Glenn Morris <rgm@gnu.org>
6771
6772 * calendar/cal-menu.el (cal-menu-set-date-title):
6773 Do nothing if not in a calendar. (Bug#9976)
6774
67752011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * files.el (find-file): Always use selected-window.
6778
67792011-11-07 Martin Rudalics <rudalics@gmx.at>
6780
6781 * window.el (window-combinations): Make WINDOW argument
6782 mandatory. Rewrite doc-string.
6783 (walk-window-subtree, window-atom-check, window-min-delta)
6784 (window-max-delta, window--resize-this-window)
6785 (window--resize-root-window-vertically, window-tree)
6786 (balance-windows, window-state-put): Rewrite doc-strings as to
6787 not mention the term "subwindow".
6788 (window--resize-subwindows-skip-p): Rename to
6789 window--resize-child-windows-skip-p.
6790 (window--resize-subwindows-normal): Rename to
6791 window--resize-child-windows-normal.
6792 (window--resize-subwindows): Rename to
6793 window--resize-child-windows.
6794 (window-or-subwindow-p): Rename to window--in-subtree-p.
6795
67962011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6797
6798 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6799 Ensure that mbox format messages end in two newlines (Bug#9974).
6800
68012011-11-06 Chong Yidong <cyd@gnu.org>
6802
6803 * window.el (window-combination-p): Function deleted; its
6804 side-effect is not used in any existing code.
6805 (window-combinations, window-combined-p): Call window-*-child
6806 directly.
6807
68082011-11-05 Chong Yidong <cyd@gnu.org>
6809
6810 * window.el (window-valid-p): Rename from window-any-p.
6811 (window-size-ignore, window-state-get): Callers changed.
6812 (window-normalize-window): Rename from window-normalize-any-window.
6813 New arg LIVE-ONLY, replacing window-normalize-live-window.
6814 (window-normalize-live-window): Delete.
6815 (window-combination-p, window-combined-p, window-combinations)
6816 (walk-window-subtree, window-atom-root, window-min-size)
6817 (window-sizable, window-sizable-p, window-size-fixed-p)
6818 (window-min-delta, window-max-delta, window-resizable)
6819 (window-resizable-p, window-full-height-p, window-full-width-p)
6820 (window-current-scroll-bars, window-point-1, set-window-point-1)
6821 (window-at-side-p, window-in-direction, window-resize)
6822 (adjust-window-trailing-edge, maximize-window, minimize-window)
6823 (window-deletable-p, delete-window, delete-other-windows)
6824 (record-window-buffer, unrecord-window-buffer)
6825 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6826 (quit-window, split-window, window-state-put)
6827 (set-window-text-height, fit-window-to-buffer)
6828 (shrink-window-if-larger-than-buffer): Callers changed.
6829
68302011-11-04 Eli Zaretskii <eliz@gnu.org>
6831
6832 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6833 rfc2047-decode-string.
6834 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6835 warnings.
6836
6837 * window.el (window-body-height, window-body-width): Mention in
6838 the doc string that the return values are in frame's canonical
6839 units. (Bug#9949)
6840
68412011-11-03 Alan Mackenzie <acm@muc.de>
6842
6843 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6844 change in cc-engine.el.
6845
68462011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6849
68502011-11-02 Martin Rudalics <rudalics@gmx.at>
6851
6852 * window.el (quit-window): Call unrecord-window-buffer after
6853 showing another buffer in the window. (Bug#9937)
6854 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6855
68562011-11-02 Juanma Barranquero <lekktu@gmail.com>
6857
6858 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6859 Accept status with more than 9 shelves. (Bug#9935)
6860 Reported by Colin D Bennett <colin@gibibit.com>.
6861
68622011-11-01 Martin Rudalics <rudalics@gmx.at>
6863
6864 * help.el (with-help-window): Don't reference
6865 temp-buffer-show-specifiers in doc-string.
6866
68672011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6868
6869 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6870 menu-item.
6871
68722011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6873
6874 * whitespace.el: New version 13.2.2.
6875 (whitespace-newline-mode): Disable properly. Reported by Sarah
6876 <EmacsWiki>.
6877
68782011-10-30 Ulf Jasper <ulf.jasper@web.de>
6879
6880 * net/newst-treeview.el: Remove "Time-stamp".
6881 (newsticker--group-manage-orphan-feeds): Do not call
6882 newsticker--treeview-tree-update.
6883 (newsticker-treeview-update, newsticker-treeview):
6884 Call newsticker--treeview-tree-update if necessary.
6885
68862011-10-30 Martin Rudalics <rudalics@gmx.at>
6887
6888 * window.el (window-iso-combination-p, window-iso-combined-p)
6889 (window-iso-combinations): Remove "iso-" infix.
6890 Suggested by Chong Yidong.
6891 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6892 (window-max-delta-1, window-resize, window--resize-siblings)
6893 (window--resize-this-window, adjust-window-trailing-edge)
6894 (split-window, balance-windows-1)
6895 (shrink-window-if-larger-than-buffer):
6896 * calendar/calendar.el (calendar-generate-window):
6897 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6898
68992011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6902 in place (bug#9907).
6903 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6904 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6905 (eshell-structure-basic-command, eshell-rewrite-while-command)
6906 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6907 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6908 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6909 (eshell-do-pipelines-synchronously, eshell-eval-command):
6910 Use backquotes and prefer setq to set.
6911 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6912 (eshell-macrop): Use functionp.
6913 (eshell-do-eval): Handle multiple expressions in `while' body.
6914
69152011-10-30 Chong Yidong <cyd@gnu.org>
6916
6917 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6918 instead of set-mark (Bug#9810).
6919
69202011-10-30 Chong Yidong <cyd@gnu.org>
6921
6922 * window.el (split-window-below, split-window-right): Rename from
6923 split-window-above-each-other and split-window-side-by-side
6924 respectively. All callers changed.
6925 (split-window-sensibly, split-window-sensibly): Use them.
6926 (split-window-keep-point): Doc fix.
6927
6928 * isearch.el: Add isearch-scroll property to split-window-below
6929 and split-window-right.
6930
6931 * follow.el (follow-mode):
6932 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6933 * progmodes/ada-xref.el (ada-gdb-application):
6934 * emulation/vip.el (vip-buffer-in-two-windows):
6935 * image-dired.el (image-dired-dired-with-window-configuration):
6936 * dired-x.el (dired-do-find-marked-files):
6937 * dired.el (dired-pop-to-buffer):
6938 * bs.el (bs--show-with-configuration):
6939 * vc/emerge.el (emerge-setup-windows):
6940 * textmodes/two-column.el (2C-two-columns):
6941 * textmodes/reftex-toc.el (reftex-toc):
6942 * progmodes/gdb-mi.el (gdb-setup-windows):
6943 * progmodes/fortran.el (fortran-window-create):
6944 * net/newst-treeview.el (newsticker--treeview-window-init):
6945 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6946 * emulation/tpu-edt.el (tpu-gold-map):
6947 * emulation/crisp.el (crisp-mode-map):
6948 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6949
69502011-10-29 Chong Yidong <cyd@gnu.org>
6951
6952 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6953
6954 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6955
6956 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6957 forged Ispell output (Bug#7904).
6958
6959 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6960
69612011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6962
6963 * doc-view.el: Avoid ugly errors about not finding nil.
6964 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6965 (doc-view-dvipdf-program, doc-view-unoconv-program)
6966 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6967 Avoid nil or absolute file name as default value.
6968 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6969
69702011-10-28 Alan Mackenzie <acm@muc.de>
6971
6972 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6973
69742011-10-28 Alan Mackenzie <acm@muc.de>
6975
6976 Amend the handling of c-beginning/end-of-defun in nested declaration
6977 scopes.
6978
6979 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6980 cc-langs.el. Change it to a defcustom.
6981
6982 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6983 cc-vars.el.
6984
6985 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6986 Prevent "class foo : bar" being spuriously recognized as a label.
6987
6988 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6989 Add parameter `inclusive' (to include enclosing braces in the region).
6990 (c-widen-to-enclosing-decl-scope): New function.
6991 (c-while-widening-to-decl-block): New macro.
6992 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6993 outward for defun boundaries, and correspondingly change symbol
6994 `respect-enclosure' to `go-outward'.
6995 (c-declaration-limits): Change algorithm to report only the "innermost"
6996 defun's boundaries.
6997
69982011-10-28 Deniz Dogan <deniz@dogan.se>
6999
7000 * net/rcirc.el (rcirc-mode): Use hard newlines.
7001
70022011-10-28 Alan Mackenzie <acm@muc.de>
7003
7004 Amend to indent and fontify macros "which include their own semicolon"
7005 correctly, using the "virtual semicolon" mechanism.
7006
7007 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7008
7009 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7010 Recode to scan one line at a time rather than having \n and \r
7011 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7012 (c-forward-label): Amend for virtual semicolons.
7013 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7014
7015 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7016 of the new C macros.
7017
7018 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7019 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7020 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7021 (c-opt-cpp-macro-define): Make into a full language variable.
7022 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7023 AWK Mode (including \n, \r) removed, no longer needed.
7024
7025 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7026 Invoke c-make-macro-with-semi-re.
7027
7028 * progmodes/cc-vars.el (c-macro-with-semi-re):
7029 (c-macro-names-with-semicolon): New variables.
7030 (c-make-macro-with-semi-re): New function.
7031
70322011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7033
7034 * vc/log-edit.el: Fill empty field rather than adding new one.
7035 (log-edit-add-field): New function.
7036 (log-edit-insert-changelog): Use it.
7037
70382011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7039
7040 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7041
70422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7045 (gdb--check-interpreter): New function.
7046 (gdb): Use it.
7047
70482011-10-27 Glenn Morris <rgm@gnu.org>
7049
7050 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7051 (least-positive-float, least-negative-float)
7052 (least-positive-normalized-float, least-negative-normalized-float)
7053 (float-epsilon, float-negative-epsilon):
7054 Remove unnecessary declarations.
7055
7056 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7057 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7058 (least-positive-float, least-negative-float)
7059 (least-positive-normalized-float, least-negative-normalized-float)
7060 (float-epsilon, float-negative-epsilon): Add doc-strings,
7061 based on those in cl.texi.
7062
7063 * files.el (set-visited-file-name): If the major-mode changed,
7064 reload the local variables. (Bug#9796)
7065
70662011-10-27 Chong Yidong <cyd@gnu.org>
7067
7068 * subr.el (change-major-mode-after-body-hook): New hook.
7069 (run-mode-hooks): Run it.
7070
7071 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7072 Use change-major-mode-before-body-hook.
7073
7074 * simple.el (fundamental-mode):
7075 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7076 change introducing fundamental-mode-hook.
7077
70782011-10-26 Juanma Barranquero <lekktu@gmail.com>
7079
7080 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7081
70822011-10-26 Michael Albinus <michael.albinus@gmx.de>
7083
7084 * ido.el (ido-file-name-all-completions-1): Do not require
7085 tramp.el explicitly. (Bug#7583)
7086
70872011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7088
7089 * progmodes/octave-mod.el:
7090 * progmodes/octave-inf.el: Update maintainer.
7091
70922011-10-26 Chong Yidong <cyd@gnu.org>
7093
7094 * subr.el (with-wrapper-hook): Rewrite doc.
7095
70962011-10-25 Michael Albinus <michael.albinus@gmx.de>
7097
7098 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7099 filenames "/method:foo:". (Bug#9793)
7100
71012011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7102
7103 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7104 (bug#9865).
7105
71062011-10-24 Glenn Morris <rgm@gnu.org>
7107
7108 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7109
71102011-10-24 Michael Albinus <michael.albinus@gmx.de>
7111
7112 * notifications.el: Add the requirement of a running D-Bus session
7113 bus to the Commentary.
7114
71152011-10-24 Juri Linkov <juri@jurta.org>
7116
7117 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7118 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7119 (Bug#9364)
7120
71212011-10-24 Juri Linkov <juri@jurta.org>
7122
7123 * info.el (Info-following-node-name-re): Add newline to the list
7124 of allowed characters for leading space. (Bug#9824)
7125
71262011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * progmodes/octave-inf.el (inferior-octave-mode-map):
7129 Fix C-c C-h binding.
7130 * progmodes/octave-mod.el (octave-help): Remove.
7131
71322011-10-23 Michael Albinus <michael.albinus@gmx.de>
7133
7134 Sync with Tramp 2.2.3.
7135
7136 * net/tramp-cache.el (top): Pacify byte-compiler using
7137 `init-file-user' and `site-run-file'.
7138
7139 * net/trampver.el: Update release number.
7140
71412011-10-23 Chong Yidong <cyd@gnu.org>
7142
7143 * files.el (toggle-read-only): Remove obsolete comment about
7144 version control.
7145
7146 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7147 for toggle-read-only. Note that this hasn't called vc-next-action
7148 since 2008-05-02, though it wasn't documented at the time.
7149
7150 * vc/ediff-init.el (ediff-toggle-read-only-function):
7151 Use toggle-read-only.
7152
71532011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7154
7155 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7156 of c-parse-state.
7157
7158 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7159 correct faulty logical expression.
7160 (c-parse-state-state, c-record-parse-state-state):
7161 (c-replay-parse-state-state): New defvar/defuns.
7162 (c-debug-parse-state): Use new functions.
7163
71642011-10-22 Martin Rudalics <rudalics@gmx.at>
7165
7166 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7167 last fix. Use window-in-direction correctly.
7168
71692011-10-21 Chong Yidong <cyd@gnu.org>
7170
7171 * progmodes/idlwave.el (idlwave-mode):
7172 * progmodes/vera-mode.el (vera-mode): No need to set
7173 require-final-newline; that's done in prog-mode.
7174 Suggested by Stefan Monnier.
7175
71762011-10-21 Martin Rudalics <rudalics@gmx.at>
7177
7178 * mouse.el (mouse-drag-window-above)
7179 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7180 (mouse-drag-mode-line-1, mouse-drag-header-line)
7181 (mouse-drag-vertical-line-rightward-window): Remove.
7182 (mouse-drag-line): New function.
7183 (mouse-drag-mode-line, mouse-drag-header-line)
7184 (mouse-drag-vertical-line): Call mouse-drag-line.
7185 * window.el (window-at-side-p, windows-at-side): New functions.
7186
71872011-10-21 Ulrich Mueller <ulm@gentoo.org>
7188
7189 * tar-mode.el (tar-grind-file-mode):
7190 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7191
71922011-10-21 Chong Yidong <cyd@gnu.org>
7193
7194 * progmodes/idlwave.el (idlwave-mode):
7195 * progmodes/vera-mode.el (vera-mode):
7196 Use mode-require-final-newline.
7197
71982011-10-20 Glenn Morris <rgm@gnu.org>
7199
7200 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7201
72022011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7203
7204 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7205
72062011-10-20 Chong Yidong <cyd@gnu.org>
7207
7208 * emulation/cua-base.el (cua-mode):
7209 * mail/footnote.el (footnote-mode):
7210 * mail/mailabbrev.el (mail-abbrevs-mode):
7211 * net/xesam.el (xesam-minor-mode):
7212 * progmodes/bug-reference.el (bug-reference-mode):
7213 * progmodes/cap-words.el (capitalized-words-mode):
7214 * progmodes/compile.el (compilation-minor-mode)
7215 (compilation-shell-minor-mode):
7216 * progmodes/gud.el (gud-tooltip-mode):
7217 * progmodes/hideif.el (hide-ifdef-mode):
7218 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7219 * progmodes/subword.el (subword-mode):
7220 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7221 * progmodes/which-func.el (which-function-mode):
7222 * term/tvi970.el (tvi970-set-keypad-mode):
7223 * term/vt100.el (vt100-wide-mode):
7224 * textmodes/flyspell.el (flyspell-mode):
7225 * textmodes/ispell.el (ispell-minor-mode):
7226 * textmodes/nroff-mode.el (nroff-electric-mode):
7227 * textmodes/paragraphs.el (use-hard-newlines):
7228 * textmodes/refill.el (refill-mode):
7229 * textmodes/reftex.el (reftex-mode):
7230 * textmodes/rst.el (rst-minor-mode):
7231 * textmodes/sgml-mode.el (html-autoview-mode)
7232 (sgml-electric-tag-pair-mode):
7233 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7234 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7235 * emulation/crisp.el (crisp-mode):
7236 * emacs-lisp/eldoc.el (eldoc-mode):
7237 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7238 minor mode behavior.
7239
72402011-10-19 Juri Linkov <juri@jurta.org>
7241
7242 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7243 the list of hard-coded chars with escape-glyph face.
7244
72452011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7248
72492011-10-19 Michael Albinus <michael.albinus@gmx.de>
7250
7251 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7252 running process.
7253
72542011-10-19 Glenn Morris <rgm@gnu.org>
7255
7256 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7257 Ignore ignored files. (Bug#9726)
7258
72592011-10-19 Chong Yidong <cyd@gnu.org>
7260
7261 Doc fix for minor modes, stating that an omitted argument enables
7262 the mode unconditionally when called from Lisp.
7263
7264 * abbrev.el (abbrev-mode):
7265 * allout.el (allout-mode):
7266 * autoinsert.el (auto-insert-mode):
7267 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7268 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7269 (global-auto-revert-mode):
7270 * battery.el (display-battery-mode):
7271 * composite.el (global-auto-composition-mode)
7272 (auto-composition-mode):
7273 * delsel.el (delete-selection-mode):
7274 * desktop.el (desktop-save-mode):
7275 * dired-x.el (dired-omit-mode):
7276 * dirtrack.el (dirtrack-mode):
7277 * doc-view.el (doc-view-minor-mode):
7278 * double.el (double-mode):
7279 * electric.el (electric-indent-mode, electric-pair-mode):
7280 * emacs-lock.el (emacs-lock-mode):
7281 * epa-hook.el (auto-encryption-mode):
7282 * follow.el (follow-mode):
7283 * font-core.el (font-lock-mode):
7284 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7285 * help.el (temp-buffer-resize-mode):
7286 * hilit-chg.el (highlight-changes-mode)
7287 (highlight-changes-visible-mode):
7288 * hi-lock.el (hi-lock-mode):
7289 * hl-line.el (hl-line-mode, global-hl-line-mode):
7290 * icomplete.el (icomplete-mode):
7291 * ido.el (ido-everywhere):
7292 * image-file.el (auto-image-file-mode):
7293 * image-mode.el (image-minor-mode):
7294 * iswitchb.el (iswitchb-mode):
7295 * jka-cmpr-hook.el (auto-compression-mode):
7296 * linum.el (linum-mode):
7297 * longlines.el (longlines-mode):
7298 * master.el (master-mode):
7299 * mb-depth.el (minibuffer-depth-indicate-mode):
7300 * menu-bar.el (menu-bar-mode):
7301 * minibuf-eldef.el (minibuffer-electric-default-mode):
7302 * mouse-sel.el (mouse-sel-mode):
7303 * msb.el (msb-mode):
7304 * mwheel.el (mouse-wheel-mode):
7305 * outline.el (outline-minor-mode):
7306 * paren.el (show-paren-mode):
7307 * recentf.el (recentf-mode):
7308 * reveal.el (reveal-mode, global-reveal-mode):
7309 * rfn-eshadow.el (file-name-shadow-mode):
7310 * ruler-mode.el (ruler-mode):
7311 * savehist.el (savehist-mode):
7312 * scroll-all.el (scroll-all-mode):
7313 * scroll-bar.el (scroll-bar-mode):
7314 * server.el (server-mode):
7315 * shell.el (shell-dirtrack-mode):
7316 * simple.el (auto-fill-mode, transient-mark-mode)
7317 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7318 (line-number-mode, column-number-mode, size-indication-mode)
7319 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7320 * strokes.el (strokes-mode):
7321 * time.el (display-time-mode):
7322 * t-mouse.el (gpm-mouse-mode):
7323 * tool-bar.el (tool-bar-mode):
7324 * tooltip.el (tooltip-mode):
7325 * type-break.el (type-break-mode-line-message-mode)
7326 (type-break-query-mode):
7327 * view.el (view-mode):
7328 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7329 (global-whitespace-mode, global-whitespace-newline-mode):
7330 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7331
7332 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7333 Fix autogenerated docstring.
7334
73352011-10-19 Juri Linkov <juri@jurta.org>
7336
7337 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7338 by checking environment variables "DESKTOP_SESSION" and
7339 "XDG_CURRENT_DESKTOP". (Bug#9779)
7340
73412011-10-19 Juri Linkov <juri@jurta.org>
7342
7343 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7344 (browse-url-chromium-program, browse-url-chromium-arguments):
7345 New defcustoms.
7346 (browse-url-default-browser): Check for `browse-url-chromium' and
7347 call `browse-url-chromium-program'.
7348 (browse-url-chromium): New command. (Bug#9779)
7349
73502011-10-18 Juanma Barranquero <lekktu@gmail.com>
7351
7352 * facemenu.el (list-colors-duplicates): On Windows, detect more
7353 duplicates by assuming that only colors matching "^System" are
7354 special "system colors". (Bug#9722)
7355
73562011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7357
7358 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7359 to distinguish the author from the committer.
7360
73612011-10-18 Michael Albinus <michael.albinus@gmx.de>
7362
7363 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7364
73652011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7366
7367 * international/mule.el (sgml-html-meta-auto-coding-function):
7368 Add support for detecting encoding in HTML5 specified only as
7369 <meta charset="UTF-8">. Implementation just makes http-equiv and
7370 content-type parts from HTML4 encoding string optional. (Bug#9716)
7371
73722011-10-18 Glenn Morris <rgm@gnu.org>
7373
7374 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7375
73762011-10-18 Chong Yidong <cyd@gnu.org>
7377
7378 * faces.el (cursor): Doc fix.
7379
73802011-10-17 Chong Yidong <cyd@gnu.org>
7381
7382 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7383
73842011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7385
7386 * dirtrack.el (dirtrack): Support shell buffers with path
7387 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7388
73892011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7390
7391 * json.el: Bump version to 1.3 and note change in History.
7392 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7393
73942011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * comint.el (comint-insert-input, comint-send-input)
7397 (comint-get-old-input-default, comint-backward-matching-input)
7398 (comint-next-prompt): Use nil instead of `input' for field property of
7399 past user input (bug#114).
7400
7401 * minibuffer.el (completion--replace): Inherit surrounding properties
7402 (bug#114).
7403 (minibuffer-complete-and-exit): Use it.
7404
7405 * comint.el (comint--table-subvert): Quote the all-completions output
7406 (bug#9160).
7407
74082011-10-17 Martin Rudalics <rudalics@gmx.at>
7409
7410 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7411
7412 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7413 window on right of selected. (Bug#9350) Reword other window
7414 entries and separate them from frame entries.
7415
74162011-10-15 Glenn Morris <rgm@gnu.org>
7417
7418 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7419 Doc fixes.
7420
74212011-10-15 Chong Yidong <cyd@stupidchicken.com>
7422
7423 * net/network-stream.el (network-stream-open-starttls):
7424 Improve detection of failure due to lack of TLS support.
7425
7426 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7427 putting the input text in front and in bold.
7428
74292011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7430
7431 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7432
7433 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7434 empty buffer.
7435
7436 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7437 unread-command-events rather than pushing yet-another event.
7438
74392011-10-14 Eli Zaretskii <eliz@gnu.org>
7440
7441 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7442 the explanation of the possible choices. Make the options passed
7443 to completing-read shorter.
7444
74452011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7446
7447 * textmodes/flyspell.el (flyspell-large-region): Make sure
7448 extended character mode is used if defined (Bug#1339).
7449
74502011-10-13 Eli Zaretskii <eliz@gnu.org>
7451
7452 * simple.el (what-cursor-position): Fix the display of the
7453 character info for LRE, LRO, RLE, and RLO characters by appending
7454 an invisible PDF.
7455
74562011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7457
7458 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7459 even in case of error; add debug spec; simplify data flow.
7460 (with-timeout-handler): Remove.
7461
74622011-10-12 Michael Albinus <michael.albinus@gmx.de>
7463
7464 Fix Bug#6019, Bug#9315.
7465
7466 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7467 complete `buffer-file-name', the local file name part could look
7468 remotely (for example on VMS).
7469
7470 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7471 `tramp-run-real-handler'.
7472 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7473 already quoted by '"'.
7474
7475 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7476 Let `file-name-handler-alist' be nil, the local file name part
7477 could look remotely (for example on VMS).
7478
74792011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7480
7481 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7482 from here...
7483 (flyspell-post-command-hook): ...to here.
7484
74852011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7488 if not needed.
7489 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7490 using completion. Protect against "slow" callers.
7491 Remove the "message hack".
7492
74932011-10-11 Juri Linkov <juri@jurta.org>
7494
7495 * isearch.el (isearch-lazy-highlight-word): New variable.
7496 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7497 Use it. (Bug#9727)
7498
74992011-10-11 Glenn Morris <rgm@gnu.org>
7500
7501 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7502 like f90-previous-statement does.
7503
75042011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7505
7506 * eshell/eshell.el (eshell-command): History should be saved
7507 only in interactive use, to avoid error.
7508
75092011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7510
7511 * minibuffer.el (completion-file-name-table): Fix last change,
7512 i.e. ignore normal errors but not the other ones.
7513
75142011-10-10 Martin Rudalics <rudalics@gmx.at>
7515
7516 * window.el (special-display-buffer-names)
7517 (special-display-regexps): Remove some remnants of earlier
7518 changes from doc-strings.
7519 (quit-windows-on): New function.
7520
7521 * vc/vc.el (vc-revert, vc-rollback):
7522 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7523 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7524 (Bug#6183) (Bug#7074) (Bug#7447)
7525
75262011-10-09 Martin Rudalics <rudalics@gmx.at>
7527
7528 * window.el (frame-auto-hide-function): Add version tag.
7529 (Bug#9699)
7530
75312011-10-09 Michael Albinus <michael.albinus@gmx.de>
7532
7533 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7534 condition.
7535
75362011-10-09 Leo Liu <sdl.web@gmail.com>
7537
7538 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7539 (Bug#9701)
7540
75412011-10-08 Glenn Morris <rgm@gnu.org>
7542
7543 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7544 before the first code statement zero indent. (Bug#9690)
7545
75462011-10-08 Chong Yidong <cyd@stupidchicken.com>
7547
7548 * simple.el (count-words-region): Always count in the region.
7549 Report the number of lines and characters too.
7550 (count-words): New command, which counts in the buffer if the
7551 region is inactive, as count-words-region used to.
7552 (count-words--message): New function. Handle plurals.
7553 (count-lines-region): Make it an alias for count-words-region.
7554
7555 * bindings.el (esc-map): Replace count-lines-region with
7556 count-words-region.
7557
75582011-10-08 Martin Rudalics <rudalics@gmx.at>
7559
7560 * window.el (window--delete): Delete dedicated frame
7561 unconditionally when argument KILL is non-nil. (Bug#9699)
7562 (switch-to-buffer): Fix doc-string typo.
7563
75642011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7565
7566 * eshell/eshell.el (eshell-command): Avoid using hooks.
7567
75682011-10-07 Chong Yidong <cyd@stupidchicken.com>
7569
7570 * bindings.el ([M-left],[M-right]): Bind to left-word and
7571 right-word respectively.
7572
75732011-10-07 Glenn Morris <rgm@gnu.org>
7574
7575 * cus-start.el (debug-on-quit): Fix custom type.
7576
75772011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7578
7579 * subr.el (define-key-after): Clarify that the function is not
7580 useful for non-menu keymaps.
7581
7582 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7583
75842011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7585
7586 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7587 in current minibuffer (Fix bug with recursive minibuffers).
7588
75892011-10-06 Chong Yidong <cyd@stupidchicken.com>
7590
7591 * progmodes/gdb-mi.el (gdb): Doc fix.
7592
75932011-10-05 Martin Rudalics <rudalics@gmx.at>
7594
7595 * window.el (frame-auto-hide-function): New option replacing
7596 frame-auto-delete. Suggested by Stefan Monnier.
7597 (window--delete): Call frame-auto-hide-function instead of
7598 investigating frame-auto-delete.
7599 (window-point-1, set-window-point-1): New functions.
7600 (window-in-direction, record-window-buffer, window-state-get-1)
7601 (display-buffer-record-window): Use window-point-1 instead of
7602 window-point.
7603 (set-window-buffer-start-and-point): Use set-window-point-1.
7604
76052011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7606
7607 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7608
76092011-10-05 Glenn Morris <rgm@gnu.org>
7610
7611 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7612 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7613
76142011-10-05 Leo Liu <sdl.web@gmail.com>
7615
7616 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7617 works with buffer object.
7618
76192011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7620
7621 * mpc.el (mpc-tool-bar-map): Add labels.
7622
76232011-10-04 Glenn Morris <rgm@gnu.org>
7624
7625 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7626
76272011-10-04 Martin Rudalics <rudalics@gmx.at>
7628
7629 * window.el (window--delete): New function.
7630 (frame-auto-delete): Resuscitate option.
7631 (bury-buffer, replace-buffer-in-windows)
7632 (quit-window): Rewrite using window--delete.
7633 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7634 Pass display-buffer-mark-dedicated to window--display-buffer-2
7635 (Bug#9639).
7636
76372011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7640 returns a list (bug#9554). Add remote file name completion.
7641 * comint.el (comint--table-subvert): Curry and get quote&unquote
7642 functions as arguments.
7643 (comint--complete-file-name-data): Adjust call accordingly.
7644 * pcomplete.el (pcomplete--table-subvert): Remove.
7645 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7646
7647 * minibuffer.el (completion-table-case-fold): Use currying.
7648 (completion--styles-type, completion--cycling-threshold-type):
7649 New constants.
7650 (completion-styles, completion-category-overrides)
7651 (completion-cycle-threshold): Use them.
7652 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7653 completion-table-case-fold.
7654
76552011-10-03 Stephen Berman <stephen.berman@gmx.net>
7656
7657 * minibuffer.el (completion-category-overrides): Fix type of styles
7658 and add more user friendly tags (bug#9660).
7659
76602011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7661
7662 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7663 (mule-input-method-string): New widget.
7664 (default-input-method, language-info-custom-alist): Use it.
7665
76662011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * pcomplete.el: Require comint.
7669 (pcomplete--common-suffix): Remove.
7670 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7671 (pcomplete--table-subvert): Sync with comint--table-subvert.
7672 (pcomplete--entries): Use comint-completion-file-name-table.
7673 * comint.el (comint-unquote-filename): Simplify.
7674 (comint-completion-file-name-table): New function (bug#9616).
7675 (comint--complete-file-name-data): Use it.
7676
7677 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7678 (pcmpl-gnu-tar-buffer): Remove.
7679 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7680 around. Make sure pcomplete-suffix-list is only changed temporarily.
7681 Don't look inside the tar's file if it's too large.
7682
76832011-10-01 Chong Yidong <cyd@stupidchicken.com>
7684
7685 * cus-edit.el (custom-mode-map):
7686 * epa.el (epa-key-list-mode-map):
7687 * man.el (Man-mode-map):
7688 * startup.el (splash-screen-keymap):
7689 * simple.el (special-mode-map): Use scroll-up-command and
7690 scroll-down-command.
7691
7692 * progmodes/idlw-help.el (idlwave-help-mode-map):
7693 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7694 * net/newst-plainview.el (newsticker-mode-map):
7695 * emulation/ws-mode.el (wordstar-mode-map):
7696 * emulation/vi.el (vi-com-map):
7697 * calc/calc-graph.el (calc-graph-show-dumb):
7698 * term/sun.el (terminal-init-sun):
7699 * term/ns-win.el (global-map):
7700 * progmodes/grep.el (grep-mode-map):
7701 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7702 * mail/rmail.el (rmail-mode-map):
7703 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7704
7705 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7706 custom-safe-themes as special.
7707
77082011-10-01 Julien Danjou <julien@danjou.info>
7709
7710 * notifications.el (notifications-notify): Fix docstring.
7711
77122011-10-01 Per Starbäck <per@starback.se>
7713
7714 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7715
77162011-09-30 Martin Rudalics <rudalics@gmx.at>
7717
7718 * startup.el (command-line-1): Fix last fix by inserting
7719 initial-scratch-message into *scratch* before displaying it.
7720 (Bug#9605) and (Bug#9636)
7721
77222011-09-29 Eli Zaretskii <eliz@gnu.org>
7723
7724 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7725 window is hscrolled, move by logical lines. (Bug#9607)
7726 (line-move-visual): Update the doc string to the above effect.
7727
77282011-09-29 Martin Rudalics <rudalics@gmx.at>
7729
7730 * window.el (display-buffer-record-window): When WINDOW is the
7731 selected window use `point' instead of `window-point'. (Bug#9626)
7732
7733 * startup.el (command-line-1): Use insert-before-markers when
7734 inserting initial-scratch-message. (Bug#9605)
7735
7736 * help.el (help-window): Remove variable.
7737
77382011-09-29 Glenn Morris <rgm@gnu.org>
7739
7740 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7741
77422011-09-29 Juanma Barranquero <lekktu@gmail.com>
7743
7744 * descr-text.el (describe-char-categories): Accept category
7745 descriptions more than one line long.
7746
77472011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7748
7749 * simple.el (delete-trailing-whitespace): Fix last change.
7750
7751 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7752 Don't confuse "y => 3" as the beginning of a `y' operation.
7753
7754 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7755 object has more than 4 slots (bug#9613).
7756
77572011-09-28 Juanma Barranquero <lekktu@gmail.com>
7758
7759 * subr.el (with-output-to-temp-buffer):
7760 * net/quickurl.el (quickurl, quickurl-browse-url):
7761 Fix typos in docstrings.
7762
77632011-09-27 Eli Zaretskii <eliz@gnu.org>
7764
7765 * minibuffer.el (completion-styles)
7766 (completion-category-overrides): Cross reference each other in doc
7767 strings.
7768
77692011-09-27 Glenn Morris <rgm@gnu.org>
7770
7771 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7772 to split-string. (Bug#9606)
7773
77742011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7775
7776 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7777 (bug#9615).
7778
77792011-09-27 Chong Yidong <cyd@stupidchicken.com>
7780
7781 * emacs-lisp/package.el (list-packages): Fix echo area message.
7782
77832011-09-27 Leo Liu <sdl.web@gmail.com>
7784
7785 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7786
77872011-09-25 Michael Albinus <michael.albinus@gmx.de>
7788
7789 * net/dbus.el (dbus-unregister-object): Don't release services for
7790 registered signals. (Bug#9581)
7791
77922011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7793
7794 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7795 function that picks between cfengine 2 and 3 support
7796 automatically. Update docs accordingly.
7797
77982011-09-22 Kenichi Handa <handa@m17n.org>
7799
7800 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7801 ZERO.
7802 (indian-itrans-v5-table-for-tamil): New variable.
7803 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7804
78052011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7806
7807 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7808 that's true if the current command involved collapsing of text.
7809 It's reset to false at the beginning of the next command.
7810 (allout-post-command-business): Move the cursor to the beginning
7811 of entry if the cursor is hidden and collapsing activity just
7812 happened.
7813
78142011-09-24 Chong Yidong <cyd@stupidchicken.com>
7815
7816 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7817 tracking (Bug#9541).
7818
78192011-09-24 Ulf Jasper <ulf.jasper@web.de>
7820
7821 * net/newst-reader.el (newsticker-html-renderer)
7822 (newsticker-show-news): Automatically load html rendering package
7823 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7824 because w3m-fill-column is let-bound" and the error "Symbol's value
7825 as variable is void: w3m-fill-column".
7826
78272011-09-24 Michael Albinus <michael.albinus@gmx.de>
7828
7829 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7830 Release services only if they are defined. (Bug#9581)
7831
78322011-09-23 Richard Stallman <rms@gnu.org>
7833
7834 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7835 distinguish start of paragraph from start of its text.
7836
7837 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7838
7839 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7840 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7841 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7842
78432011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7844
7845 * international/mule-diag.el (mule-diag): Insert a newline after
7846 each fontset description.
7847
78482011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7849
7850 * simple.el (delete-trailing-whitespace):
7851 Document last change; simplify.
7852
78532011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7854
7855 * simple.el (delete-trailing-whitespace): Also delete
7856 extra newlines at the end of the buffer.
7857
7858 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7859 (picture-newline): Use forward-line so as to ignore fields.
7860
78612011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7862
7863 * subr.el (with-wrapper-hook): Fix edebug spec.
7864
78652011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7866
7867 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7868 (bug#4538).
7869
78702011-09-23 Michael Albinus <michael.albinus@gmx.de>
7871
7872 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7873 Fix nasty bug using wrong cached values.
7874
78752011-09-23 Alan Mackenzie <acm@muc.de>
7876
7877 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7878
78792011-09-23 Chong Yidong <cyd@stupidchicken.com>
7880
7881 * window.el (pop-to-buffer): Ensure right window is selected if we
7882 chose another frame.
7883
78842011-09-22 Eli Zaretskii <eliz@gnu.org>
7885
7886 * simple.el (what-cursor-position): Use get-char-property-change
7887 and next-single-char-property-change, to be able to show display
7888 properties that come from overlays as well as text properties.
7889
78902011-09-22 Chong Yidong <cyd@stupidchicken.com>
7891
7892 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7893
7894 * cmuscheme.el (run-scheme, switch-to-scheme):
7895 * cus-edit.el (customize-group, custom-buffer-create)
7896 (customize-browse):
7897 * info.el (info):
7898 * shell.el (shell):
7899 * mail/sendmail.el (mail):
7900 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7901
79022011-09-22 Richard Stallman <rms@gnu.org>
7903
7904 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7905 move back only to line beg, don't move back over blank lines.
7906
79072011-09-22 Michael Albinus <michael.albinus@gmx.de>
7908
7909 * files.el (copy-directory): Set directory attributes only in case
7910 they could be retrieved from the source directory. (Bug#9565)
7911
79122011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7913
7914 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7915 (hs-find-block-beginning, hs-hide-level-recursive):
7916 Ignore strings as well as comments. (Bug#9502)
7917
79182011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7919
7920 * progmodes/sql.el (sql-comint-postgres):
7921 Convert port number to a string. (Bug#9566)
7922
79232011-09-22 Martin Rudalics <rudalics@gmx.at>
7924
7925 * window.el (quit-window): Undedicate window when switching to
7926 previous buffer. Reported by Thierry Volpiatto
7927 <thierry.volpiatto@gmail.com>.
7928 (special-display-popup-frame): When popping up a new frame reset
7929 its previous buffers to nil. Simplify code.
7930
79312011-09-21 Michael Albinus <michael.albinus@gmx.de>
7932
7933 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7934 and process filter, as done also in `shell-command'.
7935
79362011-09-21 Martin Rudalics <rudalics@gmx.at>
7937
7938 * window.el (set-window-buffer-start-and-point):
7939 Call set-window-start with NOFORCE argument t.
7940 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7941 (quit-window): Reword doc-string. Handle new format of
7942 quit-restore parameter. Don't delete window if it has a
7943 previous buffer we can show instead of the present one.
7944 (display-buffer-record-window): Rewrite using a new format for
7945 the quit-restore window parameter
7946 (special-display-popup-frame, display-buffer-same-window)
7947 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7948 (display-buffer-pop-up-window, display-buffer-use-some-window):
7949 Adapt symbol passed to display-buffer-record-window.
7950 * help.el (help-window-setup): Handle new format of quit-restore
7951 parameter.
7952
79532011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * faces.el (face-list): Fix docstring (bug#9564).
7956
7957 * window.el (display-buffer--action-function-custom-type):
7958 Don't include internal functions in the Custom interface.
7959
79602011-09-20 Juri Linkov <juri@jurta.org>
7961
7962 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7963 (Info-forward-node, Info-backward-node, Info-next-preorder)
7964 (Info-last-preorder): Use it. (Bug#9528)
7965
79662011-09-20 Juri Linkov <juri@jurta.org>
7967
7968 * info.el (Info-last-preorder): Visit last menu item only when
7969 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7970
79712011-09-20 Julien Danjou <julien@danjou.info>
7972
7973 * password-cache.el (password-cache-remove): Remove entries even if the
7974 value is nil, so that password with a nil value (negative caching) is
7975 possible to invalidate.
7976
79772011-09-20 Lawrence Mitchell <wence@gmx.li>
7978
7979 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7980 all whitespace around breakpoint. (Bug#9553)
7981 (f90-find-breakpoint): Only break at whitespace inside a comment.
7982
79832011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7984
7985 * minibuffer.el (completion-file-name-table): Keep track of errors.
7986 (completion-table-with-predicate): Handle the case where pred1 is nil.
7987 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7988
79892011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7992 (debugger-return-value): Signal an error if the debugging context does
7993 not await any return value.
7994
7995 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7996 * image-mode.el (image-toggle-display-text)
7997 (image-toggle-display-image): Stay away from evil `intangible'.
7998
79992011-09-19 Leo Liu <sdl.web@gmail.com>
8000
8001 * replace.el (occur-revert-arguments): Make it permanent-local.
8002 (occur-mode): Don't call font-lock-defontify.
8003
80042011-09-19 Chong Yidong <cyd@stupidchicken.com>
8005
8006 * net/ldap.el (ldap-search-internal): Don't push empty search
8007 result (Bug#9508).
8008
80092011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8012
80132011-09-19 Michael Albinus <michael.albinus@gmx.de>
8014
8015 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8016 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8017
80182011-09-18 Juri Linkov <juri@jurta.org>
8019
8020 * buff-menu.el (Buffer-menu-mode-map):
8021 * dired.el (dired-mode-map):
8022 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8023 (lisp-interaction-mode-map):
8024 * emacs-lisp/package.el (package-menu-mode-map):
8025 * epa.el (epa-key-list-mode-map):
8026 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8027 (menu-bar-options-menu):
8028 * outline.el (outline-mode-menu-bar-map):
8029 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8030 * vc/vc-dir.el (vc-dir-menu-map):
8031 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8032 Capitalize non-function content words in menu item strings.
8033
8034 * dired.el (dired-mode-map): Add menu item for
8035 `image-dired-dired-toggle-marked-thumbs'.
8036
80372011-09-18 Juri Linkov <juri@jurta.org>
8038
8039 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8040 to `isearch-case-fold-search' and restore its original value
8041 after the `isearch-mode' call.
8042
80432011-09-18 Juri Linkov <juri@jurta.org>
8044
8045 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8046 because `zgrep' returns 1 for successful matches (bug#9226).
8047
80482011-09-18 Juri Linkov <juri@jurta.org>
8049
8050 * info.el (Info-extract-menu-node-name): Check the second match
8051 for empty string (second test-case of bug#9528).
8052 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8053 intermediate nodes to the history (first test-case of bug#9528).
8054
80552011-09-18 Juri Linkov <juri@jurta.org>
8056
8057 * info.el (Info-mode-syntax-table): New variable.
8058 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8059
80602011-09-18 Juri Linkov <juri@jurta.org>
8061
8062 * info.el (Info-file-supports-index-cookies):
8063 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8064 outputs one more line for long file names (bug#4142).
8065
80662011-09-18 Chong Yidong <cyd@stupidchicken.com>
8067
8068 * newcomment.el (comment-normalize-vars): If prompting for
8069 comment-start, set comment-start-skip too (Bug#8424).
8070
80712011-09-18 Johan Bockgård <bojohan@gnu.org>
8072
8073 * icomplete.el: Fix previous fix of Bug#5849.
8074 (icomplete-mode): Don't set completion-show-inline-help.
8075 (icomplete-minibuffer-setup): Set completion-show-inline-help
8076 locally during icompletion.
8077
80782011-09-18 Chong Yidong <cyd@stupidchicken.com>
8079
8080 * woman.el (woman2-process-escapes): Don't delete unrecognized
8081 escapes (Bug#7843).
8082
8083 * files.el (inhibit-first-line-modes-regexps): Add image files.
8084 (hack-local-variables-prop-line): Return nil for malformed
8085 prop-lines (Bug#9044).
8086
80872011-09-18 Michael Albinus <michael.albinus@gmx.de>
8088
8089 * net/tramp.el (top): Don't require 'shell.
8090 (tramp-methods): Fix docstring.
8091 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8092 Return complete remote file name. Handle "smb" case.
8093 Use `tramp-tmpdir', if defined for the respective method.
8094 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8095
8096 * net/tramp-compat.el (top): Require 'shell.
8097
8098 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8099 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8100 `tramp-current-host'.
8101 (tramp-get-remote-tmpdir): Remove.
8102
8103 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8104 `tramp-tmpdir' entries.
8105 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8106 (tramp-smb-handle-file-attributes): Ignore errors.
8107 (tramp-smb-wait-for-output): Check also for process end.
8108
81092011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8110
8111 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8112 when sending QUIT (bug#9312).
8113
81142011-09-17 Chong Yidong <cyd@stupidchicken.com>
8115
8116 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8117 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8118 occur-mode-display-occurrence.
8119 (occur-edit-mode): Add usage message.
8120 (occur-cease-edit): New command.
8121 (occur-after-change-function): Use text properties to find the
8122 position of the prefix text.
8123 (occur-engine): Set stickiness of prefix text properties.
8124
81252011-09-17 Glenn Morris <rgm@gnu.org>
8126
8127 * progmodes/etags.el (complete-tag):
8128 Fix call to completion-in-region. (Bug#9526)
8129
81302011-09-17 Juri Linkov <juri@jurta.org>
8131
8132 * textmodes/ispell.el (ispell-word): Add to the error message
8133 the word, ispell program name and current dictionary (bug#9121).
8134 (ispell-tex-arg-end): Capitalize "error" in the error message.
8135
81362011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8137
8138 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8139 check. (Bug#4251)
8140
81412011-09-17 Juri Linkov <juri@jurta.org>
8142
8143 * window.el (window-safe-min-height, window-safe-min-width):
8144 Fix typos (followup to bug#9522).
8145
81462011-09-17 Sven Joachim <svenjoac@gmx.de>
8147
8148 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8149
81502011-09-16 Eli Zaretskii <eliz@gnu.org>
8151
8152 * simple.el (line-move): If goal-column is set, move by logical
8153 lines, not by display lines. (Bug#971)
8154 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8155 to reflect the above change.
8156
81572011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * image.el (imagemagick-register-types): Use regexp-opt.
8160
81612011-09-15 Chong Yidong <cyd@stupidchicken.com>
8162
8163 * window.el (display-buffer-base-action): Rename from
8164 display-buffer-default-action. Make default value empty.
8165 (display-buffer-overriding-action): Convert to defvar.
8166 (display-buffer-fallback-action): New var.
8167
81682011-09-15 Chong Yidong <cyd@stupidchicken.com>
8169
8170 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8171 declaration.
8172 (package--add-to-archive-contents): If there is a duplicate entry
8173 with an older version, remove it.
8174 (package-menu-mark-delete, package-menu-mark-install)
8175 (package-menu-mark-unmark): Make unused args optional.
8176 (package-menu-mark-obsolete-for-deletion):
8177 Use package-menu-get-status instead of a regexp search.
8178 (package-menu-get-status): Use tabulated-list-entry.
8179 (package-menu-mark-upgrades): New command.
8180 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8181 (package-menu-execute): Do installation before deletion.
8182 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8183 instead of checking major-mode.
8184 (package-menu--find-upgrades): New function.
8185
81862011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8187
8188 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8189 passwords in the log buffer.
8190 (smtpmail-process-filter): Update the process marker so that the
8191 "broken by peer" status message is inserted in the right place.
8192
81932011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8194
8195 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8196 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8197 bibtex-completion-at-point-function.
8198 (bibtex-completion-at-point-function): Use them.
8199
8200 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8201
8202 * mpc.el (mpc-constraints-tag-lookup): New function.
8203 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8204 also to browser "album|playlist".
8205
82062011-09-14 Juri Linkov <juri@jurta.org>
8207
8208 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8209 (isearch-edit-string): Use length of `isearch-string' when
8210 `isearch-fail-pos' returns nil.
8211 (isearch-message): Remove duplicate code and call
8212 `isearch-fail-pos' with arg `t'.
8213
82142011-09-14 Chong Yidong <cyd@stupidchicken.com>
8215
8216 * replace.el (occur-mode-goto-occurrence): Don't force using other
8217 window (Bug#9499).
8218
8219 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8220
82212011-09-14 Martin Rudalics <rudalics@gmx.at>
8222
8223 * window.el (display-buffer-window): Remove.
8224 (display-buffer-record-window): Use help-setup window parameter
8225 instead of variable display-buffer-window.
8226 (display-buffer-function, special-display-buffer-names)
8227 (special-display-function): Mention help-setup parameter instead
8228 of display-buffer-window in doc-string.
8229 * help.el (help-window-setup): New argument help-window.
8230 Use help-window-setup parameter instead of display-buffer-window.
8231 Reword some messages.
8232 (with-help-window): Pass window used for displaying the buffer
8233 to help-window-setup. Don't set display-buffer-window.
8234
82352011-09-13 Glenn Morris <rgm@gnu.org>
8236
8237 * emacs-lisp/debug.el (debugger-make-xrefs):
8238 Preserve point. (Bug#9462)
8239
82402011-09-13 Chong Yidong <cyd@stupidchicken.com>
8241
8242 * window.el (window-deletable-p): Use next-frame.
8243
82442011-09-13 Martin Rudalics <rudalics@gmx.at>
8245
8246 * window.el (window-auto-delete): Remove.
8247 (window-deletable-p): Remove argument FORCE. Don't deal with
8248 dedication and previous buffers.
8249 (switch-to-prev-buffer): Don't delete window.
8250 (delete-windows-on): Delete a window's frame if and only if the
8251 window is dedicated.
8252 (replace-buffer-in-windows): Delete buffer's window or frame if
8253 and only if window is dedicated.
8254 (quit-window): Handle quit-restore as before last change.
8255 (bury-buffer): Delete window only if window-deletable-p returns t.
8256
82572011-09-13 Chong Yidong <cyd@stupidchicken.com>
8258
8259 * window.el (window-deletable-p): Never delete the last frame on a
8260 given terminal.
8261
82622011-09-13 Glenn Morris <rgm@gnu.org>
8263
8264 * help.el (describe-key-briefly): Copy previous standard-output change.
8265
82662011-09-13 PJ Weisberg <pj@irregularexpressions.net>
8267
8268 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8269
82702011-09-13 Glenn Morris <rgm@gnu.org>
8271
8272 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8273 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8274
82752011-09-12 Chong Yidong <cyd@stupidchicken.com>
8276
8277 * dired-aux.el (dired-mark-read-string): Don't return default
8278 value on empty input (Bug#9361).
8279 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8280 Omit initial minibuffer contents.
8281 (dired-do-chmod): Signal an error on empty input.
8282 (dired-mark-read-string): Don't return default on empty input.
8283
8284 * files.el (file-modes-symbolic-to-number): Doc fix.
8285
82862011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8287
8288 * international/mule-cmds.el (ucs-completions): Remove.
8289 (read-char-by-name): Use complete-with-action instead; add metadata.
8290
82912011-09-11 Chong Yidong <cyd@stupidchicken.com>
8292
8293 * window.el (display-buffer--action-function-custom-type)
8294 (display-buffer--action-custom-type): New vars.
8295 (display-buffer-alist, display-buffer-default-action)
8296 (display-buffer-overriding-action): Add defcustom types.
8297
8298 * frame.el (delete-other-frames): Doc fix (Bug#276).
8299
83002011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8301
8302 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8303
83042011-09-11 Chong Yidong <cyd@stupidchicken.com>
8305
8306 Change modes that used same-window-* vars to use switch-to-buffer.
8307
8308 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8309 Use switch-to-buffer.
8310
8311 * cus-edit.el (customize-group, custom-buffer-create)
8312 (customize-browse, custom-buffer-create-other-window):
8313 Use switch-to-buffer or switch-to-buffer-other-window.
8314
8315 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8316 (Info-prev, Info-up, Info-speedbar-goto-node)
8317 (info-display-manual): Use switch-to-buffer.
8318 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8319
8320 * mail/sendmail.el (mail): Use switch-to-buffer.
8321 (mail-recover): Use switch-to-buffer-other-window.
8322
8323 * cmuscheme.el (run-scheme, switch-to-scheme):
8324 * ielm.el (ielm):
8325 * shell.el (shell):
8326 * net/rlogin.el (rlogin):
8327 * net/telnet.el (telnet, rsh):
8328 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8329
83302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8331
8332 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8333
83342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8335
8336 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8337 so don't mention it (bug#9301).
8338 (dired-sort-toggle-or-edit): Clarify string further.
8339
8340 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8341 match `x', `w32' and `ns', like the manual says (bug#9029).
8342
8343 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8344 (process-kill-buffer-query-function): Mention the buffer name in
8345 the query.
8346
8347 * image-mode.el (image-next-line): The line parameter is mandatory
8348 (bug#9258).
8349
8350 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8351 which can be useful (bug#9301).
8352
8353 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8354
8355 * subr.el (match-string): Mention that the current buffer should
8356 be the same as the search was done in (bug#9282).
8357
8358 * facemenu.el: Disable the remove-* commands if the mark isn't
8359 active (bug#9162).
8360
83612011-09-10 Chong Yidong <cyd@stupidchicken.com>
8362
8363 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8364 of display-buffer.
8365 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8366
8367 * replace.el (occur-mode-goto-occurrence)
8368 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8369 and display-buffer.
8370
8371 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8372 display-buffer.
8373
8374 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8375 special-display and same-window variables.
8376 (mail-other-window): Use switch-to-buffer-other-window.
8377 (mail-other-frame): USe switch-to-buffer-other-frame.
8378
8379 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8380 Use display-buffer-other-frame.
8381 (gdb-display-gdb-buffer): Use pop-to-buffer.
8382
8383 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8384
8385 * progmodes/python.el: Don't set same-window-buffer-names.
8386
8387 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8388
8389 * window.el (display-buffer-alist): Add *Python*.
8390
83912011-09-10 Chong Yidong <cyd@stupidchicken.com>
8392
8393 * window.el (display-buffer-alist): Add entry for buffers
8394 previously handled same-window-*.
8395 (display-buffer-alist, display-buffer-default-action)
8396 (display-buffer-overriding-action): Mark as risky.
8397 (display-buffer-alist): Document action function changes.
8398 (display-buffer--same-window-action)
8399 (display-buffer--other-frame-action): New variables.
8400 (switch-to-buffer, display-buffer-other-frame): Use them.
8401 (display-buffer): Rename reuse-frame entry to reusable-frames.
8402 (display-buffer-reuse-selected-window): Function deleted.
8403 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8404 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8405 (display-buffer-special): New function.
8406 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8407 display-buffer-reuse-or-pop-window. Split off special-display
8408 part into display-buffer-special.
8409 (display-buffer-use-some-window): Don't perform any special
8410 pop-up-frames handling.
8411 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8412 (display-buffer--maybe-same-window): Rename from
8413 display-buffer-maybe-same-window.
8414
8415 * info.el: Don't set same-window-regexps.
8416 (info-setup): New function.
8417 (info-other-window, info): Call it.
8418
8419 * cus-edit.el: Don't set same-window-regexps.
8420 (customize-group): New argument.
8421 (customize-group-other-window): Use it.
8422 (customize-face, customize-face-other-window): Likewise.
8423 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8424
8425 * net/rlogin.el:
8426 * net/telnet.el:
8427 * progmodes/gud.el: Don't set same-window-regexps.
8428
8429 * cmuscheme.el:
8430 * ielm.el:
8431 * shell.el:
8432 * mail/sendmail.el:
8433 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8434
84352011-09-10 Juri Linkov <juri@jurta.org>
8436
8437 * isearch.el (isearch-edit-string): Remove obsolete mention of
8438 `C-w' (`isearch-yank-word-or-char') from docstring.
8439 (isearch-query-replace): Fix typo in docstring (bug#9466).
8440
84412011-09-10 Juri Linkov <juri@jurta.org>
8442
8443 * paren.el (show-paren-function): Don't show escaped parens.
8444 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8445
84462011-09-10 Eli Zaretskii <eliz@gnu.org>
8447
8448 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8449 (mm-default-file-encoding): Remove autoload forms, they are
8450 replaced with autoload cookies in mml.el and mm-encode.el.
8451 (mail-add-attachment): New command.
8452 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8453 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8454 the doc string.
8455 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8456
84572011-09-10 Reuben Thomas <rrt@sc3d.org>
8458
8459 * simple.el (count-words-region): Use buffer if there's no region
8460 (bug#9429).
8461
84622011-09-09 Juri Linkov <juri@jurta.org>
8463
8464 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8465 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8466 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8467
84682011-09-09 Alan Mackenzie <acm@muc.de>
8469
8470 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8471 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8472
84732011-09-09 Eli Zaretskii <eliz@gnu.org>
8474
8475 Fix for Savannah bug#9392.
8476 * simple.el (mail-encode-mml): New defvar.
8477
8478 * mail/rmail.el (mail-encode-mml): Add a defvar.
8479 (rmail-enable-mime-composing): Default to t.
8480 (rmail-forward): Use MIME method of forwarding only if both
8481 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8482 Set mail-encode-mml non-nil if the MIME method was used.
8483
8484 * mail/sendmail.el (mml-to-mime): Add autoload form.
8485 (mail-encode-mml): Add a defvar.
8486 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8487 to nil.
8488 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8489 message through mml-to-mime, and reset mail-encode-mml to nil.
8490
84912011-09-09 Glenn Morris <rgm@gnu.org>
8492
8493 * woman.el (woman-if-body): When processing an .el block,
8494 do not delete the next .el block as well. (Bug#9447)
8495 (woman-special-characters): Add oq, cq, and hy characters.
8496
84972011-09-08 Martin Rudalics <rudalics@gmx.at>
8498
8499 * window.el (window-deletable-p): Make sure window is live before
8500 invoking window-prev-buffers.
8501
85022011-09-08 Leo Liu <sdl.web@gmail.com>
8503
8504 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8505
85062011-09-08 Juri Linkov <juri@jurta.org>
8507
8508 * progmodes/compile.el (compilation-environment): Make it
8509 a defcustom (bug#8340).
8510
85112011-09-08 Martin Rudalics <rudalics@gmx.at>
8512
8513 * window.el (frame-auto-delete): Rename to window-auto-delete.
8514 Make it control auto-deletion of windows and/or frames.
8515 (window-deletable-p): New argument FORCE. Rewrite conditions
8516 for deleting window/frame. (Bug#9419)
8517 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8518 Rewrite handling of case when window/frame can be deleted.
8519 (delete-windows-on): Call window-deletable-p with new FORCE
8520 argument t. (Bug#9456)
8521
85222011-09-07 Chong Yidong <cyd@stupidchicken.com>
8523
8524 * help-mode.el (help-mode): Restore autoload.
8525
85262011-09-07 Juri Linkov <juri@jurta.org>
8527
8528 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8529 `compilation-environment'. Set buffer-local
8530 `compilation-environment' to `thisenv' later after (funcall mode).
8531 (Bug#8340)
8532
8533 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8534 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8535 instead of replacing its value. (Bug#8340)
8536
85372011-09-07 Juri Linkov <juri@jurta.org>
8538
8539 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8540 based on text properties put by `grep-filter' instead of matching
8541 escape sequences.
8542 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8543 to the value of `grep-error-screen-columns' (bug#9438).
8544
85452011-09-07 Juri Linkov <juri@jurta.org>
8546
8547 * simple.el (next-error-highlight, next-error-highlight-no-select):
8548 Doc fix (bug#9432).
8549
85502011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8551
8552 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8553 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8554
85552011-09-07 Leo Liu <sdl.web@gmail.com>
8556
8557 * net/rcirc.el (rcirc-mode): Conditionally initialize
8558 rcirc-input-ring.
8559
85602011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8561
8562 * emacs-lisp/find-func.el (find-function-C-source): Only set
8563 find-function-C-source-directory after checking that we found a source
8564 file there (bug#9440).
8565
85662011-09-06 Alan Mackenzie <acm@muc.de>
8567
8568 * isearch.el (isearch-other-meta-char): Wherever a key list is
8569 unread, "unread" the prefix arg, too. This fixes bug #8901.
8570
85712011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8572
8573 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8574
85752011-09-05 Juri Linkov <juri@jurta.org>
8576
8577 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8578
85792011-09-05 Juri Linkov <juri@jurta.org>
8580
8581 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8582 keeping point where processing of grep matches begins, and
8583 continue to delete remaining escape sequences from the same point.
8584 (grep-filter): Make leading zero optional in "0?1;31m" because
8585 git-grep emits "\033[1;31m" escape sequences unlike expected
8586 "\033[01;31m" as GNU Grep does (bug#9408).
8587 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8588
85892011-09-05 Juri Linkov <juri@jurta.org>
8590
8591 * subr.el (y-or-n-p): Capitalize "yes".
8592
85932011-09-04 Michael Albinus <michael.albinus@gmx.de>
8594
8595 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8596 `tramp-cache-unload-hook' where appropriate.
8597 (tramp-methods): Rename `tramp-remote-sh' to
8598 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8599 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8600
8601 * net/tramp-sh.el (top): Don't require 'shell.
8602 (tramp-methods): Add `tramp-remote-shell' and
8603 `tramp-remote-shell-args' entries.
8604 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8605 (tramp-sh-handle-shell-command): Remove.
8606 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8607 Use `tramp-remote-shell'.
8608
86092011-09-03 Chong Yidong <cyd@stupidchicken.com>
8610
8611 * mail/sendmail.el (sendmail-query-once-function): Delete.
8612 (sendmail-query-once): Save directly to send-mail-function.
8613 Update message-send-mail-function too.
8614
8615 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8616
86172011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8618
8619 * progmodes/python.el (python-mode-map): Use correct function to
8620 start python interpreter from menu-bar (as reported by Geert
8621 Kloosterman).
8622 (inferior-python-mode-map): Fix typo.
8623 (python-shell-map): Remove.
8624
86252011-09-03 Deniz Dogan <deniz@dogan.se>
8626
8627 * net/rcirc.el (rcirc-print): Simplify code for
8628 rcirc-scroll-show-maximum-output. There is no need to walk
8629 through all windows to find the right one.
8630
86312011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8632
8633 * help.el (help-return-method): Doc fix.
8634
86352011-09-03 Martin Rudalics <rudalics@gmx.at>
8636
8637 * window.el (window-deletable-p): Don't return a non-nil value
8638 when there's a buffer that was shown in the window before.
8639 (Bug#9419)
8640 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8641 Set window's previous buffers to nil.
8642
86432011-09-03 Eli Zaretskii <eliz@gnu.org>
8644
8645 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8646 newline before and after the tag line, so it doesn't interfere
8647 with determining the paragraph direction of bidirectional text.
8648
86492011-09-03 Leo Liu <sdl.web@gmail.com>
8650
8651 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8652
86532011-09-02 Chong Yidong <cyd@stupidchicken.com>
8654
8655 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8656 (pop-to-buffer): Change interactive spec. Pass second argument
8657 directly to display-buffer.
8658 (display-buffer): Fix interactive spec. Use functionp to
8659 distinguish between a function and a list of functions.
8660
8661 * abbrev.el (edit-abbrevs):
8662 * arc-mode.el (archive-extract):
8663 * autoinsert.el (auto-insert):
8664 * bookmark.el (bookmark-bmenu-list):
8665 * files.el (find-file):
8666 * view.el (view-buffer):
8667 * progmodes/compile.el (compilation-goto-locus):
8668 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8669
86702011-09-02 Chong Yidong <cyd@stupidchicken.com>
8671
8672 * window.el (display-buffer-alist): Doc fix.
8673 (display-buffer): Add docstring. Don't treat
8674 display-buffer-default specially.
8675 (display-buffer-reuse-selected-window)
8676 (display-buffer-same-window, display-buffer-maybe-same-window)
8677 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8678 (display-buffer-pop-up-window)
8679 (display-buffer-reuse-or-pop-window)
8680 (display-buffer-use-some-window): New functions.
8681 (display-buffer-default-action): Use them.
8682 (display-buffer-default): Delete.
8683 (pop-to-buffer-1): Fix choice of actions.
8684
86852011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8686
8687 * minibuffer.el (completion--insert-strings): Don't get confused by
8688 completion entries that end with an LF char.
8689
86902011-09-01 Eli Zaretskii <eliz@gnu.org>
8691
8692 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8693
86942011-09-01 Chong Yidong <cyd@stupidchicken.com>
8695
8696 * window.el (display-buffer): Restore interactive spec.
8697 (display-buffer-same-window, display-buffer-other-window):
8698 New functions.
8699 (pop-to-buffer-1): New function. Use the above.
8700 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8701 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8702
8703 * view.el (view-buffer-other-window, view-buffer-other-frame):
8704 Just use pop-to-buffer.
8705
87062011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8707
8708 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8709
87102011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8711
8712 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8713
87142011-08-31 Richard Stallman <rms@gnu.org>
8715
8716 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8717 of the separation of rmail-view-buffer from rmail-buffer.
8718 If you say no to "replace original", the decrypt is in the
8719 view buffer. If you say yes, the decrypt goes into the
8720 rmail buffer also.
8721
87222011-08-31 Martin Rudalics <rudalics@gmx.at>
8723
8724 * window.el (display-buffer-window): Rewrite doc-string.
8725 (display-buffer-record-window): New function.
8726 (display-buffer-macro-specifiers)
8727 (display-buffer-even-window-sizes, display-buffer-set-height)
8728 (display-buffer-set-width, display-buffer-in-window)
8729 (display-buffer-reuse-window, display-buffer-split-specifiers)
8730 (display-buffer-side-specifiers, display-buffer-split-window-1)
8731 (display-buffer-split-window, display-buffer-split-atom-window)
8732 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8733 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8734 (display-buffer-other-window-means-other-frame)
8735 (display-buffer-normalize-special)
8736 (display-buffer-normalize-default)
8737 (display-buffer-normalize-argument)
8738 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8739 (display-buffer-normalize-specifiers, display-buffer-frame)
8740 (display-buffer-same-window, display-buffer-same-frame)
8741 (display-buffer-other-window)
8742 (display-buffer-same-frame-other-window)
8743 (display-buffer-other-frame, pop-to-buffer-same-window)
8744 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8745 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8746 (switch-to-buffer-same-frame)
8747 (switch-to-buffer-other-window-same-frame)
8748 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8749 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8750 (display-buffer-alist-set): Remove.
8751 (display-buffer-function, special-display-buffer-names)
8752 (special-display-regexps, special-display-function):
8753 In doc-string refer to display-buffer-window and quit-restore
8754 parameter.
8755 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8756 (special-display-frame-alist, special-display-popup-frame)
8757 (same-window-buffer-names, same-window-regexps, same-window-p)
8758 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8759 (split-window-preferred-function, split-height-threshold)
8760 (split-width-threshold, window-splittable-p)
8761 (split-window-sensibly, window--try-to-split-window)
8762 (window--frame-usable-p, even-window-heights)
8763 (window--even-window-heights, window--display-buffer-1)
8764 (window--display-buffer-2, display-buffer-other-frame):
8765 Restore old Emacs 23 code, order and doc-strings where applicable.
8766 (display-buffer-default, display-buffer-assq-regexp): New functions.
8767 (display-buffer-alist): Rewrite doc-string.
8768 (display-buffer-default-action)
8769 (display-buffer-overriding-action): New variables.
8770 (display-buffer, switch-to-buffer): Rewrite.
8771 (pop-to-buffer): Restore Emacs 23 behavior but use
8772 window-normalize-buffer-to-display.
8773 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8774 Restore Emacs 23 behavior but use
8775 window-normalize-buffer-to-switch-to.
8776 (pop-to-buffer-same-window): Rewrite.
8777 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8778 Rewrite using Emacs 23 options.
8779
87802011-08-31 Michael Albinus <michael.albinus@gmx.de>
8781
8782 * net/tramp.el (tramp-root-regexp): Remove.
8783 (tramp-completion-file-name-regexp-unified)
8784 (tramp-completion-file-name-regexp-separate)
8785 (tramp-completion-file-name-regexp-url): Don't use leading volume
8786 letter on win32 systems. (Bug#5303, Bug#9311)
8787 (tramp-drop-volume-letter): Simplify definition.
8788 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8789
87902011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8793 (bug#9356).
8794
87952011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8796
8797 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8798
87992011-08-29 Juri Linkov <juri@jurta.org>
8800
8801 * isearch.el (isearch-done): Don't display message "Mark saved"
8802 when arg `edit' is non-nil to prevent its flicker in the echo area.
8803
88042011-08-28 Chong Yidong <cyd@stupidchicken.com>
8805
8806 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8807 obsolete packages for deletion.
8808
88092011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8810
8811 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8812 (help-mode): Derive help-mode from special-mode. Don't invoke
8813 view-mode from help-mode.
8814 (help-xref-override-view-map): Remove.
8815 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8816 view-mode is not used anymore.
8817
88182011-08-28 Chong Yidong <cyd@stupidchicken.com>
8819
8820 * server.el (server-port): Doc fix.
8821
8822 * cus-theme.el (custom-theme-choose-mode): Inherit from
8823 special-mode (Bug#9124).
8824 (custom-theme-choose-mode-map): Add special-mode to parent.
8825
88262011-08-28 Alan Mackenzie <acm@muc.de>
8827
8828 * progmodes/cc-fonts.el
8829 (c-make-font-lock-BO-decl-search-function): New function.
8830 (c-basic-matchers-after - "Fontify the clauses after various
8831 keywords"): Extract the three keyword lists for the 3 erroneous
8832 constructs from the list of four, and use the new function above
8833 in place of an old one.
8834
88352011-08-28 Deniz Dogan <deniz@dogan.se>
8836
8837 * net/rcirc.el (rcirc-insert-prev-input)
8838 (rcirc-insert-next-input): Remove unused argument.
8839
88402011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8843
88442011-08-27 Alan Mackenzie <acm@muc.de>
8845
8846 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8847 handle function pointer parameters properly.
8848
88492011-08-27 Martin Rudalics <rudalics@gmx.at>
8850
8851 * window.el (display-buffer-reuse-window): Fix case where
8852 selected window was reused with non-nil OTHER-WINDOW argument.
8853 (Bug#9381)
8854
88552011-08-27 Deniz Dogan <deniz@dogan.se>
8856
8857 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8858 oftc's NickServ messages.
8859
88602011-08-27 Glenn Morris <rgm@gnu.org>
8861
8862 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8863
88642011-08-26 Chong Yidong <cyd@stupidchicken.com>
8865
8866 * emacs-lisp/package.el (package-install): Call package-initialize
8867 if called interactively.
8868
88692011-08-26 Leo Liu <sdl.web@gmail.com>
8870
8871 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8872
88732011-08-25 Juri Linkov <juri@jurta.org>
8874
8875 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8876 `search-whitespace-regexp' (bug#9364).
8877
88782011-08-25 Juri Linkov <juri@jurta.org>
8879
8880 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8881 `regexp-search-ring' to their global values to protect from
8882 updating by `read-from-minibuffer' (bug#9185).
8883
88842011-08-25 Juri Linkov <juri@jurta.org>
8885
8886 * textmodes/ispell.el (ispell-command-loop): Add newline
8887 at the end of the "Use option `i'..." line.
8888
88892011-08-25 Juri Linkov <juri@jurta.org>
8890
8891 * battery.el (display-battery-mode): If `battery-status-function'
8892 or `battery-mode-line-format' is nil, display the message and set
8893 `display-battery-mode' to nil (bug#9363).
8894
88952011-08-25 Eli Zaretskii <eliz@gnu.org>
8896
8897 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8898 bidi-string-mark-left-to-right; they are unnecessary now.
8899
89002011-08-25 Deniz Dogan <deniz@dogan.se>
8901
8902 * net/quickurl.el: Documentation typo fixes.
8903
89042011-08-25 Chong Yidong <cyd@stupidchicken.com>
8905
8906 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8907
89082011-08-25 Glenn Morris <rgm@gnu.org>
8909
8910 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8911
8912 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8913 (smtpmail-via-smtp): Handle nil response from smtp.
8914
89152011-08-24 Juri Linkov <juri@jurta.org>
8916
8917 * proced.el (proced-marked): Inherit from `error' instead of
8918 `font-lock-warning-face'.
8919
8920 * ibuffer.el (ibuffer-marked-face): Change default face from
8921 `font-lock-warning-face' to `warning'.
8922 (ibuffer-deletion-face): Change default face from
8923 `font-lock-type-face' to `error'.
8924
8925 * battery.el (battery-update): Use the face `error' instead of
8926 `font-lock-warning-face' (bug#6117).
8927
89282011-08-24 Juri Linkov <juri@jurta.org>
8929
8930 * faces.el (success): Change face color from "Green3" to
8931 "ForestGreen" on light background (bug#9353).
8932
89332011-08-24 Chong Yidong <cyd@stupidchicken.com>
8934
8935 * window.el (quit-window): Rename from quit-restore-window.
8936 Use same arglist as old quit-window.
8937 (frame-auto-delete): Doc fix.
8938
8939 * view.el (view-mode-exit): Use quit-window.
8940
89412011-08-24 Juri Linkov <juri@jurta.org>
8942
8943 * isearch.el (isearch-ring-adjust1): Start visiting previous
8944 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8945 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8946 for empty search string (when the last search string is reused
8947 automatically) to adjust the isearch ring to the last element and
8948 prepare the correct index for further M-p commands (bug#9185).
8949
89502011-08-24 Kenichi Handa <handa@m17n.org>
8951
8952 * international/ucs-normalize.el: If decomposition property of
8953 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8954 nil.
8955 (nfd, nfkd): Likewise.
8956
89572011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8958
8959 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8960 from process filters aren't reliably transmitted to the surrounding
8961 accept-process-output.
8962 (mpc-proc-check): New function.
8963 (mpc-proc-sync): Use it (bug#8293)
8964
89652011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8966
8967 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8968 Add compatibility functions (bug#9313).
8969
89702011-08-23 Eli Zaretskii <eliz@gnu.org>
8971
8972 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8973
8974 * international/uni-bidi.el: Regenerate.
8975
89762011-08-23 Kenichi Handa <handa@m17n.org>
8977
8978 * international/charprop.el:
8979 * international/uni-bidi.el:
8980 * international/uni-category.el:
8981 * international/uni-combining.el:
8982 * international/uni-comment.el:
8983 * international/uni-decimal.el:
8984 * international/uni-decomposition.el:
8985 * international/uni-digit.el:
8986 * international/uni-lowercase.el:
8987 * international/uni-mirrored.el:
8988 * international/uni-name.el:
8989 * international/uni-numeric.el:
8990 * international/uni-old-name.el:
8991 * international/uni-titlecase.el:
8992 * international/uni-uppercase.el: Regenerate.
8993
89942011-08-23 Martin Rudalics <rudalics@gmx.at>
8995
8996 * help.el (help-window-setup): Fix message displayed when other
8997 window is reused. (Bug#9341)
8998
89992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9000
9001 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9002 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9003
9004 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9005 Mark obsolete.
9006 * shell.el (shell-parse-pcomplete-arguments): New function.
9007 (shell-completion-vars): Use it instead (bug#9160).
9008
90092011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9010
9011 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9012 strings and comments (bug#9333).
9013
9014 * emacs-lisp/debug.el (debug-arglist): New function.
9015 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9016 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9017
90182011-08-22 Juri Linkov <juri@jurta.org>
9019
9020 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9021 Revert regexp that highlights output switches to its old
9022 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9023
9024 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9025 to check for empty output (bug#9226).
9026
90272011-08-22 Chong Yidong <cyd@stupidchicken.com>
9028
9029 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9030 symbol-constituent as the default, as that stops font-lock from
9031 working properly (Bug#8843).
9032
90332011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9034
9035 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9036 `coding-system-for-*' around the process open call to avoid
9037 auth-source side effects.
9038 (smtpmail-try-auth-methods): Expand the secret password.
9039 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9040 probe hangs.
9041
90422011-08-21 Chong Yidong <cyd@stupidchicken.com>
9043
9044 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9045
9046 * emacs-lisp/find-func.el (find-function-noselect): New arg
9047 lisp-only.
9048
9049 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9050 signal an error for built-in functions (Bug#6664).
9051
90522011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9053
9054 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9055 (smtpmail-try-auth-methods): Use it.
9056
90572011-08-21 Chong Yidong <cyd@stupidchicken.com>
9058
9059 * font-lock.el (font-lock-fontify-region)
9060 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9061 (font-lock-default-unfontify-buffer)
9062 (font-lock-default-fontify-region)
9063 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9064
9065 * progmodes/compile.el (compilation-error-properties):
9066 Fix confusion between file struct and message struct (Bug#9319).
9067 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9068 `ant' regexp.
9069
9070 * net/browse-url.el (browse-url-firefox): Don't call
9071 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9072
90732011-08-20 Glenn Morris <rgm@gnu.org>
9074
9075 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9076
9077 * tutorial.el (tutorial--default-keys): Update some default bindings.
9078
9079 * files.el (hack-local-variables): Fully ignore case for "mode:".
9080
90812011-08-20 Alan Mackenzie <acm@muc.de>
9082
9083 Resolve invalid use of a regexp in regexp-opt.
9084
9085 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9086 detection for a java annotation.
9087
9088 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9089 detection for a java annotation.
9090
9091 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9092 handling for java.
9093 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9094
90952011-08-20 Chong Yidong <cyd@stupidchicken.com>
9096
9097 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9098 (Bug#9274).
9099
91002011-08-20 Alan Mackenzie <acm@muc.de>
9101
9102 Fontify CPP expressions correctly when starting in the middle of
9103 such a construct. Mainly for when jit-lock etc. starts a chunk
9104 here.
9105
9106 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9107 variable.
9108 (c-make-font-lock-search-form): New function, extracted from
9109 c-make-font-lock-search-function.
9110 (c-make-font-lock-search-function): Use the above function.
9111 (c-make-font-lock-context-search-function): New function.
9112 (c-cpp-matchers): Enhance the preprocessor expression case with
9113 the above function
9114 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9115 which takes an expression.
9116
9117 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9118
91192011-08-20 Martin Rudalics <rudalics@gmx.at>
9120
9121 * window.el (display-buffer-reuse-window)
9122 (display-buffer-pop-up-window): Don't reuse or split a side
9123 window.
9124
91252011-08-19 Glenn Morris <rgm@gnu.org>
9126
9127 * files.el (hack-local-variables-prop-line, hack-local-variables):
9128 Downcase "Mode:". (Bug#9331)
9129
91302011-08-18 Chong Yidong <cyd@stupidchicken.com>
9131
9132 * international/characters.el: Add L and R categories.
9133
9134 * subr.el (bidi-string-mark-left-to-right): Rename from
9135 string-mark-left-to-right. Use category search.
9136
9137 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9138
91392011-08-18 Juri Linkov <juri@jurta.org>
9140
9141 * faces.el (error, warning, success): New faces with definitions
9142 copied from old default values of `font-lock-warning-face',
9143 `compilation-warning', `compilation-info' (bug#6117).
9144
9145 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9146
9147 * progmodes/compile.el (compilation-error): Inherit from `error'.
9148 (compilation-warning): Inherit from `warning'.
9149 (compilation-info): Inherit from `success'.
9150
9151 * dired.el (dired-marked): Inherit from `warning'.
9152 (dired-flagged): Inherit from `error'.
9153
91542011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9155
9156 * mail/smtpmail.el (auth-source): Require to avoid problems with
9157 binding variables (bug#9298). Also clean up some unused
9158 autoloads.
9159
9160 * net/network-stream.el (network-stream-open-starttls):
9161 Support using starttls.el without using gnutls-cli.
9162
91632011-08-17 Juri Linkov <juri@jurta.org>
9164
9165 * progmodes/grep.el (rgrep): Handle the case when
9166 `grep-find-command' is a cons cell (bug#9278).
9167
91682011-08-17 Martin Rudalics <rudalics@gmx.at>
9169
9170 * window.el (display-buffer-pop-up-frame): Run frame creation
9171 function with BUFFER current (as special-display-popup-frame
9172 does). Reported by Drew Adams.
9173
91742011-08-17 Daiki Ueno <ueno@unixuser.org>
9175
9176 * epa-mail.el: Simplify GnuPG group expansion using
9177 epg-expand-group.
9178 (epa-mail-group-alist, epa-mail-group-modtime)
9179 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9180 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9181 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9182 Remove.
9183
91842011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9185
9186 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9187
91882011-08-16 Alan Mackenzie <acm@muc.de>
9189
9190 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9191 Correct, to avoid the inside of macros.
9192
91932011-08-16 Richard Stallman <rms@gnu.org>
9194
9195 * epa-mail.el: Handle GnuPG group definitions.
9196 (epa-mail-group-alist, epa-mail-group-modtime)
9197 (epa-mail-gnupg-conf-file): New variables.
9198 (epa-mail-parse-groups, epa-mail-sync-groups)
9199 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9200 (epa-mail-expand-recipients): New functions.
9201 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9202
9203 * mail/rmail.el (rmail-epa-decrypt): New command.
9204
9205 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9206 Don't bind buffer-read-only, just inhibit-read-only.
9207 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9208 (epa-decrypt-armor-in-region): Make error message clearer.
9209
92102011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9211
9212 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9213 and "a2b" to "ab" for `prefix'.
9214
92152011-08-14 Chong Yidong <cyd@stupidchicken.com>
9216
9217 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9218 filter groups.
9219 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9220 Fourquet (Bug#8804).
9221
92222011-08-12 Juanma Barranquero <lekktu@gmail.com>
9223
9224 * startup.el (argi): Declare as global variable (bug#9275).
9225
92262011-08-12 Chong Yidong <cyd@stupidchicken.com>
9227
9228 * subr.el (string-mark-left-to-right): Search the entire string
9229 for RTL script, not just the terminating character. Doc fix.
9230
92312011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9232
9233 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9234 New function.
9235 (js--regexp-literal, js-syntax-propertize-function): Remove.
9236 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9237 (js-mode-map): Don't rebind electric keys.
9238 (js-insert-and-indent): Remove.
9239 (js-mode): Setup electric-layout and electric-indent instead.
9240
9241 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9242
92432011-08-12 Daiki Ueno <ueno@unixuser.org>
9244
9245 * epa.el (epa-progress-callback-function): Fix the logic of
9246 displaying progress.
9247 * epa-file.el (epa-file-insert-file-contents): Make progress
9248 display more user-friendly.
9249 (epa-file-write-region): Ditto.
9250
92512011-08-10 Chong Yidong <cyd@stupidchicken.com>
9252
9253 * subr.el (string-mark-left-to-right): New function.
9254
9255 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9256 Use string-mark-left-to-right.
9257 (list-buffers-noselect): Caller changed.
9258
9259 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9260 Use string-mark-left-to-right.
9261 (tabulated-list-print): Recenter after moving point.
9262
92632011-08-10 Juri Linkov <juri@jurta.org>
9264
9265 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9266 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9267 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9268
92692011-08-09 Chong Yidong <cyd@stupidchicken.com>
9270
9271 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9272 (Bug#7554).
9273
92742011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9275
9276 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9277 character. (Bug#6594)
9278
92792011-08-08 Chong Yidong <cyd@stupidchicken.com>
9280
9281 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9282 (image-dired--with-db-file): New macro.
9283 (image-dired-write-tags, image-dired-remove-tag)
9284 (image-dired-create-gallery-lists, image-dired-write-comments)
9285 (image-dired-get-comment, image-dired-mark-tagged-files)
9286 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9287 (image-dired-gallery-generate): Use insert-file-contents.
9288
9289 * time.el (display-time-world-list, display-time-world-display):
9290 * time-stamp.el (time-stamp-string):
9291 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9292 set-time-zone-rule (Bug#7337).
9293
92942011-08-08 Daiki Ueno <ueno@unixuser.org>
9295
9296 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9297 (epg-error-to-string, epg-errors-to-string): New function.
9298 (epg-wait-for-completion): Reverse errors list.
9299 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9300 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9301 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9302 (epg-sign-keys, epg-generate-key-from-file)
9303 (epg-generate-key-from-string): Format errors by using
9304 epg-errors-to-string (bug#9255).
9305 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9306
93072011-08-07 Juri Linkov <juri@jurta.org>
9308
9309 * faces.el (list-faces-display): Remove extra angle bracket
9310 from `help-mode-map'.
9311
9312 * info.el (Info-history-toc-nodes): Doc fix.
9313
9314 * longlines.el (longlines-mode): Doc fix.
9315
93162011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9317
9318 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9319 of statements and in a few more cases (bug#9183).
9320
9321 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9322 New functions.
9323 (cl-transform-lambda): Use them (bug#9239).
9324
93252011-08-05 Martin Rudalics <rudalics@gmx.at>
9326
9327 * window.el (display-buffer-same-window)
9328 (display-buffer-same-frame, display-buffer-other-window)
9329 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9330 (pop-to-buffer-other-window)
9331 (pop-to-buffer-same-frame-other-window)
9332 (pop-to-buffer-other-frame): Make them defuns.
9333 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9334
93352011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9336
9337 * subr.el (make-composed-keymap): Move from C. Change calling
9338 convention, and improve docstring to bring attention to a subtle point.
9339 * minibuffer.el (completing-read-default): Adjust accordingly.
9340
93412011-08-03 Michael Albinus <michael.albinus@gmx.de>
9342
9343 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9344 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9345
9346 * net/trampver.el: Update release number.
9347
93482011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9349
9350 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9351 "in" (bug#9190).
9352
93532011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9354
9355 * mail/sendmail.el (sendmail-query-once): Restore the current
9356 buffer after querying (bug#9074).
9357
9358 * dired.el (dired-flagged): Use different faces for marked and
9359 flagged files (bug#6117).
9360
9361 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9362 (bug#4433).
9363
9364 * ido.el (ido-mode): Switch off the message if called
9365 non-interactively.
9366
9367 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9368 before 587, since it appears that that's more likely to work for
9369 more people.
9370
9371 * cus-edit.el (custom-file): When running under emacs -q, always
9372 refuse to save the customizations, even if the .emacs file doesn't
9373 exist.
9374
9375 * info.el: Remove the `Info-beginning-of-buffer' function
9376 (bug#8325).
9377
9378 * net/network-stream.el (network-stream-open-starttls):
9379 Use `starttls-available-p' to see whether starttls.el can be used.
9380
93812011-08-01 Martin Rudalics <rudalics@gmx.at>
9382
9383 * window.el (display-buffer-in-window): Don't set dedicated status
9384 of window here (Bug#9215).
9385 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9386 (display-buffer-pop-up-side-window)
9387 (display-buffer-in-side-window): Set dedicated status of window here.
9388
93892011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9392 before binding generated-autoload-file.
9393
93942011-08-01 Deniz Dogan <deniz@dogan.se>
9395
9396 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9397
93982011-07-30 Michael Albinus <michael.albinus@gmx.de>
9399
9400 Sync with Tramp 2.2.2.
9401
9402 * net/trampver.el: Update release number.
9403
94042011-07-30 Juri Linkov <juri@jurta.org>
9405
9406 * dired-aux.el (dired-touch-initial): Remove function.
9407 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9408 current time, and `default' to the last modification time of the
9409 current marked file (bug#6887).
9410
94112011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9412
9413 * simple.el (goto-line): Use string-to-number to provide a
9414 numeric argument to read-number (bug#9163).
9415
94162011-07-27 Michael Albinus <michael.albinus@gmx.de>
9417
9418 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9419 connection process, it could be nil.
9420
94212011-07-27 Leo Liu <sdl.web@gmail.com>
9422
9423 Simplify url handling in rcirc-mode.
9424
9425 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9426 (rcirc-browse-url-at-mouse): Remove.
9427 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9428
94292011-07-26 Alan Mackenzie <acm@muc.de>
9430
9431 Fontify bitfield declarations properly.
9432
9433 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9434 (c-symbol-chars): Now exported as a lang variable.
9435 (c-not-primitive-type-keywords): New lang variable.
9436
9437 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9438 QT keyword "more" to prevent "more slots: ...." being spuriously
9439 parsed as a bitfield declaration.
9440
9441 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9442 Refactor and enhance to handle bitfield declarations.
9443 (c-punctuation-in): New function.
9444 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9445 declarations properly.
9446
94472011-07-26 Ulf Jasper <ulf.jasper@web.de>
9448
9449 * calendar/icalendar.el (icalendar--all-events): Take care of
9450 multiple vcalendars in a single file.
9451 (icalendar--convert-float-to-ical): Checkdoc fixes.
9452
94532011-07-25 Deniz Dogan <deniz@dogan.se>
9454
9455 * image.el (insert-image): Clarifying docstring.
9456
94572011-07-24 Michael Albinus <michael.albinus@gmx.de>
9458
9459 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9460 `tramp-send-command-and-check' if there is no error.
9461 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9462
94632011-07-22 Alan Mackenzie <acm@muc.de>
9464
9465 Prevent cc-langs.elc being loaded at run time.
9466
9467 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9468 cc-langs.
9469
9470 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9471 "(require 'cc-langs)". Quote a form so it will evaluate at
9472 (cc-mode's) compilation time.
9473
94742011-07-22 Michael Albinus <michael.albinus@gmx.de>
9475
9476 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9477 loading. (Bug#9114)
9478
94792011-07-21 Martin Rudalics <rudalics@gmx.at>
9480
9481 * window.el (display-buffer-pop-up-window)
9482 (display-buffer-pop-up-side-window)
9483 (display-buffer-in-side-window): Call display-buffer-set-height
9484 and display-buffer-set-width after setting the new window's
9485 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9486
94872011-07-20 Sam Steingold <sds@gnu.org>
9488
9489 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9490 (etags-tags-included-tables): Call `convert-standard-filename' on
9491 the file names contained in TAGS so that windows Emacs can handle
9492 TAGS files created by cygwin ctags.
9493
94942011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9495
9496 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9497 which apparently didn't work.
9498
94992011-07-19 Roland Winkler <winkler@gnu.org>
9500
9501 * proced.el (proced-send-signal): For *Marked Processes* buffer
9502 put point at beginning of buffer.
9503
95042011-07-19 Stephen Berman <stephen.berman@gmx.net>
9505
9506 * proced.el (proced-format): Make header lines align with the text
9507 (bug#1779).
9508
95092011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9510
9511 * view.el (view-buffer): Allow running in `special' modes if we're
9512 visiting a file (bug#8615).
9513
95142011-07-19 Martin Rudalics <rudalics@gmx.at>
9515
9516 * window.el (display-buffer-alist-of-strings-p)
9517 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9518 New functions.
9519 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9520 more accurately.
9521
95222011-07-18 Alan Mackenzie <acm@muc.de>
9523
9524 Fontify declarators properly when, e.g., a jit-lock chunk begins
9525 inside a declaration.
9526
9527 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9528
9529 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9530 New function.
9531 (c-complex-decl-matchers): Insert reference to
9532 c-font-lock-enclosing-decls.
9533
9534 * progmodes/cc-engine.el (c-backward-single-comment):
9535 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9536 to nil around calls to (forward-comment -1).
9537
95382011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9539
9540 * image.el (put-image): Doc typo fix.
9541
9542 * progmodes/etags.el (tags-search): Doc typo fix.
9543
9544 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9545 password if we get errors 550 to 554.
9546
95472011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9548
9549 * net/gnutls.el (gnutls-log-level): Remove.
9550
9551 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9552 indentation character (bug#6380).
9553
9554 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9555
9556 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9557 to clarify what the problem is (bug#4291).
9558
9559 * simple.el (current-kill): Clarify what
9560 `interprogram-paste-function' does (bug#7500).
9561 (auto-fill-mode): Document `auto-fill-function' in relation to
9562 `auto-fill-mode' (bug#2470).
9563
95642011-07-16 Lawrence Mitchell <wence@gmx.li>
9565
9566 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9567 method if slot is read-only (bug#9035).
9568
95692011-07-16 Martin Rudalics <rudalics@gmx.at>
9570
9571 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9572 * window.el (pop-to-buffer): Select window used even if it was
9573 selected before, see discussion of (Bug#8615), (Bug#6954).
9574 Pass argument NORECORD on to select-frame-set-input-focus.
9575
95762011-07-15 Glenn Morris <rgm@gnu.org>
9577
9578 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9579 Respect help-form.
9580
95812011-07-09 Lawrence Mitchell <wence@gmx.li>
9582
9583 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9584 (gnutls-negotiate): Use it.
9585
95862011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9587
9588 * net/gnutls.el (gnutls-negotiate):
9589 Upcase `gnutls-algorithm-priority'.
9590
95912011-07-15 Glenn Morris <rgm@gnu.org>
9592
9593 * jka-compr.el (jka-compr-verbose): Move from here...
9594 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9595 Add missing :version tag.
9596 * info.el: No need to require jka-compr when compiling.
9597
95982011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9599
9600 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9601 (gnutls-negotiate): Use it.
9602
9603 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9604
9605 * info.el (Info-beginning-of-buffer): New command.
9606 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9607 announcing `b' as the key (bug#8325).
9608 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9609
9610 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9611
9612 * international/mule-cmds.el
9613 (describe-specified-language-support): Make the error message
9614 clearer (bug#8905).
9615
9616 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9617
9618 * isearch.el (isearch-barrier): Add a doc string, since it's
9619 mentioned in a function doc string (bug#8678).
9620
96212011-07-15 Martin Rudalics <rudalics@gmx.at>
9622
9623 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9624 buffer argument (Bug#9083) and self-identifying label argument.
9625
96262011-07-15 Glenn Morris <rgm@gnu.org>
9627
9628 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9629
96302011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9631
9632 * man.el (Man-fontify-manpage): Fix message when formatting the
9633 man page (bug#7929).
9634
96352011-07-14 Eli Zaretskii <eliz@gnu.org>
9636
9637 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9638 argument LRM; if non-nil, append an invisible LRM character to the
9639 buffer name.
9640 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9641 last argument non-nil, when formatting buffer names.
9642 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9643 paragraph direction.
9644
96452011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9646
9647 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9648 the man page name (bug#7929).
9649
9650 * image.el (put-image): Mention the `put-image' overlay property
9651 (bug#7834).
9652
9653 * scroll-bar.el (set-scroll-bar-mode): Mention that
9654 `scroll-bar-mode' lists the values (bug#7772).
9655
9656 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9657 command (bug#7729).
9658
9659 * rect.el (apply-on-rectangle): Return the point after the last
9660 operation.
9661 (string-rectangle): Go to the point after the last operation
9662 (bug#7522).
9663
9664 * printing.el (pr-toggle-region): Clarify the documentation
9665 slightly (bug#7493).
9666
9667 * time.el (display-time-update):
9668 Allow `display-time-mail-function' to return nil (bug#7158).
9669 Fix suggested by Detlev Zundel.
9670
9671 * vc/diff.el (diff): Clarify the order the file names are read
9672 (bug#7111).
9673
9674 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9675 the doc string (bug#7015).
9676
9677 * font-lock.el (font-lock-maximum-decoration): Mention what
9678 numeric levels mean (bug#6935).
9679
9680 * startup.el (initial-buffer-choice): Don't mention the `none'
9681 selection, which is against policy.
9682
96832011-07-14 Martin Rudalics <rudalics@gmx.at>
9684
9685 * window.el (display-buffer-normalize-special):
9686 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9687
96882011-07-14 Eli Zaretskii <eliz@gnu.org>
9689
9690 * subr.el (version<, version<=, version=): Mention "-CVS" and
9691 "-12345" alpha version numbers.
9692
96932011-07-14 Chong Yidong <cyd@stupidchicken.com>
9694
9695 * bindings.el: Add advertised binding for set-mark-command
9696 (Bug#5772).
9697
96982011-07-14 Chong Yidong <cyd@stupidchicken.com>
9699
9700 * bindings.el (mode-line-other-buffer):
9701 * bookmark.el (bookmark-bmenu-2-window):
9702 * bs.el (bs-cycle-next, bs-cycle-previous):
9703 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9704 switch-to-buffer.
9705
9706 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9707 Delete.
9708
97092011-07-14 Juanma Barranquero <lekktu@gmail.com>
9710
9711 * follow.el (follow-debug-message, follow-redisplay):
9712 * jka-cmpr-hook.el (with-auto-compression-mode):
9713 Fix typos in docstrings.
9714
97152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9716
9717 * subr.el (with-silent-modifications): Clarify somewhat what the
9718 macro inhibits (bug#6525).
9719
9720 * simple.el (eval-expression): Note what it does if called
9721 interactively (bug#6495).
9722
97232011-07-13 Chong Yidong <cyd@stupidchicken.com>
9724
9725 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9726 Use pop-to-buffer buffer-or-name if it is nil.
9727
9728 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9729 Remove switch-to-buffer.
9730
97312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9732
9733 * files.el (make-directory): Clarify that an error will be raised
9734 if there's an error (bug#6397).
9735
9736 * startup.el (initial-buffer-choice): Add `none' as a choice
9737 (bug#6234).
9738
9739 * subr.el (add-hook): Clarify section about buffer-local hooks
9740 (bug#6218).
9741
9742 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9743
97442011-07-13 Juanma Barranquero <lekktu@gmail.com>
9745
9746 * tabify.el (untabify): Preserve the current column so that point
9747 doesn't move (bug#6032).
9748
97492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9750
9751 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9752 Rewrite to avoid awkward possessive "s" (bug#5986).
9753
97542011-07-13 Glenn Morris <rgm@gnu.org>
9755
9756 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9757 (dired-insert-directory): Give a message the first time
9758 if ls is found not to support --dired.
9759
97602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9761
9762 * simple.el (toggle-truncate-lines): Clarify what is toggled
9763 (bug#5580). Text by Drew Adams.
9764
97652011-07-13 Chong Yidong <cyd@stupidchicken.com>
9766
9767 * simple.el (blink-matching-open): Make the error message from the
9768 last change less verbose.
9769
97702011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9771
9772 * font-lock.el (font-lock-comment-face): Use the high contrast
9773 "yellow" color for font-lock-comment-face on low color terminals
9774 using a dark background color (bug#4221).
9775
97762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9777
9778 * dired.el (dired-insert-set-properties): Make the doc string
9779 reflect what it does now (bug#5325).
9780
9781 * simple.el (blink-matching-open): Say that we were unable to find
9782 the match within the limit, if we're limited (bug#5122).
9783
9784 * international/mule-cmds.el (prefer-coding-system): Add an
9785 example (bug#4869).
9786
9787 * progmodes/etags.el (tags-search): Document `file-list-form'
9788 (bug#4731).
9789
97902011-07-13 Lawrence Mitchell <wence@gmx.li>
9791
9792 * net/browse-url.el (browse-url-default-browser)
9793 (browse-url-browser-function): Make the default browser choice a
9794 bit more logical (bug#4300). Also clean up the doc string.
9795
97962011-07-13 Juanma Barranquero <lekktu@gmail.com>
9797
9798 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9799 binary endings (bug#4440).
9800
98012011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9802
9803 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9804 which can be pretty annoying (bug#8971).
9805
9806 * jka-compr.el (jka-compr-verbose): New variable, and use
9807 throughout (bug#8971).
9808
9809 * info.el (Info-find-file): Fall back on the installation
9810 directory if we can't find the info node anywhere else.
9811
98122011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9813
9814 * vc/vc.el (vc-revert-file):
9815 Don't set file time-stamp in the past. (Bug#5181)
9816
98172011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9818
9819 * files.el (after-find-file): Give a better error message when
9820 trying to find a symlink that points to a file that doesn't exist
9821 (bug#4398).
9822
9823 * progmodes/cc-vars.el: Remove (probably) misleading comment
9824 (bug#4396).
9825
98262011-07-12 Johan Bockgård <bojohan@gnu.org>
9827
9828 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9829
98302011-07-12 Chong Yidong <cyd@stupidchicken.com>
9831
9832 * mouse-sel.el: Hack restoring functionality, while keeping
9833 compatibility with 2010-07-03 changes to mouse selection.
9834 (mouse-sel-primary-overlay): New var.
9835 (mouse-sel-selection-alist): Use it.
9836 (mouse-sel-mode): Doc fix; remove points that are default features
9837 of mouse.el.
9838
98392011-07-12 Johan Bockgård <bojohan@gnu.org>
9840
9841 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9842 Fix previous fix (bug#2490).
9843
98442011-07-12 Roland Winkler <winkler@gnu.org>
9845
9846 * textmodes/bibtex.el (bibtex-initialize):
9847 Use pop-to-buffer-same-window.
9848 (bibtex-search-entries): Fix interactive call.
9849
98502011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9851
9852 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9853 Fontise bytecomp Error lines more correctly (bug#2490).
9854 Fix suggested by Johan Bockgård.
9855
9856 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9857
9858 * dired-x.el (dired-guess-default): Use `delete-dups'.
9859
98602011-07-12 Chong Yidong <cyd@stupidchicken.com>
9861
9862 * dired.el (dired-mark-prompt):
9863 * dired-aux.el (dired-read-shell-command): Doc fix.
9864
98652011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9866
9867 * mail/sendmail.el (sendmail-query-once):
9868 Use `customize-save-variable' unconditionally, now that it works under
9869 emacs -Q.
9870
9871 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9872
9873 * cus-edit.el (custom-file): Take an optional no-error variable.
9874 (customize-save-variable): Set the variable, and give a warning if
9875 running under "emacs -q".
9876
98772011-07-11 Juanma Barranquero <lekktu@gmail.com>
9878
9879 * loadhist.el (unload-feature-special-hooks):
9880 Add `auto-coding-functions', `fill-nobreak-predicate' and
9881 `find-directory-functions' (bug#5327).
9882
98832011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9884
9885 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9886
9887 * cus-edit.el (custom-guess-name-alist): -alist variables should
9888 use the `alist' type (bug#3120). Suggested by Drew Adams.
9889
9890 * printing.el: Add documentation to all the `pr-toggle-' commands.
9891
98922011-07-11 Leo Liu <sdl.web@gmail.com>
9893
9894 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9895 backends where it makes sense (bug#2623).
9896
98972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9898
9899 * dired-x.el (dired-guess-default): Remove duplicate shell command
9900 entries (bug#2028).
9901 (dired-guess-default): Fix grammar in doc string (bug#2028).
9902 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9903
9904 * subr.el (remove-duplicates): New conveniency function.
9905
99062011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9907
9908 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9909 (bug#1526).
9910
99112011-07-10 Martin Rudalics <rudalics@gmx.at>
9912
9913 * window.el (display-buffer-normalize-default): Don't invert
9914 meaning of even-window-heights. Reported by Eli Zaretskii
9915 <eliz@gnu.org>.
9916
99172011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9918
9919 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9920
99212011-07-10 Chong Yidong <cyd@stupidchicken.com>
9922
9923 * window.el (display-buffer): Fix arguments to
9924 display-buffer-reuse-window in last change.
9925
9926 * faces.el (link): Use a less saturated blue on light backgrounds.
9927
9928 * startup.el (fancy-startup-text, fancy-about-text)
9929 (fancy-startup-tail): Use font-lock faces, for background safety.
9930
99312011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9932
9933 * emulation/viper-cmd.el (viper-change-state-to-vi):
9934 Limit triggering of abbrev expansion (Bug#9038).
9935
99362011-07-09 Martin Rudalics <rudalics@gmx.at>
9937
9938 * window.el (display-buffer-default-specifiers): Remove.
9939 (display-buffer-macro-specifiers): Remove default specifiers.
9940 (display-buffer-alist): Default to nil.
9941 (display-buffer-reuse-window): New optional argument other-window.
9942 (display-buffer-pop-up-window): Allow splitting internal
9943 windows. Check whether a live window was created.
9944 (display-buffer-other-window-means-other-frame)
9945 (display-buffer-normalize-arguments): Rename to
9946 display-buffer-normalize-argument and rewrite. Set the
9947 other-window specifier.
9948 (display-buffer-normalize-special): New function.
9949 (display-buffer-normalize-options): Rename to
9950 display-buffer-normalize-default and rewrite.
9951 (display-buffer-normalize-options-inhibit): Remove.
9952 (display-buffer-normalize-specifiers): Rewrite.
9953 (display-buffer): Process other-window specifier and call
9954 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9955 more faithfully.
9956 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9957 (display-buffer-alist-set): Don't handle 'unset default values.
9958 (display-buffer-in-window, display-buffer-alist-set):
9959 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9960 <tassilo@member.fsf.org>.
9961
99622011-07-09 Leo Liu <sdl.web@gmail.com>
9963
9964 * register.el (insert-register): Restore accidental change on
9965 2011-06-26. (Bug#9028)
9966
99672011-07-09 Glenn Morris <rgm@gnu.org>
9968
9969 * subr.el (remq): Handle the empty list. (Bug#9024)
9970
99712011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9972
9973 * mail/sendmail.el (send-mail-function): No longer delay custom
9974 initialization.
9975 * custom.el (custom-initialize-delay): Doc fix.
9976
99772011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9978
9979 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9980
99812011-07-08 Michael Albinus <michael.albinus@gmx.de>
9982
9983 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9984 human-friendly prompt.
9985
99862011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9989 provided by a particular plugin.
9990
99912011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9992
9993 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9994 save customizations (with "emacs -Q"), just set the variable
9995 instead of erroring out.
9996
9997 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9998
99992011-07-08 Juri Linkov <juri@jurta.org>
10000
10001 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10002 (archive-zip-update-case): Use 7z if found by `executable-find'.
10003 The order of searching the available programs is the same as in
10004 `archive-zip-extract' (bug#8968).
10005
100062011-07-07 Chong Yidong <cyd@stupidchicken.com>
10007
10008 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10009 (menu-bar-options-menu): Tweak descriptions.
10010
100112011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10012
10013 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10014 menu items into verb phrases (bug#1421). Also refill to fit under
10015 80 columns.
10016
100172011-07-07 Chong Yidong <cyd@stupidchicken.com>
10018
10019 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10020 (Info-read-node-name): Doc fix (Bug#1084).
10021
10022 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10023 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10024 (end-of-sexp, beginning-of-sexp)
10025 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10026 (forward-symbol, forward-same-syntax, word-at-point)
10027 (sentence-at-point): Doc fix (Bug#1144).
10028
100292011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10030
10031 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10032 should cover it (bug#1281).
10033
10034 * cus-edit.el (custom-show): Mark as obsolete.
10035
10036 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10037 negotiation fails, then possibly try again with a non-encrypted
10038 connection (bug#9017).
10039
10040 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10041 be used.
10042
100432011-07-07 Richard Stallman <rms@gnu.org>
10044
10045 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10046 property, and handle its changed format.
10047 Look for the correct line number.
10048 Use file's line contents (but not past first =) to find
10049 correct line in message.
10050
100512011-07-07 Kenichi Handa <handa@m17n.org>
10052
10053 * international/characters.el (build-unicode-category-table):
10054 Delete it.
10055 (unicode-category-table): Set it by unicode-property-table-internal.
10056
10057 * international/mule-cmds.el (char-code-property-alist): Move to
10058 to src/chartab.c.
10059 (get-char-code-property): Call unicode-property-table-internal to
10060 load a file. Call get-unicode-property-internal where necessary.
10061 (put-char-code-property): Call unicode-property-table-internal to
10062 load a file. Call put-unicode-property-internal where necessary.
10063 put-unicode-property-internal where necessary.
10064 (char-code-property-description):
10065 Call unicode-property-table-internal to load a file.
10066
10067 * international/charprop.el:
10068 * international/uni-bidi.el:
10069 * international/uni-category.el:
10070 * international/uni-combining.el:
10071 * international/uni-comment.el:
10072 * international/uni-decimal.el:
10073 * international/uni-decomposition.el:
10074 * international/uni-digit.el:
10075 * international/uni-lowercase.el:
10076 * international/uni-mirrored.el:
10077 * international/uni-name.el:
10078 * international/uni-numeric.el:
10079 * international/uni-old-name.el:
10080 * international/uni-titlecase.el:
10081 * international/uni-uppercase.el: Regenerate.
10082
10083 * loadup.el: Load international/charprop.el before
10084 international/characters.
10085
100862011-07-07 Chong Yidong <cyd@stupidchicken.com>
10087
10088 * window.el (next-buffer, previous-buffer): Signal an error if
10089 called from a minibuffer window.
10090
10091 * bindings.el: Revert 2011-07-04 change.
10092
100932011-07-06 Richard Stallman <rms@gnu.org>
10094
10095 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10096 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10097 Treat markers like ints.
10098 (rmail-mime-entity): Doc fix.
10099
101002011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10101
10102 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10103 defcustom again for backwards compatibility.
10104
10105 * simple.el (shell-command-on-region): Fill.
10106
10107 * dired-aux.el (dired-kill-line): Add a doc string.
10108
10109 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10110 to "\\sw\\|\\s_" (bug#358).
10111
10112 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10113 (dired-unmark-backward): Ditto.
10114 (dired-flag-backup-files): Ditto.
10115
10116 * dired-x.el (dired-mark-sexp): Ditto.
10117
101182011-07-06 Richard Stallman <rms@gnu.org>
10119
10120 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10121 (rmail-mime-entity): New arg TRUNCATED.
10122 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10123 New functions.
10124 (rmail-mime-save): Warn if entity is truncated.
10125 (rmail-mime-toggle-hidden): Likewise, for showing.
10126 (rmail-mime-process-multipart): Record when an entity is truncated.
10127
10128 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10129 if ENTITY is a string.
10130
101312011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10132
10133 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10134 of faces when `M-C-x'-ing their definitions (bug#8378).
10135 Also clean up the code slightly.
10136
10137 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10138 because that makes the colors go away.
10139
10140 * mail/sendmail.el (send-mail-function): Change the default to
10141 `sendmail-query-once'.
10142 (sendmail-query-once): Add an autoload cookie.
10143
10144 * net/network-stream.el (network-stream-open-starttls): Try using
10145 a plain connection even if the server offered STARTTLS, and we
10146 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10147 capability. This should make smtpmail.el work in slightly more
10148 configurations.
10149
101502011-07-06 Michael Albinus <michael.albinus@gmx.de>
10151
10152 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10153 New defun.
10154 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10155
101562011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10157
10158 * progmodes/sql.el: Version 3.0
10159 (sql-product-alist): Add product :completion-object,
10160 :completion-column, and :statement attributes.
10161 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10162 (sql-mode-syntax-table): Mark all punctuation.
10163 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10164 ansi keywords.
10165 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10166 (sql-mode-oracle-font-lock-keywords): Improve.
10167 (sql-oracle-show-reserved-words): New function for development.
10168 (sql-product-font-lock): Simplify for source code buffers.
10169 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10170 New functions.
10171 (sql-highlight-product): Set product specific syntax table.
10172 (sql-mode-map): Add statement movement functions.
10173 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10174 New variable.
10175 (sql-statement-regexp, sql-beginning-of-statement)
10176 (sql-end-of-statement, sql-signum): New functions.
10177 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10178 (sql-show-sqli-buffer): Bug fix.
10179 (sql-interactive-mode): Store connection data as buffer local.
10180 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10181 with sql-interactive-mode.
10182 (sql-save-connection): Save buffer local settings.
10183 (sql-connection-menu-filter): Change menu entry name.
10184 (sql-product-interactive): Bug fix.
10185 (sql-preoutput-hold): New variable.
10186 (sql-interactive-remove-continuation-prompt): Bug fixes.
10187 (sql-debug-redirect): New variable.
10188 (sql-str-literal): New function.
10189 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10190 Redesign.
10191 (sql-oracle-save-settings, sql-oracle-restore-settings)
10192 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10193 (sql-completion-object, sql-completion-column)
10194 (sql-completion-sqlbuf): New variables.
10195 (sql-build-completions-1, sql-build-completions)
10196 (sql-try-completion): New functions.
10197 (sql-read-table-name): Use them.
10198 (sql-contains-names): New buffer local variable.
10199 (sql-list-all, sql-list-table): Use it.
10200 (sql-oracle-completion-types): New variable.
10201 (sql-oracle-completion-object, sql-sqlite-completion-object)
10202 (sql-postgres-completion-object): New functions.
10203
102042011-07-06 Glenn Morris <rgm@gnu.org>
10205
10206 * window.el (pop-to-buffer): Doc fix.
10207
102082011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
10209
10210 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10211
102122011-07-06 Chong Yidong <cyd@stupidchicken.com>
10213
10214 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10215
10216 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10217
102182011-07-05 Chong Yidong <cyd@stupidchicken.com>
10219
10220 * button.el (button): Inherit from link face. Suggested by Dan
10221 Nicolaescu.
10222
102232011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10224
10225 * progmodes/gdb-mi.el: Fit in 80 columns.
10226 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10227 switch-to-buffer.
10228
10229 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10230 if imenu is simply not configured (bug#8941).
10231
102322011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10233
10234 * allout.el (allout-post-undo-hook): New allout outline-change
10235 event hook to signal undo activity.
10236 (allout-post-command-business): Run allout-post-undo-hook if an
10237 undo just occurred.
10238 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10239 * allout-widgets.el (allout-widgets-after-undo-function):
10240 Ensure the integrity of the current item's decoration after it has been
10241 in the vicinity of an undo.
10242 (allout-widgets-mode): Include allout-widgets-after-undo-function
10243 on the new allout-post-undo-hook.
10244
102452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10246
10247 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10248 Let define-derived-mode define it.
10249 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10250 cycles of abbrev-table inheritance (bug#8998).
10251
102522011-07-05 Roland Winkler <winkler@gnu.org>
10253
10254 * textmodes/bibtex.el: Add support for biblatex.
10255 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10256 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10257 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10258 (bibtex-entry-alist, bibtex-field-alist): New variables.
10259 (bibtex-entry-field-alist): Obsolete alias for
10260 bibtex-BibTeX-entry-alist.
10261 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10262 (bibtex-set-dialect): New command.
10263 (bibtex-entry-type, bibtex-entry-head)
10264 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10265 Bind via bibtex-set-dialect.
10266 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10267 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10268 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10269 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10270 Define via bibtex-set-dialect.
10271 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10272 Obey bibtex-no-opt-remove-re.
10273 (bibtex-vec-push, bibtex-vec-incr): New functions.
10274 (bibtex-format-entry, bibtex-field-list)
10275 (bibtex-print-help-message, bibtex-validate)
10276 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10277
102782011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * progmodes/compile.el (compilation-goto-locus):
10281 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10282 * bs.el (bs-cycle-next, bs-cycle-previous):
10283 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10284 * bindings.el (mode-line-other-buffer):
10285 * autoinsert.el (auto-insert):
10286 * arc-mode.el (archive-extract):
10287 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10288
102892011-07-05 Juanma Barranquero <lekktu@gmail.com>
10290
10291 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10292 Fix check of `emacs-lock-unlockable-modes'.
10293 Coerce true values of `emacs-lock--try-unlocking' to t.
10294
102952011-07-05 Juanma Barranquero <lekktu@gmail.com>
10296
10297 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10298 * emacs-lock.el: New file.
10299
103002011-07-05 Julien Danjou <julien@danjou.info>
10301
10302 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10303 than `boundp' to check if face is set.
10304
103052011-07-05 Juanma Barranquero <lekktu@gmail.com>
10306
10307 * register.el (registerv-make):
10308 * window.el (window-min-height): Fix typos in docstrings.
10309
103102011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10311
10312 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10313 Update doc string.
10314
103152011-07-04 Juanma Barranquero <lekktu@gmail.com>
10316
10317 * server.el (server-execute): Catch quit and call
10318 `server-return-error' to pass the error back to emacsclient and
10319 close the connection (bug#8942).
10320
103212011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10322
10323 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10324 insecure exception for current topic. Also note that auto-saves
10325 are handled differently.
10326
10327 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10328 State variables for tracking auto-save inhibition situation.
10329
10330 (allout-write-contents-hook-handler): Rename from
10331 'allout-write-file-hook-handler', and describe how it depends on
10332 write-contents-functions sensitivity to non-nil value to prevent
10333 file write.
10334
10335 (allout-auto-save-hook-handler): Remove. auto-save does not check
10336 this in individual buffers, only in the starting buffer, so this
10337 is not the right way for us to inhibit auto-save in a buffer
10338 according to its condition.
10339
10340 (allout-mode): Use new allout-write-contents-hook-handler, and
10341 only with write-contents-functions. Remove auto-save provisions -
10342 they're implemented elsewhere.
10343
10344 (allout-before-change-handler): If undo is in progress, note that
10345 for attention of allout-post-command-business.
10346
10347 (allout-post-command-business): If the command we're following was
10348 an undo, check for change in the status of encrypted items and
10349 adjust auto-save inhibitions accordingly.
10350
10351 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10352 according to whether there are or aren't any plain-text topics
10353 pending encryption.
10354
10355 (allout-inhibit-auto-save-info-for-decryption):
10356 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10357 if there are plain-text topics pending encryption.
10358
10359 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10360 buffer-saved-size and some allout state to not inhibit auto-saves
10361 if there are no longer any plain-text topics pending encryption.
10362
10363 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10364 No longer provide for exemption of the current topic.
10365
103662011-07-04 Juri Linkov <juri@jurta.org>
10367
10368 Add 7z operations to delete and save changed members (bug#8968).
10369 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10370 New defcustoms.
10371 (archive-7z-write-file-member): New function.
10372 (archive-7z-summarize): Fix the number of dashes in the
10373 listing output.
10374
103752011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10376
10377 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10378 (bug#8958).
10379
103802011-07-04 Chong Yidong <cyd@stupidchicken.com>
10381
10382 * bindings.el: Ignore next-buffer and previous-buffer in
10383 minibuffer-local-map.
10384
10385 * font-lock.el (font-lock-builtin-face): Change light background
10386 color to dark slate blue (Bug#6693).
10387
103882011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10389
10390 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10391
103922011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10393
10394 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10395 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10396 Add switch-to-buffer.
10397
103982011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10399
10400 * isearch.el (isearch-search-fun-function): Clarify further the
10401 meaning of the function returned.
10402
104032011-07-04 Michael Albinus <michael.albinus@gmx.de>
10404
10405 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10406
10407 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10408 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10409 Use it.
10410 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10411 `tramp-default-remote-path' does not exist.
10412 (tramp-send-command-and-read): New optional argument NOERROR.
10413 (tramp-open-connection-setup-interactive-shell)
10414 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10415 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10416 (tramp-process-sentinel): Flush also process' connection property.
10417 (tramp-sh-handle-start-file-process): Do not set process
10418 sentinel. It is done now ...
10419 (tramp-maybe-open-connection): ... here. (Bug#8929)
10420
104212011-07-04 MON KEY <monkey@sandpframing.com>
10422
10423 * play/animate.el (animate-string): Doc fixes and allow changing
10424 the buffer name (bug#5417).
10425
104262011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10427
10428 * play/animate.el (animation-buffer-name): Rename from *animate*.
10429
104302011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10431
10432 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10433 This is simpler and helps future-proof the code.
10434 (timer-until): Use time-subtract and float-time.
10435 (timer--time-less-p): Use time-less-p.
10436
104372011-07-04 Juanma Barranquero <lekktu@gmail.com>
10438
10439 * type-break.el (timep): Use the value of `float-time' to avoid a
10440 byte-compiler warning.
10441
10442 * server.el (server-eval-and-print): Return any result, even nil.
10443
104442011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10445
10446 * type-break.el: Accept time formats that the builtins accept.
10447 (timep, type-break-time-difference): Accept any format that
10448 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10449 This is simpler and helps future-proof the code.
10450 (type-break-time-difference): Round rather than ignoring
10451 subseconds components.
10452
104532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10454
10455 * info.el (Info-apropos-matches): Make non-interactive, since it
10456 doesn't seem to do anything useful as a command (bug#8829).
10457
104582011-07-03 Chong Yidong <cyd@stupidchicken.com>
10459
10460 * frame.el (frame-background-mode, frame-set-background-mode):
10461 Move from faces.el.
10462 (frame-default-terminal-background): New function.
10463
10464 * custom.el (custom-push-theme): Don't record faces in `changed'
10465 theme; this doesn't work correctly for per-frame face settings.
10466 (disable-theme): Use face-set-after-frame-default to reset faces.
10467 (custom--frame-color-default): New function.
10468
104692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10470
10471 * dired.el (dired-flagging-regexp): Remove unused variable
10472 (bug#8769).
10473
104742011-03-29 Kevin Ryde <user42@zip.com.au>
10475
10476 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10477 `perl-Test2' extend to match possible "fail #N" rep count
10478 (bug#8377).
10479
104802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10481
10482 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10483 `smtpmail-via-smtp' now returns the error instead of nil.
10484
10485 * isearch.el (isearch-search-fun-function): Clarify the doc string
10486 (bug#8101).
10487
104882011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10489
10490 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10491 unnecessary spaces (bug#8987).
10492
104932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10494
10495 * net/network-stream.el (open-network-stream): Use the
10496 :end-of-capability command thoughout.
10497
104982011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10499
10500 * net/network-stream.el (open-network-stream): Add the
10501 :end-of-capability command parameter, used by pop3.el.
10502
105032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10504
10505 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10506
10507 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10508 for list)" (bug#6475).
10509
10510 * files.el (file-expand-wildcards): Ignore non-readable
10511 sub-directories while trying to find matches instead of signaling
10512 an error (bug#6297).
10513
10514 * man.el (Man-reference-regexp): Allow matching possible
10515 word-wrapped references (bug#6289).
10516
10517 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10518 for consistency with the other vc buffers (bug#6197).
10519 (vc-checkin): Ditto.
10520
10521 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10522
10523 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10524
105252011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10526
10527 * custom.el (defcustom): Clarify that :set is only used in the
10528 Customize user interface (bug#6089).
10529
10530 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10531 associated with a file, refuse to run instead of erroring out
10532 (bug#6084).
10533
10534 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10535 the doc string, since it appears that using `fill-column' always
10536 controls the width (bug#7845).
10537
10538 * simple.el (shell-command-on-region): Say where the error output
10539 went if `shell-command-default-error-buffer' is set (bug#6857).
10540
105412011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10542
10543 * allout.el (allout-yank-processing): Adjust cursor position for
10544 backwards-deleted space.
10545
10546 (allout-rebullet-heading): Register changes with
10547 allout-exposure-changed-hook, so the modified topic is properly
10548 decorated.
10549
105502011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10551
10552 * minibuffer.el (completion-in-region): Document PREDICATE
10553 (bug#7136).
10554
10555 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10556 of keyword/argument pairs (bug#6904).
10557
10558 * replace.el (multi-occur):
10559 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10560
105612011-07-02 Drew Adams <drew.adams@oracle.com>
10562
10563 * dired.el (dired-mark-if): Make the message about whether it's
10564 marking or unmarking clearer (bug#8523).
10565
105662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10567
10568 * disp-table.el (display-table-print-array): New function.
10569 (describe-display-table): Use it to print the vectors more pretty
10570 (Bug#8859).
10571
105722011-07-02 Martin Rudalics <rudalics@gmx.at>
10573
10574 * window.el (window-state-get-1): Don't assign clone numbers.
10575 Add clone-of item to list of window parameters.
10576 (window-state-put-2): Don't process clone numbers.
10577 (display-buffer-alist): Fix doc-string.
10578
105792011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * subr.el (remq): Don't allocate if it's not needed.
10582 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10583 (keymap--merge-bindings): New functions.
10584 (keymap-canonicalize): Use them to refine the canonicalization.
10585 * minibuffer.el (minibuffer-local-completion-map)
10586 (minibuffer-local-must-match-map): Move initialization from C.
10587 (minibuffer-local-filename-completion-map): Move initialization from C;
10588 don't inherit from anything here.
10589 (minibuffer-local-filename-must-match-map): Make obsolete.
10590 (completing-read-default): Use make-composed-keymap to combine
10591 minibuffer-local-filename-completion-map with either
10592 minibuffer-local-must-match-map or
10593 minibuffer-local-filename-completion-map.
10594
105952011-07-01 Glenn Morris <rgm@gnu.org>
10596
10597 * type-break.el (type-break-time-sum): Use dolist.
10598
10599 * textmodes/flyspell.el (flyspell-word-search-backward):
10600 Replace CL function.
10601
106022011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * mouse.el (mouse--strip-first-event): New function.
10605 (function-key-map): Use it to map fringe clicks to normal clicks
10606 by default.
10607
10608 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10609 (vc-bzr-revision-completion-table): Add support for annotate and date.
10610
10611 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10612 inherit from parent.
10613
106142011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10615
10616 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10617 (dired-show-file-type): Doc fixup (bug#8818).
10618
10619 * dired.el (dired-mode): Fix up the doc string as suggested by
10620 Drew Adams (bug#8817).
10621
10622 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10623 cookie, since the manual says that it should be possible to add
10624 this function to `find-file-hook' (bug#8709).
10625
106262011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10627
10628 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10629 here. Noted Ted Zlatanov as the maintainer.
10630 (cfengine-common-settings, cfengine-common-syntax): New functions
10631 to set up common things between `cfengine-mode' and
10632 `cfengine3-mode'.
10633 (cfengine3-mode): New mode.
10634 (cfengine3-defuns cfengine3-defuns-regex
10635 (cfengine3-class-selector-regex cfengine3-category-regex)
10636 (cfengine3-vartypes cfengine3-font-lock-keywords)
10637 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10638 (cfengine3-indent-line): Add from cfengine3.el.
10639
106402011-07-01 Michael Albinus <michael.albinus@gmx.de>
10641
10642 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10643
10644 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10645
106462011-07-01 Martin Rudalics <rudalics@gmx.at>
10647
10648 * window.el (same-window-buffer-names, same-window-regexps)
10649 (same-window-p, special-display-frame-alist)
10650 (special-display-popup-frame, special-display-function)
10651 (special-display-buffer-names, special-display-regexps)
10652 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10653 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10654 (split-window-preferred-function, split-height-threshold)
10655 (split-width-threshold, even-window-heights)
10656 (display-buffer-mark-dedicated, window-splittable-p)
10657 (split-window-sensibly, window-safely-shrinkable-p):
10658 Un-obsolete.
10659 (display-buffer): Don't spread args with function specifier
10660 because special-display-popup-frame won't like it.
10661
106622011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10663
10664 Time-stamp simplifications and fixes.
10665 These improve accuracy slightly, and future-proof the code
10666 against some potential changes to current-time format.
10667
10668 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10669 by using time-since and float-time.
10670
10671 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10672 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10673 + NNN microseconds".
10674
10675 * type-break.el (type-break-time-sum): Rewrite using time-add.
10676
10677 * play/hanoi.el (hanoi-current-time-float): Remove.
10678 All uses replaced by float-time.
10679
10680 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10681 This yields a more-accurate answer.
10682 (rng-time-to-float): Remove; no longer needed.
10683
10684 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10685
10686 * calendar/timeclock.el (timeclock-seconds-to-time):
10687 Defalias to seconds-to-time, since they're the same thing.
10688
10689 * emacs-lisp/elp.el (elp-elapsed-time):
10690 * emacs-lisp/benchmark.el (benchmark-elapse):
10691 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10692
106932011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10694
10695 * window.el (bury-buffer): Don't iconify the only frame.
10696 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10697 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10698
106992011-07-01 Chong Yidong <cyd@stupidchicken.com>
10700
10701 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10702 Add mouse-yank-primary.
10703
107042011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10705
10706 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10707
107082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10709
10710 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10711 (find-library-name): Use it to find relative load names when provided
10712 absolute file name (bug#8803).
10713
107142011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10715
10716 * textmodes/flyspell.el (flyspell-word): Consider words that
10717 differ only in case as potential doublons (bug#5687).
10718
10719 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10720 Remove two rather uninteresting debugging-like messages to make
10721 debbugs.el more silent.
10722
10723 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10724 a password-like phrase.
10725
107262011-06-30 Masatake YAMATO <yamato@redhat.com>
10727
10728 * progmodes/cc-guess.el: New file.
10729
10730 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10731
10732 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10733 derived from `c-basic-common-init'.
10734
10735 * progmodes/cc-mode.el (top-level): Require cc-guess.
10736 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10737
107382011-06-30 Lawrence Mitchell <wence@gmx.li>
10739
10740 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10741
107422011-06-30 Alan Mackenzie <acm@muc.de>
10743
10744 * progmodes/cc-engine.el (c-guess-continued-construct):
10745 Correct the handling of template-args-cont, particularly for when font
10746 lock is disabled. Name this case as "CASE G".
10747
107482011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10749
10750 * allout.el (allout-yank-processing): Fix injection of extra space
10751 between bullet and non-whitespace character in first topic when
10752 pasting, ensuring that the actual spacing in the pasted topic
10753 following the bullet char is preserved. This extra space was
10754 causing pasted encrypted topics to get a decrypted status even
10755 when the content was actually still encrypted. Now the decryption
10756 status from before the paste is preserved.
10757
10758 (allout-flag-region): Set all allout overlays so they evaporate
10759 when reduced to zero length (evanescent), to prevent overlay
10760 leakage.
10761
107622011-06-30 Glenn Morris <rgm@gnu.org>
10763
10764 * w32-fns.el (w32-charset-info-alist): Declare.
10765
10766 * find-dired.el (find-grep-options): Simplify.
10767
10768 * term/ns-win.el (ns-set-resource): Declare.
10769
10770 * ses.el (row, col): Declare dynamic variables honestly.
10771
10772 * textmodes/reftex-parse.el (index-tags): Declare.
10773
107742011-06-30 Chong Yidong <cyd@stupidchicken.com>
10775
10776 * cus-edit.el (customize-push-and-save): New function.
10777
10778 * files.el (hack-local-variables-confirm): Use it.
10779
10780 * custom.el (load-theme): New arg NO-CONFIRM.
10781 Use customize-push-and-save (Bug#8720).
10782 (custom-enabled-themes): Doc fix.
10783
10784 * cus-theme.el (customize-create-theme)
10785 (custom-theme-merge-theme): Callers to load-theme changed.
10786
107872011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10788
10789 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10790 short URLs have at least one dot in them (bug #7614).
10791
10792 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10793 nil, because using a pty is apparently too slow (bug #895).
10794
107952011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10796
10797 * mail/sendmail.el (sendmail-query-once): New function.
10798 (sendmail-query-once-function): New variable.
10799
108002011-06-29 Glenn Morris <rgm@gnu.org>
10801
10802 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10803
10804 * ses.el (top-level): Require cl when compiling.
10805 (ses-set-localvars): Fix error statement.
10806 Call it at compile time to silence a storm of warnings.
10807
108082011-06-29 Martin Rudalics <rudalics@gmx.at>
10809
10810 * window.el (normalize-live-buffer): Rename to
10811 window-normalize-buffer.
10812 (normalize-live-frame): Rename to window-normalize-frame.
10813 (normalize-any-window): Rename to window-normalize-any-window.
10814 (normalize-live-window): Rename to window-normalize-live-window.
10815 (make-window-atom): Rename to window-make-atom.
10816 (window-resize-reset): Rename to window--resize-reset.
10817 (window-resize-reset-1): Rename to window--resize-reset-1.
10818 (resize-mini-window): Rename to window--resize-mini-window.
10819 (resize-subwindows-skip-p): Rename to
10820 window--resize-subwindows-skip-p.
10821 (resize-subwindows-normal): Rename to
10822 window--resize-subwindows-normal.
10823 (resize-subwindows): Rename to window--resize-subwindows.
10824 (resize-other-windows): Rename to window--resize-siblings.
10825 (resize-this-window): Rename to window--resize-this-window.
10826 (resize-root-window): Rename to window--resize-root-window.
10827 (resize-root-window-vertically): Rename to
10828 window--resize-root-window-vertically.
10829 (normalize-buffer-to-display): Rename to
10830 window-normalize-buffer-to-display.
10831 (normalize-buffer-to-switch-to): Rename to
10832 window-normalize-buffer-to-switch-to.
10833 Correspondingly update all callers of the functions listed
10834 above.
10835 (display-buffer-alist, display-buffer-normalize-arguments)
10836 (display-buffer-normalize-options, display-buffer)
10837 (display-buffer-alist-set): Use "function" instead of
10838 "fun-with-args".
10839
108402011-06-28 Chong Yidong <cyd@stupidchicken.com>
10841
10842 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10843 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10844 debbugs.gnu.org. Mention acknowledgment email.
10845
108462011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10847
10848 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10849 buffer multibyteness, since it shouldn't matter.
10850
108512011-06-28 Martin Rudalics <rudalics@gmx.at>
10852
10853 * window.el (display-buffer-in-side-window): Handle dedicated
10854 windows as in display-buffer-reuse-window.
10855 (display-buffer-normalize-alist): Use value of override
10856 specifier.
10857 (display-buffer-normalize-specifiers): Use value of
10858 other-window-means-other-frame specifier.
10859 (display-buffer-alist): Rewrite some texts in widgets.
10860 (display-buffer): Spread arguments when calling function
10861 specified by fun-with-args.
10862
108632011-06-28 Deniz Dogan <deniz@dogan.se>
10864
10865 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10866 Unnest `let'.
10867
10868 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10869 selectors (Bug#5732).
10870 (css-proprietary-nmstart-re): Use `regexp-opt'.
10871
108722011-06-27 Jari Aalto <jari.aalto@cante.net>
10873
10874 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10875 (eshell-ls-date-format): New defcustom.
10876 (eshell-ls-file): Use it.
10877
108782011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10879
10880 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10881
108822011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10883
10884 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10885 (ange-ftp-make-tmp-name): New arg.
10886 (ange-ftp-file-local-copy): Use it.
10887
108882011-06-27 Jambunathan K <kjambunathan@gmail.com>
10889
10890 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10891 no-conversion (Bug#8870).
10892
108932011-06-27 Martin Rudalics <rudalics@gmx.at>
10894
10895 * window.el (window-right, window-left, window-child)
10896 (window-child-count, window-last-child)
10897 (window-iso-combination-p, walk-window-tree-1)
10898 (window-atom-check-1, window-tree-1, delete-window)
10899 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10900 new naming conventions - window-vchild, window-hchild,
10901 window-next and window-prev are now called window-top-child,
10902 window-left-child, window-next-sibling and window-prev-sibling
10903 respectively.
10904 (resize-window-reset): Rename to window-resize-reset.
10905 (resize-window-reset-1): Rename to window-resize-reset-1.
10906 (resize-window): Rename to window-resize.
10907 (window-min-height, window-min-width)
10908 (resize-mini-window, resize-this-window, resize-root-window)
10909 (resize-root-window-vertically, adjust-window-trailing-edge)
10910 (enlarge-window, shrink-window, maximize-window)
10911 (minimize-window, delete-window, quit-restore-window)
10912 (split-window, balance-windows, balance-windows-area-adjust)
10913 (balance-windows-area, window-state-put-2)
10914 (display-buffer-even-window-sizes, display-buffer-set-height)
10915 (display-buffer-set-width, set-window-text-height)
10916 (fit-window-to-buffer): Rename all "resize-window" prefixed
10917 calls to use the "window-resize" prefix convention.
10918 (display-buffer-alist): Fix symbol for label specifier.
10919 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10920 corresponding specifier.
10921 Reported by Juanma Barranquero <lekktu@gmail.com>.
10922
109232011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10924
10925 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10926 convention.
10927 (ses-call-printer): Does not pass an empty string to formatter when the
10928 cell is empty to keep from barking printer Calc math-format-value.
10929
109302011-06-27 Richard Stallman <rms@gnu.org>
10931
10932 * battery.el (battery-mode-line-limit): New variable.
10933 (battery-update): Handle it.
10934
10935 * mail/rmailmm.el (rmail-mime-process-multipart):
10936 Handle truncated messages.
10937
109382011-06-27 Glenn Morris <rgm@gnu.org>
10939
10940 * progmodes/flymake.el (flymake-err-line-patterns):
10941 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10942
109432011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10944
10945 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10946 (ses--clean-!, ses--clean-_): New functions.
10947 (ses-range): Add configurability of readout order, and conversion
10948 to Calc vector.
10949
10950 * ses.el (ses-repair-cell-reference-all): New function.
10951 (ses-cell-symbol): Set macro as safe, so that it can be used in
10952 formulas.
10953
10954 * ses.el: Update cycle detection algorithm.
10955 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10956 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10957 (ses-set-localvars): New function.
10958 (ses-make-cell): Add property-list as a cell element.
10959 (ses-cell-property-get-fun, ses-cell-property-get)
10960 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10961 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10962 New functions.
10963 (ses-cell-property-set, ses-cell-property-pop)
10964 (ses-cell-property-get-handle): New macro.
10965 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10966 New aliases, used for code readability.
10967 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10968 cycle detection.
10969 (ses-self-reference-early-detection): New defcustom.
10970 (ses-formula-references): Robustify against self-referring cells.
10971 (ses-mode): Use ses-set-localvars.
10972 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10973 before lauching the update processing.
10974 (ses-initialize-Dijkstra-attempt): New function.
10975 (ses-recalculate-cell): Update for cycle detection based on
10976 Dijkstra algorithm.
10977
10978 * ses.el: Fix commenting and indenting convention.
10979
109802011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 * bs.el (bs-cycle-next): Complete last change.
10983
109842011-06-27 Drew Adams <drew.adams@oracle.com>
10985
10986 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10987
109882011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10989
10990 * net/network-stream.el (network-stream-open-starttls):
10991 Don't re-get capabilities unless we've reestablished connection.
10992 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10993
10994 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10995 to binary to possibly avoid line encoding issues on Windows (among
10996 other things).
10997
109982011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10999
11000 * net/network-stream.el (open-network-stream): Return an :error
11001 saying what the problem was, if possible.
11002
11003 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11004 server.
11005
11006 * net/network-stream.el (network-stream-open-starttls): If we
11007 wanted to use STARTTLS, and the server offered it, but we weren't
11008 able to because we had no STARTTLS support, then close the connection.
11009 (open-network-stream): Return an :error element, if present.
11010
110112011-06-26 Chong Yidong <cyd@stupidchicken.com>
11012
11013 * hl-line.el (hl-line-sticky-flag): Doc fix.
11014 (global-hl-line-sticky-flag): New option (Bug#8323).
11015 (global-hl-line-highlight): Obey it.
11016
11017 * vc/vc.el (vc-revert-show-diff): Default to t.
11018
110192011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11020
11021 * allout-widgets.el (allout-widgets-post-command-business):
11022 Stop decorating intermediate isearch matches. They're not being
11023 undecorated when an isearch is continued past, and isearch
11024 automatically collapses them. This leads to "widget leaks", where
11025 decorated items accumulate in collapsed areas. Lines with lots of
11026 hidden widgets can slow down cursor travel, substantially.
11027 Too much complicated machinery would be needed to ensure undecoration,
11028 so we're doing without this nicety.
11029
11030 (allout-widgets-tally-string): Don't try to do a hash-table-count
11031 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11032 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11033 *Messages* when allout-widgets-maintain-tally is t.
11034
110352011-06-26 Martin Rudalics <rudalics@gmx.at>
11036
11037 * window.el (display-buffer-normalize-argument): Rename to
11038 display-buffer-normalize-arguments. Handle special meaning of
11039 LABEL argument. Respect special-display-function when popping up
11040 a new frame. Fix code searching for a window showing the buffer
11041 on another frame.
11042 (display-buffer-normalize-specifiers):
11043 Call display-buffer-normalize-arguments.
11044 (display-buffer-in-window): Don't undedicate the window if its
11045 buffer remains the same.
11046 Reported by Drew Adams <drew.adams@oracle.com>.
11047 (display-buffer-alist): Add choice for same-window macro
11048 specfier.
11049 (display-buffer): Mention special meaning of LABEL argument in
11050 doc-string. Fix quoting. Don't pop up a new frame even as
11051 fallback.
11052
110532011-06-26 Juanma Barranquero <lekktu@gmail.com>
11054
11055 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11056 avoid deleting the current window in some cases (bug#8911).
11057
110582011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11059
11060 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11061 (Bug#8934)
11062
110632011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11064
11065 * net/network-stream.el (network-stream-open-starttls):
11066 Use built-in TLS support if `gnutls-available-p' is true.
11067 (network-stream-open-tls): Ditto.
11068
110692011-06-26 Leo Liu <sdl.web@gmail.com>
11070
11071 * register.el (registerv): New struct.
11072 (registerv-make): New function.
11073 (jump-to-register, describe-register-1, insert-register):
11074 Support the jump-func, print-func and insert-func slot of a registerv
11075 struct. (Bug#8415)
11076
110772011-06-26 Chong Yidong <cyd@stupidchicken.com>
11078
11079 * vc/vc.el (vc-revert-show-diff): New defcustom.
11080 (vc-diff-internal): New arg specifying diff buffer.
11081 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11082 reuse an existing *vc-diff* buffer (Bug#8927).
11083
11084 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11085
110862011-06-26 Glenn Morris <rgm@gnu.org>
11087
11088 * progmodes/f90.el (f90-critical-indent): New option.
11089 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11090 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11091 (f90-mode): Doc fix.
11092 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11093 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11094 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11095 (f90-match-end): Handle block, critical.
11096
110972011-06-25 Glenn Morris <rgm@gnu.org>
11098
11099 * calendar/diary-lib.el (diary-included-files): Doc fix.
11100 (diary-include-files): New function, extracted from
11101 diary-include-other-diary-files and diary-mark-included-diary-files.
11102 (diary-include-other-diary-files, diary-mark-included-diary-files):
11103 Just call diary-include-files.
11104 (diary-mark-entries): Reset diary-included-files on first call.
11105
11106 * calendar/diary-lib.el (diary-mark-entries)
11107 (diary-mark-included-diary-files):
11108 Visit included diary-files in temp buffers.
11109
11110 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11111 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11112 (f90-start-block-re, f90-imenu-generic-expression)
11113 (f90-looking-at-program-block-start, f90-no-block-limit):
11114 Add support for submodules.
11115
11116 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11117 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11118
111192011-06-25 Eli Zaretskii <eliz@gnu.org>
11120
11121 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11122 buffer-file-type before setting its value, to avoid disastrous
11123 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11124
111252011-06-25 Juanma Barranquero <lekktu@gmail.com>
11126
11127 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11128
11129 * ses.el (ses-unload-function):
11130 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11131
11132 * proced.el (proced-unload-function):
11133 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11134
111352011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11136
11137 * server.el (server-create-window-system-frame): Add parameters arg.
11138 (server-process-filter): Doc fix. Handle frame-parameters.
11139
111402011-06-25 Juanma Barranquero <lekktu@gmail.com>
11141
11142 Fix bug#8730, bug#8781.
11143
11144 * loadhist.el (unload--set-major-mode): New function.
11145 (unload-feature): Use it.
11146
11147 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11148 (python-unload-function): New function.
11149
111502011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11151
11152 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11153
111542011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11155
11156 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11157 the candidates list.
11158
111592011-06-24 Juanma Barranquero <lekktu@gmail.com>
11160
11161 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11162
111632011-06-23 Richard Stallman <rms@gnu.org>
11164
11165 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11166 (rmail-variables): Set next-error-move-function.
11167 (rmail-what-message): Take argument POS.
11168 (rmail-next-error-move): New function.
11169
111702011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11173 messages for adjacent non-terminals.
11174
111752011-06-23 Richard Stallman <rms@gnu.org>
11176
11177 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11178 (rmail-show-message-1): Preserve buffer modified flag.
11179 (rmail-start-mail): Don't specify use of rmail-mail-return;
11180 that's done by mail-bury now.
11181 (rmail-mail-return): Handle arg NEWBUF.
11182
111832011-06-23 Michael Albinus <michael.albinus@gmx.de>
11184
11185 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11186 SIZE is a number.
11187
111882011-06-23 Martin Rudalics <rudalics@gmx.at>
11189
11190 * window.el (get-lru-window, get-mru-window)
11191 (get-largest-window): Never return a minibuffer window.
11192 (display-buffer-pop-up-window): Fix a bug that could lead to
11193 reusing the minibuffer window.
11194 (display-buffer): Pass original specifier argument to
11195 display-buffer-function instead of the normalized one.
11196 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11197
111982011-06-22 Leo Liu <sdl.web@gmail.com>
11199
11200 * minibuffer.el (completing-read-function)
11201 (completing-read-default): Move from minibuf.c
11202
112032011-06-22 Richard Stallman <rms@gnu.org>
11204
11205 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11206 to Rmail even if not started by a special Rmail command.
11207
11208 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11209 Copy the buffer currently showing just one message.
11210
112112011-06-22 Roland Winkler <winkler@gnu.org>
11212
11213 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11214 (bibtex-clean-entry): First delete the old key so that a
11215 customized algorithm for generating the new key does not get
11216 confused by the old key.
11217 (bibtex-url): Obey regexp of first step.
11218 (bibtex-search-entries): Do not use add-to-list with local
11219 list-var.
11220
112212011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11222
11223 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11224 stored a user name, then query for the password first, instead of
11225 waiting for SMTP to give an error message and the trying again.
11226
112272011-06-22 Lawrence Mitchell <wence@gmx.li>
11228
11229 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11230 BUFFER in call-process.
11231
112322011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11233
11234 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11235 QUIT twice.
11236 (smtpmail-try-auth-methods): Require user name and password from
11237 auth-source.
11238
112392011-06-22 Martin Rudalics <rudalics@gmx.at>
11240
11241 * window.el (display-buffer-default-specifiers)
11242 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11243 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11244 (split-window): Normalize SIDE argument (Bug#8916).
11245
11246 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11247 (special-display-frame-alist, special-display-popup-frame):
11248 Remove duplicate declarations. These are now in window.el.
11249
112502011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11251
11252 * mail/smtpmail.el (smtpmail-via-smtp):
11253 Set :use-starttls-if-possible so that we always use STARTTLS if the
11254 server supports it. SMTP servers that support STARTTLS commonly
11255 require it.
11256
11257 * net/network-stream.el (network-stream-open-starttls): Support
11258 upgrading to STARTTLS always, even if we don't have built-in support.
11259 (open-network-stream): Add the :always-query-capabilities keyword.
11260
11261 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11262 upgrades with `open-network-stream', and rely solely on
11263 auth-source for all credentials. Big changes throughout the file,
11264 but in particular:
11265 (smtpmail-auth-credentials): Remove.
11266 (smtpmail-starttls-credentials): Remove.
11267 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11268 MAIL FROM, too.
11269
11270 * net/network-stream.el (network-stream-open-starttls):
11271 Provide support for client certificates both for external and built-in
11272 STARTTLS.
11273 (auth-source): Require.
11274 (open-network-stream): Document the :client-certificate keyword.
11275 (network-stream-certificate): Change cert-cert to cert and
11276 cert-key to key.
11277
112782011-06-21 Michael Albinus <michael.albinus@gmx.de>
11279
11280 * net/tramp-cache.el (top): Don't load the persistency file when
11281 "emacs -Q" has been called.
11282
112832011-06-21 Tim Harper <timcharper@gmail.com>
11284
11285 * term/ns-win.el (ns-initialize-window-system):
11286 Set application-specific `ApplePressAndHoldEnabled' system
11287 resource to NO as it is not yet supported by the NS port.
11288
112892011-06-21 Juanma Barranquero <lekktu@gmail.com>
11290
11291 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11292 (list-dynamic-libraries): ...not here.
11293
112942011-06-21 Leo Liu <sdl.web@gmail.com>
11295
11296 * subr.el (sha1): Implement sha1 using secure-hash.
11297
112982011-06-21 Martin Rudalics <rudalics@gmx.at>
11299
11300 * window.el (display-buffer-alist): In default value do not
11301 enforce searching a window on any but the selected frame.
11302 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11303 (display-buffer-select-window): Remove function.
11304 (display-buffer-in-window): When a window on another frame gets
11305 reused, do not select it any more but just raise its frame if
11306 necessary (Bug#8851) and (Bug#8856).
11307 (display-buffer-normalize-options): Handle pop-up-frames related
11308 options more faithfully.
11309 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11310 window if it is on another frame.
11311 (display-buffer-alist, display-buffer-default-specifiers):
11312 Don't make new frame unsplittable by default.
11313 (display-buffer-normalize-argument): Fix doc-string typo and use
11314 'same-frame-other-window instead of 'other-window when associating
11315 with display-buffer-macro-specifiers.
11316
113172011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11318
11319 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11320 New functions.
11321 (5x5-mode-map, 5x5-mode-menu): Bind them.
11322 (5x5-draw-grid): Tweak the solver's rendering.
11323
113242011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11325
11326 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11327 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11328
113292011-06-21 Drew Adams <drew.adams@oracle.com>
11330
11331 * menu-bar.el: Use function variable instead of switch-to-buffer.
11332 (menu-bar-select-buffer-function): New variable.
11333 (menu-bar-update-buffers): Use it (bug#8876).
11334
113352011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11336
11337 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11338 variable's status.
11339
113402011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11341
11342 * x-dnd.el (x-dnd-version-from-flags)
11343 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11344 and long as number (Bug#8899).
11345 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11346
113472011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11348
11349 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11350 (completion-try-completion, completion-all-completions): Compute the
11351 metadata argument if it's missing; make it optional (bug#8795).
11352
11353 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11354 (widget-complete): Use new :completion-function property.
11355 (widget-completions-at-point): New function.
11356 (default): Use :completion-function instead of :complete.
11357 (widget-default-completions): Rename from widget-default-complete;
11358 Rewrite.
11359 (widget-string-complete, widget-file-complete, widget-color-complete):
11360 Remove functions.
11361 (file, symbol, function, variable, coding-system, color):
11362 * international/mule-cmds.el (default-input-method, charset)
11363 (language-info-custom-alist):
11364 * cus-edit.el (face): Use new property :completions.
11365
11366 * progmodes/pascal.el (pascal-completions-at-point): New function.
11367 (pascal-mode): Use it.
11368 (pascal-mode-map): Use completion-at-point.
11369 (pascal-toggle-completions): Make obsolete.
11370 (pascal-complete-word, pascal-show-completions):
11371 * progmodes/octave-mod.el (octave-complete-symbol):
11372 Redefine as obsolete alias.
11373 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11374 Signal absence of completion info for old Octave,
11375 (inferior-octave-complete): Redefine as obsolete alias.
11376 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11377 (meta-completions-at-point): Rename from meta-complete-symbol and
11378 adapt it for use on completion-at-point-functions.
11379 (meta-common-mode): Use it.
11380 (meta-looking-at-backward, meta-match-buffer): Remove.
11381 (meta-complete-symbol): Redefine as obsolete alias.
11382 (meta-common-mode-map): Use completion-at-point.
11383 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11384 (makefile-mode-map): Use completion-at-point.
11385 (makefile-completions-at-point): Rename from makefile-complete and
11386 adapt it for use on completion-at-point-functions.
11387 (makefile-mode): Use it.
11388 (makefile-complete): Redefine as obsolete alias.
11389
113902011-06-20 Deniz Dogan <deniz@dogan.se>
11391
11392 * net/rcirc.el: Delete trailing whitespaces once and for all.
11393
113942011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11395
11396 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11397
113982011-06-19 Chong Yidong <cyd@stupidchicken.com>
11399
11400 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11401
11402 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11403
114042011-06-19 Martin Rudalics <rudalics@gmx.at>
11405
11406 * window.el (display-buffer-other-window-means-other-frame):
11407 Call display-buffer-normalize-alist.
11408 (display-buffer-normalize-specifiers-1): Rename to
11409 display-buffer-normalize-argument. New argument other-frame.
11410 Rewrite.
11411 (display-buffer-normalize-specifiers-2): Rename to
11412 display-buffer-normalize-options.
11413 (display-buffer-normalize-alist-1): New function.
11414 (display-buffer-normalize-specifiers-3): Rename to
11415 display-buffer-normalize-alist.
11416 Call display-buffer-normalize-alist-1.
11417 (display-buffer-normalize-options-inhibit): New variable.
11418 (display-buffer-normalize-specifiers): Rewrite calling
11419 display-buffer-normalize-alist,
11420 display-buffer-normalize-argument, and
11421 display-buffer-normalize-options. Don't call the latter if
11422 display-buffer-normalize-options-inhibit is non-nil.
11423 (frame-auto-delete): New option.
11424 (window-deletable-p): Use frame-auto-delete.
11425 (window-list-no-nils, window-state-ignored-parameters)
11426 (window-state-get-1, window-state-get, window-state-put-list)
11427 (window-state-put-1, window-state-put-2, window-state-put):
11428 New functions.
11429 (display-buffer-normalize-options): Move special-display-p group
11430 after pop-up-frame group (Bug#8851) and (Bug#8856).
11431
114322011-06-18 Chong Yidong <cyd@stupidchicken.com>
11433
11434 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11435 groups (Bug#8776).
11436 (rx-submatch-n): New function.
11437 (rx): Document it.
11438
11439 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11440 (Bug#8768).
11441
11442 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11443
11444 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11445
11446 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11447 anytime existing face settings are present (Bug#8889).
11448
11449 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11450 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11451 Remove unused argument.
11452
114532011-06-18 Martin Rudalics <rudalics@gmx.at>
11454
11455 * window.el (display-buffer-default-specifiers):
11456 Remove pop-up-frame. Add pop-up-window-min-height,
11457 pop-up-window-min-width, and another reuse-window specifier
11458 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11459 (display-buffer-normalize-specifiers-2):
11460 Handle split-height-threshold and split-width-threshold also when
11461 pop-up-windows is unset. Add a reuse-window specifier for the
11462 case popping up a new window fails.
11463 (special-display-popup-frame): Remove double quoting.
11464 (display-buffer-normalize-specifiers-1): Fix thinko.
11465
114662011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11469 according to comint-completion-addsuffix.
11470
11471 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11472 (pcomplete-suffix-list): Mark as obsolete.
11473 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11474 pcomplete-seen in the closure.
11475 (pcomplete-comint-setup): Setup completion-at-point as well.
11476 (pcomplete--entries): New function.
11477 (pcomplete--env-regexp): New var.
11478 (pcomplete-entries): Rewrite to work with partial-completion and
11479 without relying on pcomplete-suffix-list.
11480 (pcomplete-pare-list): Remove, unused.
11481
114822011-06-17 Martin Rudalics <rudalics@gmx.at>
11483
11484 * window.el (display-buffer-alist): Set pop-up-window-min-height
11485 and pop-up-window-min-width in default value. Reported by
11486 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11487 other-window-means-other-frame.
11488 (display-buffer-macro-specifiers): Comment out entry for
11489 other-window specifier.
11490 (display-buffer-other-window-means-other-frame): New function.
11491 (display-buffer-normalize-specifiers-1): New arguments
11492 buffer-name and label. Treat other-window case specially.
11493 (display-buffer-normalize-specifiers-2): Treat other-window case
11494 specially.
11495 (display-buffer-normalize-specifiers-3): New function.
11496 (display-buffer-normalize-specifiers):
11497 Call display-buffer-normalize-specifiers-3.
11498
114992011-06-17 Martin Rudalics <rudalics@gmx.at>
11500
11501 * window.el (same-window-p): Fix two typos introduced when
11502 adding with-no-warnings.
11503 (display-buffer-normalize-specifiers-1): Don't check
11504 pop-up-frames for 'unset initialization.
11505 (display-buffer-normalize-specifiers-2): Major rewrite using
11506 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11507 (pop-up-frames, display-buffer-reuse-frames)
11508 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11509 Suggested by David Engster <deng@randomsample.de>.
11510 (even-window-heights): Initialize to 'unset.
11511 (display-buffer-alist-set): Handle new 'unset initializations.
11512 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11513 other window case.
11514
115152011-06-16 Martin Rudalics <rudalics@gmx.at>
11516
11517 * window.el (display-buffer-normalize-specifiers-1):
11518 Respect current value of pop-up-frames for most reasonable values of
11519 second argument of display-buffer (Bug#8865).
11520 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11521 (switch-to-buffer-other-window-same-frame)
11522 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11523 Adams (Bug#8875).
11524 (display-buffer): Don't check noninteractive when calling
11525 display-buffer-pop-up-frame.
11526 (display-buffer-pop-up-frame): Never pop up a frame in
11527 noninteractive mode (Bug#8857).
11528 (enlarge-window, shrink-window): Don't report an error when the
11529 window can't be resized as requested (Bug#8862).
11530
115312011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11532
11533 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11534
11535 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11536
11537 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11538
115392011-06-15 Alan Mackenzie <acm@muc.de>
11540
11541 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11542 for declarators, disable knr checking to speed up for normal files.
11543 2: Refactor, replacing a sequence of nested if forms by a cond form.
11544
115452011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11546
11547 * net/network-stream.el (open-network-stream): Add the keyword
11548 :always-query-capabilities for the case where you want to force a
11549 `plain' network connection, but the protocol still requires the
11550 capabilitiy command (i.e., SMTP and EHLO).
11551
11552 * subr.el (process-live-p): Rename from `process-alive-p' for
11553 consistency with other `-live-p' functions.
11554
115552011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11556
11557 * window.el (same-window-buffer-names, same-window-regexps)
11558 (special-display-frame-alist, special-display-popup-frame)
11559 (special-display-function, special-display-buffer-names)
11560 (special-display-regexps, pop-up-frame-alist)
11561 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11562 (pop-up-windows, split-window-preferred-function)
11563 (split-height-threshold, split-width-threshold, even-window-heights)
11564 (display-buffer-mark-dedicated): Don't encourage the use of
11565 display-buffer-alist from Elisp code.
11566
115672011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11568
11569 * progmodes/python.el (python-mode): Derive from prog-mode.
11570 * progmodes/ps-mode.el (ps-mode):
11571 * progmodes/mixal-mode.el (mixal-mode):
11572 * progmodes/cfengine.el (cfengine-mode):
11573 * progmodes/ld-script.el (ld-script-mode): Likewise.
11574
115752011-06-15 Martin Rudalics <rudalics@gmx.at>
11576
11577 * window.el (display-buffer-alist): Trim default value to avoid
11578 popping up a new frame (Bug#8857) or reusing an arbitrary window
11579 on another frame.
11580 (display-buffer): Do not fall back on popping up a new frame in
11581 batch mode (Bug#8857).
11582
115832011-06-14 Chong Yidong <cyd@stupidchicken.com>
11584
11585 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11586 (custom-theme-summary): New function.
11587 (customize-themes): Use it.
11588
115892011-06-13 Glenn Morris <rgm@gnu.org>
11590
11591 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11592
115932011-06-13 Martin Rudalics <rudalics@gmx.at>
11594
11595 * help.el (help-window): Remove variable.
11596 (help-window-point-marker, temp-buffer-max-height)
11597 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11598 (help-print-return-message): Don't set help-window.
11599 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11600 (help-window-setup-finish): Remove.
11601 (help-window-display-message, help-window-setup)
11602 (with-help-window): Major rewrite based on new
11603 display-buffer-window variable.
11604
11605 * help-mode.el (help-mode-finish): Remove help-window related
11606 code.
11607
11608 * view.el (view-exits-all-viewing-windows): Remove reference to
11609 view-return-to-alist in doc-string.
11610 (view-return-to-alist): Make obsolete.
11611 (view-buffer): Call pop-to-buffer-same-window and remove
11612 undo-window code.
11613 (view-buffer-other-window): Call pop-to-buffer-other-window and
11614 simplify code. Ignore second argument.
11615 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11616 simplify code. Ignore second argument.
11617 (view-return-to-alist-update): Make obsolete.
11618 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11619 Rewrite using quit-restore window parameters.
11620 (view-mode-exit): Rename second argument to EXIT-ONLY.
11621 Rewrite using quit-restore-window.
11622 (View-exit, View-exit-and-edit, View-leave, View-quit)
11623 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11624 appropriate arguments.
11625 (view-end-message): Use quit-restore window parameter.
11626
11627 * window.el (display-buffer-function): Rewrite doc-string.
11628 (display-buffer-window, display-buffer-alist): New variables.
11629 (display-buffer-split-specifiers)
11630 (display-buffer-side-specifiers)
11631 (display-buffer-macro-specifiers): New constants.
11632 (display-buffer-even-window-sizes, display-buffer-set-height)
11633 (display-buffer-set-width, display-buffer-select-window)
11634 (display-buffer-in-window, display-buffer-reuse-window)
11635 (display-buffer-split-window-1, display-buffer-split-window)
11636 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11637 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11638 (display-buffer-in-side-window, normalize-buffer-to-display)
11639 (display-buffer-normalize-specifiers-1)
11640 (display-buffer-normalize-specifiers-2)
11641 (display-buffer-normalize-specifiers, display-buffer-frame):
11642 New functions.
11643 (display-buffer): Major rewrite.
11644 (display-buffer-other-window, display-buffer-other-frame)
11645 (pop-to-buffer, switch-to-buffer-other-window)
11646 (switch-to-buffer-other-frame): Rewrite.
11647 (display-buffer-same-window, display-buffer-same-frame)
11648 (display-buffer-same-frame-other-window)
11649 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11650 (pop-to-buffer-other-window)
11651 (pop-to-buffer-same-frame-other-window)
11652 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11653 (switch-to-buffer-other-window-same-frame): New functions.
11654 (same-window-p, special-display-p): Rewrite disabling warnings.
11655 Make obsolete.
11656 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11657 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11658 Make obsolete
11659 (same-window-buffer-names, same-window-regexps)
11660 (special-display-frame-alist, special-display-popup-frame)
11661 (special-display-function, special-display-buffer-names)
11662 (special-display-regexps, pop-up-frame-alist)
11663 (pop-up-frame-function, split-window-preferred-function)
11664 (split-height-threshold, split-width-threshold)
11665 (even-window-heights): Make obsolete.
11666
116672011-06-12 Glenn Morris <rgm@gnu.org>
11668
11669 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11670 Misc simplifications.
11671
116722011-06-12 Martin Rudalics <rudalics@gmx.at>
11673
11674 * window.el (window-safely-shrinkable-p): Restore function which
11675 was inadvertently removed in change from 2011-06-11. Declare as
11676 obsolete.
11677
11678 * calendar/calendar.el (calendar-generate-window):
11679 Use window-iso-combined-p instead of combination of one-window-p and
11680 window-safely-shrinkable-p.
11681
116822011-06-12 Glenn Morris <rgm@gnu.org>
11683
11684 * progmodes/fortran.el (fortran-mode-syntax-table):
11685 * progmodes/f90.el (f90-mode-syntax-table):
11686 Set % to punctuation. (Bug#8820)
11687 (f90-find-tag-default): Remove, no longer needed.
11688
116892011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11690
11691 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11692
116932011-06-11 Chong Yidong <cyd@stupidchicken.com>
11694
11695 * image.el (image-animated-p): Return animation delay in seconds.
11696 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11697 (image-animate-timeout): Remove DELAY argument. Don't assume
11698 every subimage has the same delay; get it from image-animated-p.
11699 (image-animate): Caller changed.
11700
117012011-06-11 Michael Albinus <michael.albinus@gmx.de>
11702
11703 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11704 to ignored backtrace functions.
11705
117062011-06-11 Glenn Morris <rgm@gnu.org>
11707
11708 * calendar/appt.el (appt-disp-window-function): Doc fix.
11709 (appt-check): Handle overlapping appointments. (Bug#8337)
11710
117112011-06-11 Martin Rudalics <rudalics@gmx.at>
11712
11713 * window.el (window-tree-1, window-tree): New functions, moving
11714 the latter to window.el.
11715 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11716 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11717 (bw-refresh-edges): Remove.
11718 (balance-windows-1, balance-windows-2): New functions.
11719 (balance-windows): Rewrite in terms of window tree functions,
11720 balance-windows-1 and balance-windows-2.
11721 (bw-adjust-window): Remove.
11722 (balance-windows-area-adjust): New function with functionality of
11723 bw-adjust-window but using resize-window.
11724 (set-window-text-height): Rewrite doc-string.
11725 Use normalize-live-window and resize-window.
11726 (enlarge-window-horizontally, shrink-window-horizontally):
11727 Rename argument to DELTA.
11728 (window-buffer-height): New function.
11729 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11730 Rewrite using new window resize routines.
11731 (kill-buffer-and-window, mouse-autoselect-window-select):
11732 Use ignore-errors instead of condition-case.
11733 (quit-window): Call delete-frame instead of delete-windows-on
11734 for the only buffer on frame.
11735
117362011-06-10 Martin Rudalics <rudalics@gmx.at>
11737
11738 * loadup.el (top-level): Load window before files for the sake
11739 of replace-buffer-in-windows.
11740
11741 * files.el (read-buffer-to-switch)
11742 (switch-to-buffer-other-window)
11743 (switch-to-buffer-other-frame, display-buffer-other-frame):
11744 Move to window.el.
11745
11746 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11747 (previous-buffer): Move to window.el.
11748
11749 * bindings.el (unbury-buffer): Move to window.el.
11750
11751 * window.el (delete-other-windows-vertically): Move after
11752 definition of delete-other-windows.
11753 (other-window, delete-windows-on, replace-buffer-in-windows):
11754 Move here from window.c.
11755 (record-window-buffer, unrecord-window-buffer)
11756 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11757 (switch-to-next-buffer): New functions.
11758 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11759 from simple.el. Call switch-to-next-buffer.
11760 (previous-buffer): Move here from simple.el.
11761 Call switch-to-prev-buffer.
11762 (bury-buffer): Move here from buffer.c. Switch to previous
11763 buffer when window cannot be deleted.
11764 (unbury-buffer): Move here from bindings.el.
11765 (ctl-x-map): Move binding for other-window from window.c to
11766 here.
11767 (read-buffer-to-switch, switch-to-buffer-other-window)
11768 (switch-to-buffer-other-frame): Move here from files.el.
11769 (normalize-buffer-to-switch-to): New functions.
11770 (switch-to-buffer): Move here from buffer.c.
11771 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11772
117732011-06-10 Martin Rudalics <rudalics@gmx.at>
11774
11775 * window.el (window-min-height, window-min-width): Move here
11776 from window.c. Add defcustoms and rewrite doc-strings.
11777 (resize-mini-window, resize-window): New functions.
11778 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11779 Move here from window.c.
11780 (maximize-window, minimize-window): New functions.
11781 (delete-window, delete-other-windows, split-window): Move here
11782 from window.c.
11783 (window-split-min-size): New function.
11784 (split-window-keep-point): Mention split-window-above-each-other
11785 instead of split-window-vertically.
11786 (split-window-above-each-other, split-window-vertically):
11787 Rename split-window-vertically to split-window-above-each-other
11788 and provide defalias for old definition.
11789 (split-window-side-by-side, split-window-horizontally):
11790 Rename split-window-horizontally to split-window-side-by-side
11791 and provide defalias for the old definition.
11792 (ctl-x-map): Move bindings for delete-window,
11793 delete-other-windows and enlarge-window here from window.c.
11794 Replace bindings for split-window-vertically and
11795 split-window-horizontally by bindings for
11796 split-window-above-each-other and split-window-side-by-side.
11797
11798 * cus-start.el (all): Remove entries for window-min-height and
11799 window-min-width. Add entries for window-splits and
11800 window-nest.
11801
118022011-06-09 Glenn Morris <rgm@gnu.org>
11803
11804 * calendar/appt.el (appt-mode-line): New function.
11805 (appt-check, appt-disp-window): Use it.
11806
11807 * files.el (hack-one-local-variable-eval-safep):
11808 Allow minor-modes with explicit +/-1 arguments.
11809
118102011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11811
11812 * term/xterm.el (xterm): Add defgroup.
11813 (xterm-extra-capabilities): Add defcustom to supply known xterm
11814 capabilities, skip querying them, or query them (default).
11815 (terminal-init-xterm): Use it.
11816 (terminal-init-xterm-modify-other-keys): New function to set up
11817 modifyOtherKeys support to simplify `terminal-init-xterm'.
11818
118192011-06-09 Martin Rudalics <rudalics@gmx.at>
11820
11821 * window.el (resize-window-reset, resize-window-reset-1)
11822 (resize-subwindows-skip-p, resize-subwindows-normal)
11823 (resize-subwindows, resize-other-windows, resize-this-window)
11824 (resize-root-window, resize-root-window-vertically)
11825 (window-deletable-p, window-or-subwindow-p)
11826 (frame-root-window-p): New functions.
11827
118282011-06-09 Glenn Morris <rgm@gnu.org>
11829
11830 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11831 (ange-ftp-get-files): Use it.
11832
118332011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11834
11835 * mail/sendmail.el (mail-recover-1, mail-recover):
11836 * files.el (recover-file, recover-session):
11837 Handle dired-listing-switches not being just a single short option.
11838
118392011-06-09 Glenn Morris <rgm@gnu.org>
11840
11841 * calendar/appt.el (appt-display-message, appt-disp-window):
11842 Handle lists of appointments.
11843
118442011-06-08 Martin Rudalics <rudalics@gmx.at>
11845
11846 * window.el (one-window-p): Move down in code.
11847 Rewrite doc-string.
11848 (window-current-scroll-bars): Rewrite doc-string.
11849 Normalize live window argument.
11850 (walk-windows, get-window-with-predicate, count-windows):
11851 Rewrite doc-string. Use window-list-1.
11852 (window-in-direction-2, window-in-direction, get-mru-window):
11853 New functions.
11854
118552011-06-08 Reuben Thomas <rrt@sc3d.org>
11856
11857 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11858 Doc fix (Bug#8713).
11859
118602011-06-08 Chong Yidong <cyd@stupidchicken.com>
11861
11862 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11863
118642011-06-08 Juanma Barranquero <lekktu@gmail.com>
11865
11866 * loadhist.el (unload-feature-special-hooks):
11867 Add `comint-output-filter-functions'.
11868
118692011-06-08 Ivan Kanis <gnu@kanis.fr>
11870
11871 * calendar/appt.el (appt-check): Move some initializations into the let.
11872
118732011-06-08 Martin Rudalics <rudalics@gmx.at>
11874
11875 * window.el (window-height): Defalias to window-total-height.
11876 (window-width): Defalias to window-body-width.
11877
118782011-06-07 Chong Yidong <cyd@stupidchicken.com>
11879
11880 * image-mode.el (image-toggle-animation): New command.
11881 (image-mode-map): Bind it to RET.
11882 (image-mode): Update message.
11883 (image-toggle-display-image): Avoid a spurious cache flush.
11884 (image-transform-rotation): Doc fix.
11885 (image-transform-properties): Return quickly in the normal case.
11886 (image-animate-loop): Rename from image-animate-max-time.
11887
11888 * image.el (image-animate-max-time): Move to image-mode.el.
11889 (create-animated-image): Remove unnecessary function.
11890 (image-animate): Rename from image-animate-start. New arg.
11891 (image-animate-stop): Remove; just use image-animate-timer.
11892 (image-animate-timer): Use car-safe.
11893 (image-animate-timeout): Rename argument.
11894
118952011-06-07 Martin Rudalics <rudalics@gmx.at>
11896
11897 * window.el (get-lru-window, get-largest-window): Move here from
11898 window.c. Rename first argument to ALL-FRAMES.
11899 Rephrase doc-strings.
11900 (get-buffer-window-list): Rewrite using window-list-1.
11901 Rephrase doc-string.
11902 (window-safe-min-height, window-safe-min-width): New constants.
11903 (window-size-ignore, window-min-size, window-min-size-1)
11904 (window-sizable, window-sizable-p, window-size-fixed-1)
11905 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11906 (window-max-delta-1, window-max-delta, window-resizable)
11907 (window-resizable-p, window-total-height, window-total-width)
11908 (window-body-width): New functions.
11909 (window-full-height-p, window-full-width-p): Rewrite using
11910 window-total-size.
11911 (window-body-height): Rewrite using window-body-size.
11912
119132011-06-06 Martin Rudalics <rudalics@gmx.at>
11914
11915 * window.el (window-right, window-left, window-child)
11916 (window-child-count, window-last-child, window-any-p)
11917 (normalize-live-buffer, normalize-live-frame)
11918 (normalize-any-window, normalize-live-window)
11919 (window-iso-combination-p, window-iso-combined-p)
11920 (window-iso-combinations)
11921 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11922 (windows-with-parameter, window-with-parameter)
11923 (window-atom-root, make-window-atom, window-atom-check-1)
11924 (window-atom-check, window-side-check, window-check):
11925 New functions.
11926 (ignore-window-parameters, window-sides, window-sides-vertical)
11927 (window-sides-slots): New variables.
11928 (window-size-fixed): Move down in code. Minor doc-string fix.
11929
119302011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11931
11932 * comint.el (comint-dynamic-complete-as-filename)
11933 (comint-dynamic-complete-filename): Correctly call
11934 completion-in-region.
11935
119362011-06-05 Deniz Dogan <deniz@dogan.se>
11937
11938 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11939 in last change.
11940
119412011-06-05 Deniz Dogan <deniz@dogan.se>
11942
11943 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11944 (rcirc): Use it to prompt for encryption.
11945
119462011-06-05 Roland Winkler <winkler@gnu.org>
11947
11948 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11949 (bibtex-search-entries): New command bound to C-c C-a.
11950 (bibtex-display-entries): New function.
11951
119522011-06-05 Roland Winkler <winkler@gnu.org>
11953
11954 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11955 (bibtex-insert-kill): After yanking insert newline if necessary.
11956 (bibtex-initialize): Call bibtex-string-files-init only once.
11957 (bibtex-mode): Do not call easy-menu-add.
11958 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11959 (bibtex-yank): Set arg properly if nil.
11960
119612011-06-05 Roland Winkler <winkler@gnu.org>
11962
11963 * textmodes/bibtex.el (bibtex-search-entry-globally):
11964 New variable.
11965 (bibtex-search-entry): Use it.
11966
119672011-06-05 Roland Winkler <winkler@gnu.org>
11968
11969 * textmodes/bibtex.el (bibtex-entry-format): New option
11970 sort-fields.
11971 (bibtex-format-entry, bibtex-reformat): Honor this option.
11972 (bibtex-parse-entry): Return fields in proper order.
11973
119742011-06-05 Juanma Barranquero <lekktu@gmail.com>
11975
11976 * doc-view.el (doc-view-remove-if): Move computation of result out
11977 of `dolist' to silence misleading lexical-binding warning.
11978
119792011-06-04 Chong Yidong <cyd@stupidchicken.com>
11980
11981 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11982 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11983
119842011-06-04 Michael Albinus <michael.albinus@gmx.de>
11985
11986 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11987 "SunOS 5.10".
11988
119892011-06-04 Michael Albinus <michael.albinus@gmx.de>
11990
11991 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11992 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11993 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11994 (tramp-parse-putty):
11995 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11996 (tramp-completion-function-alist-ssh)
11997 (tramp-completion-function-alist-telnet)
11998 (tramp-completion-function-alist-su)
11999 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12000 cookie.
12001
12002 * net/tramp-ftp.el:
12003 * net/tramp-sh.el:
12004 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12005 load "tramp.el" `tramp-set-completion-function'.
12006
120072011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12008
12009 * shell.el: Require and use pcomplete.
12010 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12011 (shell-completion-vars): Set pcomplete-default-completion-function.
12012
120132011-06-04 Deniz Dogan <deniz@dogan.se>
12014
12015 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12016 `memq' (Bug#8799).
12017
120182011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12019
12020 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12021
120222011-06-02 Juanma Barranquero <lekktu@gmail.com>
12023
12024 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12025 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12026 * vc/log-view.el (log-view-beginning-of-defun):
12027 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12028 (smerge-refine-forward, smerge-refine-chopup-region):
12029 Silence warning for unused `dotimes' counter variables.
12030
120312011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12032
12033 * net/tramp.el (tramp-with-progress-reporter): Rename from
12034 with-progress-reporter. Use `declare'.
12035 * net/tramp-smb.el:
12036 * net/tramp-sh.el:
12037 * net/tramp-gvfs.el: Update all uses.
12038
120392011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12040
12041 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12042 buffer isn't killed before making it current.
12043
120442011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12045
12046 Silence various byte-compiler warnings.
12047 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12048 `access-type' and new obsolescence format.
12049 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12050 new format.
12051 (byte-compile-check-variable): New `access-type' argument.
12052 Only warn if the access-type is obsolete.
12053 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12054 (byte-compile-variable-set): Adjust callers.
12055 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12056 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12057 setting it as obsolete.
12058 * simple.el (minibuffer-completing-symbol):
12059 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12060 access as obsolete.
12061 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12062 obsolete yet.
12063 * international/quail.el (quail-mouse-choose-completion): Remove unused
12064 code referring to obsolete var.
12065 (quail-choose-completion-string): Remove.
12066 * server.el (server-clients-with, server-kill-buffer-query-function)
12067 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12068 * proced.el (proced-send-signal):
12069 * emacs-lisp/lisp.el (lisp-complete-symbol):
12070 Replace completion-annotate-function with completion-extra-properties.
12071
120722011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12073
12074 * simple.el (goto-line): Use read-number.
12075 (overriding-map-is-bound): Remove.
12076 (saved-overriding-map): Change default.
12077 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12078 Take the map as argument.
12079 (universal-argument, negative-argument, digit-argument): Use it.
12080 (restore-overriding-map): Adjust.
12081 (do-auto-fill): Use fill-forward-paragraph.
12082 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12083
12084 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12085 (minibuffer-inactive-mode): New major mode.
12086 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12087 the *Messages* buffer" hack.
12088 (mouse-popup-menubar): Don't burp if the event is a normal key.
12089
12090 Miscellaneous tweaks.
12091 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12092 lexical scoping as in subr.el's dolist and dotimes.
12093 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12094 Silence compiler warning.
12095 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12096 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12097 * international/ccl.el (ccl-compile): Trivial simplification.
12098 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12099 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12100 `printflag' argument.
12101 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12102 Purecopy the whole obsolescence data.
12103
121042011-06-01 Leo Liu <sdl.web@gmail.com>
12105
12106 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12107 improve doc-string as suggested by Marco Pessotto
12108 <melmothx@gmail.com>.
12109 (rcirc-print): Fix last change.
12110
121112011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12112
12113 * minibuffer.el (complete-with-action): Return nil for the metadata and
12114 boundaries of non-functional tables.
12115 (completion-table-dynamic): Return nil for the metadata.
12116 (completion-table-with-terminator): Add default case, using
12117 complete-with-action.
12118 (completion--metadata): New function.
12119 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12120 to try and avoid pathological performance problems.
12121 (completion--embedded-envvar-table): Return `category' metadata.
12122
121232011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12124
12125 * subr.el (process-alive-p): New tiny convenience function.
12126
121272011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12128
12129 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12130 content but also its previous major mode.
12131
121322011-05-31 Helmut Eller <eller.helmut@gmail.com>
12133
12134 * emacs-lisp/debug.el (debug): Restore the previous content of the
12135 *Backtrace* buffer when we exit with C-M-c.
12136
121372011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12138
12139 * minibuffer.el: Add metadata method to completion tables.
12140 (completion-category-overrides): New defcustom.
12141 (completion-metadata, completion--field-metadata)
12142 (completion-metadata-get, completion--styles)
12143 (completion--cycle-threshold): New functions.
12144 (completion-try-completion, completion-all-completions):
12145 Add `metadata' argument to choose completion-styles.
12146 (completion--do-completion): Use metadata to choose cycling.
12147 (completion-all-sorted-completions): Use metadata for sorting.
12148 Remove :completion-cycle-penalty which is not needed any more.
12149 (completion--try-word-completion): Add `metadata' argument.
12150 (minibuffer-completion-help): Check metadata for annotation function
12151 and sorting.
12152 (completion-file-name-table): Return `category' metadata.
12153 (minibuffer-completing-file-name): Make obsolete.
12154 * simple.el (minibuffer-completing-symbol): Make obsolete.
12155 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12156 completion-try-completion.
12157
121582011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12159
12160 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12161
121622011-05-30 Leo Liu <sdl.web@gmail.com>
12163
12164 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12165 (rcirc-print): Decode all incoming messages (bug#8744).
12166 (rcirc-decode-coding-system): Allow value nil for automatic coding
12167 system detection.
12168
121692011-06-01 Glenn Morris <rgm@gnu.org>
12170
12171 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12172
121732011-05-29 Chong Yidong <cyd@stupidchicken.com>
12174
12175 * image.el (image-animate-max-time): Allow nil and t values.
12176 Default to nil.
12177 (create-animated-image): Doc fix.
12178 (image-animate-start): Remove second arg; just use
12179 image-animate-max-time.
12180 (image-animate-timeout): Doc fix. Args changed.
12181
12182 * image-mode.el (image-toggle-display-image): Ensure that the
12183 image spec passed to the animate timer is the same object as in
12184 the buffer's display property (Bug#6981).
12185 (image-transform-properties): Doc fix.
12186
12187 * image.el (image-animate-max-time): Default to nil.
12188
121892011-05-29 Martin Rudalics <rudalics@gmx.at>
12190
12191 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12192 entire buffer list (Bug#8184).
12193
121942011-05-29 Chong Yidong <cyd@stupidchicken.com>
12195
12196 * image.el (imagemagick-types-inhibit)
12197 (imagemagick-register-types): Doc fix.
12198
121992011-05-29 Deniz Dogan <deniz@dogan.se>
12200
12201 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12202 default.
12203
122042011-05-29 Chong Yidong <cyd@stupidchicken.com>
12205
12206 * select.el: Don't perform clipboard-manager saving in hooks;
12207 leave the hooks empty.
12208
122092011-05-28 Leo Liu <sdl.web@gmail.com>
12210
12211 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12212 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12213 (occur-edit-mode): New major mode (Bug#8463).
12214 (occur-after-change-function): New function.
12215 (occur-engine): Give Occur tags a read-only property.
12216
122172011-05-28 Kevin Ryde <user42@zip.com.au>
12218
12219 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12220
122212011-05-28 Chong Yidong <cyd@stupidchicken.com>
12222
12223 * bindings.el (help-echo): Make the initial non-indicator dash
12224 empty on graphical terminals (Bug#7295).
12225
12226 * files.el (auto-mode-alist): Move config rule after the
12227 in-stripping one (Bug#8547).
12228
12229 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12230
12231 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12232 setting (Bug#8740).
12233
122342011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12235
12236 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12237 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12238 (Bug#8539).
12239
122402011-05-28 Chong Yidong <cyd@stupidchicken.com>
12241
12242 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12243
122442011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12245
12246 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12247 (hs-hide-block-at-point, hs-find-block-beginning)
12248 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12249 (Bug#8279).
12250
122512011-05-28 Glenn Morris <rgm@gnu.org>
12252
12253 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12254
122552011-05-28 Chong Yidong <cyd@stupidchicken.com>
12256
12257 * help-fns.el (describe-function-1): If the function is a derived
12258 major mode, print the parent mode.
12259
12260 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12261 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12262
122632011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12264
12265 * minibuffer.el (completion--capf-wrapper): Check applicability before
12266 returning non-nil for non-exclusive completion data.
12267 * progmodes/etags.el (tags-completion-at-point-function):
12268 * info-look.el (info-lookup-completions-at-point): Mark as
12269 non-exclusive.
12270 (info-complete): Adjust accordingly.
12271
12272 * info-look.el: Convert to lexical-binding and completion-at-point.
12273 (info-lookup-completions-at-point): New function.
12274 (info-complete): Use it and completion-in-region.
12275
122762011-05-28 Drew Adams <drew.adams@oracle.com>
12277
12278 * isearch.el: Let M-e start with point at the first mismatched char.
12279 (isearch-fail-pos): New function.
12280 (isearch-edit-string): Use it.
12281
122822011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12283
12284 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12285
122862011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
12287
12288 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12289 traversal functions for avl-trees.
12290 (avl-tree--stack): New struct.
12291 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12292 (avl-tree-enter): Add optional `updatefun' arg.
12293 (avl-tree--do-enter): Add optional `updatefun' arg.
12294 Change return value.
12295 (avl-tree-delete): Add optional `test' and `nilflag' args.
12296 (avl-tree--do-delete): Add `test' and `nilflag' args.
12297 Change return value.
12298 (avl-tree-member): Add optional `nilflag'
12299 (avl-tree-member-p): New function.
12300 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12301 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12302 (avl-tree-stack-empty-p): New functions.
12303
12304 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12305 avl-tree--del-balance1 and make it work both ways.
12306 (avl-tree--del-balance2): Remove.
12307 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12308 make it work both ways.
12309 (avl-tree--enter-balance2): Remove.
12310 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12311 New macros.
12312 (avl-tree--mapc, avl-tree-map): Add direction argument.
12313
123142011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12315
12316 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12317
123182011-05-27 Chong Yidong <cyd@stupidchicken.com>
12319
12320 * select.el: Support clipboard managers with built-in function
12321 x-clipboard-manager-save, via delete-frame-functions and
12322 kill-emacs-hook.
12323 (xselect-convert-to-targets): Add MULTIPLE target to list.
12324 (xselect-convert-to-save-targets): New function.
12325
123262011-05-27 Kenichi Handa <handa@m17n.org>
12327
12328 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12329 let-binding rfc2047-encode-encoded-words to nil.
12330
123312011-05-27 Glenn Morris <rgm@gnu.org>
12332
12333 * mail/emacsbug.el: Don't require url-util.
12334
12335 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12336
12337 * files.el (set-auto-mode):
12338 Also respect mode: entries at the end of the file. (Bug#8586)
12339
123402011-05-26 Glenn Morris <rgm@gnu.org>
12341
12342 * files.el (hack-local-variables-prop-line, hack-local-variables):
12343 Downcase mode names, as seems to be traditional.
12344 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12345
12346 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12347 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12348
123492011-05-25 Julien Danjou <julien@danjou.info>
12350
12351 * textmodes/rst.el (rst-define-level-faces): Do not define face
12352 symbol if it is already defined.
12353
123542011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12355
12356 * play/5x5.el (5x5-new-game, 5x5-randomize):
12357 Reset 5x5-solver-output to nil when a new grid is cast.
12358 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12359 these debugging traces, as defmacro breaks the compiled code.
12360
123612011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12362
12363 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12364
123652011-05-24 Leo Liu <sdl.web@gmail.com>
12366
12367 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12368 (vc-bzr-sha1): Adapt.
12369
12370 * sha1.el: Remove. Function `sha1' is now builtin.
12371
12372 * bindings.el: Provide sha1 feature.
12373
123742011-05-24 Kenichi Handa <handa@m17n.org>
12375
12376 * mail/sendmail.el: Require `rfc2047'.
12377 (mail-insert-from-field): Do not perform RFC2047 encoding.
12378 (mail-encode-header): New function.
12379 (sendmail-send-it): Set buffer-file-coding-system of the work
12380 buffer to the return value of select-message-coding-system.
12381 Call mail-encode-header.
12382
12383 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12384
123852011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12386
12387 * mail/supercite.el (sc-default-cite-frame):
12388 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12389
123902011-05-24 Glenn Morris <rgm@gnu.org>
12391
12392 * progmodes/python.el (brm-menu): Declare.
12393
12394 * emulation/viper.el (viper-set-hooks): Declare.
12395
12396 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12397 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12398 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12399 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12400 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12401 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12402
124032011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12404
12405 Add an :exit-function for completion-at-point.
12406
12407 * minibuffer.el (completion--done): New fun.
12408 (completion--do-completion): Use it. New arg `expect-exact'.
12409 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12410 since completion--do-completion does it for us now.
12411 (minibuffer-force-complete): Use completion--done and
12412 completion--replace. Handle sole-completion case with more care.
12413 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12414 (completion-extra-properties): New var.
12415 (completion-annotate-function): Make obsolete.
12416 (minibuffer-completion-help): Adjust accordingly.
12417 Use completion-list-insert-choice-function.
12418 (completion-at-point, completion-help-at-point):
12419 Bind completion-extra-properties.
12420 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12421 * simple.el (completion-list-insert-choice-function): New var.
12422 (completion-setup-function): Preserve it.
12423 (choose-completion): Pay attention to it, shuffle the code a bit.
12424 (choose-completion-string): New arg `insert-function'.
12425
12426 * textmodes/bibtex.el: Convert to lexical binding.
12427 (bibtex-mode-map): Use completion-at-point.
12428 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12429 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12430 (bibtex-complete): Define as obsolete alias.
12431 (bibtex-complete-internal): Remove.
12432 (bibtex-format-entry): Remove unused sub-group in regexp.
12433 * shell.el (shell--command-completion-data)
12434 (shell-environment-variable-completion):
12435 * pcomplete.el (pcomplete-completions-at-point):
12436 * comint.el (comint--complete-file-name-data): Use :exit-function
12437 instead of completion-table-with-terminator so it also works for
12438 choose-completion.
12439
124402011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12441
12442 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12443
12444 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12445 (bug#8710).
12446
12447 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12448
124492011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12450
12451 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12452 customization variable and implement: If non-nil, auto-fill will
12453 be inhibited while on topic's header line.
12454
124552011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12456
12457 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12458 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12459 always have a solution in grid size = 5 cases.
12460 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12461 (5x5-solver-output, 5x5-log-buffer): New vars.
12462 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12463 Make these variables buffer local to achieve 5x5 multi-session-ness.
12464 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12465 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12466 (5x5-solve-suggest): New funs.
12467 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12468 randomize a grid so that we ensure that there is always a solution.
12469 (5x5-make-random-grid): Allow other movement than flipping.
12470
124712011-05-23 Kevin Ryde <user42@zip.com.au>
12472
12473 * emacs-lisp/advice.el (ad-read-advised-function):
12474 Use `function-called-at-point' as the default, if it has
12475 advice and passes PREDICATE.
12476
124772011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12478
12479 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12480 byte-compile-lambda if it's actually a lambda.
12481
12482 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12483 Fix function quoting. Use backquote better.
12484
124852011-05-22 Yuanle Song <sylecn@gmail.com>
12486
12487 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12488 matching (Bug#8516).
12489
124902011-01-22 Jari Aalto <jari.aalto@cante.net>
12491
12492 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12493 different face (Bug#8178).
12494
124952011-05-22 Chong Yidong <cyd@stupidchicken.com>
12496
12497 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12498 defface (Bug#8144).
12499
125002011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12501
12502 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12503 funcall as well (bug#8712). Warn when performing those conversions.
12504 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12505
12506 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12507
125082011-05-22 Glenn Morris <rgm@gnu.org>
12509
12510 * files.el (hack-local-variables-prop-line): Small simplifications.
12511 (hack-local-variables, hack-local-variables-prop-line):
12512 If MODE-ONLY, return the mode, rather than just `t'.
12513
125142011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12515
12516 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12517
125182011-05-21 Glenn Morris <rgm@gnu.org>
12519
12520 * files.el (hack-local-variables-prop-line, hack-local-variables):
12521 If only interested in the mode, don't bother doing the other stuff.
12522
12523 * image-mode.el (image-after-revert-hook):
12524 Redraw all frames on which the image is visible. (Bug#8567)
12525
12526 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12527
12528 * wid-edit.el (widget-checklist-match-inline):
12529 Fix 2011-04-19 change. (Bug#8649)
12530
125312011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12532
12533 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12534 Also allow singlespace after single-letter capitals followed by a dot.
12535
12536 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12537 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12538
125392011-05-20 Nix <nix@esperi.org.uk>
12540
12541 * files.el (basic-save-buffer-2):
12542 Fix handling of break-hardlink-on-save with non-existent files.
12543
125442011-05-19 Deniz Dogan <deniz@dogan.se>
12545
12546 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12547 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12548
125492011-05-19 Glenn Morris <rgm@gnu.org>
12550
12551 * progmodes/f90.el (f90-type-def-re):
12552 Handle "type, bind(c)". (Bug#8691)
12553
12554 * emacs-lisp/autoload.el (batch-update-autoloads):
12555 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12556
125572011-05-18 Michael Albinus <michael.albinus@gmx.de>
12558
12559 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12560 property for the correct connection in case of multihops.
12561
125622011-05-18 Glenn Morris <rgm@gnu.org>
12563
12564 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12565 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12566
12567 Rationalize calendar handling of day and month abbrev-arrays.
12568 * calendar/calendar.el (calendar-customized-p): New function.
12569 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12570 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12571 Add :set function.
12572 (calendar-abbrev-length, calendar-day-abbrev-array)
12573 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12574 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12575 Elements may no longer be nil.
12576 (calendar-day-name, calendar-month-name):
12577 Update for changed nature of abbrev arrays.
12578 * calendar/diary-lib.el (diary-name-pattern):
12579 Update for changed nature of abbrev arrays.
12580 (diary-mark-entries-1): Update calendar-make-alist calls.
12581 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12582 * calendar/cal-html.el (cal-html-day-abbrev-array):
12583 Simply inherit from calendar-day-abbrev-array.
12584
125852011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12586
12587 * progmodes/grep.el (grep-mode): Disable default
12588 compilation-directory-matcher setting (bug#8684).
12589
125902011-05-17 Michael Albinus <michael.albinus@gmx.de>
12591
12592 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12593 instead of "head" and "tail". There were problems with SunOS 5.9,
12594 and it performs better.
12595
125962011-05-17 Glenn Morris <rgm@gnu.org>
12597
12598 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12599
12600 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12601 Replace obsolete function.
12602
12603 * shell.el (pcomplete-parse-arguments-function): Declare.
12604
12605 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12606 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12607 (appt-check): Doc fixes.
12608 (appt-disp-window-function, appt-delete-window-function):
12609 Remove needless special case in custom :type.
12610 (appt-display-count): Default to 0, not nil.
12611 (appt-check): Reset appt-display-count to 0, not nil.
12612
126132011-05-17 Juanma Barranquero <lekktu@gmail.com>
12614
12615 * progmodes/python.el (python-font-lock-keywords):
12616 Add the Python 3.X keyword "nonlocal" (bug#8639).
12617
126182011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12621
126222011-05-16 Kevin Ryde <user42@zip.com.au>
12623
12624 * info-look.el (makefile-automake-mode): New setups, looking in
12625 automake manual, then makefile-mode.
12626 (makefile-mode): Remove automake manual, have it just in
12627 makefile-automake-mode since there's various things different or
12628 not relevant to plain make.
12629 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12630 believe a hypothetical automake-mode would go to makefile-mode,
12631 not the other way around.
12632
126332011-05-15 Chong Yidong <cyd@stupidchicken.com>
12634
12635 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12636 hunk-end tags (Bug#8672).
12637
12638 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12639 vc-annotate-show-diff-revision-at-line (Bug#8671).
12640
126412011-05-14 Glenn Morris <rgm@gnu.org>
12642
12643 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12644 in the middle of an existing one with multiple authors. (Bug#8645)
12645 (change-log-font-lock-keywords): Also handle multiple author lines
12646 with leading tabs. (Bug#8644)
12647
12648 * calendar/appt.el (appt-check): Rename some local variables.
12649 Some simplification/reordering.
12650
12651 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12652 (feedmail-sendmail-f-doesnt-sell-me-out)
12653 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12654 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12655 (feedmail-queue-runner-message-sender): Set :version.
12656 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12657 (bbdb-dwim-net-address, vm-mail): Declare.
12658 (feedmail-binmail-gnulinuxish-template):
12659 Rename from feedmail-binmail-linuxish-template.
12660 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12661 Use insert-buffer-substring.
12662
126632011-05-14 Bill Carpenter <bill@carpenter.org>
12664
12665 * mail/feedmail.el (feedmail-patch-level): Increase.
12666 (feedmail-debug): New custom group.
12667 (feedmail-confirm-outgoing-timeout)
12668 (feedmail-sendmail-f-doesnt-sell-me-out)
12669 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12670 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12671 (feedmail-sender-line, feedmail-from-line)
12672 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12673 (feedmail-spray-this-address)
12674 (feedmail-spray-address-fiddle-plex-list)
12675 (feedmail-queue-use-send-time-for-date)
12676 (feedmail-queue-use-send-time-for-message-id)
12677 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12678 (feedmail-buffer-eating-function):
12679 Doc fixes.
12680 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12681 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12682 (feedmail-message-action-scroll-down): New functions.
12683 (feedmail-queue-directory, feedmail-queue-draft-directory):
12684 Use expand-file-name.
12685 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12686 Remove C-v help entry.
12687 (feedmail-queue-buffer-file-name): New variable.
12688 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12689 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12690 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12691 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12692 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12693 (feedmail-message-action-toggle-spray)
12694 (feedmail-run-the-queue-no-prompts)
12695 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12696 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12697 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12698 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12699 (feedmail-envelope-deducer, feedmail-fiddle-from)
12700 (feedmail-fiddle-sender, feedmail-default-date-generator)
12701 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12702 (feedmail-fiddle-spray-address)
12703 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12704 (feedmail-fiddle-list-of-fiddle-plexes)
12705 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12706 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12707 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12708 Change default. Doc fix.
12709 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12710 (feedmail-binmail-linuxish-template): New constant.
12711 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12712 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12713 (feedmail-send-it): Add debug call.
12714 Use feedmail-queue-buffer-file-name, and
12715 feedmail-send-it-immediately-wrapper.
12716 (feedmail-message-action-send): Add debug call.
12717 Use feedmail-send-it-immediately-wrapper.
12718 (feedmail-queue-express-to-queue): Add debug call.
12719 Run feedmail-queue-express-hook.
12720 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12721 (feedmail-message-action-help-blat):
12722 Rename from feedmail-queue-send-edit-prompt-help-first.
12723 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12724 Check line-endings. Handle errors better.
12725 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12726 Doc fix. Add debug call.
12727 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12728 Use feedmail-queue-send-edit-prompt-inner.
12729 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12730 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12731 from feedmail-queue-send-edit-prompt.
12732 (feedmail-queue-send-edit-prompt-help)
12733 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12734 (feedmail-tidy-up-slug): Add debug call.
12735 Respect feedmail-queue-slug-suspect-regexp.
12736 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12737 (feedmail-dump-message-to-queue): Add debug call.
12738 Expand queue-directory.
12739 (feedmail-dump-message-to-queue): Change message slightly.
12740 Use feedmail-say-chatter.
12741 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12742 (feedmail-send-it-immediately-wrapper): New function.
12743 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12744 Insert empty string rather than newline. Handle full-frame case.
12745 Use catch/throw. Use feedmail-say-chatter.
12746 (feedmail-fiddle-from): Try mail-host-address.
12747 (feedmail-default-message-id-generator): Doc fix.
12748 Bind system-time-locale. Handle missing end.
12749 (feedmail-fiddle-x-mailer): Add debug call.
12750 Handle feedmail-x-mailer-line being nil.
12751 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12752 Add debug call. Use buffer-substring-no-properties.
12753 (feedmail-say-debug, feedmail-say-chatter): New functions.
12754 (feedmail-find-eoh): Give an explicit error.
12755
127562011-05-13 Ulf Jasper <ulf.jasper@web.de>
12757
12758 * net/newst-treeview.el (newsticker-treeview-face): Change default
12759 family from helvetica to sans.
12760 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12761 etc/images/newsticker.
12762
12763 * net/newst-reader.el (newsticker-feed-face): Change default
12764 family from helvetica to sans.
12765
12766 * net/newst-plainview.el (newsticker-new-item-face)
12767 (newsticker-old-item-face, newsticker-immortal-item-face)
12768 (newsticker-obsolete-item-face, newsticker-date-face)
12769 (newsticker-statistics-face): Change default family from
12770 helvetica to sans.
12771 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12772 etc/images/newsticker.
12773
12774 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12775 (newsticker--process-auto-mark-filter-match): Tell user about
12776 auto-marking.
12777
127782011-05-13 Didier Verna <didier@xemacs.org>
12779
12780 Common Lisp indentation improvements on defmethod and lambda-lists.
12781 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12782 TODO entries.
12783 (lisp-lambda-list-keyword-parameter-indentation)
12784 (lisp-lambda-list-keyword-parameter-alignment)
12785 (lisp-lambda-list-keyword-alignment): New customizable user options.
12786 (lisp-indent-defun-method): Improve docstring.
12787 (extended-loop-p): Fix comment.
12788 (lisp-indent-lambda-list-keywords-regexp): New variable.
12789 (lisp-indent-lambda-list): New function.
12790 (lisp-indent-259): Use it.
12791 (lisp-indent-defmethod): Support for more than one
12792 method qualifier and properly indent methods lambda-lists.
12793 (defgeneric): Provide a missing common-lisp-indent-function property.
12794
127952011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12796
12797 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12798 bounds for the empty string (bug#8667).
12799
128002011-05-13 Glenn Morris <rgm@gnu.org>
12801
12802 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12803
12804 * mail/sendmail.el (sendmail-program): Try executable-find first.
12805 (sendmail-send-it): `sendmail-program' cannot be unbound.
12806
12807 * calendar/appt.el (appt-make-list): Simplify.
12808 (appt-time-msg-list): Doc fix.
12809 (appt-check): Change mode-line message at the time of the appointment.
12810
128112011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12812
12813 * progmodes/ld-script.el (ld-script-keywords)
12814 (ld-script-builtins): Update keywords list.
12815
128162011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12817
12818 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12819
12820 * shell.el (shell-completion-vars): New function.
12821 (shell-mode):
12822 * simple.el (read-shell-command): Use it.
12823 (blink-matching-open): No need for " [...]" in minibuffer-message.
12824
128252011-05-12 Glenn Morris <rgm@gnu.org>
12826
12827 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12828 (appt-check): Simplify.
12829
128302011-05-12 Eli Zaretskii <eliz@gnu.org>
12831
12832 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12833 literal "/dev/null".
12834
128352011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12836
12837 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12838 Fix typo.
12839
128402011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12841
12842 * progmodes/which-func.el (which-function):
12843 Use add-log-current-defun instead of add-log-current-defun-function,
12844 which might not be defined (Bug#8260).
12845
128462011-05-12 Glenn Morris <rgm@gnu.org>
12847
12848 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12849 Let byte-compile-initial-macro-environment always take precedence.
12850
128512011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12852
12853 * net/rcirc.el: Add support for SSL/TLS connections.
12854 (rcirc-server-alist): New field `encryption'.
12855 (rcirc): Check `encryption' settings.
12856 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12857 Merge make-local-variable into `set'.
12858 (rcirc--connection-open-p): New function.
12859 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12860 the process is not a network process (e.g. running gnutls-cli).
12861 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12862 Make rcirc-(en|de)code-coding-system local here.
12863 (rcirc-mode): Merge make-local-variable into `set'.
12864 (rcirc-parent-buffer): Make permanent buffer-local.
12865 (rcirc-multiline-minor-mode): Don't do it here.
12866 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12867 there's no server buffer.
12868
128692011-05-11 Glenn Morris <rgm@gnu.org>
12870
12871 * newcomment.el (comment-kill): Prefix "unused" local.
12872
12873 * term/w32console.el (get-screen-color): Declare.
12874
12875 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12876 Handle symbol elements of byte-compile-initial-macro-environment.
12877
128782011-05-10 Leo Liu <sdl.web@gmail.com>
12879
12880 * bookmark.el (bookmark-bmenu-mode-map):
12881 Bind bookmark-bmenu-search to `/'.
12882
12883 * mail/footnote.el: Convert to utf-8 encoding.
12884 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12885 (Footnote-unicode): New function.
12886 (footnote-style-alist): Add unicode style to the list.
12887 (footnote-style): Doc fix.
12888
128892011-05-10 Jim Meyering <meyering@redhat.com>
12890
12891 Fix doubled-word typos.
12892 * international/quail.el (quail-insert-kbd-layout): and and -> and
12893 * kermit.el: and and -> and
12894 * net/ldap.el (ldap-search-internal): to to -> to
12895 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12896 * progmodes/js.el (js-mode): and and -> and
12897 * textmodes/artist.el (artist-move-to-xy): at at -> at
12898 (artist-draw-region-trim-line-endings): if if -> if
12899 And Safetyc -> Safety.
12900 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12901
129022011-05-10 Glenn Morris <rgm@gnu.org>
12903 Stefan Monnier <monnier@iro.umontreal.ca>
12904
12905 * files.el (hack-one-local-variable-eval-safep):
12906 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12907
129082011-05-10 Glenn Morris <rgm@gnu.org>
12909
12910 * calendar/diary-lib.el (diary-list-entries-hook)
12911 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12912 (diary-nongregorian-marking-hook, diary-list-entries)
12913 (diary-include-other-diary-files, diary-mark-entries)
12914 (diary-mark-included-diary-files): Doc fixes.
12915
129162011-05-09 Juanma Barranquero <lekktu@gmail.com>
12917
12918 * misc.el: Require tabulated-list.el during compilation.
12919
129202011-05-09 Chong Yidong <cyd@stupidchicken.com>
12921
12922 * progmodes/compile.el (compilation-start):
12923 Run compilation-filter-hook for the async case too.
12924 (compilation-filter-hook): Doc fix.
12925
129262011-05-09 Deniz Dogan <deniz@dogan.se>
12927
12928 * wdired.el: Remove outdated installation comment. Fix usage
12929 comment.
12930
129312011-05-09 Juanma Barranquero <lekktu@gmail.com>
12932
12933 * misc.el: Implement new command `list-dynamic-libraries'.
12934 (list-dynamic-libraries--loaded-only-p): New variable.
12935 (list-dynamic-libraries--refresh): New function.
12936 (list-dynamic-libraries): New command.
12937
129382011-05-09 Chong Yidong <cyd@stupidchicken.com>
12939
12940 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12941 Fix the ant regexp to handle end-line and end-column info from jikes.
12942 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12943 higher priority to avoid clobbering by gnu.
12944
129452011-05-08 Chong Yidong <cyd@stupidchicken.com>
12946
12947 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12948 if the face has existing theme settings (Bug#8454).
12949
129502011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12951
12952 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12953 Only match variables declared via `my' or `our' (Bug#8261).
12954
12955 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12956 special file names `.' and `..' (Bug#8259).
12957
129582011-05-08 Chong Yidong <cyd@stupidchicken.com>
12959
12960 * progmodes/grep.el (grep-mode-font-lock-keywords):
12961 Remove buffer-changing entries.
12962 (grep-filter): New function.
12963 (grep-mode): Add it to compilation-filter-hook.
12964
12965 * progmodes/compile.el (compilation-filter-hook)
12966 (compilation-filter-start): New defvars.
12967 (compilation-filter): Call compilation-filter-hook prior to
12968 updating the process mark.
12969
129702011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12971
12972 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12973
129742011-05-07 Eli Zaretskii <eliz@gnu.org>
12975
12976 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12977 mailclient-send-it even if window-system is nil. (Bug#8595)
12978
12979 * term/w32console.el (terminal-init-w32console):
12980 Call get-screen-color and use its output to set the frame
12981 background-mode. (Bug#8597)
12982
129832011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12984
12985 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12986 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12987 New functions.
12988 (defgeneric, eieio--defmethod): Use them.
12989 (eieio-defgeneric): Remove.
12990 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12991
129922011-05-07 Glenn Morris <rgm@gnu.org>
12993
12994 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12995 Use let rather than let*.
12996 (timeclock-find-discrep): Remove unused local.
12997
12998 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12999
13000 * calendar/appt.el (appt-time-msg-list): Doc fix.
13001
130022011-05-06 Noah Friedman <friedman@splode.com>
13003
13004 * apropos.el (apropos-print-doc): Only use
13005 emacs-lisp-docstring-fill-column when it is bound to an integer,
13006 per that variable's documentation.
13007
130082011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13009
13010 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13011 and warnings are not silently discarded (e.g. use -d instead of -P).
13012
130132011-05-06 Glenn Morris <rgm@gnu.org>
13014
13015 * calendar/appt.el (appt-message-warning-time): Doc fix.
13016 (appt-warning-time-regexp): New option.
13017 (appt-make-list): Respect appt-message-warning-time.
13018
13019 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13020 New options.
13021 (diary-add-to-list): Strip comments from the displayed string.
13022 (diary-mode): Set comment-start and comment-end.
13023
13024 * vc/diff-mode.el (smerge-refine-subst): Declare.
13025 (diff-refine-hunk): Don't require smerge-mode when compiling.
13026
130272011-05-06 Juanma Barranquero <lekktu@gmail.com>
13028
13029 * simple.el (list-processes): Return nil as the docstring says.
13030
130312011-05-05 Michael Albinus <michael.albinus@gmx.de>
13032
13033 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13034 to "".
13035 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13036 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13037 determining of binary transfer. (Bug#7383)
13038
130392011-05-05 Michael Albinus <michael.albinus@gmx.de>
13040
13041 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13042 Fix port computation bug. (Bug#8618)
13043
130442011-05-05 Glenn Morris <rgm@gnu.org>
13045
13046 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13047
13048 * simple.el (shell-dynamic-complete-functions)
13049 (comint-dynamic-complete-functions): Declare.
13050
13051 * net/network-stream.el (gnutls-negotiate):
13052 * simple.el (tabulated-list-print): Fix declarations.
13053
13054 * progmodes/gud.el (syntax-symbol, syntax-point):
13055 Remove unnecessary and incorrect declarations.
13056
13057 * emacs-lisp/check-declare.el (check-declare-scan):
13058 Handle byte-compile-initial-macro-environment in bytecomp.el
13059
130602011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13061
13062 Fix earlier half-done eieio-defmethod change (bug#8338).
13063 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13064 Streamline and change calling convention.
13065 (defmethod): Adjust accordingly and simplify.
13066 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13067 new eieio--defmethod.
13068 (slot-boundp): Minor CSE simplification.
13069
130702011-05-05 Milan Zamazal <pdm@zamazal.org>
13071
13072 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13073 (glasses-make-readable): Use glasses-separate-capital-groups.
13074
130752011-05-05 Juanma Barranquero <lekktu@gmail.com>
13076
13077 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13078 (warning-series): Doc fix.
13079 (display-warning): Don't try to create the buffer if we just found it.
13080
130812011-05-04 Chong Yidong <cyd@stupidchicken.com>
13082
13083 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13084 (autoload-find-generated-file): New function.
13085 (generate-file-autoloads): Bind generated-autoload-file to
13086 buffer-file-name.
13087 (update-file-autoloads, update-directory-autoloads):
13088 Use autoload-find-generated-file. If called interactively, prompt for
13089 output file (Bug#7989).
13090 (batch-update-autoloads): Doc fix.
13091
130922011-05-04 Juanma Barranquero <lekktu@gmail.com>
13093
13094 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13095
130962011-05-04 Glenn Morris <rgm@gnu.org>
13097
13098 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13099 function, so it follows changes in calendar-date-style.
13100 (diary-fancy-date-matcher): New function.
13101 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13102 (diary-fancy-font-lock-fontify-region-function):
13103 Use diary-fancy-date-pattern as a function.
13104
13105 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13106 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13107
131082011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13109
13110 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13111 instead of positional arguments. Allow :keylist and :crlfiles
13112 arguments.
13113 (open-gnutls-stream): Call it.
13114
13115 * net/network-stream.el (network-stream-open-starttls): Adjust to
13116 call `gnutls-negotiate' with :process and :hostname arguments.
13117
131182011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13119
13120 * minibuffer.el (completion--message): New function.
13121 (completion--do-completion, minibuffer-complete)
13122 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13123 (completion--do-completion): Don't ignore completion-auto-help when in
13124 icomplete-mode.
13125
13126 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13127 internal encoding (e.g. tibetan zero is not whitespace).
13128 (global-whitespace-mode): Prefer save-current-buffer.
13129 (whitespace-trailing-regexp): Remove useless save-match-data.
13130 (whitespace-empty-at-bob-regexp): Minor simplification.
13131
131322011-05-03 Chong Yidong <cyd@stupidchicken.com>
13133
13134 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13135
131362011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13137
13138 * textmodes/ispell.el (ispell-add-per-file-word-list):
13139 Use `concat' to create string for insertion.
13140
131412011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13142
13143 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13144 Avoid open-line which runs post-self-insert-hook.
13145 (bibtex-fill-entry): Remove unused `end' var.
13146
131472011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13148
13149 * textmodes/ispell.el (ispell-add-per-file-word-list):
13150 Protect against `nil' value of `comment-start' (Bug#8579).
13151
131522011-05-03 Leo Liu <sdl.web@gmail.com>
13153
13154 * isearch.el (isearch-yank-pop): New command.
13155 (isearch-mode-map): Bind it to `M-y'.
13156 (isearch-forward): Mention it.
13157
131582011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13159
13160 * simple.el (minibuffer-complete-shell-command): Remove.
13161 (minibuffer-local-shell-command-map): Use completion-at-point.
13162 (read-shell-command): Setup completion vars here instead.
13163 (read-expression-map): Bind TAB to symbol completion.
13164
13165 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13166 error directly rather via storing it into `results'.
13167
131682011-05-02 Leo Liu <sdl.web@gmail.com>
13169
13170 * vc/diff.el: Fix description.
13171
131722011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13173
13174 * server.el (server-eval-at): New function.
13175
131762011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13177
13178 * net/network-stream.el (open-network-stream): Take a :nowait
13179 parameter and pass it on to `make-network-process'.
13180 (network-stream-open-plain): Ditto.
13181
131822011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13183
13184 * faces.el (face-spec-set-match-display): Don't match toolkit
13185 options on terminal frames.
13186
131872011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13188
13189 * progmodes/pascal.el: Use lexical binding.
13190 (pascal-mode-map): Remove author preferences.
13191
13192 * pcomplete.el (pcomplete-std-complete): Don't abuse
13193 completion-at-point.
13194
131952011-04-28 Juanma Barranquero <lekktu@gmail.com>
13196
13197 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13198 removing code that has been dead since 1991 or so.
13199
13200 * startup.el (command-line): When warning about "_emacs", use a
13201 delayed warning to allow the user to filter it out.
13202
132032011-04-28 Deniz Dogan <deniz@dogan.se>
13204
13205 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13206 user has not joined.
13207
132082011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13209
13210 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13211 aren't any completions at point.
13212
132132011-04-28 Juanma Barranquero <lekktu@gmail.com>
13214
13215 * subr.el (display-delayed-warnings): New function.
13216 (delayed-warnings-hook): New variable.
13217
132182011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13219
13220 * minibuffer.el (completion-at-point, completion-help-at-point):
13221 Don't presume that a given completion-at-point-function will always
13222 use the same calling convention.
13223
13224 * pcomplete.el (pcomplete-completions-at-point):
13225 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13226 pcomplete-seen is non-nil.
13227 (pcomplete-comint-setup): Also recognize the new comint/shell
13228 completion functions.
13229 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13230 pcomplete-seen is non-nil.
13231
132322011-04-27 Niels Giesen <niels.giesen@gmail.com>
13233
13234 * calendar/icalendar.el (diary-lib): Add require statement.
13235 (icalendar--create-uid): Read out a uid from a text-property on
13236 the first character in the entry. This allows for code to add its
13237 own uid to the entry.
13238 (icalendar--convert-float-to-ical): Add export of
13239 `diary-float'-entries save for those with the optional DAY
13240 argument.
13241
132422011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13243
13244 * subr.el (shell-quote-argument): Use alternate escaping strategy
13245 when we spot a variable reference in a string.
13246
132472011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13248
13249 * cus-start.el (all): Define customization for debug-on-event.
13250
132512011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13252
13253 * subr.el (shell-quote-argument): Escape correctly under Windows.
13254
132552011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13256
13257 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13258
132592011-04-25 Michael Albinus <michael.albinus@gmx.de>
13260
13261 * net/tramp.el (tramp-process-actions): Add POS argument.
13262 Delete region between POS and (pos).
13263
13264 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13265 Use `nil' position in `tramp-process-actions' call.
13266 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13267
13268 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13269 position in `tramp-process-actions' call.
13270
13271 * net/trampver.el: Update release number.
13272
132732011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13274
13275 * custom.el (defcustom): Obey lexical-binding.
13276
13277 Fix octave-inf completion problems reported by Alexander Klimov.
13278 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13279 Inherit from octave-mode-syntax-table.
13280 (inferior-octave-mode): Set info-lookup-mode.
13281 (inferior-octave-completion-at-point): New function.
13282 (inferior-octave-complete): Use it and completion-in-region.
13283 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13284 comint-filename-completion.
13285 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13286 symbol elements which shouldn't be word elements.
13287 (octave-font-lock-keywords, octave-beginning-of-defun)
13288 (octave-function-header-regexp): Adjust regexps accordingly.
13289 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13290
132912011-04-25 Juanma Barranquero <lekktu@gmail.com>
13292
13293 * net/gnutls.el (gnutls-errorp): Declare before first use.
13294
132952011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13296
13297 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13298 verify-error, and verify-hostname-error parameters. Check whether
13299 default trustfile exists before going to use it. Add missing
13300 argument to gnutls-message-maybe call. Return value.
13301 Reported by Claudio Bley <claudio.bley@gmail.com>.
13302 (open-gnutls-stream): Add usage example.
13303
13304 * net/network-stream.el (network-stream-open-starttls): Give host
13305 parameter to `gnutls-negotiate'.
13306 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13307 * subr.el (shell-quote-argument): Escape correctly under Windows.
13308
133092011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13310
13311 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13312 Use correct match group (bug#8438).
13313
133142011-04-24 Chong Yidong <cyd@stupidchicken.com>
13315
13316 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13317 (package-menu--generate): New arg specifying packages to show.
13318 (package-menu-refresh, package-menu-execute, list-packages):
13319 Callers changed.
13320 (package-show-package-list): New function, replacing deleted
13321 package--list-packages (renamed because it is non-internal).
13322
13323 * finder.el (finder-list-matches): Use package-show-package-list
13324 instead of deleted package--list-packages.
13325
13326 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13327 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13328 (vc-annotate-mode-map): Bind it to RET.
13329
133302011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13331
13332 * progmodes/etags.el (next-file): Don't use set-buffer to change
13333 buffers (Bug#8478).
13334
133352011-04-24 Chong Yidong <cyd@stupidchicken.com>
13336
13337 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13338
13339 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13340 (apropos-accumulator): Doc fix.
13341 (apropos-function, apropos-macro, apropos-command)
13342 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13343 (apropos-plist): Add face property.
13344 (apropos-symbols-internal): Fix indentation.
13345 (apropos-print): Simplify help, and recognize apropos-multi-type.
13346 (apropos-print-doc): Use button-type-get to extract the button's
13347 face property. Fill docstring (Bug#8352).
13348
133492011-04-23 Juanma Barranquero <lekktu@gmail.com>
13350
13351 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13352
13353 * play/mpuz.el (mpuz-silent): Doc fix.
13354 (mpuz-mode-map): Use mapc.
13355 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13356 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13357 Fix typos in docstrings.
13358
13359 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13360 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13361
13362 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13363
133642011-04-23 Chong Yidong <cyd@stupidchicken.com>
13365
13366 * minibuffer.el (completion--do-completion): Avoid the "Next char
13367 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13368
13369 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13370 mouse-2 into unread-command-events, it is interpreted correctly.
13371
13372 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13373 (image-toggle-display): Doc fix.
13374
133752011-04-23 Stephen Berman <stephen.berman@gmx.net>
13376
13377 * textmodes/page.el (what-page): Use line-number-at-pos to
13378 calculate line number (Bug#6825).
13379
133802011-04-22 Juanma Barranquero <lekktu@gmail.com>
13381
13382 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13383 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13384 Pass argument NO-DEFAULT to `find-tag-interactive'.
13385
133862011-04-22 Juanma Barranquero <lekktu@gmail.com>
13387
13388 Lexical-binding cleanup.
13389
13390 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13391 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13392 * progmodes/ada-prj.el (ada-prj-initialize-values)
13393 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13394 (ada-prj-show-value):
13395 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13396 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13397 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13398 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13399 * progmodes/bug-reference.el (bug-reference-push-button):
13400 * progmodes/fortran.el (fortran-line-length):
13401 * progmodes/glasses.el (glasses-change):
13402 * progmodes/octave-mod.el (octave-fill-paragraph):
13403 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13404 (python-pdbtrack-grub-for-buffer, python-sentinel):
13405 * progmodes/sql.el (sql-save-connection):
13406 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13407 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13408 Mark unused parameters.
13409
13410 * progmodes/compile.el (compilation--flush-directory-cache)
13411 (compilation--flush-parse, compile-internal): Mark unused parameters.
13412 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13413 (compilation-next-error-function): Remove unused variable `timestamp'.
13414
13415 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13416 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13417
13418 * progmodes/dcl-mode.el (dcl-end-of-command):
13419 Remove unused variable `start'.
13420 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13421 (dcl-option-value-basic, dcl-option-value-offset)
13422 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13423 Mark unused parameters.
13424 (dcl-save-local-variable): Remove unused variable `val'.
13425 (mode): Declare.
13426
13427 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13428 Mark unused parameters.
13429 (delphi-ignore-changes): Move before first use.
13430 (delphi-charset-token-at): Remove unused variable `start'.
13431 (delphi-else-start): Remove unused variable `if-count'.
13432 (delphi-comment-block-start, delphi-comment-block-end):
13433 Remove unused variable `kind'.
13434 (delphi-indent-line): Remove unused variable `new-point'.
13435
13436 * progmodes/ebrowse.el (ebrowse-files-list)
13437 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13438 Mark unused parameters. Don't quote `lambda'.
13439 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13440 Don't quote `lambda'.
13441 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13442 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13443 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13444 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13445 Use `ignore-errors'.
13446 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13447 (ebrowse-view/find-file-and-search-pattern)
13448 (ebrowse-view/find-member-declaration/definition):
13449 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13450 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13451 Rename parameter PREFIX-ARG to PREFIX.
13452 (ebrowse-tags-read-name): Remove unused variables `start' and
13453 `member-info'.
13454 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13455 to `tags-file'.
13456
13457 * progmodes/etags.el (local-find-tag-hook): Declare.
13458 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13459 Mark unused parameters.
13460
13461 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13462 (executable-interpret): Mark unused parameter.
13463
13464 * progmodes/flymake.el (flymake-process-sentinel)
13465 (flymake-after-change-function)
13466 (flymake-create-temp-with-folder-structure)
13467 (flymake-get-include-dirs-dot): Mark unused parameters.
13468 (flymake-safe-delete-directory): Remove unused variable `err'.
13469
13470 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13471 (speedbar-timer-fn, speedbar-line-text)
13472 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13473 (speedbar-center-buffer-smartly): Declare functions.
13474 (gdb-find-watch-expression): Remove unused variable `array'.
13475 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13476 (gdb-starting): Mark unused parameters.
13477 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13478 (gdb-table-string): Remove unused variable `res'.
13479 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13480 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13481 (gdb-display-buffer): Remove unused variable `cur-size'.
13482
13483 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13484 allow lexical-binding compilation.
13485 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13486 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13487 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13488 Mark unused parameters.
13489 (gud-gdb-marker-filter): Remove unused variable `match'.
13490 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13491 lambda expressions and funcall them, instead of using `fset'.
13492
13493 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13494 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13495
13496 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13497 variable `header-beg'; use `let'.
13498
13499 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13500 `restart', `last-sexp' and `at-do'.
13501
13502 * progmodes/js.el (js--debug): Mark unused parameter.
13503 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13504 (js--splice-into-items): Remove unused variable `item'.
13505 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13506
13507 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13508 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13509 (makefile-complete): Remove unused variable `try'.
13510 (makefile-fill-paragraph, makefile-match-function-end):
13511 Mark unused parameters.
13512
13513 * progmodes/octave-inf.el (inferior-octave-complete):
13514 Remove unused variable `proc'.
13515 (inferior-octave-output-digest): Mark unused parameter.
13516
13517 * progmodes/perl-mode.el (perl-calculate-indent):
13518 Remove unused variable `err'.
13519
13520 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13521 (prolog-indent-line): Mark unused parameters.
13522 (prolog-indent-line): Remove unused variable `beg'.
13523
13524 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13525 (reporter-dont-compact-list): Declare.
13526
13527 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13528 Remove unused variable `char'.
13529 (sh-debug): Mark unused parameter.
13530 (sh-get-indent-info): Remove unused variable `start'.
13531 (sh-calculate-indent): Remove unused variable `var'.
13532
13533 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13534 (simula-electric-keyword): Remove unused variable `null'.
13535 (simula-search-backward, simula-search-forward): Remove unused
13536 variables `begin' and `end'.
13537
13538 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13539 Remove unused variable `pos'.
13540 (vera-electric-tab, vera-comment-uncomment-region):
13541 Mark unused parameters.
13542 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13543
135442011-04-22 Chong Yidong <cyd@stupidchicken.com>
13545
13546 * emacs-lisp/package.el (package--builtins, package-alist)
13547 (package-load-descriptor, package-built-in-p, package-activate)
13548 (define-package, package-installed-p)
13549 (package-compute-transaction, package-buffer-info)
13550 (package--push): Doc fix. Distinguish more clearly between
13551 version strings and version lists.
13552
135532011-04-21 Juanma Barranquero <lekktu@gmail.com>
13554
13555 Lexical-binding cleanup.
13556
13557 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13558 (5x5-make-mutate-best):
13559 * play/fortune.el (fortune-in-buffer):
13560 * play/gomoku.el (gomoku-init-display):
13561 * play/solitaire.el (solitaire, solitaire-do-check):
13562 * play/tetris.el (tetris-default-update-speed-function):
13563 Mark unused parameters.
13564
13565 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13566 (bubbles--shift): Remove unused variable `char-org'.
13567 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13568 (bubbles--show-images): Remove unused variable `char'.
13569
13570 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13571 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13572 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13573 (decipher-analyze-buffer): Use ?\s.
13574 (decipher-make-checkpoint): Remove unused variable `mapping'.
13575
13576 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13577
13578 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13579 Remove unused variable `result'; use `let'.
13580
13581 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13582 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13583 (gametree-children-shown-p, gametree-compute-reduced-score):
13584 Use `ignore-errors'.
13585
13586 * play/handwrite.el (ps-lpr-switches): Declare.
13587 (handwrite): Remove unused variables `pmin' and `lastp'.
13588
13589 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13590
13591 * play/landmark.el (landmark-init-display)
13592 (landmark-update-naught-weights): Mark unused parameters.
13593 (landmark-y): Remove unused variable `noise'. Simplify.
13594 (landmark-human-plays): Remove unused variable `score'.
13595
13596 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13597 (mpuz-try-proposal): Remove unused variable `game'.
13598
13599 * play/zone.el (life-patterns): Declare.
13600
136012011-04-20 Juanma Barranquero <lekktu@gmail.com>
13602
13603 * vc/vc.el (ediff-vc-internal): Declare function.
13604
136052011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13606
13607 * shell.el: Use lexical-binding and std completion UI.
13608 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13609 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13610 comint-preoutput-filter-functions rather than on
13611 comint-output-filter-functions.
13612 (shell-command-completion, shell--command-completion-data)
13613 (shell-filename-completion, shell-environment-variable-completion)
13614 (shell-c-a-p-replace-by-expanded-directory): New functions.
13615 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13616 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13617 (shell-dynamic-complete-environment-variable): Use them.
13618 (shell-dynamic-complete-as-environment-variable)
13619 (shell-dynamic-complete-as-command): Remove.
13620 (shell-match-partial-variable): Match past point.
13621 * comint.el: Clean up use of completion-at-point-functions.
13622 (comint-completion-at-point): New function.
13623 (comint-mode): Use it completion-at-point-functions.
13624 (comint-dynamic-complete): Make it obsolete.
13625 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13626 (comint-c-a-p-replace-by-expanded-history): New function.
13627 (comint-dynamic-complete-functions)
13628 (comint-replace-by-expanded-history): Use it.
13629 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13630 termination strings. Try harder to avoid second try-completion.
13631 (completion-in-region-mode-map): Disable bindings that don't work yet.
13632
13633 * comint.el: Use lexical-binding. Require CL.
13634 (comint-dynamic-complete-functions): Use comint-filename-completion.
13635 (comint-completion-addsuffix): Tweak custom type.
13636 (comint-filename-completion, comint--common-suffix)
13637 (comint--common-quoted-suffix, comint--table-subvert)
13638 (comint--complete-file-name-data): New functions.
13639 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13640 (comint-dynamic-list-filename-completions): Use them.
13641 (comint-dynamic-simple-complete): Make obsolete.
13642
13643 * minibuffer.el (completion-in-region-mode):
13644 Keep completion-in-region-mode--predicate global.
13645 (completion-in-region--postch):
13646 Assume completion-in-region-mode--predicate is not null.
13647
13648 * progmodes/flymake.el (flymake-start-syntax-check-process):
13649 Obey `dir'. Simplify.
13650
13651 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13652 we're in VC after all.
13653
136542011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13655
13656 * vc/vc.el (vc-diff-build-argument-list-internal)
13657 (vc-version-ediff, vc-ediff): New commands.
13658 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13659
136602011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13661
13662 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13663 add sanity check.
13664
13665 * obsolete/erc-hecomplete.el: Make obsolete.
13666 * obsolete/: Standardize obsolescence info in the header.
13667
136682011-04-20 Glenn Morris <rgm@gnu.org>
13669
13670 * calendar/solar.el (solar-horizontal-coordinates):
13671 Use the longitude argument rather than `calendar-longitude'.
13672 (solar-date-next-longitude): Remove unused locals.
13673
136742011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13675
13676 * whitespace.el: New version 13.2.1.
13677
136782011-04-20 felix <EmacsWiki> (tiny change)
13679
13680 * whitespace.el (global-whitespace-mode): Keep highlight when
13681 switching between major modes on a file.
13682
136832011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13684
13685 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13686 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13687 multi-line comments as well.
13688
136892011-04-19 Juanma Barranquero <lekktu@gmail.com>
13690
13691 Lexical-binding cleanup.
13692
13693 * arc-mode.el (archive-mode-revert):
13694 * cmuscheme.el (scheme-interactively-start-process):
13695 * custom.el (custom-initialize-delay):
13696 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13697 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13698 * emacs-lock.el (emacs-lock-clear-sentinel):
13699 * ezimage.el (defezimage):
13700 * follow.el (follow-avoid-tail-recenter):
13701 * fringe.el (set-fringe-mode-1):
13702 * generic-x.el (bat-generic-mode-compile):
13703 * help-mode.el (help-info-variable, help-do-xref)
13704 (help-mode-revert-buffer):
13705 * help.el (view-emacs-todo):
13706 * iswitchb.el (iswitchb-completion-help):
13707 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13708 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13709 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13710 * locate.el (locate-update):
13711 * longlines.el (longlines-encode-region)
13712 (longlines-after-change-function):
13713 * outline.el (outline-isearch-open-invisible):
13714 * ps-def.el (declare-function, charset-dimension, char-width)
13715 (encode-char):
13716 * ps-mule.el (ps-mule-plot-string):
13717 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13718 (recentf-edit-list-select, recentf-edit-list-validate)
13719 (recentf-open-files-action):
13720 * rect.el (delete-whitespace-rectangle-line)
13721 (rectangle-number-line-callback):
13722 * register.el (window-configuration-to-register)
13723 (frame-configuration-to-register):
13724 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13725 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13726 (xselect-convert-to-targets, xselect-convert-to-delete)
13727 (xselect-convert-to-filename, xselect-convert-to-charpos)
13728 (xselect-convert-to-lineno, xselect-convert-to-colno)
13729 (xselect-convert-to-os, xselect-convert-to-host)
13730 (xselect-convert-to-user, xselect-convert-to-class)
13731 (xselect-convert-to-name, xselect-convert-to-integer)
13732 (xselect-convert-to-atom, xselect-convert-to-identity):
13733 * subr.el (declare, ignore, process-kill-without-query)
13734 (text-clone-maintain):
13735 * terminal.el (te-get-char, te-tic-sentinel):
13736 * tool-bar.el (tool-bar-make-keymap):
13737 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13738 * type-break.el (type-break-mode, type-break-noninteractive-query):
13739 * view.el (View-back-to-mark):
13740 * wid-browse.el (widget-browse-action, widget-browse-widget)
13741 (widget-browse-widgets, widget-browse-sexp):
13742 * widget.el (define-widget-keywords):
13743 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13744 Mark unused parameters.
13745
13746 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13747 (align-areas): Remove unused variable `look'.
13748 (align-region): Remove unused variables `real-end' and `pos-list'.
13749
13750 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13751
13752 * bindings.el (mode-line-modified, mode-line-remote):
13753 Mark unused parameters.
13754 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13755
13756 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13757 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13758
13759 * comint.el (comint-history-isearch-pop-state)
13760 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13761 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13762 (comint-substitute-in-file-name): Doc fix.
13763
13764 * completion.el (cmpl-statistics-block): Mark unused parameter.
13765 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13766 (save-completions-to-file, load-completions-from-file):
13767 Remove unused local variable `e'.
13768
13769 * composite.el (compose-chars): Remove unused variable `len'.
13770 (lgstring-insert-glyph): Remove unused variable `g'.
13771 (compose-glyph-string): Remove unused variables `ascent',
13772 `descent', `lbearing' and `rbearing'.
13773 (compose-glyph-string-relative): Remove unused variables
13774 `lbearing', `rbearing' and `wadjust'.
13775 (compose-gstring-for-graphic): Remove unused variables `header',
13776 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13777 (compose-gstring-for-terminal): Remove unused variables `header'
13778 and `nchars'. Use `let', not `let*'.
13779
13780 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13781 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13782 (Custom-buffer-done, custom-buffer-create-internal)
13783 (custom-browse-visibility-action, custom-browse-group-tag-action)
13784 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13785 (widget-magic-mouse-down-action, custom-toggle-parent)
13786 (custom-add-parent-links, custom-toggle-hide-variable)
13787 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13788 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13789 (custom-face-menu-create, custom-variable-menu-create, get)
13790 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13791 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13792 (customize-apropos): Remove unused variable `tests'.
13793 (custom-group-value-create): Remove unused variable `hidden-p'.
13794 (sort-fold-case): Declare.
13795
13796 * cus-theme.el (custom-reset-standard-faces-list)
13797 (custom-reset-standard-variables-list): Declare.
13798 (customize-create-theme, custom-theme-revert, custom-theme-write)
13799 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13800 Mark unused parameters.
13801
13802 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13803
13804 * delim-col.el (delimit-columns-max): Move defvar before first use.
13805
13806 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13807 (describe-char): Don't quote `lambda'. Mark unused parameter.
13808
13809 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13810 (auto-insert): Declare.
13811 (desktop-restore-file-buffer): Rename desktop-* parameters;
13812 mark unused ones.
13813 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13814 (desktop-buffer): Rename desktop-* parameters.
13815
13816 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13817 (dframe-reposition-frame-xemacs, dframe-help-echo)
13818 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13819 Mark unused parameters.
13820
13821 * dired-aux.el (backup-extract-version-start, overwrite-query)
13822 (overwrite-backup-query, rename-regexp-query)
13823 (rename-non-directory-query): Declare.
13824 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13825 (dired-add-entry): Remove unused variable `orig-file-name'.
13826 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13827 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13828 `dired-copy-preserve-time' directly.
13829 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13830 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13831
13832 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13833 (dired-virtual-revert, dired-make-relative-symlink):
13834 Mark unused parameters.
13835 (manual-program): Declare.
13836 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13837 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13838 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13839
13840 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13841
13842 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13843
13844 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13845 Declare.
13846
13847 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13848
13849 * electric.el (Electric-command-loop): Rename parameter
13850 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13851
13852 * expand.el (expand-in-literal): Remove unused variable `here'.
13853
13854 * facemenu.el (facemenu-add-new-color):
13855 Remove unused variable `docstring'.
13856
13857 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13858 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13859 (face-attr-construct): Mark unused parameter. Doc fix.
13860 (read-color): Remove unused variable `hex-string'.
13861
13862 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13863 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13864 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13865 (display-buffer-other-frame): Remove unused variable `old-window'.
13866 (kill-buffer-hook): Declare.
13867 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13868 Mark unused parameters.
13869 (after-find-file): Pass 1 to `auto-save-mode', not t.
13870
13871 * files-x.el (auto-insert): Declare.
13872 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13873
13874 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13875 variable `buf'. Mark unused parameter.
13876 (find-lisp-insert-directory): Mark unused parameter.
13877
13878 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13879 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13880 (format-common-tail): Remove, unused.
13881 (format-deannotate-region): Remove unused variable `loc'.
13882 (format-annotate-region): Remove unused variable `p'.
13883 (format-annotate-single-property-change): Remove unused variables
13884 `default' and `tail'.
13885
13886 * forms.el (read-file-filter): Declare.
13887 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13888
13889 * frame.el (frame-creation-function-alist): Mark unused parameter.
13890 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13891
13892 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13893 Remove unused parameters.
13894 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13895 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13896
13897 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13898 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13899 (hfy-prepare-tag-map): Mark unused parameters.
13900 (htmlfontify-buffer): Use `called-interactively-p'.
13901
13902 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13903 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13904 (ibuffer-do-occur): Mark unused parameters.
13905 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13906 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13907
13908 * ibuffer.el: Don't quote `lambda'.
13909 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13910 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13911 Mark unused parameters.
13912
13913 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13914 (ido-completing-read): Mark unused parameters.
13915 (ido-copy-current-word): Mark unused parameters;
13916 remove unused variable `name'.
13917 (ido-sort-merged-list): Remove unused parameter `dirs'.
13918
13919 * ielm.el (ielm-input-sender): Mark unused parameter.
13920 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13921 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13922 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13923 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13924 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13925
13926 * image-dired.el (image-dired-display-thumbs): Remove unused
13927 variables `curr-file' and `count'.
13928 (image-dired-remove-tag): Remove unused variable `start'.
13929 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13930 variable `curr-file'
13931 (image-dired-rotate-original): Remove unused variable `temp-file'.
13932 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13933 Remove unused variable `file'.
13934 (image-dired-gallery-generate): Remove unused variable `curr'.
13935 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13936
13937 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13938
13939 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13940
13941 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13942
13943 * isearch.el (minibuffer-history-symbol): Declare.
13944 (isearch-edit-string): Remove unused variable `err'.
13945 (isearch-message-prefix, isearch-message-suffix):
13946 Mark unused parameters.
13947
13948 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13949
13950 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13951
13952 * makesum.el (double-column): Remove unused variable `cnt'.
13953
13954 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13955 (ido-ignore-item-temp-list): Declare.
13956
13957 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13958 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13959 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13960 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13961 `mouse-col-delta'.
13962
13963 * mouse-sel.el (mouse-extend-internal):
13964 Remove unused variable `orig-window-frame'.
13965
13966 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13967 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13968 Move declarations before first use.
13969 (pcomplete-opt): Mark unused parameters; doc fix.
13970
13971 * proced.el (proced-revert): Mark unused parameter.
13972 (proced-send-signal): Remove unused variable `err'.
13973
13974 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13975 Rename parameter PREFIX-ARG to ARG.
13976 (ps-basic-plot-string, ps-basic-plot-whitespace):
13977 Mark unused parameters.
13978
13979 * replace.el (replace-count): Define.
13980 (occur-revert-function): Mark unused parameters.
13981 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13982 (isearch-case-fold-search, isearch-string): Declare.
13983 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13984 bind `case-fold-search'. Remove unused variables `beg' and `end',
13985 and simplify.
13986 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13987 COUNT and bind `replace-count'.
13988 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13989 to COUNT.
13990
13991 * savehist.el (print-readably, print-string-length): Declare.
13992
13993 * shadowfile.el (shadow-expand-cluster-in-file-name):
13994 Remove unused variable `cluster'.
13995 (shadow-copy-file): Remove unused variable `i'.
13996 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13997 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13998 (shadow-define-literal-group, shadow-define-regexp-group)
13999 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14000
14001 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14002 (shell): Use `called-interactively-p'.
14003 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14004
14005 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14006 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14007 (delete-backward-char): Remove unused variable `ocol'.
14008 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14009 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14010 (event-apply-hyper-modifier, event-apply-shift-modifier)
14011 (event-apply-control-modifier, event-apply-meta-modifier):
14012 Mark unused parameters.
14013 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14014 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14015
14016 * speedbar.el (speedbar-ignored-directory-expressions)
14017 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14018 (speedbar-find-file, speedbar-dir-follow)
14019 (speedbar-directory-buttons-follow, speedbar-tag-find)
14020 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14021 (speedbar-buffers-line-directory, speedbar-buffer-click):
14022 Mark unused parameters.
14023 (speedbar-tag-file): Remove unused variable `mode'.
14024 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14025
14026 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14027
14028 * talk.el (talk): Remove unused variable `display'.
14029
14030 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14031 (tar-write-region-annotate): Mark unused parameter.
14032
14033 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14034 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14035 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14036 warning by another.
14037
14038 * time-stamp.el (time-stamp-string-preprocess):
14039 Remove unused variable `require-padding'.
14040
14041 * tree-widget.el (widget-glyph-enable): Declare.
14042 (tree-widget-action): Mark unused parameter.
14043
14044 * w32-fns.el (x-get-selection): Mark unused parameter.
14045 (autoload-make-program, generated-autoload-file): Declare.
14046
14047 * wdired.el (wdired-revert): Mark unused parameters.
14048 (wdired-xcase-word): Remove unused variable `err'.
14049
14050 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14051 (whitespace-help-scroll): Remove unused variable `data-help'.
14052
14053 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14054 (widget-image-insert, widget-after-change, default)
14055 (widget-default-format-handler, widget-default-notify)
14056 (widget-default-prompt-value, widget-info-link-action)
14057 (widget-url-link-action, widget-function-link-action)
14058 (widget-variable-link-action, widget-file-link-action)
14059 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14060 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14061 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14062 (widget-insert-button-action, widget-delete-button-action, visibility)
14063 (widget-documentation-link-action, widget-documentation-string-action)
14064 (widget-const-prompt-value, widget-regexp-match, symbol)
14065 (widget-coding-system-prompt-value)
14066 (widget-key-sequence-value-to-external, sexp)
14067 (widget-sexp-value-to-internal, character, vector, cons)
14068 (widget-choice-prompt-value, widget-boolean-prompt-value)
14069 (widget-color--choose-action): Mark unused parameters.
14070 (widget-item-match-inline, widget-choice-match-inline)
14071 (widget-checklist-match, widget-checklist-match-inline)
14072 (widget-group-match): Rename parameter VALUES to VALS.
14073 (widget-field-value-set): Remove unused variable `size'.
14074 (widget-color-action): Remove unused variables `value' and `start'.
14075
14076 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14077 variable `dir'. Doc fix.
14078 (windmove-find-other-window): Don't pass it.
14079
14080 * window.el (count-windows): Mark unused parameter.
14081 (bw-adjust-window): Remove unused variable `err'.
14082
14083 * woman.el (woman-file-name): Remove unused variable `default'.
14084 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14085 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14086 (global-font-lock-mode): Declare.
14087 (woman-decode-region): Mark unused parameter.
14088 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14089
14090 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14091 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14092 (x-dnd-handle-moz-url): Remove unused variable `title'.
14093 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14094
14095 * xml.el (xml-parse-tag, xml-parse-attlist):
14096 Remove unused variable `pos'.
14097
140982011-04-19 Glenn Morris <rgm@gnu.org>
14099
14100 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14101 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14102 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14103 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14104 * calendar/cal-html.el (cal-html-insert-minical):
14105 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14106 (calendar-mark-date-pattern):
14107 Prefix "unused" locals.
14108
14109 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14110 optional argument `style'.
14111
14112 * calendar/appt.el (appt-make-list):
14113 * calendar/cal-china.el (calendar-chinese-date-string):
14114 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14115 (diary-hebrew-yahrzeit):
14116 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14117 * calendar/calendar.el (calendar-generate-window):
14118 * calendar/time-date.el (time-to-days):
14119 Remove unused local variables.
14120
141212011-04-18 Chong Yidong <cyd@stupidchicken.com>
14122
14123 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14124 glyphless-char-display table.
14125 (tabulated-list-glyphless-char-display): New var.
14126
141272011-04-18 Sam Steingold <sds@gnu.org>
14128
14129 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14130 to acknowledgments.
14131
141322011-04-17 Glenn Morris <rgm@gnu.org>
14133
14134 * calendar/diary-lib.el (diary-sexp-entry):
14135 * calendar/holidays.el (holiday-sexp):
14136 Set debug-on-error rather than the removed stack-trace-on-error.
14137
141382011-04-16 Glenn Morris <rgm@gnu.org>
14139
14140 * progmodes/f90.el: Use lexical-binding.
14141 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14142
141432011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14144
14145 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14146 (mail-mode): Setup mailalias completion here instead.
14147 * mail/mailalias.el: Use lexical-binding.
14148 (pattern, mailalias-done): Declare dynamic.
14149 (mail-completion-at-point-function): New function, from mail-complete.
14150 (mail-complete): Use it.
14151 (mail-completion-expand): New function.
14152 (mail-get-names): Use it.
14153 (mail-directory, mail-directory-process, mail-directory-stream):
14154 Don't use `pattern' for lexically bound arg.
14155
14156 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14157
14158 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14159 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14160 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14161
14162 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14163 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14164 (byte-interactive-p): Define them again, for use when inlining
14165 old code.
14166
141672011-04-15 Juanma Barranquero <lekktu@gmail.com>
14168
14169 * loadup.el: Use `string-to-number', not `string-to-int'.
14170
141712011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14172
14173 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14174 gud-gdb-complete-command.
14175 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14176 (gud-gdb-completion-at-point): New function.
14177 (gud-gdb-completions): Remove.
14178
141792011-04-14 Michael Albinus <michael.albinus@gmx.de>
14180
14181 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14182 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14183 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14184 whether `executable-find' is bound.
14185
14186 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14187
141882011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14189
14190 * minibuffer.el (completion-in-region-mode-predicate)
14191 (completion-in-region-mode--predicate): New vars.
14192 (completion-in-region, completion-in-region--postch)
14193 (completion-in-region-mode): Use them.
14194 (completion--capf-wrapper): Also return the hook function.
14195 (completion-at-point, completion-help-at-point):
14196 Adjust and provide a predicate.
14197
14198 Preserve arg names for advice of subr and lexical functions (bug#8457).
14199 * help-fns.el (help-function-arglist): Consolidate the subr and
14200 new-byte-code cases. Add argument `preserve-names' to extract names
14201 from the docstring when needed.
14202 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14203 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14204 (ad-arglist): Use help-function-arglist's new arg.
14205 (ad-definition-type): Use cond.
14206
142072011-04-13 Juanma Barranquero <lekktu@gmail.com>
14208
14209 * autorevert.el (auto-revert-handler):
14210 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14211 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14212 Don't quote lambda.
14213
14214 * image-mode.el (image-transform-set-scale):
14215 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14216
142172011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14218
14219 * net/network-stream.el (network-stream-open-starttls): Only do
14220 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14221 Upgrades via gnutls-cli are too slow to be done opportunistically.
14222
142232011-04-12 Juanma Barranquero <lekktu@gmail.com>
14224
14225 * dframe.el (dframe-current-frame): Remove spurious quote.
14226
142272011-04-12 Glenn Morris <rgm@gnu.org>
14228
14229 * calendar/cal-tex.el (cal-tex-end-document):
14230 Try to automatically use latin1 input if needed.
14231
14232 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14233 Don't try to cons a mark onto an empty element.
14234
142352011-04-11 Leo Liu <sdl.web@gmail.com>
14236
14237 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14238 buffers.
14239 (ido-kill-buffer-at-head): Support killing virtual buffers.
14240
142412011-04-10 Chong Yidong <cyd@stupidchicken.com>
14242
14243 * minibuffer.el (completion-show-inline-help): New var.
14244 (completion--do-completion, minibuffer-complete)
14245 (minibuffer-force-complete, minibuffer-complete-word):
14246 Inhibit minibuffer messages if completion-show-inline-help is nil.
14247
14248 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14249 to avoid interference from inline help (Bug#5849).
14250
142512011-04-10 Leo Liu <sdl.web@gmail.com>
14252
14253 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14254 Fix typo.
14255
142562011-04-09 Chong Yidong <cyd@stupidchicken.com>
14257
14258 * image-mode.el (image-toggle-display-image): Signal an error if
14259 not in Image mode.
14260 (image-transform-mode, image-transform-resize)
14261 (image-transform-set-rotation): Doc fix.
14262 (image-transform-set-resize): Delete.
14263 (image-transform-set-scale, image-transform-fit-to-height)
14264 (image-transform-fit-to-width): Handle image-toggle-display-image
14265 and image-transform-resize directly.
14266
142672011-04-08 Sho Nakatani <lay.sakura@gmail.com>
14268
14269 * doc-view.el (doc-view-fit-width-to-window)
14270 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14271 New functions for fitting the shown image to the Emacs window size.
14272 (doc-view-mode-map): Add bindings for the new functions.
14273
142742011-04-08 Juanma Barranquero <lekktu@gmail.com>
14275
14276 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14277 Fix typo in docstring.
14278
142792011-04-08 Eli Zaretskii <eliz@gnu.org>
14280
14281 * files.el (file-size-human-readable): Produce one digit after
14282 decimal, like "ls -lh" does.
14283
14284 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14285 the file size representation.
14286
14287 * simple.el (list-processes): If async subprocesses are not
14288 available, error out with a clear error message.
14289
142902011-04-08 Chong Yidong <cyd@stupidchicken.com>
14291
14292 * help.el (help-form-show): New function, to be called from C.
14293 Put help-form output in a buffer named differently than *Help*.
14294
142952011-04-08 Eli Zaretskii <eliz@gnu.org>
14296
14297 * files.el (file-size-human-readable): New function.
14298
14299 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14300 computing the representation inline. Don't require `cl'.
14301
143022011-04-08 Glenn Morris <rgm@gnu.org>
14303
14304 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14305
14306 * net/browse-url.el (browse-url-firefox):
14307 Test system-type, not system-configuration.
14308
14309 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14310 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14311 Use log-edit-empty-buffer-p. (Bug#7598)
14312
14313 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14314 (rlogin-mode-map): Initialize in the defvar.
14315 (rlogin): Use ignore-errors.
14316
14317 * replace.el (occur-mode-map): Some fixes for menu items.
14318
143192011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14320
14321 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14322
143232011-04-06 Chong Yidong <cyd@stupidchicken.com>
14324
14325 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14326 issuing unused warnings.
14327
14328 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14329 macro directly.
14330
14331 * simple.el: Lisp reimplement of list-processes. Based on an
14332 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14333 (process-menu-mode): New major mode.
14334 (list-processes--refresh, list-processes):
14335 (process-menu-visit-buffer): New functions.
14336
14337 * files.el (save-buffers-kill-emacs): Don't assume any return
14338 value of list-processes, which is undocumented anyway.
14339
143402011-04-06 Chong Yidong <cyd@stupidchicken.com>
14341
14342 * emacs-lisp/tabulated-list.el: New file.
14343
14344 * emacs-lisp/package.el: Use Tabulated List mode.
14345 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14346 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14347 table format using Tabulated List mode variables.
14348 (package--push): New macro, replacing package-list-maybe-add.
14349 (package-menu--generate): Use package--push. Renamed from
14350 package--generate-package-list.
14351 (package-menu-refresh, list-packages): Use it.
14352 (package-menu--print-info): Rename from package-print-package.
14353 Return insertion data instead of inserting it directly.
14354 (package-menu-describe-package, package-menu-execute):
14355 Use tabulated-list-get-id.
14356 (package-menu-mark-delete, package-menu-mark-install)
14357 (package-menu-mark-unmark, package-menu-backup-unmark)
14358 (package-menu-mark-obsolete-for-deletion):
14359 Use tabulated-list-put-tag.
14360 (package--list-packages, package-menu-revert)
14361 (package-menu-get-package, package-menu-get-version)
14362 (package-menu-sort-by-column): Functions deleted.
14363 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14364 (package-menu--status-predicate, package-menu--version-predicate)
14365 (package-menu--name-predicate)
14366 (package-menu--description-predicate): Handle arguments in the
14367 Tabulated List format.
14368 (package-list-packages-no-fetch): Call list-packages.
14369
143702011-04-06 Juanma Barranquero <lekktu@gmail.com>
14371
14372 * files.el (after-find-file-from-revert-buffer): Remove variable.
14373 (after-find-file): Don't bind it.
14374 (revert-buffer-in-progress-p): New variable.
14375 (revert-buffer): Bind it.
14376 Pass nil for `after-find-file-from-revert-buffer'.
14377
14378 * saveplace.el (save-place-find-file-hook): Use new variable
14379 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14380
143812011-04-06 Glenn Morris <rgm@gnu.org>
14382
14383 * Makefile.in (AUTOGEN_VCS): New variable.
14384 (autoloads): Use $AUTOGEN_VCS.
14385
14386 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14387 * calendar/calendar.el (calendar-mode-map):
14388 Check for toolkit scroll bars. (Bug#8305)
14389
143902011-04-05 Chong Yidong <cyd@stupidchicken.com>
14391
14392 * minibuffer.el (completion-in-region--postch)
14393 (completion-in-region-mode): Remove unnecessary messages.
14394
143952011-04-05 Juanma Barranquero <lekktu@gmail.com>
14396
14397 * font-lock.el (font-lock-refresh-defaults):
14398 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14399 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14400
14401 * info.el (Info-directory-list, Info-read-node-name-2)
14402 (Info-split-parameter-string): Doc fixes.
14403 (Info-virtual-nodes): Reflow docstring.
14404 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14405 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14406 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14407 Fix typos in docstrings.
14408 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14409 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14410 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14411 (Info-restore-desktop-buffer): Mark unused parameters.
14412 (Info-directory-find-file, Info-directory-find-node)
14413 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14414 (Info-virtual-index-find-node, Info-apropos-find-file)
14415 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14416 Mark unused parameters; fix typos in docstrings.
14417 (Info-virtual-index): Remove unused local variable `nodename'.
14418
144192011-04-05 Deniz Dogan <deniz@dogan.se>
14420
14421 * net/rcirc.el: Update my e-mail address.
14422 (rcirc-mode-map): Remove M-o binding.
14423
144242011-04-05 Chong Yidong <cyd@stupidchicken.com>
14425
14426 * startup.el (command-line): Save the cursor's theme-face
14427 directly, instead of using face-override-spec.
14428
14429 * custom.el (load-theme): Minor optimization in assigning faces.
14430
144312011-04-04 Juanma Barranquero <lekktu@gmail.com>
14432
14433 * help-fns.el (describe-variable): Complete all variables having
14434 documentation, including keywords.
14435 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14436
144372011-04-04 Juanma Barranquero <lekktu@gmail.com>
14438
14439 Convert to lexical-binding.
14440
14441 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14442 (bs--get-marked-string, bs--get-modified-string)
14443 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14444 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14445 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14446
14447 * ehelp.el (electric-help-execute-extended)
14448 (electric-help-ctrl-x-prefix):
14449 * hexl.el (hexl-revert-buffer-function):
14450 * linum.el (linum-after-change, linum-after-scroll):
14451 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14452
14453 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14454
144552011-04-04 Daiki Ueno <ueno@unixuser.org>
14456
14457 * epa-dired.el:
14458 * epa-mail.el:
14459 * epa-hook.el:
14460 * epa-file.el:
14461 * epa.el:
14462 * epg.el: Use lexical binding.
14463
144642011-04-03 Chong Yidong <cyd@stupidchicken.com>
14465
14466 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14467
14468 * textmodes/flyspell.el (flyspell-word): Recognize default
14469 dictionary case for flyspell-mark-duplications-exceptions.
14470 Use regexp matching for languages.
14471 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14472 default dictionary (Bug#7926).
14473
144742011-04-02 Chong Yidong <cyd@stupidchicken.com>
14475
14476 * emacs-lisp/package.el (package--with-work-buffer):
14477 Recognize https URLs.
14478
14479 * net/network-stream.el: Move from gnus/proto-stream.el.
14480 Change prefix to network-stream throughout.
14481 (open-protocol-stream): Merge into open-network-stream, leaving
14482 open-protocol-stream as an alias. Handle nil BUFFER args.
14483
14484 * subr.el (open-network-stream): Move to net/network-stream.el.
14485
144862011-04-02 Glenn Morris <rgm@gnu.org>
14487
14488 * find-dired.el (find-exec-terminator): New option.
14489 (find-ls-option): Test for -ls support.
14490 (find-ls-subdir-switches): Test for -b in find-ls-option.
14491 (find-dired, find-grep-dired): Doc fixes.
14492 (find-dired): Use find-exec-terminator.
14493
14494 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14495 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14496 (find-name-arg): Remove purecopy.
14497
14498 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14499 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14500 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14501 accordingly. Don't add the null-device if not needed.
14502
14503 * files.el (save-some-buffers): Doc fix.
14504
145052011-04-02 Eli Zaretskii <eliz@gnu.org>
14506
14507 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14508
145092011-04-01 Juanma Barranquero <lekktu@gmail.com>
14510
14511 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14512 Use `dolist' rather than `mapcar'.
14513
145142011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14515
14516 Add lexical binding.
14517
14518 * subr.el (apply-partially): Use new closures rather than CL.
14519 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14520 (dolist, dotimes): Use slightly different expansion for lexical code.
14521 (functionp): Move to C.
14522 (letrec): New macro.
14523 (with-wrapper-hook): Use it and apply-partially instead of CL.
14524 (eval-after-load): Preserve lexical-binding.
14525 (save-window-excursion, with-output-to-temp-buffer): Turn them
14526 into macros.
14527
14528 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14529
14530 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14531 than the arglist.
14532 (help-add-fundoc-usage): Don't add `Not documented'.
14533 (help-function-arglist): Handle closures, subroutines, and new
14534 byte-code-functions.
14535 (help-make-usage): Remove leading underscores.
14536 (describe-function-1): Handle closures.
14537 (describe-variable): Use special-variable-p for completion.
14538
14539 * files.el (lexical-binding): Declare safe.
14540
14541 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14542 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14543 (pcase): Add `let' pattern.
14544 Change memoization so it actually works.
14545 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14546 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14547 <let>: New case.
14548
14549 * emacs-lisp/macroexp.el: Use lexical binding.
14550 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14551 Don't convert ' to #' without checking that it's indeed quoting
14552 a lambda.
14553
14554 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14555 Use eval-sexp-add-defvars.
14556 (eval-sexp-add-defvars): New fun.
14557
14558 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14559
14560 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14561 Don't autoload.
14562 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14563 than the internal `byte-compile-lambda'.
14564 (defmethod): Don't hide code under quotes.
14565 (eieio-defmethod): New `code' argument.
14566
14567 * emacs-lisp/eieio-comp.el: Remove.
14568
14569 * emacs-lisp/edebug.el (edebug-eval-defun)
14570 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14571 (edebug-toggle): Avoid `eval'.
14572
14573 * emacs-lisp/disass.el (disassemble-internal): Handle new
14574 `closure' objects.
14575 (disassemble-1): Handle new byte codes.
14576
14577 * emacs-lisp/cl.el (pushnew): Silence warning.
14578
14579 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14580 (cl-byte-compile-throw): Remove.
14581 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14582
14583 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14584 closures.
14585
14586 * emacs-lisp/cconv.el: New file.
14587
14588 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14589 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14590 (byte-compile-initial-macro-environment):
14591 Handle declare-function here.
14592 (byte-compile--lexical-environment): New var.
14593 (byte-stack-ref, byte-stack-set, byte-discardN)
14594 (byte-discardN-preserve-tos): New lap codes.
14595 (byte-interactive-p): Don't use any more.
14596 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14597 New macros.
14598 (byte-compile-lapcode): Use them and handle new lap codes.
14599 (byte-compile-obsolete): Remove.
14600 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14601 (byte-compile-arglist-warn): Check late def of inlinable funs.
14602 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14603 since they should have been expanded by now.
14604 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14605 (byte-compile-from-buffer): Remove unused second arg.
14606 (byte-compile-preprocess): New function.
14607 (byte-compile-toplevel-file-form): New function to distinguish
14608 file-form calls from outside from file-form calls from hunk-handlers.
14609 (byte-compile-file-form): Simplify.
14610 (byte-compile-file-form-defsubst): Remove.
14611 (byte-compile-file-form-defmumble): Simplify now that
14612 byte-compile-lambda always returns a byte-code-function.
14613 (byte-compile): Preprocess.
14614 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14615 Remove, not used any more.
14616 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14617 (byte-compile-make-args-desc): New funs.
14618 (byte-compile-lambda): Handle lexical functions. Always return
14619 a byte-code-function.
14620 (byte-compile-reserved-constants): New var, to make up room for
14621 closed-over variables.
14622 (byte-compile-constants-vector): Obey it.
14623 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14624 (byte-compile-macroexpand-declare-function): New function.
14625 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14626 byte-code-functions.
14627 (byte-compile-form): Check obsolescence here.
14628 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14629 (byte-compile-variable-ref): Remove.
14630 (byte-compile-dynamic-variable-op): New fun.
14631 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14632 (byte-compile-variable-set): New funs.
14633 (byte-compile-discard): Add 2 args.
14634 (byte-compile-stack-ref, byte-compile-stack-set)
14635 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14636 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14637 macroexpand-all instead.
14638 (byte-compile-quote-form): Remove.
14639 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14640 (byte-compile-bind, byte-compile-unbind): New funs.
14641 (byte-compile-let): Handle let* and lexical binding.
14642 (byte-compile-let*): Remove.
14643 (byte-compile-catch, byte-compile-unwind-protect)
14644 (byte-compile-track-mouse, byte-compile-condition-case):
14645 Handle a new :fun-body form, used for lexical scoping.
14646 (byte-compile-save-window-excursion)
14647 (byte-compile-with-output-to-temp-buffer): Remove.
14648 (byte-compile-defun): Simplify.
14649 (byte-compile-stack-adjustment): New fun.
14650 (byte-compile-out): Use it.
14651 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14652
14653 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14654 handler any more.
14655
14656 * emacs-lisp/byte-opt.el: Use lexical binding.
14657 (byte-inline-lapcode): Remove (to bytecomp).
14658 (byte-compile-inline-expand): Pay attention to inlining to/from
14659 lexically bound code.
14660 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14661 any more.
14662 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14663 any more and don't call compiler-macros.
14664 (byte-compile-splice-in-already-compiled-code): Remove.
14665 (byte-code): Don't inline any more.
14666 (disassemble-offset): Receive `bytes' as argument rather than via
14667 dynamic scoping.
14668 (byte-compile-tag-number): Declare before first use.
14669 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14670 `return' even if make-spliceable.
14671 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14672 obsolete interactive-p.
14673 (byte-optimize-lapcode): Optimize new lap-codes.
14674 Don't trip up on new form of `byte-constant' lap code.
14675
14676 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14677
14678 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14679
14680 * custom.el (custom-initialize-default, custom-declare-variable):
14681 Use `defvar'.
14682
14683 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14684 New variables.
14685 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14686 (COMPILE_FIRST): Add macroexp and cconv.
14687 * makefile.w32-in: Mirror changes in Makefile.in.
14688
14689 * vc/cvs-status.el:
14690 * vc/diff-mode.el:
14691 * vc/log-edit.el:
14692 * vc/log-view.el:
14693 * vc/smerge-mode.el:
14694 * textmodes/bibtex-style.el:
14695 * textmodes/css.el:
14696 * startup.el:
14697 * uniquify.el:
14698 * minibuffer.el:
14699 * newcomment.el:
14700 * reveal.el:
14701 * server.el:
14702 * mpc.el:
14703 * emacs-lisp/smie.el:
14704 * doc-view.el:
14705 * dired.el:
14706 * abbrev.el: Use lexical binding.
14707
147082011-04-01 Eli Zaretskii <eliz@gnu.org>
14709
14710 * info.el (info-display-manual): New function.
14711
147122011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14713
14714 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14715
147162011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14717
14718 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14719 an entry for that server in rcirc-authinfo. (Bug#8385)
14720
147212011-03-31 Glenn Morris <rgm@gnu.org>
14722
14723 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14724
14725 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14726
147272011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14728
14729 * progmodes/python.el (python-default-interpreter)
14730 (python-python-command-args, python-jython-command-args)
14731 (python-which-shell, python-which-args, python-which-bufname)
14732 (python-file-queue, python-comint-output-filter-function)
14733 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14734 variables and functions.
14735
147362011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14737
14738 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14739 (completion-in-region-mode): New minor mode.
14740 (completion-in-region): Use it.
14741 (completion-in-region--data, completion-in-region-mode-map): New vars.
14742 (completion-in-region--postch): New function.
14743 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14744 New vars.
14745 (completion--capf-wrapper): New function.
14746 (completion-at-point): Use it to track well-behavedness of
14747 hook functions.
14748 (completion-help-at-point): New command.
14749
147502011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14751
14752 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14753 syntax class to search for whitespace on a single line
14754 (Message-ID: <4D938140.4030905@redhat.com>).
14755
147562011-03-30 Leo Liu <sdl.web@gmail.com>
14757
14758 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14759 New commands.
14760 (edit-abbrevs-map): Bind them here.
14761 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14762
147632011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14764
14765 * allout.el (allout-hide-by-annotation, allout-flag-region):
14766 Reduce possibility of overlay leakage by making them volatile.
14767
14768 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14769 hash is not shared between buffers. Mode initialization is
14770 responsible for giving it a useful starting value.
14771 (allout-item-span): Reduce possibility of overlay leakage by
14772 making them volatile.
14773 (allout-widgets-count-buttons-in-region): Add diagnostic function
14774 for tracking down button overlay leaks.
14775
147762011-03-29 Leo Liu <sdl.web@gmail.com>
14777
14778 * ido.el (ido-read-internal): Use the default history var
14779 minibuffer-history if no HISTORY is specified.
14780
147812011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14782
14783 * net/imap.el (imap-shell-open, imap-process-connection-type):
14784 Use imap-process-connection-type for 'shell' streams as well as
14785 Kerberos, SSL, other subprocesses.
14786
147872011-03-28 Leo Liu <sdl.web@gmail.com>
14788
14789 * abbrev.el (abbrev-table-empty-p): New function.
14790 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14791 nonempty ones. (Bug#5937)
14792
147932011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14794
14795 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14796
147972011-03-27 Leo Liu <sdl.web@gmail.com>
14798
14799 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14800 for foreground and background colors.
14801 (ansi-color-make-color-map): Adapt.
14802
148032011-03-25 Leo Liu <sdl.web@gmail.com>
14804
14805 * midnight.el (midnight-time-float): Remove. Note it calculates
14806 the microsecond component incorrectly and seconds-to-time does the
14807 same job.
14808 Remove redundant (require 'timer).
14809
14810 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14811 (ido-completions): Remove unused arguments. (Bug#8329)
14812
148132011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14814
14815 * minibuffer.el (completion--flush-all-sorted-completions):
14816 Remove itself from hook.
14817 (completion-at-point): Let the functions perform the completion
14818 immediately and return nil or t.
14819 * comint.el (comint-dynamic-complete-functions): Now identical to
14820 completion-at-point-functions.
14821 (comint-dynamic-list-input-ring): Remove unused var `index'.
14822 (comint--match-partial-filename, comint--unquote&expand-filename):
14823 New funs, split from comint-match-partial-filename.
14824 (comint-dynamic-complete): Use completion-at-point.
14825 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14826
148272011-03-24 Drew Adams <drew.adams@oracle.com>
14828
14829 * thingatpt.el: Support `defun'.
14830
148312011-03-23 Leo Liu <sdl.web@gmail.com>
14832
14833 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14834
14835 * help-mode.el (help-mode-finish): Tweak regexp.
14836
148372011-03-23 Glenn Morris <rgm@gnu.org>
14838
14839 * eshell/esh-opt.el (eshell-eval-using-options):
14840 Do not bind unused local variable `eshell-option-stub'.
14841
14842 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14843
148442011-03-22 Juanma Barranquero <lekktu@gmail.com>
14845
14846 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14847 keymap variable in `with-no-warnings' to avoid a warning when the
14848 keymap has been already `defconst'ed.
14849
148502011-03-22 Leo Liu <sdl.web@gmail.com>
14851
14852 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14853 encode all chars in abbrevs; otherwise use emacs-mule or
14854 utf-8-emacs. (Bug#8308)
14855
148562011-03-22 Juanma Barranquero <lekktu@gmail.com>
14857
14858 * simple.el (backward-delete-char-untabify):
14859 Avoid warning about using `delete-backward-char'.
14860
14861 * image.el (image-type-file-name-regexps): Make it variable.
14862 `imagemagick-register-types' modifies it, and the user may want
14863 to add new extensions for known image types.
14864 (imagemagick-register-types): Throw error if not using ImageMagick.
14865
148662011-03-22 Leo Liu <sdl.web@gmail.com>
14867
14868 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14869 located before rcirc-prompt-end-marker.
14870 (rcirc-complete): Error if point is not after rcirc prompt.
14871 Handle the case when table is nil.
14872 (rcirc-user-authenticated): Define to fix compiler warning.
14873
148742011-03-22 Chong Yidong <cyd@stupidchicken.com>
14875
14876 * custom.el (custom--inhibit-theme-enable): Make it affect only
14877 custom-theme-set-variables and custom-theme-set-faces.
14878 (provide-theme): Ignore custom--inhibit-theme-enable.
14879 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14880 (custom-enabling-themes): Delete variable.
14881 (enable-theme): Accept only loaded themes as arguments.
14882 Ignore the special custom-enabled-themes variable.
14883 (custom-enabled-themes): Forbid themes from setting this.
14884 Eliminate use of custom-enabling-themes.
14885 (custom-push-theme): Quote "changed" custom var entry.
14886
148872011-03-21 Leo Liu <sdl.web@gmail.com>
14888
14889 * ido.el (ido-read-internal): Add ido-selected to history instead
14890 of user input.
14891
148922011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14893
14894 * subr.el (deferred-action-list, deferred-action-function):
14895 Mark obsolete.
14896
148972011-03-21 Leo Liu <sdl.web@gmail.com>
14898
14899 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14900 change on 2011-02-13 (bug#8309).
14901
14902 * minibuffer.el (read-file-name-function): Change default value.
14903 (read-file-name--defaults): Rename from read-file-name-defaults.
14904 (read-file-name-default): Rename from read-file-name.
14905 (read-file-name): Call read-file-name-function.
14906
149072011-03-21 Glenn Morris <rgm@gnu.org>
14908
14909 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14910 Doc fixes.
14911
149122011-03-21 Chong Yidong <cyd@stupidchicken.com>
14913
14914 * cus-theme.el: Add missing provide statement.
14915 (customize-create-theme): Extract theme value correctly.
14916 (custom-theme-visit-theme): Autoload.
14917 (customize-create-theme): Prompt before inserting default faces.
14918
149192011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14920
14921 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14922 units and musical notes.
14923
149242011-03-20 Leo Liu <sdl.web@gmail.com>
14925
14926 * ido.el (ido-read-internal): Use completing-read-default.
14927 (ido-completing-read): Fix compatibility with completing-read.
14928
149292011-03-20 Christian Ohler <ohler@gnu.org>
14930
14931 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14932 (ert-delete-all-tests): Use `called-interactively-p' rather than
14933 `interactive-p'.
14934 (ert--make-xrefs-region): Respect END.
14935
149362011-03-19 Chong Yidong <cyd@stupidchicken.com>
14937
14938 * dired-aux.el (dired-create-directory): Signal an error if the
14939 directory already exists (Bug#8246).
14940
14941 * facemenu.el (list-colors-display): Call list-faces-display
14942 inside with-help-window.
14943 (list-colors-print): Use display property to align the final
14944 column, instead of checking window-width.
14945
149462011-03-19 Eli Zaretskii <eliz@gnu.org>
14947
14948 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14949 windows-nt systems.
14950 (emerge-protect-metachars): Quote correctly for ms-dos and
14951 windows-nt systems.
14952
149532011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14954
14955 * info.el (info-initialize): Replace all uses of `:' with
14956 path-separator for compatibility with non-Unix systems.
14957 Cache quoting of path-separator. (Bug#8258)
14958
149592011-03-19 Juanma Barranquero <lekktu@gmail.com>
14960
14961 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14962 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14963 (mouse-avoidance-mode): Fix typos in docstrings.
14964
149652011-03-19 Chong Yidong <cyd@stupidchicken.com>
14966
14967 * startup.el (package-subdirectory-regexp): Move from package.el.
14968 Omit \\` and \\', and let callers add them.
14969
14970 * emacs-lisp/package.el (package-strip-version)
14971 (package-load-all-descriptors): Add \\` and \\' to
14972 package-subdirectory-regexp before using it.
14973 (package-untar-buffer): New arg DIR; ensure that file untars only
14974 into this expected directory. Remove superfluous delete-region.
14975 (package-unpack): Caller changed.
14976 (package-tar-file-info): Use package-subdirectory-regexp.
14977
149782011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14979
14980 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14981 diff-mode-shared-map (bug#8284).
14982 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14983
149842011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14985
14986 * calendar/time-date.el (format-seconds): Use assoc instead of
14987 assoc-string, since assoc-string doesn't exist in XEmacs.
14988
149892011-03-17 Juanma Barranquero <lekktu@gmail.com>
14990
14991 * custom.el (custom-known-themes): Reflow docstring.
14992 (custom-theme-load-path): Fix typo in docstring.
14993 (load-theme): Fix typo in error message.
14994 (custom-available-themes, custom-variable-theme-value):
14995 Use `let', not `let*'.
14996
149972011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14998
14999 * calc/README: Mention inclusion of musical notes.
15000
15001 * calc/calc-units.el (calc-lu-quant): Rename from
15002 `calc-logunits-quantity'.
15003 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15004 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15005 (calc-db): Rename from `calc-dblevel'.
15006 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15007 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15008 (calc-np): Rename from `calc-nplevel'.
15009 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15010 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15011 (calc-lu-plus): Rename from `calc-logunits-add'.
15012 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15013 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15014 (calc-lu-minus): Rename from `calc-logunits-sub'.
15015 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15016 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15017 (calc-lu-times): Rename from `calc-logunits-mul'.
15018 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15019 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15020 (calc-lu-divide): Rename from `calc-logunits-div'.
15021 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15022 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15023
15024 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15025 functions being autoloaded.
15026
15027 * calc/calc.el (calc-lu-power-reference): Rename from
15028 `calc-logunits-power-reference'.
15029 (calc-lu-field-reference): Rename from
15030 `calc-logunits-field-reference'.
15031
15032 * calc/calc-help.el (calc-l-prefix-help):
15033 Mention musical note functions.
15034
150352011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15036
15037 * minibuffer.el (completion-all-sorted-completions):
15038 Use :completion-cycle-penalty text property if present.
15039
150402011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15041
15042 * allout.el (allout-yank-processing): Adjust for new rebulleting
15043 regime so bullet being yanked is used without prompting the user
15044 for a choice.
15045
150462011-03-16 Juanma Barranquero <lekktu@gmail.com>
15047
15048 * startup.el (command-line): Warn the user that _emacs is deprecated.
15049
150502011-03-16 Juanma Barranquero <lekktu@gmail.com>
15051
15052 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15053 (delphi-verbose, delphi-comment-face, delphi-string-face)
15054 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15055 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15056 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15057 (delphi-new-comment-line, delphi-font-lock-defaults)
15058 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15059 Fix typos in docstrings.
15060
150612011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15062
15063 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15064 Invert the roles of character and string values for INSTEAD, so a
15065 string is used for the more common case of a defaulting prompt.
15066
150672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15068
15069 * progmodes/ruby-mode.el (ruby-backward-sexp):
15070 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15071 * play/gamegrid.el (gamegrid-make-face):
15072 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15073 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15074 * notifications.el (notifications-notify):
15075 * net/xesam.el (xesam-search-engines):
15076 * net/quickurl.el (quickurl-list-insert):
15077 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15078
150792011-03-15 Chong Yidong <cyd@stupidchicken.com>
15080
15081 * startup.el (command-line): Update package subdirectory regexp.
15082
150832011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15084
15085 * allout.el (allout-abbreviate-flattened-numbering)
15086 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15087
15088 * subr.el (read-char-choice): Only show the cursor after the prompt,
15089 not after the answer.
15090
150912011-03-15 Kevin Ryde <user42@zip.com.au>
15092
15093 * help-fns.el (variable-at-point): Skip leading quotes, if any
15094 (bug#8253).
15095
150962011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15097
15098 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15099 warning message.
15100
151012011-03-14 Michael Albinus <michael.albinus@gmx.de>
15102
15103 * shell.el (shell): When called interactively, offer to change the
15104 shell file name on remote hosts.
15105
151062011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15107
15108 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15109 integration for LDAP parameters. The host, base, user or binddn,
15110 and secret tokens can be specified in a netrc file, for instance.
15111 This is optional because an `auth-source' parameter must be
15112 specified in the search attributes.
15113
151142011-03-13 Juanma Barranquero <lekktu@gmail.com>
15115
15116 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15117
151182011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15119
15120 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15121 into declaration. Remove redundant and harmful binding.
15122
151232011-03-12 Eli Zaretskii <eliz@gnu.org>
15124
15125 * files.el (file-ownership-preserved-p): Pass `integer' as an
15126 explicit 2nd argument to `file-attributes'. If the file's owner
15127 is the Administrators group on Windows, and the current user is
15128 Administrator, consider that a match.
15129
15130 * server.el (server-ensure-safe-dir): Consider server directory
15131 safe on MS-Windows if its owner is the Administrators group while
15132 the current Emacs user is Administrator. Use `=' to compare
15133 numerical UIDs, since they could be integers or floats.
15134
151352011-03-12 Juanma Barranquero <lekktu@gmail.com>
15136
15137 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15138
151392011-03-12 Michael Albinus <michael.albinus@gmx.de>
15140
15141 Sync with Tramp 2.2.1.
15142
15143 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15144
15145 * net/trampver.el: Update release number.
15146
151472011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15148
15149 * progmodes/compile.el (compilation--previous-directory): Fix up
15150 various nil/dead-marker mismatches (bug#8014).
15151 (compilation-directory-properties, compilation-error-properties):
15152 Don't call it at a position past the one we're about to change.
15153
15154 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15155 Disable obsolescence warnings in the file that declares it.
15156
151572011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15158
15159 * allout-widgets.el (allout-widgets-tally):
15160 Initialize allout-widgets-tally as a hash table rather than nil to
15161 prevent mode-line redisplay warnings. Also, clarify the module
15162 description and fix a comment typo.
15163
151642011-03-11 Juanma Barranquero <lekktu@gmail.com>
15165
15166 * help-fns.el (describe-variable): Don't complete keywords.
15167 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15168
151692011-03-10 Chong Yidong <cyd@stupidchicken.com>
15170
15171 * emacs-lisp/package.el (package-version-join): Impose a standard
15172 string representation for pre/alpha/beta version lists.
15173 (package-unpack-single): Standardize the directory name by passing
15174 it through package-version-join.
15175 (package-strip-rcs-id): Accept any version string that does not
15176 signal an error in version-to-list.
15177
151782011-03-10 Michael Albinus <michael.albinus@gmx.de>
15179
15180 * simple.el (delete-trailing-whitespace): Return nil for the
15181 benefit of `write-file-functions'.
15182
151832011-03-10 Glenn Morris <rgm@gnu.org>
15184
15185 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15186
15187 * vc/vc-git.el (vc-git-program): New option.
15188 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15189 (vc-git--call): Use it.
15190
15191 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15192
15193 * cus-edit.el (Custom-newline): If no button at point, look
15194 for a subgroup button at start-of-line. (Bug#2298)
15195
15196 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15197
151982011-03-10 Julien Danjou <julien@danjou.info>
15199
15200 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15201 `cursor-type' is nil.
15202
152032011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15204
15205 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15206
152072011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15208
15209 * allout.el: Change so yank of distinctive-bullet items
15210 preserves the existing header prefix, rebulleting it if necessary,
15211 rather than replacing it. This is necessary for proper operation
15212 of cooperative addons like allout-widgets.
15213 (allout-make-topic-prefix, allout-rebullet-heading):
15214 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15215 value as alternate bullet to be used, instead of prompting the user
15216 for a bullet character.
15217
152182011-03-09 Michael Albinus <michael.albinus@gmx.de>
15219
15220 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15221 Do not use `tramp-file-name-port', because this returns also
15222 `tramp-default-port'.
15223
152242011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15225
15226 * net/rcirc.el (rcirc-handler-001): Remove useless
15227 with-rcirc-process-buffer.
15228 (rcirc-check-auth-status): Swap arguments to string-match.
15229
152302011-03-09 Glenn Morris <rgm@gnu.org>
15231
15232 * shell.el (shell-mode):
15233 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15234
15235 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15236 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15237
152382011-03-08 Chong Yidong <cyd@stupidchicken.com>
15239
15240 * emacs-lisp/package.el (package-refresh-contents)
15241 (package-menu-execute): Use condition-case-no-debug.
15242
152432011-03-08 Michael Albinus <michael.albinus@gmx.de>
15244
15245 * simple.el (shell-command-to-string): Use `process-file'.
15246
15247 * emacs-lisp/package.el (package-tar-file-info): Handle also
15248 remote files.
15249
15250 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15251 Use `equal' for upload base check.
15252
152532011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15254
15255 * textmodes/texinfo.el (texinfo-environments):
15256 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15257
152582011-03-08 Glenn Morris <rgm@gnu.org>
15259
15260 * cus-start.el (cursor-in-non-selected-windows):
15261 Fix :set quoting oddness. (Bug#8192)
15262
15263 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15264 in some setf expressions. (Bug#2159)
15265
152662011-03-08 Chong Yidong <cyd@stupidchicken.com>
15267
15268 * custom.el (custom-available-themes): Return themes in
15269 alphabetical order.
15270
15271See ChangeLog.15 for earlier changes.
15272
15273;; Local Variables:
15274;; coding: utf-8
15275;; End:
15276
15277 Copyright (C) 2011-2012 Free Software Foundation, Inc.
15278
15279 This file is part of GNU Emacs.
15280
15281 GNU Emacs is free software: you can redistribute it and/or modify
15282 it under the terms of the GNU General Public License as published by
15283 the Free Software Foundation, either version 3 of the License, or
15284 (at your option) any later version.
15285
15286 GNU Emacs is distributed in the hope that it will be useful,
15287 but WITHOUT ANY WARRANTY; without even the implied warranty of
15288 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15289 GNU General Public License for more details.
15290
15291 You should have received a copy of the GNU General Public License
15292 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.