From: 조성빈 <pcr910303@icloud.com>
To: aprekates <aprekates@posteo.net>
Cc: Jakub Jankiewicz <jcubic@onet.pl>,
Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: How can i enable webmode?
Date: Mon, 11 May 2020 00:35:46 +0900 [thread overview]
Message-ID: <88F78EB6-37EE-4173-8E4D-8602ABDBB434@icloud.com> (raw)
In-Reply-To: <7cff7a4e-391f-3db4-e49a-6e52408d9b17@posteo.net>
aprekates <aprekates@posteo.net> 작성:
> Thanks , i had the impression that package manager would handle that.
The package manager only ‘installs’ the elisp files.
> I wonder , is that step a webmode exception or
> a necessary step after an 'installation' of every package?
Usually (almost always), you have to add some code to your init file to
trigger it. For major modes, it’s usually adding it to auto-mode-alist. For
minor modes, you would have to activate the minor modes if you would want
them
to be turned on from startup, and for ones that you would only like to be
turned on for some major modes, you add a major mode hook to turn the minor
mode on.
> On 10/5/20 2:05 μ.μ., Jakub Jankiewicz wrote:
>> On Sun, 10 May 2020 13:02:14 +0300
>> aprekates <aprekates@posteo.net> wrote:
>>
>>> GNU Emacs 26.1 (build 2, x86_64-pc-linux-gn
>>>
>>> I installed with M-x package-list webmode but
>>>
>>> html files still open in html+ mode.
>> You need to actually tell emacs to use web-mode for html files.
>>
>> I have this in my emacs file:
>>
>> (require 'web-mode)
>>
>> (add-to-list 'auto-mode-alist
>> ("\\.\\(php\\|php\\.in\\|xml\\|twig\\|rss\\|xsl\\|svg\\|glade\\|rng\\|kml\\|html\\|xhtml\\)\\'"
>> . web-mode))
>>
>> --
>> Jakub Jankiewicz, Web Developer
>> https://jcubic.pl/me
next prev parent reply other threads:[~2020-05-10 15:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-10 10:02 How can i enable webmode? aprekates
2020-05-10 11:05 ` Jakub Jankiewicz
2020-05-10 14:40 ` aprekates
2020-05-10 15:35 ` 조성빈 [this message]
[not found] ` <CAMDYoXZKD6krOQXpX_4js16bn+MtS_imPBHHmLJ2qNEh0Z_toQ@mail.gmail.com>
[not found] ` <008d9cd4-8d24-f19b-82ad-d5c1bf7a435f@posteo.net>
2020-05-10 15:43 ` Alexis Roda
2020-05-10 16:13 ` H. Dieter Wilhelm
2020-05-10 16:42 ` Drew Adams
2020-05-11 11:55 ` H. Dieter Wilhelm
2020-05-11 12:03 ` tomas
2020-05-11 12:47 ` H. Dieter Wilhelm
2020-05-11 15:02 ` Drew Adams
2020-05-11 16:05 ` Stefan Monnier
2020-05-11 17:22 ` H. Dieter Wilhelm
2020-05-10 16:55 ` Dan Sommers
2020-05-11 12:03 ` H. Dieter Wilhelm
2020-05-11 14:01 ` Dan Sommers
2020-05-11 16:09 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=88F78EB6-37EE-4173-8E4D-8602ABDBB434@icloud.com \
--to=pcr910303@icloud.com \
--cc=aprekates@posteo.net \
--cc=help-gnu-emacs@gnu.org \
--cc=jcubic@onet.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.