* bug#17980: perl-mode here document colors
@ 2014-07-09 23:35 積丹尼 Dan Jacobson
2014-07-18 23:35 ` Stefan Monnier
2014-07-20 11:12 ` 積丹尼 Dan Jacobson
0 siblings, 2 replies; 3+ messages in thread
From: 積丹尼 Dan Jacobson @ 2014-07-09 23:35 UTC (permalink / raw)
To: 17980
Shouldn't the body of
print <<\EOF;
</body>
</html>
EOF
be colored differently in perl mode?
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#17980: perl-mode here document colors
2014-07-09 23:35 bug#17980: perl-mode here document colors 積丹尼 Dan Jacobson
@ 2014-07-18 23:35 ` Stefan Monnier
2014-07-20 11:12 ` 積丹尼 Dan Jacobson
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2014-07-18 23:35 UTC (permalink / raw)
To: 積丹尼 Dan Jacobson; +Cc: 17980
> Shouldn't the body of
> print <<\EOF;
> </body>
> </html>
> EOF
> be colored differently in perl mode?
Not sure what you mean. For me, the "</body></html>EOF" part is colored
with font-lock-comment-face. Do you mean that it should use another
face by virtue of being a here document (like sh-heredoc)? Or is your
not colored with font-lock-comment-face? Or do you want HTML here-docs
to be colored differently?
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#17980: perl-mode here document colors
2014-07-09 23:35 bug#17980: perl-mode here document colors 積丹尼 Dan Jacobson
2014-07-18 23:35 ` Stefan Monnier
@ 2014-07-20 11:12 ` 積丹尼 Dan Jacobson
1 sibling, 0 replies; 3+ messages in thread
From: 積丹尼 Dan Jacobson @ 2014-07-20 11:12 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 17980
All I know is for me doing
# set file.pl
# su - nobody -c 'HOME=/tmp emacs '$@ & #for virgin environment
print "jjjjjj"; BLACK, PURPLE
print <<\EOF; BLACK
</body> BLACK, SHOULD BE PURPLE
</html> BLACK, SHOULD BE PURPLE
EOF BLACK
Now instead checking shell-script-mode, things look good except the
final EOF should be the same color as the initial EOF, not instead the
color of the body!
I am using Debian emacs24:
Installed: 24.3+1-4+b1 these days.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-20 11:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-09 23:35 bug#17980: perl-mode here document colors 積丹尼 Dan Jacobson
2014-07-18 23:35 ` Stefan Monnier
2014-07-20 11:12 ` 積丹尼 Dan Jacobson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.