1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

146 Commits

Author SHA1 Message Date
Chong Yidong
a05731a0cc Make C-u C-x = report on empty overlays at point.
* lisp/descr-text.el (describe-text-properties-1): Use overlays-in to
report on empty overlays.

Fixes: debbugs:3322
2012-08-20 19:12:16 +08:00
Andreas Schwab
9229c65855 * descr-text.el (describe-char): Put the overlays over the
"displayed as" character.
2012-08-12 11:35:57 +02:00
Chong Yidong
3e861c8a0d * descr-text.el (describe-char): Don't insert extra newlines.
Fixes: debbugs:10127
2012-08-09 16:10:32 +08:00
Juri Linkov
b19dd9d1bb * lisp/descr-text.el (describe-char): Fix format args.
Fixes: debbugs:10129
2012-07-17 21:15:02 +03:00
Eli Zaretskii
e9f66fcb51 Mention in "C-u C-x =" display how to insert the character w/o input methods.
lisp/descr-text.el (describe-char): Mention how to insert the
 character, if the current input method doesn't support it.
 See the discussion in this thread for the details:
 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2012-06-08 11:44:45 +03:00
Juanma Barranquero
376cbaccd9 Remove some `toggle-read-only' warnings.
* lisp/bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.

* lisp/descr-text.el (describe-char):
  lisp/progmodes/python.el (python-describe-symbol):
  Don't call `toggle-read-only', set `buffer-read-only'.
2012-04-19 18:50:07 +02:00
Drew Adams
7c188927ac Fix bug #10129: add positional information to "C-u C-x =".
lisp/descr-text.el (describe-char): Show information about POS, in
 addition to information about the character at POS.  Improve and
 update the doc string.  Change "code point" to "code point in
 charset", to avoid confusion with the character's Unicode code
 point shown above that.
2012-01-28 12:27:28 +02:00
Eli Zaretskii
e0da685ab9 Fix character display by "C-u C-x =" in presence of display properties.
lisp/descr-text.el (describe-char): Show the raw character, not only
 its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
 for the reasons.
2012-01-28 11:52:24 +02:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Eli Zaretskii
71cc0b7439 Fix "C-x =" wrt display of strong RTL characters and directional controls.
lisp/descr-text.el (describe-char): Fix display of strong
 right-to-left characters and directional embeddings and overrides.
 lisp/simple.el (what-cursor-position): Fix display of codepoints of
 strong right-to-left characters by appending LRM.
