Martin Rudalics [Wed, 16 Jan 2008 16:23:00 +0000 (16:23 +0000)]
(longlines-mode, longlines-show-region)
(longlines-unshow-hard-newlines): Bind buffer-file-name and
buffer-file-truename to nil while modifying buffer.
Martin Rudalics [Wed, 16 Jan 2008 16:22:29 +0000 (16:22 +0000)]
(custom-reset-standard-variables-list)
(custom-reset-standard-faces-list): New variables.
(custom-reset-standard-save-and-update): New function.
(Custom-save): Apply custom-mark-to-save before and
custom-state-set-and-redraw after saving options.
(Custom-reset-standard): Apply custom-mark-to-reset-standard to
options and call custom-reset-standard-save-and-update.
(custom-variable, custom-face, custom-group): Provide new
entries for custom-mark-to-save, custom-mark-to-reset-standard,
and custom-state-set-and-redraw.
(custom-variable-mark-to-save)
(custom-variable-state-set-and-redraw)
(custom-variable-mark-to-reset-standard)
(custom-face-mark-to-save, custom-face-state-set-and-redraw)
(custom-face-mark-to-reset-standard)
(custom-group-mark-to-save, custom-group-state-set-and-redraw)
(custom-group-mark-to-reset-standard): New functions.
(custom-variable-save): Move save, state-set, and redraw
functionality to custom-variable-mark-to-save.
(custom-face-save): Move save, state-set, and redraw
functionality to custom-face-mark-to-save.
(custom-group-save): Move save, state-set, and redraw
functionality to custom-group-mark-to-save.
(custom-variable-reset-standard, custom-face-reset-standard)
(custom-group-reset-standard): Move save, state-set, and redraw
functionality to custom-reset-standard-save-and-update.
(custom-buffer-create-internal): Fix text in verbose help.
(custom-face-value-create): Indent doc-strings of faces like
those of variables.
Stefan Monnier [Wed, 16 Jan 2008 16:21:08 +0000 (16:21 +0000)]
(server-process-filter): Replace lineno and columnnno
which defaulted to 1&0 with filepos which defaults to nil.
(server-goto-line-column): Don't move if filepos is nil.
(server-visit-files): Slight restructure to consolidate two calls to
server-goto-line-column into just one.
Stefan Monnier [Wed, 16 Jan 2008 16:11:09 +0000 (16:11 +0000)]
(mode): Pass the buffer to format-mode-line.
(ibuffer-update-mode-name): Remove.
(ibuffer-redisplay, ibuffer-update, ibuffer-mode): Don't call it.
(ibuffer-mode): Use mode-line-process instead.
Stefan Monnier [Tue, 15 Jan 2008 22:33:05 +0000 (22:33 +0000)]
(easy-menu-avoid-duplicate-keys): New var.
(easy-menu-create-menu, easy-menu-convert-item-1): Use it to avoid
using the same key for different menu entries.
Alan Mackenzie [Mon, 14 Jan 2008 22:35:40 +0000 (22:35 +0000)]
* progmodes/cc-vars.el (c-constant-symbol): New function which supersedes
c-const-symbol. During a customize-.. call it enables an element of
(e.g.) c-hanging-braces alist to have its name displayed, even when the
default value of c-h-b etc. doesn't include the elemnt. Replace uses of
the old function by the new.
* progmodes/cc-vars.el (c-hanging-braces-alist): Remove the obscure
non-working fragment ":value c-".
Dan Nicolaescu [Mon, 14 Jan 2008 07:38:05 +0000 (07:38 +0000)]
* smerge-mode.el (smerge-auto): New function.
* vc-svn.el (vc-svn-find-file-hook):
* vc-arch.el (vc-arch-find-file-hook):
* pcvs.el (cvs-revert-if-needed):
* vc.el (vc-maybe-resolve-conflicts): Use it instead of vc-mode.
(top-level): Add a Todo list.
Eli Zaretskii [Sat, 12 Jan 2008 15:50:33 +0000 (15:50 +0000)]
(decode_options) [WINDOWSNT]: Don't use the value of DISPLAY in the
environment. Don't support -d.
(print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
(longopts) [WINDOWSNT]: Remove --display.
Jason Rumney [Fri, 11 Jan 2008 16:00:09 +0000 (16:00 +0000)]
(nxml-internal-unicode-char-name-sets-enabled): Rename from
nxml-enable-unicode-char-name-sets-flag.
(nxml-enable-unicode-char-name-sets-1): Merge into
nxml-enable-unicode-char-name-sets.
(nxml-enable-unicode-char-name-sets): Don't unconditionally set
nxml-char-name-ignore-case here.
Tassilo Horn [Thu, 10 Jan 2008 15:08:34 +0000 (15:08 +0000)]
2008-01-10 Tassilo Horn <tassilo@member.fsf.org>
* doc-view.el (doc-view-buffer-file-name): New variable.
(doc-view-convert-current-doc, doc-view-search)
(doc-view-current-cache-dir, doc-view-initiate-display)
(doc-view-mode): Use it.
(doc-view-bookmark-make-cell): Use variable buffer-file-name
instead of function.
Eric S. Raymond [Wed, 9 Jan 2008 16:21:29 +0000 (16:21 +0000)]
* testmodes/sgml-mode.el (sgml-tag-syntax-table): Initialize this
constant with a computation on sgml-specials rather than a literal
list. Without this change the syntax table is generated
incorrectly, and the mode will think it's in a comment following
any instance of the string "--".
Michael Kifer [Wed, 9 Jan 2008 06:16:07 +0000 (06:16 +0000)]
2008-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff*.el: commented out declare-function. "make bootstrap"
stops with an error and emacs does not compile with those things in.
Besides, declare-function is not defined in XEmacs.
* ediff-util (eqiff-quit): autoraise minibuffer.
* ediff-diff (ediff-convert-fine-diffs-to-overlays): make it a defin
* viper*.el: commented out declare-function -- not defined in XEmacs.
* viper-ex.el (viper-info-on-file): take care of indiret buffers.
* viper.el (viper-set-hooks, set-cursor-color): set viper-vi-state-cursor-color.
Kenichi Handa [Wed, 9 Jan 2008 06:05:23 +0000 (06:05 +0000)]
(detect_coding_iso2022): New arg latin_extra_code_state. Allow Latin
extra codes only when *latin_extra_code_state is nonzero.
(detect_coding_mask): If there is a NULL byte, detect the encoding as
UTF-16 or binary. If there is a Latin extra code, detect the encoding
as ISO-2022 only when no other proper encoding is found.