1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00
Commit Graph

55 Commits

Author SHA1 Message Date
Kim F. Storm
da55bb9600 (describe-char): Use glyph-char and glyph-face. 2007-02-14 11:28:31 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Juanma Barranquero
def7167bdf (describe-char-unicode-data): Use a hidden buffer for Unicode data file pointed
to by `describe-char-unicodedata-file'.
2006-12-04 10:24:04 +00:00
Juanma Barranquero
2acb13b129 *** empty log message *** 2006-12-01 14:12:04 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Juri Linkov
2fd54bf88c (describe-text-sexp): Use square brackets for
button [Show] to distinguish it from the property value `show'.
(describe-property-list): Use `insert-text-button' with
`help-face' type instead of putting face in quotes, because button
is not created automatically for a list of faces.
(describe-text-properties-1): Put button-type value in quotes to
distinguish from plain text "button".
(describe-char): Display code point values in hex.  Don't use
`symbol-name' for `current-input-method' because it is a string.
Use `insert-text-button' with `help-face' type instead of putting
hardcoded face in quotes, because button is not created automatically.
2005-12-28 01:55:16 +00:00
Nick Roberts
bfd9411056 (describe-char): Set help-xref-stack-item
explicitly after buffer has been generated.  Revert previous
changes for optional  buffer argument.
2005-12-27 21:24:53 +00:00
Nick Roberts
a06b8fd888 (describe-char): Bug fix for previous changes: Juggle current buffer. 2005-12-26 12:35:35 +00:00
Nick Roberts
e5a5c80cd5 2005-12-27 Nick Roberts <nickrob@snap.net.nz>
* descr-text.el (describe-char): Add optional argument for buffer.
	Set buffer appropriately.  Call help-setup-xref.
	Suggested by Stefan Monnier.

2005-12-27  Juri Linkov  <juri@jurta.org>

	* descr-text.el (help-fns): Require.  Don't require button for
	byte compilation.
	(describe-text-widget): Add help echo for first button.  Use
	'help-info for second.
	(describe-property-list): Use 'help-argument-name instead of 'italic.
	(describe-text-category): Prompt in minibuffer.  Call help-setup-xref.
	(describe-char): Use 'help-character-set.  Add help echo.  Use
	'help-input-method.  Remove superfluous insert.
