André Spiegel [Tue, 16 Jul 2002 17:47:33 +0000 (17:47 +0000)]
(vc-next-action-on-file): Ignore buffer-read-only while comparing to
file on disk. Fix the case when claiming the lock on a file that has
unlocked changes.
(vc-log-mode): Don't mention vc-toggle-read-only in the doc
string.
André Spiegel [Tue, 16 Jul 2002 17:42:57 +0000 (17:42 +0000)]
Don't bind vc-toggle-read-only to C-x C-q.
(vc-toggle-read-only): Explain in the doc string that users can bind
this to C-x C-q.
(vc-checkout-model): Change doc string to refer to vc-next-action,
not vc-toggle-read-only.
Stefan Monnier [Tue, 16 Jul 2002 16:02:35 +0000 (16:02 +0000)]
(view): Always require.
(help-xref-mule-regexp): Don't use defconst for variables.
(help-setup-xref): Keep the last 10 elements of the stack.
(help-xref-override-view-map): New var.
(help-make-xrefs): Use it instead of building a new map each time.
(help-function-def): Allow help-fun to take a buffer as arg.
(reconsider_clip_changes): Don't test prevent_redisplay_optimizations_p.
(redisplay_internal): Test prevent_redisplay_optimizations_p
along with clip_changed in some cases.
(try_window_id): Likewise.
(redisplay_window): New local var buffer_unchanged_p.
New operation :custom-standard-value.
(Custom-reset-standard): Use it.
(custom-variable, custom-face): Define it.
(custom-variable-standard-value, custom-face-standard-value): New fns.
(custom-face-save): Don't save a face whose value is standard.
(custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
(custom-face-edit-fix-value): If VALUE is not a list, pass it thru.
Stefan Monnier [Tue, 16 Jul 2002 13:37:15 +0000 (13:37 +0000)]
(diff-reverse-direction): Simplify.
(diff-after-change-function): Fix typo.
(diff-post-command-hook): Take care of edge cases.
(diff-current-defun): Do `goto-char' after setting the mode.
Stefan Monnier [Tue, 16 Jul 2002 13:27:05 +0000 (13:27 +0000)]
(mouse-sel-mode): Use define-minor-mode.
Fold mouse-sel-bindings into it.
(mouse-sel-bound-events): Turn it into an alist.
(mouse-insert-selection): Delegate to mouse-yank-at-click if
mouse-sel-default-bindings asks for it.
Ken Raeburn [Mon, 15 Jul 2002 00:01:34 +0000 (00:01 +0000)]
Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
Ken Raeburn [Sun, 14 Jul 2002 23:54:05 +0000 (23:54 +0000)]
(SMBP): Deleted. All uses changed to STRING_MULTIBYTE.
(STRING_SET_UNIBYTE): New macro.
(SET_STRING_BYTES): Deleted. Callers (all of which supplied a length of -1)
changed to use STRING_SET_UNIBYTE.
Stefan Monnier [Sun, 14 Jul 2002 20:39:18 +0000 (20:39 +0000)]
Set encoding to utf-8.
(tex-start-options): Make it into always-a-string.
Remove silly custom options that are covered by the other var.
(tex-start-commands): Fix docstring.
(tex-open-quote, tex-close-quote): Add options.
(tex-command): Provide default.
(tex-font-lock-keywords-1): Highlight $$...$$.
(tex-font-lock-keywords-2): Fix latin-1 chars.
(tex-mode-map): Remove redundant \t binding.
(tex-mode): Add `subsection' and `newcommand' to known latex cmds.
(latex-mode): Use add-hook for fill-nobreak-predicate.
(tex-common-initialization): Set indent-tabs-mode to nil.
(tex-insert-quote): Undo magic if invoked twice in a row.
(latex-fill-nobreak-predicate): Don't use narrowing.
(tex-latex-block): Don't cons uselessly.
(tex-last-unended-begin): Signal user-friendlier error.
(tex-goto-last-unclosed-latex-block): Don't catch signal.
(tex-start-tex): Switch order of tex-start-options and
tex-start-commands to make it obey docstrings.
Mike Williams [Sun, 14 Jul 2002 10:14:28 +0000 (10:14 +0000)]
(mouse-sel-bound-events): New constant.
(mouse-sel-save-original-bindings): New function.
(mouse-sel-restore-original-bindings): New function.
(mouse-sel-bindings): Save/restore original mouse-bindings.
Stefan Monnier [Sat, 13 Jul 2002 20:17:00 +0000 (20:17 +0000)]
(ebrowse-symbol-regexp): Avoid cl-set-substring.
(ebrowse-hash-table-to-alist): Delete.
(ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
(ebrowse-tags-complete-symbol): Use the hashtable for completion.
Stefan Monnier [Sat, 13 Jul 2002 19:23:05 +0000 (19:23 +0000)]
(sgml-quote): Use narrowing. Improve the regexp used when unquoting.
(sgml-pretty-print): New function.
(sgml-get-context): Better handling of improperly nested tags.
(sgml-show-context): Don't use the FULL arg of sgml-get-context.
(timeclock-in): Run the new day section if, after rereading the log file,
timeclock-last-event is nil, indicating no log file exists yet. Take
account of the fact that timeclock-discrepancy will be nil in that case.
Kai Großjohann [Sat, 13 Jul 2002 17:41:01 +0000 (17:41 +0000)]
(tramp-multi-file-name-structure-unified): Add
missing slash and move colon from start to end of each hop.
(tramp-multi-file-name-hop-structure-unified): Move colon from
start to end of each hop.
Kai Großjohann [Sat, 13 Jul 2002 10:52:22 +0000 (10:52 +0000)]
* files.texi (Remote Files): Explain new unified file name synatx.
* tramp.texi: Remove version variables.
(Inline methods): Clarify which questions `smx' deals with.
(Remote shell setup): shell-prompt-pattern must match at end of
buffer.