* sh-script-mode
@ 2006-05-29 15:44 Cai Qian
2006-05-30 16:32 ` sh-script-mode Kevin Rodgers
[not found] ` <E1FkpID-0004Pz-On@fencepost.gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: Cai Qian @ 2006-05-29 15:44 UTC (permalink / raw)
Hi,
There are two bugs regards sh-script-mode
1) Here document,
When input <<, it should not automatically add EOF here document for
me, as I may want to use <<< instead.
3) Highlight for quota string
Highlight for quota string is a mess, when embed double or single
quota inside quota, such as,
echo "$(echo "hello 'world'")"
Qian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sh-script-mode
2006-05-29 15:44 sh-script-mode Cai Qian
@ 2006-05-30 16:32 ` Kevin Rodgers
[not found] ` <E1FkpID-0004Pz-On@fencepost.gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2006-05-30 16:32 UTC (permalink / raw)
Cai Qian wrote:
> 1) Here document,
> When input <<, it should not automatically add EOF here document for
> me, as I may want to use <<< instead.
Try (a) `C-u <' instead of just `<', (b) setting sh-here-document-word
to "", or (c) unbinding "<" in Shell-script mode's local map
(sh-mode-map).
--
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sh-script-mode
[not found] ` <E1FkpID-0004Pz-On@fencepost.gnu.org>
@ 2006-05-31 23:46 ` Cai Qian
0 siblings, 0 replies; 3+ messages in thread
From: Cai Qian @ 2006-05-31 23:46 UTC (permalink / raw)
Cc: bug-gnu-emacs
Hi,
On 5/29/06, Richard Stallman <rms@gnu.org> wrote:
> 3) Highlight for quote string
> Highlight for quota string is a mess, when embed double or single
> quota inside quota, such as,
>
> echo "$(echo "hello 'world'")"
>
> I think the syntax mechanism is not powerful enough to understand that.
> Sorry.
>
I think it is necessary here to change the behaviour of syntax
highlight of quote string. For example,
echo "$(ls "Hello World"*)"
Two quote strings are valid and necessary here to protect spaces as
well as newlines. In addition, I don't think it is too hard to support
it. When the first " char looking for the end of " char, it needs to
skip " char inside $(...)
Qian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-31 23:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-29 15:44 sh-script-mode Cai Qian
2006-05-30 16:32 ` sh-script-mode Kevin Rodgers
[not found] ` <E1FkpID-0004Pz-On@fencepost.gnu.org>
2006-05-31 23:46 ` sh-script-mode Cai Qian
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).