From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: aprekates Newsgroups: gmane.emacs.help Subject: Re: How can i enable webmode? Date: Sun, 10 May 2020 17:40:33 +0300 Message-ID: <7cff7a4e-391f-3db4-e49a-6e52408d9b17@posteo.net> References: <20200510130522.486e3497@jcubic> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="74185"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cc: Help Gnu Emacs mailing list To: Jakub Jankiewicz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 10 16:41:02 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXn8Y-000JCw-NI for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 10 May 2020 16:41:02 +0200 Original-Received: from localhost ([::1]:44940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXn8X-000555-9f for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 10 May 2020 10:41:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXn8A-00054i-RG for help-gnu-emacs@gnu.org; Sun, 10 May 2020 10:40:38 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:34457) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXn88-0003vC-Sj for help-gnu-emacs@gnu.org; Sun, 10 May 2020 10:40:38 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 822712400FE for ; Sun, 10 May 2020 16:40:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1589121634; bh=cE/FYVWxttelyBCslYgr8LWTj95WhOhFhln4fZqPF4c=; h=Subject:To:Cc:From:Date:From; b=TbCxG57mH/e+zhldb/UjvAaGXY7TwaM56Z5lseudT4CgD3aZkhvrtLhZ5RfYSAT0v bcSTJ1HwT5CbeTCy7mKEt6RTVMog9G2Oo9O97CYCK49vfqX+zCS6CpskiMUUPMkNgm 5rxZhxbm6ia4lV0fpUW249CtJ97eagU2BLjSaXKqDxiX4Gy+mISftXqqceSd6iYrJF csN9y0IDxNOS8voys0AoeYeQTQY3mG0zqetjF5SFv8m6ViGBf/c5QmJ+3Jy/oKIBES UHpDyDQQR4JmhPhYdOnSggvzutjBHbeqArMZkLVzIVy+E4czTlBxxSpT/P7ssXk96B YG3JXJ+a58M9A== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49KmvP5xXLz9rxK; Sun, 10 May 2020 16:40:33 +0200 (CEST) In-Reply-To: <20200510130522.486e3497@jcubic> Content-Language: en-US Received-SPF: pass client-ip=185.67.36.66; envelope-from=aprekates@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/10 10:40:34 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123056 Archived-At: Thanks , i had the impression that package manager would handle that. I wonder , is that step a webmode exception or a necessary step after an 'installation' of every package? On 10/5/20 2:05 μ.μ., Jakub Jankiewicz wrote: > > On Sun, 10 May 2020 13:02:14 +0300 > aprekates 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 >