2011-12-05 19:46:27 +02:00
Paul Eggert
c80e3b4aed Spelling fixes. 2011-12-04 00:02:42 -08:00
Juanma Barranquero
fe7a3057a3 Fix typos. 2011-11-20 20:35:27 +01:00
Juri Linkov
aa42ab43f2 * lisp/descr-text.el (describe-char): Add #x2010 and #x2011 to
the list of hard-coded chars with escape-glyph face.
2011-10-20 01:35:48 +03:00
Juanma Barranquero
df9a7357d2 lisp/descr-text.el (describe-char-categories): Accept multiline descriptions. 2011-09-29 02:12:44 +02:00
Juanma Barranquero
06b605171f lisp/*.el: Lexical-binding cleanup. 2011-04-19 15:44:55 +02:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Chong Yidong
2ec1b5ee34 Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
Gustav Hållberg
d148e8f9bb * lisp/descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423) 2010-06-18 19:39:04 -07:00
Glenn Morris
74739ffd73 Close bug#6422.
* lisp/descr-text.el (describe-char-unicode-data): Insert separating
space when needed.
2010-06-18 19:31:44 -07:00
Juanma Barranquero
78edd3b72d Fix typos. 2010-06-03 17:34:35 +02:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Juri Linkov
08e968f330 (describe-char-unidata-list): Use lowercase name
for "Unicode name" like in other tags.
2009-11-29 23:55:57 +00:00
Stefan Monnier
449c27f045 Handle the [back] button properly (bug#4979).
* descr-text.el (describe-text-properties): Add a `buffer' argument.
Use help-setup-xref, help-buffer, and with-help-window.
(describe-char): Add `buffer' argument.
Pass proper command to help-setup-xref.  Don't meddle with
help-xref-stack-item directly.
(describe-text-category): Use with-help-window and help-buffer.
2009-11-24 22:23:49 +00:00
Kenichi Handa
b2f0be0f79 (describe-char-padded-string): Compose with TAB
only if there's a font for CH.
(describe-char): Fix the condition for detecting a trivial
composition.
2009-11-19 01:11:47 +00:00
Stefan Monnier
56f14120ae Require help-mode rather than help-fns (bug#4861). 2009-11-04 04:32:04 +00:00
Juanma Barranquero
32226619c5 Use called-interactively-p' instead of interactive-p'. 2009-10-02 03:48:36 +00:00
Chong Yidong
e762149473 * descr-text.el (describe-property-list, describe-char): Add
follow-link properties to buttons that need them.
2009-04-07 00:46:11 +00:00
Kenichi Handa
0ba13131e5 (describe-char-display): On terminal, if terminal
coding system is nil, assume us-ascii.
(describe-char): Don't show the composition informaiton if it is
trivial.
2009-02-10 06:03:44 +00:00
Kenichi Handa
e47fe93b1f (describe-char): Check font-object by fontp. 2009-02-04 02:02:27 +00:00
Kenichi Handa
2d3e4f023e (describe-char): Improve description of eight-bit
char in a unibyte buffer.
2009-01-20 02:15:43 +00:00
Juanma Barranquero
d703f9385e * descr-text.el (describe-char-categories): New defsubst.
(describe-char): Use it.
2009-01-19 15:48:15 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Juri Linkov
0e0f6cbde0 (describe-char-unidata-list): Move old-name' to be immediately after name'. 2008-11-22 20:43:27 +00:00
Kenichi Handa
a62ac7e3fd (describe-char): Fix terminal case (where font is nil). 2008-10-27 02:12:03 +00:00
Kenichi Handa
f5a60b433b (describe-char): Fix handling of automatic composition. 2008-09-05 00:50:27 +00:00
Juanma Barranquero
96065fcef2 * descr-text.el (describe-char-display): Fix last change:
don't pass CHARSET to `encoded-string-description'.
2008-08-04 12:01:54 +00:00
Kenichi Handa
dfc7a783d9 (describe-char-display): Call encode-coding-char
with the arg CHARSET.
(describe-char): Pay attention to the text-property `charset'.
2008-08-01 12:47:44 +00:00
Juanma Barranquero
c57b496bfc * descr-text.el (describe-char): Don't overwrite local variable char
when describing characters with display-table entries.  Display font
  backend when describing composed characters.  Simplify: use `let'
  instead of `let*', and `or x y' instead of `if x x y'.
2008-07-25 12:01:59 +00:00
Kenichi Handa
950b58594c (describe-char-unidata-list): Initialize to the
list of name, general-category, decomposition, and old-name.
2008-07-17 01:27:01 +00:00
Kenichi Handa
7a6744749f (describe-char-display): Always return a string.
(describe-char-padded-string): New function.
(describe-char): Adjusted for the change of
describe-char-display.  Use describe-char-padded-string.
2008-06-29 14:42:35 +00:00
Glenn Morris
aa360da10d Add some compiler declarations, for builds without X. 2008-06-12 03:56:20 +00:00
Juanma Barranquero
70583cb569 (describe-text-sexp): Use `string-match-p'. Simplify.
(describe-char): Use `looking-at-p', `string-match-p' when possible.
2008-06-01 04:48:53 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Juanma Barranquero
781424c2f3 (describe-char-after): Use `define-obsolete-function-alias'. 2008-04-18 09:30:36 +00:00
Juanma Barranquero
95eede5c74 (describe-char): When specifying all properties,
list them in the right order.
2008-03-19 02:13:03 +00:00
Stefan Monnier
3253c7c65f (describe-char-unidata-list): Allow specifying just all properties.
(describe-char): Handle that new value.
2008-03-19 01:41:53 +00:00
Kenichi Handa
a6bbf9f489 (describe-char-display): Fix previous change. 2008-01-11 04:16:14 +00:00