Re: [AUCTeX-devel] Fontification in verb-env's with argument

2015-05-04 Thread Mosè Giordano
Hi Arash, 2015-05-04 23:26 GMT+02:00 Arash Esbati esb...@gmx.de: Hi all, consider the following example: --8---cut here---start-8--- \documentclass[a4paper,12pt]{article} \usepackage{listings} \lstnewenvironment{pascal}[2] {\lstset{language=pascal,%

[AUCTeX-devel] Fontification in verb-env's with argument

2015-05-04 Thread Arash Esbati
Hi all, consider the following example: --8---cut here---start-8--- \documentclass[a4paper,12pt]{article} \usepackage{listings} \lstnewenvironment{pascal}[2] {\lstset{language=pascal,% basicstyle=\ttfamily#1,% keywordstyle=#2}}{}

Re: [AUCTeX-devel] Fontification in verb-env's with argument

2015-05-04 Thread Arash Esbati
Mosè Giordano mose at gnu.org writes: Hi Mosè, Could you please show what you see? I'm attaching a screenshot of my Emacs: `pascal' environment is not fontified at all. I don't think it's strange since it seems listings style file does nothing special for new listing environments. Thanks