From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73161: 29.4; Exporting Org Agenda to PDF with Cyrillic Characters Date: Tue, 10 Sep 2024 16:53:45 +0300 Message-ID: <86wmjjty1i.fsf@gnu.org> References: <87v7z4ni82.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24968"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73161@debbugs.gnu.org, egrep@protonmail.ch To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 10 15:54:21 2024 Return-path: Envelope-to: geb-bug-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 1so1Jy-0006H9-QJ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Sep 2024 15:54:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1so1Jf-0001Ig-U5; Tue, 10 Sep 2024 09:53:59 -0400 Original-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 1so1Jd-0001I4-P2 for bug-gnu-emacs@gnu.org; Tue, 10 Sep 2024 09:53:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so1Jd-00050h-8Y for bug-gnu-emacs@gnu.org; Tue, 10 Sep 2024 09:53:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=icc0XB7re8ZbtlngGlsaAST99vZO1Cho9f+PRv2Qlsc=; b=iCeAAgjMCwPHsO62avANdPEAEbdu4RaE3ZsJYTPXbpWE+CkwDiV98msvWTiYghm6x48dlrB7khK3CkuF1lNjlAHClXQ6yWIiYB3Ne1OTdQW2WMC2ZxdKkxX2I+WlK+6ORK2T9AkATFAsESjFPaLzpLh6RxyhUuZMmb+nU37v3IozQGTCuVnxay1wsftNSf31gMNL7aZ3Ce30HnwG5uuD8Ewzk5pO10bMkbgWK1QYiYEqpCI/q25e0h2Hd+79DCt/5te4CThjQnlpWqonL7rR2lLRUqs8By6OTBQjaOPYy+vO+QpuAqtKaEdP2MeCe9rqk01eV/NYl/tB1ajA3HsnGw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1so1Ji-0004yB-5x for bug-gnu-emacs@gnu.org; Tue, 10 Sep 2024 09:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Sep 2024 13:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73161 X-GNU-PR-Package: emacs Original-Received: via spool by 73161-submit@debbugs.gnu.org id=B73161.172597644019093 (code B ref 73161); Tue, 10 Sep 2024 13:54:02 +0000 Original-Received: (at 73161) by debbugs.gnu.org; 10 Sep 2024 13:54:00 +0000 Original-Received: from localhost ([127.0.0.1]:35095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1so1Jg-0004xt-Dq for submit@debbugs.gnu.org; Tue, 10 Sep 2024 09:54:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1so1Je-0004xe-Hs for 73161@debbugs.gnu.org; Tue, 10 Sep 2024 09:53:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1so1JS-0004zq-Ob; Tue, 10 Sep 2024 09:53:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=icc0XB7re8ZbtlngGlsaAST99vZO1Cho9f+PRv2Qlsc=; b=FMHBykO0Rwsc Qs6bYlJ8DUA0RQK5W6wtbel5JoKdEMfSLCsA/G4JgbmgrPSJpSQMlqNVnGYhVOI8NgoKZRWZHhXje CvAor+M/doZqkSOrxKz7OiktzxlWTrTlcowQsq5iIqXxe61q6f6MYfiMWuvsLqY0pdbnrsnJ8EFiN kf+imVEiPNs/lUTMY95XjAJwgAnUZ2O/Bkjwfv8l6ZjpbF52DOhFs+pByTlEl6oEZyVUNKm8BjDSN VxWxGbCSX2k8JWs3KggfLMjZb22uUL3ORu74J3+hQYV2nv8IHnS7dofn/rGIxVeoxvkMfP4ZVJfdf Ve2R7Jen1xRreMaZ0Y4xlQ==; In-Reply-To: <87v7z4ni82.fsf@localhost> (message from Ihor Radchenko on Tue, 10 Sep 2024 06:19:41 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291567 Archived-At: > Cc: 73161@debbugs.gnu.org > From: Ihor Radchenko > Date: Tue, 10 Sep 2024 06:19:41 +0000 > > Serghei Iakovlev via "Bug reports for GNU Emacs, the Swiss army knife of > text editors" writes: > > > --8<---------------cut here---------------start------------->8--- > > (require 'ps-print) > > (ps-print-buffer-with-faces > > (concat (file-name-sans-extension file) ".ps")) > > (call-process "ps2pdf" nil nil nil > > (expand-file-name > > (concat (file-name-sans-extension file) ".ps")) > > (expand-file-name file)) > > (delete-file (concat (file-name-sans-extension file) ".ps")) > > (message "PDF written to %s" file) > > --8<---------------cut here---------------end--------------->8--- > > (A comment to Eli and other Emacs maintainers) > > I believe that what we observe here is a problem in `ps-print-buffer', > not in Org mode. In other words, it looks like Emacs bug, not Org mode > bug. It isn't an Org bug, but IMO Org should prominently document that the above is only going to work for ASCII and maybe also Latin-1 text; any other scripts, if they at all work, need ps-mule setup and BDF fonts.