From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Hikaru Ichijyo Newsgroups: gmane.emacs.help Subject: HTML img tags Date: Sat, 10 Dec 2016 10:53:02 -0600 Organization: UN Spacy Message-ID: <8xxoa0johe9.fsf@village.keycorner.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481388936 13037 195.159.176.226 (10 Dec 2016 16:55:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2016 16:55:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 10 17:55:31 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFkvr-0001qF-3H for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Dec 2016 17:55:31 +0100 Original-Received: from localhost ([::1]:52353 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFkvr-0002in-Fp for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Dec 2016 11:55:31 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help Cancel-Lock: sha1:PH4Lj+i/VVYsiKE1iWZj2xOmXS0= Original-Lines: 14 Original-NNTP-Posting-Host: 8814fb1b.news.astraweb.com Original-X-Trace: DXC=XM`PHA[RP:n]`e1HJ8=:?`L?0kYOcDh@j>4bi8eR:fMji?6[h085cfmaJO_]QU2XRhj0ib>HdYUobi6K8kh; 7[Zm05fY]9nLmnb[k9Q>lmWBVm Original-Xref: usenet.stanford.edu gnu.emacs.help:219022 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111910 Archived-At: Is there a mode, or some bit of Lisp code I can put in ~/.emacs, that will let Emacs guess the width= and height= attributes of an image file from the image itself when I create an img tag in HTML? I realize there's probably no way for Emacs to do that without calling external programs as a subprocess, so it's unlikely, but it would certainly be convenient, and there are some HTML authoring programs that will do that for you. The old KDE 3 app Quanta Plus did, but I'd rather do everything in Emacs. -- He that would make his own liberty secure must guard even his enemy from oppression; for if he violates this duty, he establishes a precedent that will reach to himself. --Thomas Paine