Kenichi Handa [Sat, 8 Nov 1997 03:05:44 +0000 (03:05 +0000)]
(struct coding_system): Add member common_flags, delete
member require_flushing.
(CODING_REQUIRE_FLUSHING_MASK, CODING_REQUIRE_DECODING_MASK,
CODING_REQUIRE_ENCODING_MASK, CODING_REQUIRE_DETECTION_MASK): New
macros.
(CODING_REQUIRE_NO_CONVERSION, CODING_MAY_REQUIRE_NO_CONVERSION):
These macros deleted.
(CODING_REQUIRE_FLUSHING, CODING_REQUIRE_DECODING,
CODING_REQUIRE_ENCODING, CODING_REQUIRE_DETECTION): New macros.
Oliver Seidel [Tue, 28 Oct 1997 22:16:24 +0000 (22:16 +0000)]
Three insertion options:
i without prefix: ask for category, do binary insertion
i with prefix: do binary insertion in current category
uppercase I: insert directly under cursor
Oliver Seidel [Tue, 28 Oct 1997 21:26:55 +0000 (21:26 +0000)]
Patch from Paul Stodghill <stodghil@CS.Cornell.EDU>:
The patch below fixes todo-insert-item so that it will
insert the item in place, instead of at the top of the
buffer, when invoked with a prefix argument.
Oliver Seidel [Tue, 28 Oct 1997 21:14:51 +0000 (21:14 +0000)]
Improvements sent in by Dave Love <d.love@dl.ac.uk>:
todo-mode.el: Doc fixes. Customization.
(todo-add-item-non-interactively): New arg -- don't dynamically bind ARG.
(todo-insert-item): Use it.
Oliver Seidel [Tue, 28 Oct 1997 20:03:27 +0000 (20:03 +0000)]
Harald Backer <harald.backer@fou.telenor.no> sent the following:
Added `todo-save-top-priorities' and option to automatically save top
priorities file when saving todo-file. Changed some default values.
Bug fixes.
Kenichi Handa [Mon, 27 Oct 1997 04:34:26 +0000 (04:34 +0000)]
(copy_category_table): Copy also the first extra slot
(vector of docstrings).
(Fcopy_category_table): Do not give unused second arg to
copy_category_table.
Kenichi Handa [Mon, 27 Oct 1997 04:34:26 +0000 (04:34 +0000)]
(Fchars_in_string): Pay attention to
enable-multibyte-characters.
(Fchars_in_region): Likewise. Avoid error when the region ends in
the middle of a multibyte character.
Karl Heuer [Fri, 24 Oct 1997 20:11:44 +0000 (20:11 +0000)]
(octave-auto-indent): New variable.
(octave-electric-semi, octave-electric-space): Use it.
(octave-before-magic-comment-p): New func.
(calculate-octave-indent, octave-comment-indent): Use it.
(octave-auto-indent): New variable.
(octave-electric-semi, octave-electric-space): Use it.
(octave-maybe-insert-continuation-string):
New function.
(octave-auto-fill): No longer calls do-auto-fill. Should now
avoid breaking lines after comment starts or before code line
continuation expressions.
(octave-fill-paragraph): Move forward a line if octave-auto-fill
gave up.
(octave-abbrev-table): Added abbrevs for
switch, case, otherwise, and endswitch.
(octave-begin-keywords): Added switch.
(octave-else-keywords): Added case and otherwise.
(octave-end-keywords): Added endswitch.
(octave-block-match-alist): Added an entry for switch syntax.
(calculate-octave-indent): Added support for switch syntax.
(octave-block-end-offset): New function.
(octave-comment-indent): Fix a typo.
(octave-block-match-alist): Move
`otherwise' to right after `case' to have octave-close-block()
correctly close a `switch' block by `endswitch'.
Karl Heuer [Fri, 24 Oct 1997 19:53:43 +0000 (19:53 +0000)]
The menu now used toggle and radio for some items.
(reftex-default-context-regexps): `caption' now prefers the
optional short caption.
(reftex-offer-label-menu): Fixed bug which could kill master
buffer of external document.
(reftex-select-item,reftex-get-buffer-visiting): Compatibility
code works now the other way round.
(reftex-select-external-document): Now gives a message when no
external documents are available.
(reftex-find-duplicate-labels): Single key strokes to exit or to
do a query replace. Made more user friendly in general.
(reftex-section-levels,reftex-default-context-regexps): Move
definition of these variables to configuration section.
Oliver Seidel [Fri, 24 Oct 1997 17:30:54 +0000 (17:30 +0000)]
Added three suggestions from Carsten
Dominik <dominik@strw.LeidenUniv.nl>:
- recommend autoloading instead of require
- inserting from different buffer didn't work
(now fixed -- I pray)
- provided public entry point to insert items
from normal lisp code
Oliver Seidel [Fri, 24 Oct 1997 16:51:02 +0000 (16:51 +0000)]
Rafael Laboissiere <rafael@icp.inpg.fr> writes:
I was just annoyed with the fact that there is no way
to dynamically control the insertion accuracy. I mean:
the variable `todo-insert-threshold' does the job, but
it is not very handy if one wants to mix the two
behaviors (bisection and "insert right here under the
cursor").
Therefore I did a quick hack in the function
`todo-insert-item'. Now by giving a prefix argument to
the insert command (i.e. by typing "C-u i"), entries
are inserted exactly at the line where the cursor is.
It would be better to give the value of
`todo-insert-threshold' as a numeric argument of
`todo-insert-item' (like "M-8 i"), but it's too late
now for continuing to hack.
Kenichi Handa [Fri, 24 Oct 1997 01:14:24 +0000 (01:14 +0000)]
(quail-translation-keymap): KP_Enter key
emulates `C-SPC'. `mouse-2' bound to
`quail-mouse-choose-completion'.
(quail-completion-list-translations): Set text property
`mouse-face' of character `translations' to `highlight'. Changed
`newline' to `insert "\n"' to prevent text property inheritance.
(quail-mouse-choose-completion): New function bound to `mouse-2'
selects highlighted characters from *Quail Completions* buffer.
(quail-choose-completion-string): New function called by
`quail-mouse-choose-completion'.
Dave Love [Thu, 23 Oct 1997 13:43:14 +0000 (13:43 +0000)]
Doc fixes.
(browse-url): Apply, don't just call, browse-url-choose-browser, so
args works properly.
(browse-url-maybe-new-window): New function.
(browse-url-netscape, browse-url-mosaic, browse-url-cci,
browse-url-w3, browse-url-lynx-emacs, browse-url-mail): Use it.
(browse-url-lynx-emacs): Don't call term-term-name.
(browse-url-lynx-input-field, browse-url-lynx-input-delay,
browse-url-lynx-input-attempts): New variables.
(browse-url-lynx-emacs): Use any existing Lynx buffer; take care to
move off input fields. (After Vladimir Alexiev
<vladimir@cs.ualberta.ca>.)
(browse-url-mosaic-program): New variable.
(browse-url-mosaic): Use browse-url-mosaic-program and
browse-url-new-window-p.
(browse-url-at-mouse): Use browse-url-new-window-p.
Kenichi Handa [Thu, 23 Oct 1997 12:05:45 +0000 (12:05 +0000)]
(set-default-coding-systems):
Doc-string modified.
(prefer-coding-system): Likewise. Call coding-system-base instead
of coding-system-parent.
(describe-language-environment): Print aliases of each coding
system.
(set-language-environment-hook): New variable.
(exit-language-environment-hook): New variable.
(set-language-environment): Call these hooks. Before setting a
new language environment, exit from the
current-language-environment if necessary.
(input-method-verbose-flag): The value can be nil, t,
complex-only, or default.
(input-method-highlight-flag): Doc-string augmented.
(activate-input-method): Check if we can run the registered
function to activate an input method.
Kenichi Handa [Thu, 23 Oct 1997 12:05:45 +0000 (12:05 +0000)]
(list-input-methods): Handle the case
that title of input method is not a simple string. Show users
an informative message when leim is not yet installed.
(describe-coding-system): Print safe charasets of the coding
system.
Kenichi Handa [Thu, 23 Oct 1997 12:05:45 +0000 (12:05 +0000)]
(load-with-code-conversion): Update
preloaded-file-list, bind load-file-name and
inhibit-frame-unsplittable properly.
(make-char): Make it a function. Set it byte-compile property to
optimize byte-compiled codes.
(make-coding-system): New optional arg charsets. Set property
`safe-charsets' of the coding system to it.
Kenichi Handa [Thu, 23 Oct 1997 12:03:41 +0000 (12:03 +0000)]
Give proper SAFE-CHARSET argument in each
call of make-coding-system. Set exit-function for language
environment "Korean" to exit-korean-environment.
(setup-korean-environment): Moved to korean.el.
Kenichi Handa [Thu, 23 Oct 1997 12:03:07 +0000 (12:03 +0000)]
(Man-getpage-in-background): Bind inhibit-eol-conversion
to t before calling start-process or call-process.
(Man-softhyphen-to-minus): New function. If
enable-multibyte-characters is non-nil, convert the code 0255 only
when it is not a part of a multibyte characters.
(Man-fontify-manpage): Call Man-softhyphen-to-minus.
(Man-cleanup-manpage): Likewise.
Kenichi Handa [Thu, 23 Oct 1997 12:01:50 +0000 (12:01 +0000)]
(encode_designation_at_bol): Fix bug of finding graphic
registers which should be designated at bol.
(Qsafe_charset): New variable.
(syms_of_coding): Initialize and staticpro it.
(detect_coding_iso2022): Handle SS2 and SS3 correctly.
(DECODE_ISO_CHARACTER): Recover from incorrect encoding in less
dangerous way.
(ENCODE_DESIGNATION): Get charset revision number by
CODING_SPEC_ISO_REVISION_NUMBER.
(setup_coding_system): Initialize the member safe_charsets from
the coding systems's safe-charsets property. Initialize the
member charset_revision_number of struct iso2022_spec.
(ENCODE_ISO_CHARACTER_DIMENSION1): Adjusted for the change of
`safe_charsets' member.
(ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
(code_convert_region): Restore the current point after calling a
function in coding->post_read_conversion.
Kenichi Handa [Thu, 23 Oct 1997 12:01:50 +0000 (12:01 +0000)]
(struct iso2022_spec): New member
charset_revision_number.
(CODING_SPEC_ISO_SAFE_CHARSETS): This macro deleted.
(CODING_SPEC_ISO_REVISION_NUMBER): New macro.
(struct coding_system): Member `safe_charsets' is moved from
struct iso2022_spec.