> Il 26/11/2022 17:45 Eli Zaretskii ha scritto: > > > > Date: Sat, 26 Nov 2022 17:08:41 +0100 (CET) > > From: Angelo Graziosi > > Cc: > > > > > I suspect on GNU/Linux, Emacs is configured to load some optional package. > > > The -q option doesn't disable site-init files. > > > > Sorry, but I do not understand this. How can I disable that? > > By using "emacs -Q" (capital Q). But it is not important in this case, see Ah, I thought the contrary.. > below. > > > The result of the above command is the same, both on Windows and GNU/Linux but on GNU/Linux 'foo' is rendered in underline bold while on Windows it is in italic. I create a foo.tex file with '\emph{foo}' on the first line and with the cursor on 'f' of 'foo'. See the attachments.. > > The images show that the font you use on GNU/Linux doesn't have the italics > variant, so Emacs uses underline instead, per the defface: > > (defface italic > '((((supports :slant italic)) > :slant italic) > (((supports :underline t)) > :underline t) Hmm.. this is strange. "emacs -q/Q" uses Monospace and in Emacs, 'Menu-Set Default Font...' seems to show that Monospace has italic (see the attachment taken with 'emacs -Q')! But really I tried with many fonts (Andale Mono, Bitstream Vera Sans Mono, Courier, DejaVu sans Mono book, FreeMono, Noto...) all listed with the the regular, italic, bold.. versions and with the same negative results. This does not occur on Windows or macOS. If you see the image in my previous post, win10pro-footex-test.png, it uses Courier, the same Courier New listed in Emacs Set Default Font menu item but there it is italic not underlined. Anyway, may you suggest a font to be used with Emacs in GNU/Linux to test this?