1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-15 11:21:19 -07:00
Commit graph

26840 commits

Author SHA1 Message Date
Kenichi Handa
9036eb4502 (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.
1997-10-27 04:34:26 +00:00
Karl Heuer
c7c5bbc0b8 (compilation-error-regexp-alist):
New element for Sun F90.
1997-10-27 03:53:24 +00:00
Karl Heuer
30e0071c9e (Fkill_buffer): Don't assume buffer is current. 1997-10-27 03:50:50 +00:00
Kenichi Handa
210308cc9c Entry for Ethiopic corrected. 1997-10-27 00:54:45 +00:00
Dave Love
b07745ec41 (find-function, find-function-other-window, find-function-other-frame,
find-function-on-key): Add autoload cookies.
1997-10-25 13:32:06 +00:00
Dave Love
fffee8be90 Initial revision 1997-10-25 13:18:56 +00:00
Karl Heuer
8f08dc930c (XTread_socket): Check for bogus (0,0) location. 1997-10-25 03:12:31 +00:00
Karl Heuer
d83ee57852 (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-before-magic-comment-p): New func.
(octave-comment-indent): Handle magic comments correctly.
(calculate-octave-indent): Handle magic comments correctly.

(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'.
1997-10-24 20:11:44 +00:00
Karl Heuer
8bcee03ecf (XTmouse_position): Handle INSIST < 0. 1997-10-24 19:58:39 +00:00
Karl Heuer
95fa970dd6 (w32_mouse_position): Handle INSIST < 0. 1997-10-24 19:58:22 +00:00
Karl Heuer
66e827dc32 (Fmouse_pixel_position, Fmouse_position):
Pass -1 as INSIST arg to mouse_position_hook.
1997-10-24 19:57:59 +00:00
Karl Heuer
baec12503b 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.
1997-10-24 19:53:43 +00:00
Karl Heuer
dd557bb8a2 (locate-library): Comment out the code that searches
for compressed files.
1997-10-24 19:50:35 +00:00
Karl Heuer
ef5c41bd83 (outline-font-lock-keywords): Highlight the
whole line, not just the part that matches the regexp.
1997-10-24 19:37:53 +00:00
Karl Heuer
4743fc911e (hook): Use `widget-group-match' instead of
`widget-editable-list-match'.
1997-10-24 19:33:49 +00:00
Oliver Seidel
4cbc9d5a46 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
1997-10-24 17:30:54 +00:00
Oliver Seidel
2e59003080 Paul Stodghill <stodghil@CS.Cornell.EDU> writes:
When invoked with a prefix, todo-insert-item
should not prompt for a category.  (He adds:
At least that's what I think.)
1997-10-24 16:53:20 +00:00
Oliver Seidel
0aa18b36b3 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.
1997-10-24 16:51:02 +00:00
Kenichi Handa
562b13ae74 (list-input-methods): Improve the
message shown when LEIM is not installed.
1997-10-24 01:14:24 +00:00
Kenichi Handa
5611ce7c86 (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'.
1997-10-24 01:14:24 +00:00
Simon Marshall
db5cae4b2d Indicate in messages if source code is being loaded. 1997-10-23 14:58:25 +00:00
Dave Love
837984b11b 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.
1997-10-23 13:43:14 +00:00
Kenichi Handa
7c552ae840 The title string of input method "Ethiopic"
is changed.
1997-10-23 12:07:52 +00:00
Kenichi Handa
8efc03e1b4 (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.
1997-10-23 12:05:45 +00:00
Kenichi Handa
fec0e02ded Give proper SAFE_CHARSET argument in
each call of make-coding-system.
1997-10-23 12:05:45 +00:00
Kenichi Handa
753fd9caf3 (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.
1997-10-23 12:05:45 +00:00
Kenichi Handa
e481690d87 (find-safe-coding-system): New function. 1997-10-23 12:05:45 +00:00
Kenichi Handa
a6acd8a293 (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.
1997-10-23 12:05:45 +00:00
Kenichi Handa
9a0eac6e7a (quail-require-guidance-buf): Adjusted
for the change of input-method-verbose-flag.
1997-10-23 12:05:45 +00:00
Kenichi Handa
6def618668 Give proper SAFE-CHARSET argument in each
call of make-coding-system.
1997-10-23 12:03:41 +00:00
Kenichi Handa
a18aa84109 Give proper SAFE-CHARSET argument in each
call of make-coding-system.
(euc-cn): Define it an alias of coding-system chinese-iso-8bit.
1997-10-23 12:03:41 +00:00
Kenichi Handa
7b70edb428 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.
1997-10-23 12:03:41 +00:00
Kenichi Handa
1763c50caa Give proper SAFE-CHARSET argument in each call
of make-coding-system.
1997-10-23 12:03:41 +00:00
Kenichi Handa
c8f0d090d0 Give proper SAFE-CHARSET argument in
each call of make-coding-system.
1997-10-23 12:03:41 +00:00
Kenichi Handa
6cb92c3a63 (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.
1997-10-23 12:03:07 +00:00
Kenichi Handa
34c0365b51 (term-exec-1): Bind inhibit-eol-conversion to t before
calling start-process.
1997-10-23 12:03:07 +00:00
Kenichi Handa
9d3d8cba5a (char_valid_p): New function
(Fchar_valid_p): New function.
(syms_of_charset): Declare it as a Lisp function.
1997-10-23 12:01:50 +00:00
Kenichi Handa
15979e9ebc (CHAR_VALID_P): Renamed from VALID_CHAR_P, new
argument GENERICP.  Call char_valid_p for a non-ASCII character.
1997-10-23 12:01:50 +00:00
Kenichi Handa
70c222451e (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.
1997-10-23 12:01:50 +00:00
Kenichi Handa
1db9ba0636 (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.
1997-10-23 12:01:50 +00:00
Kenichi Handa
de86fcba73 (map_char_table): Do not operate on invalid characters.
Pay attention to `enable-multibyte-characters'.
1997-10-23 12:01:50 +00:00
Karl Heuer
82aba9f42f (c-initialize-builtin-style):
Only use copy-tree if it is
funcall-able.  This is the right patch, and was given by Erik Naggum
<erik@naggum.no>
1997-10-23 07:50:28 +00:00
Karl Heuer
c2efc1d098 (c-submit-bug-report): Remove
c-recognize-knr-p.  Add c-comment-continuation-stars.
1997-10-23 07:49:25 +00:00
Karl Heuer
8729df5954 Patches to Imenu support given by
"Masatake (jet) YAMATO" <masata-y@is.aist-nara.ac.jp>.
1997-10-23 07:49:06 +00:00
Karl Heuer
541aeedfa6 (c-progress-interval): Document new semantics 1997-10-23 07:48:50 +00:00
Karl Heuer
a7c7b186ff (c-progress-init, c-progress-fini):
Be slient if c-progress-interval
is nil.

(c-comment-line-break-function):
Fix for when comment starts at
comment-column and there is non-whitespace preceding this on the
current line.
1997-10-23 07:48:34 +00:00
Karl Heuer
6430c434e3 (c-guess-basic-syntax):
CASE 5F: extern-lang-close relpos should be
element 0 of inclass-p, not element 1.

(c-beginning-of-statement-1):
Watch out for keywords which have a
preceding underscore.
1997-10-23 07:48:09 +00:00
Karl Heuer
81eb2ff929 Remove version number. 1997-10-23 07:47:37 +00:00
Karl Heuer
13e91c8e41 Update version number. 1997-10-23 07:36:15 +00:00
Karl Heuer
55be952731 (c-end-of-statement-1):
Wrap backward-up-list in a c-safe call so no
error results when buffer contains only a comment and point is at
eob.
1997-10-23 07:33:21 +00:00