* Encoding needed for `browse-url' URLs (IDLWAVE html help)
[not found] <C60E9BBC-342C-4D0C-AA80-794959308B08@umich.edu>
@ 2006-01-12 18:30 ` David Reitter
2006-01-13 16:48 ` Kevin Rodgers
2006-01-14 6:50 ` JD Smith
0 siblings, 2 replies; 6+ messages in thread
From: David Reitter @ 2006-01-12 18:30 UTC (permalink / raw)
I got the below bug report and I found that idlwave does not encode
the URL in `idlwave-help-html-link', i.e. if the path contains a
space, it is not encoded as "%20".
Are `browse-url' and the function pointed to in `browse-url-browser-
function' supposed to handle such URLs or not?
If not, it's a bug in idlwave-mode (but possibly in other places).
(Never mind the reported crash - that was due to an undocumented
'feature' in OS X with not-encoded URLs and the patch for browsing
URLs with the standard browser.)
Thanks
D
Begin forwarded message:
> From: David Gell <gellda@umich.edu>
> Date: 6 January 2006 18:57:40 GMT
> To: aquamacs-bugs@aquamacs.org
> Subject: [Aquamacs-bugs] Crash when attempting to get IDLWAVE html
> help
>
> Symptoms:
>
> I had set the value of the customization variable idlwave-html-help-
> location
> to a directory path which contained a space:
>
> /Library/Application Support/Emacs/idl_html_help
>
> When I shift right-clicked an IDL procedure name in an IDLWAVE mode
> buffer,
> Aquamacs emacs crashed. It should have opened the default web browser,
> Safari and displayed the documentation page for the procedure. This
> process works
> properly when the path supplied by the idlwave-html-help-location
> does not
> contain a space, I include the crash dump below:
>
>
> **********
>
> Host Name: gellda01
> Date/Time: 2006-01-06 09:00:26.700 -0500
> OS Version: 10.4.3 (Build 8F46)
> Report Version: 3
>
> Command: Aquamacs Emacs
> Path: /Applications/Aquamacs Emacs.app/Contents/MacOS/Aquamacs
> Emacs
> Parent: WindowServer [26920]
>
> Version: 22 (1.2a)
>
> PID: 27074
> Thread: 0
>
> Exception: EXC_BAD_ACCESS (0x0001)
> Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000006
>
> Thread 0 Crashed:
> 0 com.apple.CoreFoundation 0x9073fba4 CFRetain + 60
> 1 com.apple.CoreFoundation 0x907409ec CFArrayCreate + 456
> 2 org.gnu.AquamacsEmacs 0x00139074
> Fmac_launch_url_with_default_browser + 280 (mac.c:4583)
> 3 org.gnu.AquamacsEmacs 0x000ea034 Feval + 1044 (eval.c:2220)
> 4 org.gnu.AquamacsEmacs 0x000e897c
> internal_lisp_condition_case + 528 (eval.c:1413)
> 5 org.gnu.AquamacsEmacs 0x001198ac Fbyte_code + 4960
> (bytecode.c:885)
> 6 org.gnu.AquamacsEmacs 0x000eb468 funcall_lambda + 784
> (eval.c:3071)
> 7 org.gnu.AquamacsEmacs 0x000eaf3c Ffuncall + 1196 (eval.c:2934)
> 8 org.gnu.AquamacsEmacs 0x000ea498 Fapply + 540 (eval.c:2372)
> 9 org.gnu.AquamacsEmacs 0x000eadec Ffuncall + 860 (eval.c:2883)
> 10 org.gnu.AquamacsEmacs 0x00118edc Fbyte_code + 2448
> (bytecode.c:695)
> 11 org.gnu.AquamacsEmacs 0x000eb468 funcall_lambda + 784
> (eval.c:3071)
> 12 org.gnu.AquamacsEmacs 0x000eaf3c Ffuncall + 1196 (eval.c:2934)
> 13 org.gnu.AquamacsEmacs 0x00118edc Fbyte_code + 2448
> (bytecode.c:695)
> 14 org.gnu.AquamacsEmacs 0x000eb468 funcall_lambda + 784
> (eval.c:3071)
> 15 org.gnu.AquamacsEmacs 0x000eaf3c Ffuncall + 1196 (eval.c:2934)
> 16 org.gnu.AquamacsEmacs 0x00118edc Fbyte_code + 2448
> (bytecode.c:695)
> 17 org.gnu.AquamacsEmacs 0x000eb468 funcall_lambda + 784
> (eval.c:3071)
> 18 org.gnu.AquamacsEmacs 0x000eaf3c Ffuncall + 1196 (eval.c:2934)
> 19 org.gnu.AquamacsEmacs 0x000ea498 Fapply + 540 (eval.c:2372)
> 20 org.gnu.AquamacsEmacs 0x000eadec Ffuncall + 860 (eval.c:2883)
> 21 org.gnu.AquamacsEmacs 0x00118edc Fbyte_code + 2448
> (bytecode.c:695)
> 22 org.gnu.AquamacsEmacs 0x000eb468 funcall_lambda + 784
> (eval.c:3071)
> 23 org.gnu.AquamacsEmacs 0x000eaf3c Ffuncall + 1196 (eval.c:2934)
> 24 org.gnu.AquamacsEmacs 0x00118edc Fbyte_code + 2448
> (bytecode.c:695)
> 25 org.gnu.AquamacsEmacs 0x000eb468 funcall_lambda + 784
> (eval.c:3071)
> 26 org.gnu.AquamacsEmacs 0x000eaf3c Ffuncall + 1196 (eval.c:2934)
> 27 org.gnu.AquamacsEmacs 0x00118edc Fbyte_code + 2448
> (bytecode.c:695)
> 28 org.gnu.AquamacsEmacs 0x000eb468 funcall_lambda + 784
> (eval.c:3071)
> 29 org.gnu.AquamacsEmacs 0x000eaf3c Ffuncall + 1196 (eval.c:2934)
> 30 org.gnu.AquamacsEmacs 0x00118edc Fbyte_code + 2448
> (bytecode.c:695)
> 31 org.gnu.AquamacsEmacs 0x000eb468 funcall_lambda + 784
> (eval.c:3071)
> 32 org.gnu.AquamacsEmacs 0x000eaf3c Ffuncall + 1196 (eval.c:2934)
> 33 org.gnu.AquamacsEmacs 0x000e64e0 Fcall_interactively + 5232
> (callint.c:884)
> 34 org.gnu.AquamacsEmacs 0x0008abe8 Fcommand_execute + 632
> (keyboard.c:9759)
> 35 org.gnu.AquamacsEmacs 0x0007f030 command_loop_1 + 4396
> (keyboard.c:1801)
> 36 org.gnu.AquamacsEmacs 0x000e8af0 internal_condition_case +
> 336 (eval.c:1466)
> 37 org.gnu.AquamacsEmacs 0x0007dca0 command_loop_2 + 64
> (keyboard.c:1321)
> 38 org.gnu.AquamacsEmacs 0x000e8494 internal_catch + 264
> (eval.c:1211)
> 39 org.gnu.AquamacsEmacs 0x0007dbf8 command_loop + 148
> (keyboard.c:1304)
> 40 org.gnu.AquamacsEmacs 0x0007d5cc recursive_edit_1 + 172
> (keyboard.c:994)
> 41 org.gnu.AquamacsEmacs 0x0007d774 Frecursive_edit + 224
> (keyboard.c:1055)
> 42 org.gnu.AquamacsEmacs 0x0007c234 main + 3232 (emacs.c:1789)
> 43 org.gnu.AquamacsEmacs 0x0000a060 _start + 392 (crt.c:267)
> 44 dyld 0x8fe01048 _dyld_start + 60
>
> Thread 0 crashed with PPC Thread State 64:
> srr0: 0x000000009073fba4 srr1:
> 0x000000000200f930 vrsave: 0x0000000000000000
> cr: 0x24002442 xer: 0x0000000000000007 lr:
> 0x000000009073fb70 ctr: 0x000000009073fb60
> r0: 0x00000000907409ec r1: 0x00000000bfffcf00 r2:
> 0x00000000a073fb70 r3: 0x0000000000000000
> r4: 0x0000000000000000 r5: 0x0000000004800000 r6:
> 0x0000000000000010 r7: 0x0000000000000006
> r8: 0x0000000000000006 r9: 0x0000000000000000 r10:
> 0x0000000000b00285 r11: 0x0000000000000000
> r12: 0x0000000000000000 r13: 0x00000000004c18bc r14:
> 0x0000000000000000 r15: 0x0000000000488554
> r16: 0x0000000000000028 r17: 0x0000000000488554 r18:
> 0x0000000000488554 r19: 0x00000000bfffd130
> r20: 0x0000000000489c28 r21: 0x0000000000489c28 r22:
> 0x0000000000000001 r23: 0x0000000000000000
> r24: 0x00000000bfffd070 r25: 0x00000000a073c180 r26:
> 0x0000000000000000 r27: 0x0000000000a142dc
> r28: 0x0000000000a142d0 r29: 0x0000000000000000 r30:
> 0x0000000000000001 r31: 0x000000009073fb70
>
> Binary Images Description:
> 0x1000 - 0x17afff org.gnu.AquamacsEmacs 22 (1.2a) /
> Applications/Aquamacs Emacs.app/Contents/MacOS/Aquamacs Emacs
> 0x905000 - 0x930fff libncurses.5.dylib /usr/lib/libncurses.
> 5.dylib
> 0x8fe00000 - 0x8fe54fff dyld 44.2 /usr/lib/dyld
> 0x90000000 - 0x901b3fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
> 0x9020b000 - 0x9020ffff libmathCommon.A.dylib /usr/lib/system/
> libmathCommon.A.dylib
> 0x90211000 - 0x90264fff com.apple.CoreText 1.0.1 (???) /System/
> Library/Frameworks/ApplicationServices.framework/Versions/A/
> Frameworks/CoreText.framework/Versions/A/CoreText
> 0x90291000 - 0x90342fff ATS /System/Library/Frameworks/
> ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/
> Versions/A/ATS
> 0x90371000 - 0x906aefff com.apple.CoreGraphics 1.256.27 (???) /
> System/Library/Frameworks/ApplicationServices.framework/Versions/A/
> Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
> 0x9073a000 - 0x90813fff com.apple.CoreFoundation 6.4.4 (368.25) /
> System/Library/Frameworks/CoreFoundation.framework/Versions/A/
> CoreFoundation
> 0x9085c000 - 0x9085cfff com.apple.CoreServices 10.4 (???) /System/
> Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
> 0x9085e000 - 0x90960fff libicucore.A.dylib /usr/lib/
> libicucore.A.dylib
> 0x909ba000 - 0x90a3efff libobjc.A.dylib /usr/lib/libobjc.A.dylib
> 0x90a68000 - 0x90ad6fff com.apple.framework.IOKit 1.4 (???) /System/
> Library/Frameworks/IOKit.framework/Versions/A/IOKit
> 0x90aed000 - 0x90afffff libauto.dylib /usr/lib/libauto.dylib
> 0x90b06000 - 0x90dddfff com.apple.CoreServices.CarbonCore 671.2 /
> System/Library/Frameworks/CoreServices.framework/Versions/A/
> Frameworks/CarbonCore.framework/Versions/A/CarbonCore
> 0x90e43000 - 0x90ec3fff com.apple.CoreServices.OSServices 4.1 /
> System/Library/Frameworks/CoreServices.framework/Versions/A/
> Frameworks/OSServices.framework/Versions/A/OSServices
> 0x90f0d000 - 0x90f4efff com.apple.CFNetwork 10.4.3 (129.2) /System/
> Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/
> CFNetwork.framework/Versions/A/CFNetwork
> 0x90f63000 - 0x90f7bfff com.apple.WebServices 1.1.2 (1.1.0) /System/
> Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/
> WebServicesCore.framework/Versions/A/WebServicesCore
> 0x90f8b000 - 0x9100cfff com.apple.SearchKit 1.0.4 /System/Library/
> Frameworks/CoreServices.framework/Versions/A/Frameworks/
> SearchKit.framework/Versions/A/SearchKit
> 0x91052000 - 0x9107bfff com.apple.Metadata 10.4.3 (121.20.2) /
> System/Library/Frameworks/CoreServices.framework/Versions/A/
> Frameworks/Metadata.framework/Versions/A/Metadata
> 0x9108c000 - 0x9109afff libz.1.dylib /usr/lib/libz.1.dylib
> 0x9109d000 - 0x9125ffff com.apple.security 4.2 (24844) /System/
> Library/Frameworks/Security.framework/Versions/A/Security
> 0x91362000 - 0x9136bfff com.apple.DiskArbitration 2.1 /System/
> Library/Frameworks/DiskArbitration.framework/Versions/A/
> DiskArbitration
> 0x91372000 - 0x91399fff com.apple.SystemConfiguration 1.8.1 /System/
> Library/Frameworks/SystemConfiguration.framework/Versions/A/
> SystemConfiguration
> 0x913ac000 - 0x913b4fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
> 0x913b9000 - 0x913d9fff libmx.A.dylib /usr/lib/libmx.A.dylib
> 0x913df000 - 0x913e7fff libbsm.dylib /usr/lib/libbsm.dylib
> 0x913eb000 - 0x91469fff com.apple.audio.CoreAudio 3.0.1 /System/
> Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
> 0x914a7000 - 0x914a7fff com.apple.ApplicationServices 10.4 (???) /
> System/Library/Frameworks/ApplicationServices.framework/Versions/A/
> ApplicationServices
> 0x914a9000 - 0x914e1fff com.apple.AE 1.5 (297) /System/Library/
> Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
> AE.framework/Versions/A/AE
> 0x914fc000 - 0x915c9fff com.apple.ColorSync 4.4.3 /System/Library/
> Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
> ColorSync.framework/Versions/A/ColorSync
> 0x9161e000 - 0x916b1fff com.apple.print.framework.PrintCore 4.3
> (172.3) /System/Library/Frameworks/ApplicationServices.framework/
> Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
> 0x916f8000 - 0x917b5fff com.apple.QD 3.8.18 (???) /System/Library/
> Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
> QD.framework/Versions/A/QD
> 0x917f3000 - 0x91851fff com.apple.HIServices 1.5.1 (???) /System/
> Library/Frameworks/ApplicationServices.framework/Versions/A/
> Frameworks/HIServices.framework/Versions/A/HIServices
> 0x9187f000 - 0x918a3fff com.apple.LangAnalysis 1.6.1 /System/
> Library/Frameworks/ApplicationServices.framework/Versions/A/
> Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
> 0x918b7000 - 0x918dcfff com.apple.FindByContent 1.5 /System/Library/
> Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
> FindByContent.framework/Versions/A/FindByContent
> 0x918ef000 - 0x91931fff com.apple.LaunchServices 10.4.5 (168) /
> System/Library/Frameworks/ApplicationServices.framework/Versions/A/
> Frameworks/LaunchServices.framework/Versions/A/LaunchServices
> 0x9194d000 - 0x91961fff com.apple.speech.synthesis.framework 3.3 /
> System/Library/Frameworks/ApplicationServices.framework/Versions/A/
> Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
> 0x9196f000 - 0x919a8fff com.apple.ImageIO.framework 1.4.3 /System/
> Library/Frameworks/ApplicationServices.framework/Versions/A/
> Frameworks/ImageIO.framework/Versions/A/ImageIO
> 0x919bd000 - 0x91a85fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.
> 0.9.7.dylib
> 0x91ad3000 - 0x91ae8fff libcups.2.dylib /usr/lib/libcups.2.dylib
> 0x91aed000 - 0x91b09fff libJPEG.dylib /System/Library/Frameworks/
> ApplicationServices.framework/Versions/A/Frameworks/
> ImageIO.framework/Versions/A/Resources/libJPEG.dylib
> 0x91b0e000 - 0x91b7dfff libJP2.dylib /System/Library/Frameworks/
> ApplicationServices.framework/Versions/A/Frameworks/
> ImageIO.framework/Versions/A/Resources/libJP2.dylib
> 0x91b94000 - 0x91b98fff libGIF.dylib /System/Library/Frameworks/
> ApplicationServices.framework/Versions/A/Frameworks/
> ImageIO.framework/Versions/A/Resources/libGIF.dylib
> 0x91b9a000 - 0x91bcbfff libRaw.dylib /System/Library/Frameworks/
> ApplicationServices.framework/Versions/A/Frameworks/
> ImageIO.framework/Versions/A/Resources/libRaw.dylib
> 0x91bcf000 - 0x91c12fff libTIFF.dylib /System/Library/Frameworks/
> ApplicationServices.framework/Versions/A/Frameworks/
> ImageIO.framework/Versions/A/Resources/libTIFF.dylib
> 0x91c19000 - 0x91c32fff libPng.dylib /System/Library/Frameworks/
> ApplicationServices.framework/Versions/A/Frameworks/
> ImageIO.framework/Versions/A/Resources/libPng.dylib
> 0x91c37000 - 0x91c3afff libRadiance.dylib /System/Library/
> Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
> ImageIO.framework/Versions/A/Resources/libRadiance.dylib
> 0x91c3c000 - 0x91c3cfff com.apple.Accelerate 1.1.1 (Accelerate
> 1.1.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/
> Accelerate
> 0x91c3e000 - 0x91d28fff com.apple.vImage 2.0 /System/Library/
> Frameworks/Accelerate.framework/Versions/A/Frameworks/
> vImage.framework/Versions/A/vImage
> 0x91d30000 - 0x91d4ffff com.apple.Accelerate.vecLib 3.1.1 (vecLib
> 3.1.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/
> Frameworks/vecLib.framework/Versions/A/vecLib
> 0x91dbb000 - 0x91e20fff libvMisc.dylib /System/Library/Frameworks/
> Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
> Versions/A/libvMisc.dylib
> 0x91e2a000 - 0x91ebcfff libvDSP.dylib /System/Library/Frameworks/
> Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
> Versions/A/libvDSP.dylib
> 0x91ed6000 - 0x92466fff libBLAS.dylib /System/Library/Frameworks/
> Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
> Versions/A/libBLAS.dylib
> 0x924ae000 - 0x927befff libLAPACK.dylib /System/Library/Frameworks/
> Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
> Versions/A/libLAPACK.dylib
> 0x927eb000 - 0x92877fff com.apple.DesktopServices 1.3.1 /System/
> Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/
> DesktopServicesPriv
> 0x928b9000 - 0x92ae3fff com.apple.Foundation 6.4.2 (567.21) /System/
> Library/Frameworks/Foundation.framework/Versions/C/Foundation
> 0x92c01000 - 0x92cdffff libxml2.2.dylib /usr/lib/libxml2.2.dylib
> 0x92cff000 - 0x92dedfff libiconv.2.dylib /usr/lib/libiconv.2.dylib
> 0x92ea0000 - 0x92ea0fff com.apple.Carbon 10.4 (???) /System/Library/
> Frameworks/Carbon.framework/Versions/A/Carbon
> 0x92ea2000 - 0x92eb6fff com.apple.ImageCapture 3.0 /System/Library/
> Frameworks/Carbon.framework/Versions/A/Frameworks/
> ImageCapture.framework/Versions/A/ImageCapture
> 0x92ece000 - 0x92edefff com.apple.speech.recognition.framework 3.4 /
> System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
> SpeechRecognition.framework/Versions/A/SpeechRecognition
> 0x92eea000 - 0x92efffff com.apple.securityhi 2.0 (203) /System/
> Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
> SecurityHI.framework/Versions/A/SecurityHI
> 0x92f11000 - 0x92f98fff com.apple.ink.framework 101.2 (69) /System/
> Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
> Ink.framework/Versions/A/Ink
> 0x92fac000 - 0x92fb7fff com.apple.help 1.0.3 (32) /System/Library/
> Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/
> Versions/A/Help
> 0x92fc1000 - 0x92feefff com.apple.openscripting 1.2.3 (???) /System/
> Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
> OpenScripting.framework/Versions/A/OpenScripting
> 0x93008000 - 0x93018fff com.apple.print.framework.Print 5.0
> (190.1) /System/Library/Frameworks/Carbon.framework/Versions/A/
> Frameworks/Print.framework/Versions/A/Print
> 0x93024000 - 0x9308afff com.apple.htmlrendering 1.1.2 /System/
> Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
> HTMLRendering.framework/Versions/A/HTMLRendering
> 0x930bb000 - 0x9310dfff com.apple.NavigationServices 3.4.2 /System/
> Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
> NavigationServices.framework/Versions/A/NavigationServices
> 0x93139000 - 0x93156fff com.apple.audio.SoundManager 3.9 /System/
> Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
> CarbonSound.framework/Versions/A/CarbonSound
> 0x93168000 - 0x93175fff com.apple.CommonPanels 1.2.2 (73) /System/
> Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
> CommonPanels.framework/Versions/A/CommonPanels
> 0x9317e000 - 0x93490fff com.apple.HIToolbox 1.4.4 (???) /System/
> Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
> HIToolbox.framework/Versions/A/HIToolbox
> 0x940e3000 - 0x941adfff com.apple.audio.toolbox.AudioToolbox 1.4.1 /
> System/Library/Frameworks/AudioToolbox.framework/Versions/A/
> AudioToolbox
> 0x94201000 - 0x94201fff com.apple.audio.units.AudioUnit 1.4 /System/
> Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
> 0x945fc000 - 0x9460bfff libCGATS.A.dylib /System/Library/
> Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
> CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
> 0x94613000 - 0x9461ffff libCSync.A.dylib /System/Library/
> Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
> CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
> 0x94664000 - 0x9467cfff libRIP.A.dylib /System/Library/Frameworks/
> ApplicationServices.framework/Versions/A/Frameworks/
> CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
> 0x94683000 - 0x948edfff com.apple.QuickTime 7.0.3 /System/Library/
> Frameworks/QuickTime.framework/Versions/A/QuickTime
>
>
>
> If emacs crashed, and you have the emacs process in the gdb debugger,
> please include the output from the following gdb commands:
> `bt full' and `xbacktrace'.
> If you would like to further debug the crash, please read the file
> /Applications/Aquamacs Emacs.app/Contents/Resources/etc/DEBUG for
> instructions.
>
>
> In GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.9.0)
> of 2005-12-21 on rodrigues.inf.ed.ac.uk - Aquamacs Distribution 0.9.8
> X server distributor `Apple Computers', version 10.4.3
> configured using `configure '--without-x' '--prefix=/usr/local''
>
> Important settings:
> value of $LC_ALL: nil
> value of $LC_COLLATE: nil
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: nil
> locale-coding-system: iso-8859-1
> default-enable-multibyte-characters: t
>
> Major mode: IDL-Shell
>
> Minor modes in effect:
> one-buffer-one-frame-mode: t
> smart-frame-positioning-mode: t
> recentf-mode: t
> encoded-kbd-mode: t
> osx-key-mode: t
> show-paren-mode: t
> delete-selection-mode: t
> pc-selection-mode: t
> cua-mode: t
> tooltip-mode: t
> auto-compression-mode: t
> tool-bar-mode: t
> mouse-wheel-mode: t
> menu-bar-mode: t
> file-name-shadow-mode: t
> global-font-lock-mode: t
> font-lock-mode: t
> blink-cursor-mode: t
> unify-8859-on-encoding-mode: t
> utf-translate-cjk-mode: t
> column-number-mode: t
> line-number-mode: t
> transient-mark-mode: t
> abbrev-mode: t
>
> Recent input:
> <backspace> <backspace> <backspace> <backspace> <backspace>
> <backspace> <backspace> x x = <return> h e l p , x
> x <return> p r i n t , x x <return> <mac-apple-event>
> <switch-frame> <menu-bar> <help-menu> <report-emacs-bug>
> C r a s h SPC w h e n SPC i d l w a v e SPC h e l p
> SPC f i l e SPC p a t h SPC h a s SPC a SPC s p a c
> e <return> C-x C-k <return> n <down-mouse-1> <mouse-movement>
> <mouse-1> C-x k <return> <help-echo> <help-echo> <menu-bar>
> <help-menu> <menu-aquamacs-homepage> <mac-apple-event>
> <help-echo> <help-echo> <menu-bar> <help-menu> <re
> port-emacs-bug>
>
> Recent messages:
> Undo...
> Undo!
> Wrote /Users/gellda/IDL_Projects/+inms/++analysis_pending/
> inms_kernel_list.pro
> History item: 1 [5 times]
> History item: 2
> Loading emacsbug...
> Loading regexp-opt...done
> Loading emacsbug...done
> No keyboard macro defined. Create one? (y or n)
> Quit
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Encoding needed for `browse-url' URLs (IDLWAVE html help)
2006-01-12 18:30 ` Encoding needed for `browse-url' URLs (IDLWAVE html help) David Reitter
@ 2006-01-13 16:48 ` Kevin Rodgers
2006-01-14 6:50 ` JD Smith
1 sibling, 0 replies; 6+ messages in thread
From: Kevin Rodgers @ 2006-01-13 16:48 UTC (permalink / raw)
David Reitter wrote:
> I got the below bug report and I found that idlwave does not encode the
> URL in `idlwave-help-html-link', i.e. if the path contains a space, it
> is not encoded as "%20".
>
> Are `browse-url' and the function pointed to in `browse-url-browser-
> function' supposed to handle such URLs or not?
> If not, it's a bug in idlwave-mode (but possibly in other places).
No, browse-url expects a URL that is valid w.r.t. the spec. That is why
the browse-url-of-file command calls the browse-url-file-url utility to
transform the file name to a valid URL before calling browse-url.
Presumably idlwave should do the same thing.
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Encoding needed for `browse-url' URLs (IDLWAVE html help)
2006-01-12 18:30 ` Encoding needed for `browse-url' URLs (IDLWAVE html help) David Reitter
2006-01-13 16:48 ` Kevin Rodgers
@ 2006-01-14 6:50 ` JD Smith
2006-01-15 7:49 ` Richard M. Stallman
2006-01-15 10:50 ` David Reitter
1 sibling, 2 replies; 6+ messages in thread
From: JD Smith @ 2006-01-14 6:50 UTC (permalink / raw)
In article <DB56FDAD-F1BA-424A-B4F7-E8C2A3DA2790@gmail.com>, David Reitter
<david.reitter@gmail.com> wrote:
> I got the below bug report and I found that idlwave does not encode
> the URL in `idlwave-help-html-link', i.e. if the path contains a
> space, it is not encoded as "%20".
>
> Are `browse-url' and the function pointed to in `browse-url-browser-
> function' supposed to handle such URLs or not?
> If not, it's a bug in idlwave-mode (but possibly in other places).
>
> (Never mind the reported crash - that was due to an undocumented
> 'feature' in OS X with not-encoded URLs and the patch for browsing
> URLs with the standard browser.)
There is apparently a function `browse-url-file-url' which I overlooked,
which does this for you. Perhaps adding this to the browse-url docstring
would be wise. Even better would be calling it directly on file-based
urls. It does all the encoding necessary. CVS Emacs didn't crash under
OSX when sending file:// urls with unencoded spaces, so that must be an
AquaMacs only thing.
I'll submit this fix along with others in a version of IDLWAVE I'm
preparing for inclusion in Emacs 22 (which does away with the need for
vendor-supplied documentation and scans, among other things).
JD
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Encoding needed for `browse-url' URLs (IDLWAVE html help)
2006-01-14 6:50 ` JD Smith
@ 2006-01-15 7:49 ` Richard M. Stallman
2006-01-15 10:50 ` David Reitter
1 sibling, 0 replies; 6+ messages in thread
From: Richard M. Stallman @ 2006-01-15 7:49 UTC (permalink / raw)
Cc: emacs-devel
There is apparently a function `browse-url-file-url' which I overlooked,
which does this for you. Perhaps adding this to the browse-url docstring
would be wise.
That seems like a good idea. Would you like to write a patch?
Even better would be calling it directly on file-based
urls.
I don't understand what that would mean; could you explain?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Encoding needed for `browse-url' URLs (IDLWAVE html help)
2006-01-14 6:50 ` JD Smith
2006-01-15 7:49 ` Richard M. Stallman
@ 2006-01-15 10:50 ` David Reitter
1 sibling, 0 replies; 6+ messages in thread
From: David Reitter @ 2006-01-15 10:50 UTC (permalink / raw)
Cc: t.link, JD Smith
On 14 Jan 2006, at 06:50, JD Smith wrote:
> CVS Emacs didn't crash under
> OSX when sending file:// urls with unencoded spaces, so that must
> be an
> AquaMacs only thing.
Correct. That's because I've patched it to open URLs with the system-
wide default browser that the user has set up rather than with the
application that happens to be bound to .html files. In this code,
the system refused to convert the URL because of the wrong encoding,
and we didn't error-check this return value.
> I'll submit this fix along with others in a version of IDLWAVE I'm
> preparing for inclusion in Emacs 22 (which does away with the need for
> vendor-supplied documentation and scans, among other things).
Thanks.
I just found another case of a similar problem, namely in lisp/
filesets.el (line 625).
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: encoding needed for `browse-url' URLs (IDLWAVE html help)
[not found] <43CA86B8.4060907@yahoo.de>
@ 2006-01-15 17:42 ` David Reitter
0 siblings, 0 replies; 6+ messages in thread
From: David Reitter @ 2006-01-15 17:42 UTC (permalink / raw)
Begin forwarded message:
Hi,
>
>> I'll submit this fix along with others in a version of IDLWAVE I'm
>> preparing for inclusion in Emacs 22 (which does away with the need
>> for
>> vendor-supplied documentation and scans, among other things).
>
> Thanks.
> I just found another case of a similar problem, namely in lisp/
> filesets.el (line 625).
I'm currently away from the emacs camp so to say and until I decide
to use Emacs again I'm not able to maintain filesets.el. Also I
didn't follow this discussion which is why I don't know what is the
problem you're discussing. Sorry.
Apart from that, if filesets-external-viewers is the problem, I think
this should be replaced with a general cross-platform solution
anyway. AFAIR there are some elisp libraries that provide a similar
functionality but they should really use only one service provider/
lib for this.
Cheers,
Thomas.
p.s. I didn't cc this mail to emacs-devel as I'm not subscribed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-01-15 17:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <C60E9BBC-342C-4D0C-AA80-794959308B08@umich.edu>
2006-01-12 18:30 ` Encoding needed for `browse-url' URLs (IDLWAVE html help) David Reitter
2006-01-13 16:48 ` Kevin Rodgers
2006-01-14 6:50 ` JD Smith
2006-01-15 7:49 ` Richard M. Stallman
2006-01-15 10:50 ` David Reitter
[not found] <43CA86B8.4060907@yahoo.de>
2006-01-15 17:42 ` encoding " David Reitter
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.