Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7d03c5b1
Commit
7d03c5b1
authored
Dec 27, 2006
by
Kenichi Handa
Browse files
(select-safe-coding-system-interactively):
Improve the message in *Warning* buffer.
parent
39449da0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/international/mule-cmds.el
lisp/international/mule-cmds.el
+8
-6
No files found.
lisp/ChangeLog
View file @
7d03c5b1
2006-12-27 Kenichi Handa <handa@m17n.org>
* international/mule-cmds.el (select-safe-coding-system-interactively):
Improve the message in *Warning* buffer.
2006-12-27 Kim F. Storm <storm@cua.dk>
* ido.el (ido-set-matches-1): Never put current buffer first if
lisp/international/mule-cmds.el
View file @
7d03c5b1
...
...
@@ -787,19 +787,21 @@ e.g., for sending an email message.\n ")
(
setq
i
(
1+
i
))))
(
insert
"\n"
))
(
insert
"\
The
first
problematic
character
is
at
point
in
the
displayed
buffer,\n
"
Click
those
characters
to
jump
to
the
place
they
appear,\n
"
(substitute-command-keys "
\
and
\\[universal-argument]
\\[what-cursor-position]
will
give
information
about
it.\n
"))))
(insert "
\nSelect
\
one
of
the
following
safe
coding
systems,
or
edit
the
buffer:\n
")
(insert (substitute-command-keys "
\nSelect
\
one
of
the
following
safe
coding
systems,\n
\
or
cancel
the
writing
by
\\[keyboard-quit]
and
edit
the
buffer,\n
\
or
specify
any
other
coding
system
at
the
risk
of
losing
the
problematic
characters.\n
"))
(let ((pos (point))
(fill-prefix "
"))
(dolist (x codings)
(princ "
") (princ x))
(insert "
\n
")
(fill-region-as-paragraph pos (point)))
(insert "
Or
specify
any
other
coding
system
at
the
risk
of
losing
the
problematic
characters.\n
")))
(fill-region-as-paragraph pos (point)))))
;; Read a coding system.
(setq coding-system
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment