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
a672b7cd
Commit
a672b7cd
authored
Dec 21, 2000
by
Kenichi Handa
Browse files
(select-safe-coding-system): Improve help message.
parent
4d513a57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
21 deletions
+24
-21
lisp/international/mule-cmds.el
lisp/international/mule-cmds.el
+24
-21
No files found.
lisp/international/mule-cmds.el
View file @
a672b7cd
...
...
@@ -603,27 +603,30 @@ and TO is ignored."
(
with-output-to-temp-buffer
"*Warning*"
(
save-excursion
(
set-buffer
standard-output
)
(
insert
"These default coding systems were tried"
)
(
if
(
stringp
from
)
(
insert
" to encode \""
(
if
(
>
(
length
from
)
10
)
(
substring
from
0
10
)
from
)
"...\""
))
(
insert
":\n"
)
(
let
((
pos
(
point
))
(
fill-prefix
" "
))
(
mapcar
(
function
(
lambda
(
x
)
(
princ
" "
)
(
princ
(
car
x
))))
default-coding-system
)
(
insert
"\n"
)
(
fill-region-as-paragraph
pos
(
point
)))
(
insert
(
if
(
consp
coding-system
)
(
concat
(
format
"%s safely encodes the target text,\n"
(
car
coding-system
))
"but it is not recommended for encoding text in this context,\n"
"e.g., for sending an email message.\n"
)
"However, none of them safely encodes the target text.\n"
))
(
if
(
not
default-coding-system
)
(
insert
"No default coding systems to try."
)
(
insert
"These default coding systems were tried"
)
(
if
(
stringp
from
)
(
insert
" to encode \""
(
if
(
>
(
length
from
)
10
)
(
substring
from
0
10
)
from
)
"...\""
))
(
insert
":\n"
)
(
let
((
pos
(
point
))
(
fill-prefix
" "
))
(
mapcar
(
function
(
lambda
(
x
)
(
princ
" "
)
(
princ
(
car
x
))))
default-coding-system
)
(
insert
"\n"
)
(
fill-region-as-paragraph
pos
(
point
)))
(
insert
(
if
(
consp
coding-system
)
(
concat
(
format
"%s safely encodes the target text,\n"
(
car
coding-system
))
"but it is not recommended for encoding text in this context,\n"
"e.g., for sending an email message.\n"
)
"However, none of them safely encodes the target text.\n"
)))
(
insert
(
if
(
consp
coding-system
)
"\nSelect the above, or "
"\nSelect "
)
...
...
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