From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cNd6EEvl82Ok6wAAbAwnHQ (envelope-from ) for ; Mon, 20 Feb 2023 22:25:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kDS9D0vl82OYfQEAG6o9tA (envelope-from ) for ; Mon, 20 Feb 2023 22:25:31 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 89132114E3 for ; Mon, 20 Feb 2023 22:25:30 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=panix.com header.s=panix header.b=QnSkKko0; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=panix.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676928331; a=rsa-sha256; cv=none; b=oY1dG5PUA6vEVG/vWK4K+rIY7/MVYZ7+dHR1viJ8ipr7Q37zDmFCeakYWbGdIlXCpJVNou OUKwA538EncQDH7S7rjwnALJ7duorRlacQTyrzHl68awFLMtOG+IacmKArjbiMFErOxw3J qYmvMQVKAFLvT654qiSZTS0IEMsCPhHj3uqK3NaIaz/gBQ1gZfFdYTOpL4hXSOHtKKWM+Y xQn7BVIQbLcU1fVq686jQ09jxXW71ILpoo5oe+pWA5JX1e4ntNuHe+hYdz3K7W3XkeNQB5 Wo5AggCjEdEJSxUcZRuvqj0qXdlSvGmzz/UrygsDj/cJ+R9ZWN9wD3KmJYjX4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=panix.com header.s=panix header.b=QnSkKko0; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=panix.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676928331; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bHlJyjK6EgpMUrJWR9rh0YU4bT3hOvKXGAm4RMGwN1I=; b=DD7nQblI81ZV+1flr3ErFApItca0x/wpcsAAjCrIXx/y627NzilhJBioU+Xd3TnnrHqMjL szHZlNMEMfBBMCU44GkTBYLuTRtaSiud+SMBSTjE2s5z824Q1ms/eLZ+UPFuJbRBT8BTOU rdXkYAbL9PQwzM+JDGXytaYLFq9IwNuODnP+/s1nZjyaw/3FQnP6KkSXAx8G7+9OPJ143b /DjRq3NOKVxYQ09VleMmb/6Q5k+VsXIyiTiRRkxulA2xxtyApp01tSEPR0dewS1oOrqiDv TEq2A2nmPsfvz0FrWhOn5NeGKct+eF0GwSpSkkGsaM2FoWiHWiR23jdBjBozRw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUDeI-00011N-CP; Mon, 20 Feb 2023 16:24:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUDeG-00010z-9m for emacs-orgmode@gnu.org; Mon, 20 Feb 2023 16:24:36 -0500 Received: from mailbackend.panix.com ([166.84.1.89]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUDeE-0003au-3L for emacs-orgmode@gnu.org; Mon, 20 Feb 2023 16:24:35 -0500 Received: from panix1.panix.com (panix1.panix.com [166.84.1.1]) by mailbackend.panix.com (Postfix) with ESMTP id 4PLFmb2lqBz3pjQ; Mon, 20 Feb 2023 16:24:31 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1676928271; bh=kyUTuFpGT7Z9M7+KG/YW6/0nm28K59RM/HDNHtccLb8=; h=Date:From:To:Subject:In-Reply-To:References; b=QnSkKko0C1jQCCqYWMaITb1KuVe7/ezpbC25/obk62FfBfFSiO+Omsp717IS3Vl92 L6X9NcDCoMCfwkT1KRcP0akpHDnrCkGLFpwUwNIZjMJw+BOoFSfYRIG4TeHXiZbCdW Eq/T8Y+FfxkOEwsNEXMIklba313KP+TSFszuZbfo= Received: by panix1.panix.com (Postfix, from userid 20712) id 4PLFmb1w7tzcbf; Mon, 20 Feb 2023 16:24:31 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by panix1.panix.com (Postfix) with ESMTP id 4PLFmb1gz4zcbd; Mon, 20 Feb 2023 16:24:31 -0500 (EST) Date: Mon, 20 Feb 2023 16:24:31 -0500 From: Jude DaShiell To: Russell Adams , emacs-orgmode@gnu.org Subject: Re: feature request: easy embedding of images In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Received-SPF: pass client-ip=166.84.1.89; envelope-from=jdashiel@panix.com; helo=mailbackend.panix.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 89132114E3 X-Spam-Score: -0.85 X-Migadu-Spam-Score: -0.85 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: k1icmD2XHve6 To help accessibility it would be useful when an image was dragged into org-mode if the user got prompted for an image description that gets associated with the image in org-mode. Some images are art work and those should get alt="" tags if a user fails to provide a description but only after asking if this image is art work or something that needs a description. If a description is provided that should go between the quotes in the alt="" tag. Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) . On Mon, 20 Feb 2023, Russell Adams wrote: > On Sat, Feb 18, 2023 at 04:22:33PM -0800, Alexis Gallagher wrote: > > Hello, my fellow org-mode lovers, > > > > This is a feature request ? or failing that, a request for advice on > > a settings configuration which could produce this functionality now. > > Have you looked at org-attach-screenshot? > > https://github.com/dfeich/org-screenshot > > It uses org-attach and calls out to take a screenshot. > > I do the same with some local function's I wrote a while ago. It works > very well for me. I run M-x my/org-screenshot, and after 3 seconds it > will use Imagemagick's "import" command to allow me to select a region > to screenshot and saves it to a filename I prepared. > > I do this daily, many times each day. > > > I wish org-mode had the ability to attach images to notes, display > > them inline, and have that work well. By ?work well? I mean a few > > specific things: > > > > ? the image is automatically resized to maintain aspect ratio and > > ? fit horizontally with a civilized margin, so that I can resize > > ? my emacs window without the image disappearing or swamping the > > ? other content. > > This is Emacs, not Org. Perhaps someone knows how to adjust that. > > > ? you can still scroll the window one line height unit at a time, > > ? without the entire image being scrolled as if it were one giant > > ? line, breaking scrolling, as seems to happen on my emacs > > ? (version 28.x on Linux) > > Mine jumps too, but again that's Emacs, not Org. > > > ? drag and drop, so I can add the image by dragging it in, for > > ? instance from a screenshot tool or from an image on a web page. > > I can't answer that. Drag and drop functions depend on your > platform. Does anything else in Emacs use drag and drop? > > > ? sensible defaults for storing the images bundled with notes and > > ? keeping the two associated, so that I don't subsequently live in > > ? fear of ever moving my org files > > I do save all of mine to the same directory as my org file in > .org/Filename.org.screenshotYYYYMMDDHHMMSS.png. It means I can easily > know what files below to my org document. > > > Why is this valuable, to me at least? I use org to take notes all > > day, during meetings, on reading matter, in the development of my > > own thoughts. Embedding images would let me collect every kind of > > resource I can't reproduce by typing or copy and pasting text ? > > photos of slides during presentations, photos of whiteboard, key > > snippets from websites, handwritten notes and equations, etc.. > > Of course it's valuable, and already implemented. I think you're > asking more about refining how you use it. > > ------------------------------------------------------------------ > Russell Adams RLAdams@AdamsInfoServ.com > https://www.adamsinfoserv.com/ > >