2005-12-26 11:41:22 +00:00
Nick Roberts
57d79b9944 Add FSF as maintainer.
(describe-text-mode, describe-text-mode-map)
(describe-text-mode-hook, describe-text-done): Delete.  Use normal
help-mode.
(describe-text-widget, describe-text-sexp)
(describe-property-list, describe-text-category)
(describe-text-properties, describe-text-properties-1)
(describe-char): Use help buttons instead of widgets.
(describe-char-unicodedata-file): Make URL link in doc string.
2005-12-23 01:51:44 +00:00
Juri Linkov
e217c04eaf (describe-text-properties): Replace buffer name "*Help-2*" with "*Help*<2>".
(describe-char): Add functions print-help-return-message,
toggle-read-only.  Use help-setup-xref with nil to not store
describe-char in help-xref-stack.  Use help-make-xrefs to
make [back] button.
2005-12-14 07:44:20 +00:00
Stefan Monnier
25a3c9d12e (describe-char): Rework last fix to solve the problem
is the same way it's solved for everything else in that function
(i.e. by extracting the info before setting up the *Help* buffer).
2005-12-12 16:50:39 +00:00
Kenichi Handa
086c5b2bca (describe-char): Use *Help-2* buffer if the
current buffer is *Help*.  Call describe-text-properties while
setting the original buffer.
2005-12-08 01:39:37 +00:00
Andreas Schwab
6398b88f53 (describe-char): When copying overlays put them
over the full char description instead of just the first character
of it.
2005-11-20 15:25:35 +00:00
Juri Linkov
9f40939dcd (describe-char): Use Lisp-readable syntax for octal and hex.
Reorder decimal, octal and hex values.
Remove excess whitespace in the output.
2005-11-20 07:43:44 +00:00
Richard M. Stallman
d502fc0692 (describe-property-list): Handle non-symbol prop names. 2005-09-09 01:10:41 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Stefan Monnier
cbfde7a079 (describe-char): Handle the case where the list of
chars is displayed in a separate frame.
Be a bit more discriminating when looking for the char.
2005-07-26 16:02:09 +00:00
Juri Linkov
fedbc8e58c (describe-char): Create link buttons for `charset'
and `code point'.  Add the current input method name with a link
button to `to input' field.  Print face names of display table
characters in `The display table entry is displayed by' section
instead of printing face-id in the `display' field.
Guess hardcoded faces and create a link button for them.
Skip empty fields when calculating max-width.
Treat `widget-create' specially while inserting strings from the
collected field list.
(describe-char-after): Made obsolete in version 22.1, not 21.5.
2005-07-19 11:23:14 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Lute Kamstra
258cf56286 (describe-text-mode): Use run-mode-hooks. 2005-05-26 12:41:52 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Stefan Monnier
2a4960f909 (describe-char-unicodedata-file): Docstring fix. 2005-01-28 17:07:57 +00:00
Eli Zaretskii
2d65673fc1 Add more keywords. 2005-01-28 16:11:30 +00:00
Juri Linkov
8b18fb8fff (describe-property-list): Don't treat syntax-table
specially.  Use describe-text-sexp which inserts [show] button
for large objects and handles printing errors.  Sort properties
by names in alphabetical order instead of by value sizes.
Add `mouse-face' to list of properties for `describe-face' widget.
(describe-char): Mask out face-id from 19 bits of character.
Print face-id separately.
2004-12-16 13:09:48 +00:00
Stefan Monnier
d8ac3d271c (syntax-after): Undo last change. 2004-11-22 06:00:51 +00:00
Juri Linkov
f46692199f (describe-char): Replace syntax-after with code
from its previous version.
2004-11-11 21:40:43 +00:00
Kim F. Storm
0911ac2657 (describe-text-properties): Don't err if called in
the *Help* buffer; output to *Help-2* buffer instead.
2004-11-01 23:06:51 +00:00
Kenichi Handa
22259c9379 (describe-char): Checking of quail activation
fixed.
2004-09-21 02:26:24 +00:00
Juri Linkov
f13cc97d68 (describe-property-list): Add [show] button for
`syntax-table' property with action to pp to a separate buffer.
(describe-char): Replace search-forward by re-search-forward with
whitespace regexp after "character:" to not fail in too narrow windows.
2004-05-23 20:59:28 +00:00
Stefan Monnier
49c2a2dc4f (describe-char-unicode-data, describe-char-unicodedata-file):
Re-enable the unicode code now that the licensing issues have been
cleared in the unicode-4 license.
(describe-text-properties-1): Remove unused `overlay' var.
(describe-char): Remove unused var `buffer'.
2004-05-14 05:02:18 +00:00
Kenichi Handa
309473d014 Require quail at comile time.
(describe-char): If an input method is on and it supports the
character, show how to input it.
2004-05-12 02:36:01 +00:00
Kenichi Handa
ed441285d5 (describe-char): Fix previous change. Don't make
a unibyte character to multibyte in the *Help* buffer.
2004-05-10 12:07:12 +00:00
Kenichi Handa
6482d09319 (describe-char): Copy the character with text
properties and overlays into the first line, and call
describe-text-properties on it.
2004-05-02 01:49:08 +00:00
Kenichi Handa
02f32cf00f (describe-char): Make it work on *Help* buffer. 2004-04-21 01:27:39 +00:00
Juri Linkov
4eb5945040 (describe-property-list): Add `font-lock-face'. 2004-04-03 04:19:53 +00:00
Juri Linkov
7235491062 (describe-property-list): Add a button for `face' property
that calls `describe-face'.
2004-03-25 10:36:55 +00:00
Juri Linkov
544cb6b0da (describe-char): Use window-width instead of frame-width. 2004-03-23 07:36:34 +00:00
Markus Rost
3ed9ee82db (describe-char): Fix typo. 2003-11-09 19:40:27 +00:00
Kenichi Handa
0a2df7fba2 (describe-char): Fix previous change. 2003-09-28 23:53:29 +00:00
Kenichi Handa
f15078e2b0 (describe-char-display): New function.
(describe-char): Pay attention to display table on describing how
a character is displayed.
2003-09-28 23:30:09 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Andreas Schwab
9b5e7a5ca9 (describe-char): Use `char' instead of
`(char-after)'.  Fix display of unicode.
2003-05-28 21:09:45 +00:00
Richard M. Stallman
d6c135fb4f (describe-char-unicode-data): New dummy definition.
Real definition commented out since we can't use UnicodeData.txt as is.
(describe-char-unicodedata-file): Variable commented out.
2003-05-28 11:14:07 +00:00
Dave Love
831ccfa6a2 (unicodedata-file): New.
(unicode-data): New (adapted from unicode branch).
(describe-char): Use it.  Print char's unicode differently.  Avoid
elements with null cadr when formatting list.  Clarify error
message when used in Help buffer.
(button): Require when compiling.
(describe-char-after): Alias for obsolete command.
2003-05-21 22:00:01 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Markus Rost
d77a0b9b5a (describe-text-mode-hook): Add a group. 2003-01-23 05:46:35 +00:00
Stefan Monnier
ca9088e71e (describe-text-category): Use *Help*. Don't kill-buffer.
(describe-text-properties, describe-char):
Delay self-inspection test.  Use *Help*.
Use syntax-after.  Use `pos' rather than (point).
Distinguish the before/after part of a composition.
2002-09-24 21:11:25 +00:00
Richard M. Stallman
f0397cde4b (describe-text-mode): Add font-lock-defontify to change-major-mode-hook. 2002-09-10 16:45:42 +00:00
Stefan Monnier
c1a1535ae4 (describe-property-list): Make sure there's
a space between the property name and its value.
(describe-text-properties): Don't kill a pre-existing buffer.
2002-06-24 21:35:09 +00:00